From 994ec5ca2c292dfff817bbd0b731ef706cbb67bd Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Sat, 20 Jul 2024 13:52:36 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=AB=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productReceipt/job/productReceiptJob.vue | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/pages/productReceipt/job/productReceiptJob.vue b/src/pages/productReceipt/job/productReceiptJob.vue index 0701b66b..4f43db4c 100644 --- a/src/pages/productReceipt/job/productReceiptJob.vue +++ b/src/pages/productReceipt/job/productReceiptJob.vue @@ -79,6 +79,7 @@ status: '1,2', //待处理 、进行中 detailOptions: [], detailGiveupOptions: [], + scanMessage:"" }; }, // 装配收货:type = 'assemble' @@ -208,20 +209,21 @@ }) }, - openJobDetail(item, packingNumber = '') { + openJobDetail(item, scanMessage = '') { if (this.type == 'predict') { uni.navigateTo({ - url: './productReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scaned=' + packingNumber +'&title='+this.title + url: './productReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scanMessage=' + scanMessage +'&title='+this.title }); } else if (this.type == 'assemble') { uni.navigateTo({ - url: './fgProductReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scaned=' + packingNumber +'&title='+this.title + url: './fgProductReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scanMessage=' + scanMessage +'&title='+this.title }); } else { uni.navigateTo({ - url: './scrapReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scaned=' + packingNumber +'&title='+this.title + url: './scrapReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scanMessage=' + scanMessage +'&title='+this.title }); } + this.scanMessage ="" }, showItemList(itemList) { @@ -295,6 +297,11 @@ action: "==", value: code }) + filters.push({ + column: "accept_user_id", + action: "==", + value: this.$store.state.user.id + }) var params = { filters: filters, @@ -338,10 +345,11 @@ }, selectItem(item) { this.$refs.scanPopup.closeScanPopup(); - this.openJobDetail(item, item.packingNumber); + this.openJobDetail(item, this.scanMessage); }, getScanResult(result) { try { + this.scanMessage ="" var filters = [{ column: "packingNumber", action: "==", @@ -371,18 +379,19 @@ column: "status", action: "in", value: '1,2', + }, + { + column: "accept_user_id", + action: "==", + value: this.$store.state.user.id } - // { - // column: "fromLocationCode", - // action: "==", - // value: result.label.fromLocationCode - // } ] getProductReceiptJobList({ filters: filters, pageNo: 1, pageSize: 100, }).then(res => { + this.scanMessage =result.scanMessage let resultList = res.data.list; if (resultList.length > 0) { resultList.forEach(item => { From 1ef7f2e8fcabedc88c2a10e74d695d991c3da04f Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Sat, 20 Jul 2024 15:27:09 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E7=82=B9?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/style/new_style.css | 10 +++ src/mycomponents/qty/countQtyEdit.vue | 14 ++++ src/pages/count/job/countJob.vue | 10 +-- src/pages/count/job/fuzzyCountDetail.vue | 82 ++++++++++++++---------- src/pages/index/index.vue | 2 - 5 files changed, 77 insertions(+), 41 deletions(-) diff --git a/src/common/style/new_style.css b/src/common/style/new_style.css index 41120cb1..dacc8147 100644 --- a/src/common/style/new_style.css +++ b/src/common/style/new_style.css @@ -2645,6 +2645,16 @@ button[disabled] { padding: 5rpx; } + +.desc_input { + height: 100rpx; + font-size: 10rpx; + color: #000000; + text-align: left; + border: 1px solid rgb(220, 211, 211); + padding: 5rpx; +} + .qty_inspect_input { width: 150rpx; height: 60rpx; diff --git a/src/mycomponents/qty/countQtyEdit.vue b/src/mycomponents/qty/countQtyEdit.vue index 9f89a579..b1112053 100644 --- a/src/mycomponents/qty/countQtyEdit.vue +++ b/src/mycomponents/qty/countQtyEdit.vue @@ -66,6 +66,20 @@ + + + + + + 描述 : + + + + + + diff --git a/src/pages/count/job/countJob.vue b/src/pages/count/job/countJob.vue index a65dea8e..f0040e84 100644 --- a/src/pages/count/job/countJob.vue +++ b/src/pages/count/job/countJob.vue @@ -167,11 +167,11 @@ // action: "==", // value: this.$store.state.user.id // }) - filters.push({ - column: "accept_user_id", - action: "==", - value: this.$store.state.user.id - }) + // filters.push({ + // column: "accept_user_id", + // action: "==", + // value: this.$store.state.user.id + // }) var params = { filters: filters, pageNo: this.pageNo, diff --git a/src/pages/count/job/fuzzyCountDetail.vue b/src/pages/count/job/fuzzyCountDetail.vue index 8e269f9a..5a19ff01 100644 --- a/src/pages/count/job/fuzzyCountDetail.vue +++ b/src/pages/count/job/fuzzyCountDetail.vue @@ -1,17 +1,12 @@