Commit 0e2c75e2 authored by jingnan's avatar jingnan 👀

采购入库编辑报错bug修改

parent f155c729
...@@ -1986,7 +1986,7 @@ export default { ...@@ -1986,7 +1986,7 @@ export default {
'taxUnitPrice': this.form.taxUnitPrice, 'taxUnitPrice': this.form.taxUnitPrice,
'taxPrice': this.form.taxPrice, 'taxPrice': this.form.taxPrice,
'storageZoneName': this.form.storageZoneName, 'storageZoneName': this.form.storageZoneName,
'storageZoneId': this.form.storageZone, 'storageZoneId': typeof (this.form.storageZone) === 'object' ? this.form.storageZone.id : this.form.storageZone,
'storageZoneIdType': 'ExtDxProductWorkCenter', 'storageZoneIdType': 'ExtDxProductWorkCenter',
'inventoryReqId': this.basicData.id, 'inventoryReqId': this.basicData.id,
'inventoryReqIdType': 'InventoryRequest', 'inventoryReqIdType': 'InventoryRequest',
......
...@@ -1983,7 +1983,7 @@ export default { ...@@ -1983,7 +1983,7 @@ export default {
'taxUnitPrice': this.form.taxUnitPrice, 'taxUnitPrice': this.form.taxUnitPrice,
'taxPrice': this.form.taxPrice, 'taxPrice': this.form.taxPrice,
'storageZoneName': this.form.storageZoneName, 'storageZoneName': this.form.storageZoneName,
'storageZoneId': this.form.storageZone, 'storageZoneId': typeof (this.form.storageZone) === 'object' ? this.form.storageZone.id : this.form.storageZone,
'storageZoneIdType': 'ExtDxProductWorkCenter', 'storageZoneIdType': 'ExtDxProductWorkCenter',
'inventoryReqId': this.basicData.id, 'inventoryReqId': this.basicData.id,
'inventoryReqIdType': 'InventoryRequest', 'inventoryReqIdType': 'InventoryRequest',
......
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