代码
<a @click="tuiliao(record)">退料</a>
lingliao: function(record){
debugger
this.model3.barCode = record.barCode;
this.model3.goodsName = record.goodsName;
// this.form3.setFieldsValue({
// // qualifiedQuantity: 11,
// thisPicking:record.operNumber,
// })
setTimeout(() => {
this.form3.setFieldsValue({
currentNumber: 0,
thisPicking:(record.operNumber - 0) -(record.pickingQuantity - 0),
unit:record.unit,
unitPrice:record.unitPrice,
barCode:record.barCode,
pickingQuantity:record.pickingQuantity,
leftId:record.id,
materialId:record.materialId,
})
}, 500)
this.visible3 = true;
},