|
|
|
@ -1839,8 +1839,31 @@ export default {
|
|
|
|
|
this.dataForm.counterpartOrderCode = data[0].counterpartOrderCode
|
|
|
|
|
this.dataForm.urgentOrder = data[0].urgentOrder
|
|
|
|
|
this.dataForm.deliveryType = data[0].deliveryType
|
|
|
|
|
this.dataForm.businessOrderProductRelationalList = data[0].businessOrderProductRelationalList
|
|
|
|
|
this.dataForm.businessOrderProductRelationalList[0].businessprice = 0
|
|
|
|
|
// this.dataForm.businessOrderProductRelationalList = data[0].businessOrderProductRelationalList
|
|
|
|
|
|
|
|
|
|
for (let i = 0; i < data[0].businessOrderProductRelationalList.length; i++) {
|
|
|
|
|
const e = data[0].businessOrderProductRelationalList[i];
|
|
|
|
|
let item = {
|
|
|
|
|
productId: e.productId,
|
|
|
|
|
businessNum: e.businessNum,
|
|
|
|
|
businessPrice: undefined,
|
|
|
|
|
name: e.name,
|
|
|
|
|
spec: e.spec,
|
|
|
|
|
inventoryUnitId: e.inventoryUnitId,
|
|
|
|
|
realBound: e.realBound,
|
|
|
|
|
useBound: e.useBound,
|
|
|
|
|
saleNumDay: e.saleNumDay,
|
|
|
|
|
salesMainUnitId: e.salesMainUnitId,
|
|
|
|
|
tax: e.tax,
|
|
|
|
|
taxCount: e.taxCount,
|
|
|
|
|
notTaxPrice: e.notTaxPrice,
|
|
|
|
|
notTaxCount: e.notTaxCount,
|
|
|
|
|
lastSalePrice: e.lastSalePrice,
|
|
|
|
|
ordLn: e.ordLn,
|
|
|
|
|
}
|
|
|
|
|
this.dataForm.businessOrderProductRelationalList.push(item)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if (data.flag == '发货凭证生成销售订单') {
|
|
|
|
|
this.productCreate = true
|
|
|
|
|