From 0f6fbdf8bdb433fdedcc693ef5fd5bcbff474c0b Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Fri, 5 Jul 2024 17:17:56 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request2.js | 26 ++ src/mycomponents/scan/winComScanBalance.vue | 4 +- src/pages.json | 2 +- .../package/record/overPackageRecord.vue | 2 +- .../query/coms/comLocationDetailCard.vue | 64 +++-- src/pages/query/location.vue | 267 ++++++++++++------ 6 files changed, 249 insertions(+), 116 deletions(-) diff --git a/src/api/request2.js b/src/api/request2.js index 6a427bb5..cc88d8d6 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -296,6 +296,32 @@ export function getBalanceByLocationcode(params) { }); } +/** + * 按库位查询 预计入 + * @param {*} + */ +export function getExpectInByLocationCode(params) { + + return request({ + url: baseApi + "/wms/expectin/senior", + method: "post", + data: params, + }); +} + +/** + * 按库位查询 预计出 + * @param {*} + */ +export function getExpectOutByLocationCode(params) { + + return request({ + url: baseApi + "/wms/expectout/senior", + method: "post", + data: params, + }); +} + /** * 查询器具信息接口 * @param {*} number 器具代码 diff --git a/src/mycomponents/scan/winComScanBalance.vue b/src/mycomponents/scan/winComScanBalance.vue index 200cc741..cef8d67c 100644 --- a/src/mycomponents/scan/winComScanBalance.vue +++ b/src/mycomponents/scan/winComScanBalance.vue @@ -127,8 +127,8 @@ batch: result.label.batch, packingNumber: result.label.packingNumber, inventoryStatus: this.fromInventoryStatuses, - areaType: this.fromLocationAreaTypeList - + areaType: this.fromLocationAreaTypeList, + bussinessCode:this.bussinessCode } getBalanceByParams(params).then(res => { uni.hideLoading() diff --git a/src/pages.json b/src/pages.json index 8b9fd09c..2a6381f9 100644 --- a/src/pages.json +++ b/src/pages.json @@ -69,7 +69,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 228630f9..28283d6d 100644 --- a/src/pages/package/record/overPackageRecord.vue +++ b/src/pages/package/record/overPackageRecord.vue @@ -61,7 +61,7 @@ - + diff --git a/src/pages/query/coms/comLocationDetailCard.vue b/src/pages/query/coms/comLocationDetailCard.vue index 1e49dbf0..3f4a5fcb 100644 --- a/src/pages/query/coms/comLocationDetailCard.vue +++ b/src/pages/query/coms/comLocationDetailCard.vue @@ -1,29 +1,57 @@ + \ No newline at end of file diff --git a/src/pages/query/location.vue b/src/pages/query/location.vue index cb61e4e9..a4a330a9 100644 --- a/src/pages/query/location.vue +++ b/src/pages/query/location.vue @@ -1,28 +1,27 @@