采购订单接口修改
This commit is contained in:
parent
f1885a11fb
commit
38e5992aba
|
|
@ -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","导入采购计划")
|
||||
|
|
|
|||
Loading…
Reference in New Issue