|
@@ -26,7 +26,10 @@
|
|
|
<a-form-model-item style="margin-bottom:10px;" label="供应商名称">
|
|
|
{{ supplierName }}
|
|
|
</a-form-model-item>
|
|
|
- <a-form-model-item label="成本价" prop="cost">
|
|
|
+ <a-form-model-item style="margin-bottom:10px;" label="原成本价">
|
|
|
+ {{ cost||'--' }}
|
|
|
+ </a-form-model-item>
|
|
|
+ <a-form-model-item label="变更成本价" prop="cost">
|
|
|
<a-input-number
|
|
|
id="setting-cost"
|
|
|
v-model="form.cost"
|
|
@@ -76,6 +79,7 @@ export default {
|
|
|
productName: '',
|
|
|
productCode: '',
|
|
|
supplierName: '',
|
|
|
+ cost: '',
|
|
|
form: {
|
|
|
supplierSn: '',
|
|
|
supplierProductSn: '',
|
|
@@ -92,7 +96,7 @@ export default {
|
|
|
setData (row) {
|
|
|
this.form.supplierSn = row.supplierSn
|
|
|
this.form.supplierProductSn = row.supplierProductSn
|
|
|
- this.form.cost = row.cost
|
|
|
+ this.cost = row.cost
|
|
|
this.productName = row.product.name
|
|
|
this.productCode = row.product.code
|
|
|
this.supplierName = row.supplierName
|