From f8aabdb0ee5903c95f2bd30e57366300118dd499 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 11 Oct 2024 13:38:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E6=96=99=E4=BB=BB=E5=8A=A1=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E5=8C=85=E8=A3=85=E5=9C=A8=E5=BA=93=E4=BD=8D=E5=B7=B2?= =?UTF-8?q?=E6=9C=89=E5=BA=93=E5=AD=98=E4=BD=99=E9=A2=9D=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/issue/coms/comScanIssuePack.vue | 102 +++++++++++----------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/src/pages/issue/coms/comScanIssuePack.vue b/src/pages/issue/coms/comScanIssuePack.vue index ddf3fb37..c7994f2d 100644 --- a/src/pages/issue/coms/comScanIssuePack.vue +++ b/src/pages/issue/coms/comScanIssuePack.vue @@ -437,57 +437,57 @@ title: '查询中', mask: true }) - var filters = [] - if (result.package.parentNumber) { - var packingNumber = result.package.parentNumber + "," + result.package.number; - filters.push({ - column: "packingNumber", - action: "in", - value: packingNumber - }) - } else { - filters.push({ - column: "packingNumber", - action: "==", - value: result.package.number - }) - } - - filters.push({ - column: "itemCode", - action: "==", - value: result.package.itemCode - }) - filters.push({ - column: "batch", - action: "==", - value: result.package.batch - }) - - filters.push({ - column: "areaType", - action: "in", - value: this.toLocationAreaTypeList.join(',') - }) - - - var params = { - filters: filters, - pageNo: 1, - pageSize: 100, - } - getBalanceByFilter(params).then(res => { - uni.hideLoading() - if (res.data.list.length > 0) { - this.showErrorMessage("包装在库位【" + res.data.list[0].locationCode + "】已有库存余额"); - } else { - this.queryBalance(result); - } - // callback(res.data) - }).catch(err => { - uni.hideLoading() - this.showErrorMessage(err.message); - }) + // var filters = [] + // if (result.package.parentNumber) { + // var packingNumber = result.package.parentNumber + "," + result.package.number; + // filters.push({ + // column: "packingNumber", + // action: "in", + // value: packingNumber + // }) + // } else { + // filters.push({ + // column: "packingNumber", + // action: "==", + // value: result.package.number + // }) + // } + + // filters.push({ + // column: "itemCode", + // action: "==", + // value: result.package.itemCode + // }) + // filters.push({ + // column: "batch", + // action: "==", + // value: result.package.batch + // }) + + // filters.push({ + // column: "areaType", + // action: "in", + // value: this.toLocationAreaTypeList.join(',') + // }) + + this.queryBalance(result); + // var params = { + // filters: filters, + // pageNo: 1, + // pageSize: 100, + // } + // getBalanceByFilter(params).then(res => { + // uni.hideLoading() + // if (res.data.list.length > 0) { + // this.showErrorMessage("包装在库位【" + res.data.list[0].locationCode + "】已有库存余额"); + // } else { + // this.queryBalance(result); + // } + // // callback(res.data) + // }).catch(err => { + // uni.hideLoading() + // this.showErrorMessage(err.message); + // }) }, selectBalanceItem(balance) {