|
@@ -100,11 +100,14 @@ export default {
|
|
|
setData (row) {
|
|
|
this.form.supplierSn = row.supplierSn
|
|
|
this.form.supplierProductSn = row.supplierProductSn
|
|
|
- this.form.modifyCost = this.edit ? row.cost : ''
|
|
|
this.cost = row.cost
|
|
|
this.productName = row.product.name
|
|
|
this.productCode = row.product.code
|
|
|
this.supplierName = row.supplierName
|
|
|
+ const _this = this
|
|
|
+ _this.$nextTick(() => {
|
|
|
+ _this.form.modifyCost = _this.edit ? row.modifyCost : ''
|
|
|
+ })
|
|
|
},
|
|
|
onSubmit () {
|
|
|
const _this = this
|