Commit 2147f80c authored by jingnan's avatar jingnan 👀

采购入库编辑状态传值bug修改

parent 5a9a32d9
......@@ -848,7 +848,7 @@ export default {
'extDxProductAreaIdType': 'ExtDxProductArea',
'extDxSipplierIdType': 'ExtDxSipplier',
'subTypeName': 'InStoragePurchase',
'reqStatus': 'Apply',
'reqStatus': this.form.id ? this.form.reqStatus : 'Apply',
'extDxProductAreaId': this.form.extDxProductAreaId,
'extDxSipplierId': this.form.extDxSipplierId,
'materialTypeId': this.form.materialTypeId,
......@@ -860,6 +860,7 @@ export default {
post('/InventoryRequest/batch/recursionAdd', param).then(res => {
if (saveAndImport === 'saveAndImport') {
this.$refs.importFile.upLoadExcel(res.items.id, newData)
this.form = this.$utils.deepClone(res.items)
} else {
this.cancel()
this.$utils.showMessageSuccess('保存成功')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment