From ad4adbc25ae62310ac424d38cc51ac4a67cc7843 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 5 Sep 2024 15:47:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E5=BA=93=E4=BD=8D?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=BA=93=E5=AD=98=202024/7/5=2017:17:56src/p?= =?UTF-8?q?ages/query/location.vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request2.js | 16 +++ src/mycomponents/scan/winComScanBalance.vue | 3 +- src/pages.json | 2 +- .../package/record/overPackageRecord.vue | 2 +- .../query/coms/comLocationDetailCard.vue | 43 ++++--- src/pages/query/location.vue | 107 ++++++++++++------ 6 files changed, 120 insertions(+), 53 deletions(-) diff --git a/src/api/request2.js b/src/api/request2.js index 38e6cbb6..9d884dcc 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -185,6 +185,22 @@ export function getBalanceByLocationcodeGroup(params) { export function getBalanceByLocationcode(params) { return http.get("/wms/balance/page",{params}) } + +/** + * 按库位查询 预计入 + * @param {*} + */ +export function getExpectInByLocationCode(params) { + return http.post("/wms/expectin/senior",params) +} + +/** + * 按库位查询 预计出 + * @param {*} + */ +export function getExpectOutByLocationCode(params) { + return http.post("/wms/expectout/senior",params) +} /** * 查询器具信息接口 * @param {*} number 器具代码 diff --git a/src/mycomponents/scan/winComScanBalance.vue b/src/mycomponents/scan/winComScanBalance.vue index 9716a450..bae8e23d 100644 --- a/src/mycomponents/scan/winComScanBalance.vue +++ b/src/mycomponents/scan/winComScanBalance.vue @@ -106,7 +106,8 @@ export default { batch: result.label.batch, packingNumber: result.label.packingNumber, inventoryStatus: this.fromInventoryStatuses, - areaType: this.fromLocationAreaTypeList + areaType: this.fromLocationAreaTypeList, + bussinessCode: this.bussinessCode } getBalanceByParams(params) .then((res) => { diff --git a/src/pages.json b/src/pages.json index 4079d6ea..3ca4cebf 100644 --- a/src/pages.json +++ b/src/pages.json @@ -75,7 +75,7 @@ "path": "pages/query/location", "style": { "navigationBarTitleText": "按库位查询库存", - "enablePullDownRefresh": false, + "enablePullDownRefresh": true, "titleNView": { "autoBackButton": "true", "buttons": [{}] diff --git a/src/pages/package/record/overPackageRecord.vue b/src/pages/package/record/overPackageRecord.vue index 1ea63ff5..4c31fead 100644 --- a/src/pages/package/record/overPackageRecord.vue +++ b/src/pages/package/record/overPackageRecord.vue @@ -52,7 +52,7 @@ - + diff --git a/src/pages/query/coms/comLocationDetailCard.vue b/src/pages/query/coms/comLocationDetailCard.vue index ba0af680..b140347b 100644 --- a/src/pages/query/coms/comLocationDetailCard.vue +++ b/src/pages/query/coms/comLocationDetailCard.vue @@ -1,28 +1,45 @@