|
@@ -1073,15 +1073,12 @@
|
|
|
console.log(this.saleProductList, 'this.saleProductList33333');
|
|
console.log(this.saleProductList, 'this.saleProductList33333');
|
|
|
let pData = {
|
|
let pData = {
|
|
|
type: '1',
|
|
type: '1',
|
|
|
- deliveryOrderNo: this.form.docNo,
|
|
|
|
|
builders: this.detailList.map((item) => {
|
|
builders: this.detailList.map((item) => {
|
|
|
return {
|
|
return {
|
|
|
categoryId:
|
|
categoryId:
|
|
|
item.categoryId || item.instanceId || item.productId,
|
|
item.categoryId || item.instanceId || item.productId,
|
|
|
num: item.demandQuantity || item.measurementCount,
|
|
num: item.demandQuantity || item.measurementCount,
|
|
|
warehouseId: this.bizType == 11 ? item.warehouseId : '',
|
|
warehouseId: this.bizType == 11 ? item.warehouseId : '',
|
|
|
- batchNo: item.batchNo || '',
|
|
|
|
|
- reversionBatchNo: item.isSuspend == 1 ? item.offsetDetail?.batchNo || '' : '',
|
|
|
|
|
};
|
|
};
|
|
|
})
|
|
})
|
|
|
};
|
|
};
|
|
@@ -1136,13 +1133,10 @@
|
|
|
console.log(this.saleProductList, 'this.saleProductList11111');
|
|
console.log(this.saleProductList, 'this.saleProductList11111');
|
|
|
let pData = {
|
|
let pData = {
|
|
|
type: '1',
|
|
type: '1',
|
|
|
- deliveryOrderNo: this.form.docNo,
|
|
|
|
|
builders: this.saleProductList.map((item) => {
|
|
builders: this.saleProductList.map((item) => {
|
|
|
return {
|
|
return {
|
|
|
categoryId: item.productId || item.categoryId,
|
|
categoryId: item.productId || item.categoryId,
|
|
|
- num: item.totalCount,
|
|
|
|
|
- batchNo: item.batchNo || '',
|
|
|
|
|
- reversionBatchNo: item.isSuspend == 1 ? item?.offsetDetail[0]?.batchNo || '' : '',
|
|
|
|
|
|
|
+ num: item.totalCount
|
|
|
// warehouseId: this.bizType == 3 ? item.warehouseId : ''
|
|
// warehouseId: this.bizType == 3 ? item.warehouseId : ''
|
|
|
// batchNo: item.batchNo || '',
|
|
// batchNo: item.batchNo || '',
|
|
|
};
|
|
};
|
|
@@ -1175,7 +1169,6 @@
|
|
|
console.log(this.saleProductList, 'this.saleProductList22222');
|
|
console.log(this.saleProductList, 'this.saleProductList22222');
|
|
|
let pData = {
|
|
let pData = {
|
|
|
type: '1',
|
|
type: '1',
|
|
|
- // deliveryOrderNo: this.form.docNo,
|
|
|
|
|
builders: this.form.productList.map((item) => {
|
|
builders: this.form.productList.map((item) => {
|
|
|
return {
|
|
return {
|
|
|
categoryId: item.productId,
|
|
categoryId: item.productId,
|