Commit 1612a3c6 by chenwq

fix: 移除重复的purchaseOrderGoodsId并正确设置到deliveryDetailList中

1 parent 4a4745f2
......@@ -316,7 +316,6 @@ export default {
orderCode: data.orderCode,
orderDeliveryId: data.orderDeliveryId,
upgradeGoodsId: data.upgradeGoodsId,
purchaseOrderGoodsId: data.purchaseOrderGoodsId,
goodsWarehousingList: [
{
increaseStockNum: '',
......@@ -382,6 +381,7 @@ export default {
for (let i = 0; i < params.deliveryDetailList.length; i++) {
item = params.deliveryDetailList[i]
item.id = this.detailInfo.id
item.purchaseOrderGoodsId = this.detailInfo.purchaseOrderGoodsId
for (let j = 0; j < item.goodsWarehousingList.length; j++) {
let subItem = item.goodsWarehousingList[j]
if (this.manageMode) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!