From f33b772dbe6129d23eb972d7298241365138f062 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 1 Jul 2024 13:41:19 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E8=A1=A5=E6=96=99=E7=AE=B1=E7=A0=81=E9=87=8D=E5=A4=8D=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/repleinsh/record/directRepleinshRecord.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/repleinsh/record/directRepleinshRecord.vue b/src/pages/repleinsh/record/directRepleinshRecord.vue index 0428580d..cea8602c 100644 --- a/src/pages/repleinsh/record/directRepleinshRecord.vue +++ b/src/pages/repleinsh/record/directRepleinshRecord.vue @@ -131,6 +131,7 @@ getBusinessType(this.businessTypeCode, res => { if (res.success) { this.businessType = res.businessType; + res.fromLocationAreaTypeList.push("INSPECT","SUPPER") this.fromLocationAreaTypeList = res.fromLocationAreaTypeList; this.toLocationAreaTypeList = res.toLocationAreaTypeList; this.showFromLocationPopup(); @@ -315,7 +316,7 @@ } else { var detail = item.subList.find(r => { - if (r.packingNumber == balance.packingNumber && + if (r.packingNumber == pack.number && r.batch == balance.batch && r.locationCode == balance.locationCode && r.inventoryStatus == balance.inventoryStatus) { @@ -332,7 +333,7 @@ calcHandleQty(this.detailSource); } else { if (detail.scaned == true) { - this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") + this.showErrorMessage("箱码[" + detail.packingNumber + "]批次[" + balance.batch + "]已经在列表中") } } } From 7cfa9ba78e2bcf6f3a4c3c26bcba2bf3caa18d95 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 1 Jul 2024 14:34:50 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 12 +- src/pages/count/coms/comCountDetailcards.vue | 139 ++++ src/pages/count/job/countBlindDetail.vue | 647 ++++++++++++++++++ src/pages/count/job/countDetail1.vue | 657 +++++++++++++++++++ src/pages/count/job/countJob.vue | 14 +- src/pages/count/job/countLightDetail.vue | 656 ++++++++++++++++++ 6 files changed, 2120 insertions(+), 5 deletions(-) create mode 100644 src/pages/count/coms/comCountDetailcards.vue create mode 100644 src/pages/count/job/countBlindDetail.vue create mode 100644 src/pages/count/job/countDetail1.vue create mode 100644 src/pages/count/job/countLightDetail.vue diff --git a/src/pages.json b/src/pages.json index 39cfa49e..71de65d0 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1789,13 +1789,21 @@ } }, { - "path": "pages/count/job/countDetail", + "path": "pages/count/job/countBlindDetail", "style": { - "navigationBarTitleText": "盘点详细", + "navigationBarTitleText": "盘点详细(盲盘)", "enablePullDownRefresh": false } }, + { + "path": "pages/count/job/countLightDetail", + "style": { + "navigationBarTitleText": "盘点详细(明盘)", + "enablePullDownRefresh": false + + } + }, { "path": "pages/count/record/countRecord", "style": { diff --git a/src/pages/count/coms/comCountDetailcards.vue b/src/pages/count/coms/comCountDetailcards.vue new file mode 100644 index 00000000..7d2fdafb --- /dev/null +++ b/src/pages/count/coms/comCountDetailcards.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/src/pages/count/job/countBlindDetail.vue b/src/pages/count/job/countBlindDetail.vue new file mode 100644 index 00000000..5e059e0b --- /dev/null +++ b/src/pages/count/job/countBlindDetail.vue @@ -0,0 +1,647 @@ + + + + + \ No newline at end of file diff --git a/src/pages/count/job/countDetail1.vue b/src/pages/count/job/countDetail1.vue new file mode 100644 index 00000000..ce60eb4e --- /dev/null +++ b/src/pages/count/job/countDetail1.vue @@ -0,0 +1,657 @@ + + + + + \ No newline at end of file diff --git a/src/pages/count/job/countJob.vue b/src/pages/count/job/countJob.vue index a179dc03..62729e03 100644 --- a/src/pages/count/job/countJob.vue +++ b/src/pages/count/job/countJob.vue @@ -193,9 +193,17 @@ }, openJobDetail(item) { - uni.navigateTo({ - url: './countDetail?id=' + item.id + '&status=' + item.status - }); + //明盘 + if(item.isOpenCount=="TRUE"){ + uni.navigateTo({ + url: './countLightDetail?id=' + item.id + '&status=' + item.status + }); + }else { + //盲盘 + uni.navigateTo({ + url: './countBlindDetail?id=' + item.id + '&status=' + item.status + }); + } }, showItemList(itemList) { diff --git a/src/pages/count/job/countLightDetail.vue b/src/pages/count/job/countLightDetail.vue new file mode 100644 index 00000000..5bb64a94 --- /dev/null +++ b/src/pages/count/job/countLightDetail.vue @@ -0,0 +1,656 @@ + + + + + \ No newline at end of file From bfe4bd22019ed9f105e3a45bf078f6111d5a23d3 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 1 Jul 2024 16:09:10 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/count/job/countBlindDetail.vue | 7 ++++-- src/pages/count/job/countJob.vue | 25 +++++++++++--------- src/pages/count/job/countLightDetail.vue | 29 +++++++++++++----------- 3 files changed, 35 insertions(+), 26 deletions(-) diff --git a/src/pages/count/job/countBlindDetail.vue b/src/pages/count/job/countBlindDetail.vue index 5e059e0b..5b8e0783 100644 --- a/src/pages/count/job/countBlindDetail.vue +++ b/src/pages/count/job/countBlindDetail.vue @@ -25,8 +25,8 @@ - - + + @@ -599,7 +599,10 @@ .header { position: fixed; + /* #ifdef H5 */ top: 88rpx; + /* #endif */ + left: 0; width: 100%; background-color: #fff; diff --git a/src/pages/count/job/countJob.vue b/src/pages/count/job/countJob.vue index 62729e03..108152ba 100644 --- a/src/pages/count/job/countJob.vue +++ b/src/pages/count/job/countJob.vue @@ -193,17 +193,20 @@ }, openJobDetail(item) { - //明盘 - if(item.isOpenCount=="TRUE"){ - uni.navigateTo({ - url: './countLightDetail?id=' + item.id + '&status=' + item.status - }); - }else { - //盲盘 - uni.navigateTo({ - url: './countBlindDetail?id=' + item.id + '&status=' + item.status - }); - } + uni.navigateTo({ + url: './countDetail?id=' + item.id + '&status=' + item.status + }); + // //明盘 + // if(item.isOpenCount=="TRUE"){ + // uni.navigateTo({ + // url: './countLightDetail?id=' + item.id + '&status=' + item.status + // }); + // }else { + // //盲盘 + // uni.navigateTo({ + // url: './countBlindDetail?id=' + item.id + '&status=' + item.status + // }); + // } }, showItemList(itemList) { diff --git a/src/pages/count/job/countLightDetail.vue b/src/pages/count/job/countLightDetail.vue index 5bb64a94..51f1b74d 100644 --- a/src/pages/count/job/countLightDetail.vue +++ b/src/pages/count/job/countLightDetail.vue @@ -29,8 +29,8 @@ - - + + @@ -382,6 +382,7 @@ } else { //未扫描,赋值 selectItem.scaned = true; + selectItem.balanceQty= Number(qty) selectItem.handleQty = Number(qty) selectItem.packQty = pack.packQty selectItem.packUnit = pack.packUnit @@ -511,17 +512,17 @@ }); var params = this.setParams() console.log("提交参数", JSON.stringify(params)); - // countJobSubmit(params).then(res => { - // uni.hideLoading() - // if (res.data) { - // this.showCommitSuccessMessage("提交成功
生成盘点记录
" + res.data) - // } else { - // this.showErrorMessage("提交失败[" + res.msg + "]") - // } - // }).catch(error => { - // uni.hideLoading() - // this.showErrorMessage(error) - // }) + countJobSubmit(params).then(res => { + uni.hideLoading() + if (res.data) { + this.showCommitSuccessMessage("提交成功
生成盘点记录
" + res.data) + } else { + this.showErrorMessage("提交失败[" + res.msg + "]") + } + }).catch(error => { + uni.hideLoading() + this.showErrorMessage(error) + }) }, @@ -608,7 +609,9 @@ .header { position: fixed; + /* #ifdef H5 */ top: 88rpx; + /* #endif */ left: 0; width: 100%; background-color: #fff; From a3bc8abbe2bbfed9c1684c64d9ad0c8f03d28f65 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Tue, 2 Jul 2024 10:35:38 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pages.json b/src/pages.json index 71de65d0..dc4d247b 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1788,6 +1788,14 @@ } } }, + { + "path": "pages/count/job/countDetail", + "style": { + "navigationBarTitleText": "盘点详细", + "enablePullDownRefresh": false + + } + }, { "path": "pages/count/job/countBlindDetail", "style": { From 5dbb1b4588f8282e5b24fdb16a2b55be5940a46e Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Tue, 2 Jul 2024 11:27:54 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E7=82=B9?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E9=A1=BA=E5=BA=8F=E5=80=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/count/job/countJob.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/count/job/countJob.vue b/src/pages/count/job/countJob.vue index 108152ba..3f6a1ed4 100644 --- a/src/pages/count/job/countJob.vue +++ b/src/pages/count/job/countJob.vue @@ -162,6 +162,8 @@ filters: filters, pageNo: this.pageNo, pageSize: this.pageSize, + sort:"number", + by:"DESC" } getCountJobList(params).then(res => { @@ -296,6 +298,8 @@ filters: filters, pageNo: 1, pageSize: 100, + sort:"number", + by:"DESC" } getCountJobList(params).then(res => { uni.hideLoading();