Commit 2147f80c authored by jingnan's avatar jingnan 👀

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

parent 5a9a32d9
...@@ -848,7 +848,7 @@ export default { ...@@ -848,7 +848,7 @@ export default {
'extDxProductAreaIdType': 'ExtDxProductArea', 'extDxProductAreaIdType': 'ExtDxProductArea',
'extDxSipplierIdType': 'ExtDxSipplier', 'extDxSipplierIdType': 'ExtDxSipplier',
'subTypeName': 'InStoragePurchase', 'subTypeName': 'InStoragePurchase',
'reqStatus': 'Apply', 'reqStatus': this.form.id ? this.form.reqStatus : 'Apply',
'extDxProductAreaId': this.form.extDxProductAreaId, 'extDxProductAreaId': this.form.extDxProductAreaId,
'extDxSipplierId': this.form.extDxSipplierId, 'extDxSipplierId': this.form.extDxSipplierId,
'materialTypeId': this.form.materialTypeId, 'materialTypeId': this.form.materialTypeId,
...@@ -860,6 +860,7 @@ export default { ...@@ -860,6 +860,7 @@ export default {
post('/InventoryRequest/batch/recursionAdd', param).then(res => { post('/InventoryRequest/batch/recursionAdd', param).then(res => {
if (saveAndImport === 'saveAndImport') { if (saveAndImport === 'saveAndImport') {
this.$refs.importFile.upLoadExcel(res.items.id, newData) this.$refs.importFile.upLoadExcel(res.items.id, newData)
this.form = this.$utils.deepClone(res.items)
} else { } else {
this.cancel() this.cancel()
this.$utils.showMessageSuccess('保存成功') 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