|
|
@@ -1777,6 +1777,8 @@
|
|
|
});
|
|
|
storageApi.getListByNameOrModeType({ codeList }).then(async (res) => {
|
|
|
console.log(res, 'detailList-res');
|
|
|
+ console.log(this.form, 'this.form.warehouseId');
|
|
|
+ console.log(this.bizType, 'this.bizType~~~');
|
|
|
// 获取批次号
|
|
|
const batchNo = await getCode('lot_number_code');
|
|
|
// 获取供应商
|
|
|
@@ -1796,11 +1798,12 @@
|
|
|
// 获取相同仓库
|
|
|
let warehouseIds = [];
|
|
|
let warehouseNames = [];
|
|
|
+ console.log(this.form.totalCount, 'this.form.warehouseId');
|
|
|
for (let index = 0; index < this.form.totalCount; index++) {
|
|
|
warehouseIds.push(this.form.warehouseId);
|
|
|
warehouseNames.push(this.form.warehouseName);
|
|
|
}
|
|
|
- if (this.bizType == 4) {
|
|
|
+ if (this.bizType == 4 || this.bizType == 1) {
|
|
|
warehouseIds.push(this.form.warehouseId);
|
|
|
warehouseNames.push(this.form.warehouseName);
|
|
|
}
|