|
|
@@ -1464,7 +1464,7 @@
|
|
|
let codeList = this.saleProductList.map((item) => {
|
|
|
return item.productCode || item.categoryCode;
|
|
|
});
|
|
|
- storageApi.getListByNameOrModeType({ codeList }).then(async (res) => {
|
|
|
+ storageApi.getListByNameOrModeType({ codeList, queryConditions: this.saleProductList }).then(async (res) => {
|
|
|
if (res.length <= 0) {
|
|
|
this.$message.warning('未获取到物品信息!');
|
|
|
return;
|
|
|
@@ -1497,8 +1497,8 @@
|
|
|
this.productList = res.map((item, index) => {
|
|
|
let filtersItem = this.saleProductList.find(
|
|
|
(detailItem) =>
|
|
|
- item.code == detailItem.productCode ||
|
|
|
- item.code == detailItem.categoryCode
|
|
|
+ (item.code == detailItem.productCode ||
|
|
|
+ item.code == detailItem.categoryCode) && item.colorKey == detailItem.colorKey && item.modelType == detailItem.modelType && item.batchNo == detailItem.batchNo
|
|
|
);
|
|
|
// let filtersItem = this.saleProductList.filter(
|
|
|
// (detailItem) =>
|
|
|
@@ -1688,7 +1688,7 @@
|
|
|
let codeList = this.detailList.map((item) => {
|
|
|
return item.productCode || item.categoryCode;
|
|
|
});
|
|
|
- storageApi.getListByNameOrModeType({ codeList }).then(async (res) => {
|
|
|
+ storageApi.getListByNameOrModeType({ codeList, queryConditions: this.detailList }).then(async (res) => {
|
|
|
console.log(res, 'detailList-res');
|
|
|
console.log(this.form, 'this.form.warehouseId');
|
|
|
console.log(this.bizType, 'this.bizType~~~');
|