采购订单接口修改

This commit is contained in:
zzyuan 2025-10-23 14:56:37 +08:00
parent f1885a11fb
commit 38e5992aba
1 changed files with 3 additions and 1 deletions

View File

@ -754,6 +754,7 @@ export default {
obj.totalPrice = (Number(obj.singlePrice)*Number(obj.orderNum))
param.orderAmount = param.orderAmount+obj.totalPrice;
param.totalNum = param.totalNum+Number(obj.orderNum)
param.orderGoodsDetailList.push(obj)
}
})
}
@ -862,6 +863,7 @@ export default {
this.materialList = this.materialDetailsData;
this.materialList.forEach(item=>{
this.$set(item,"orderNum",item.purchaseNum)
this.$set(item,"singlePrice",Number(item.unitPrice)/100)
})
this.baseInfo.purchasePlanCode = this.importRow.planCode;
this.$set(this.baseInfo,"remark","导入采购计划")