From 850378c9e89dce552b28b0466bf0b91663d6b9b3 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Tue, 29 Oct 2024 13:27:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E7=94=9F=E4=BA=A7=E9=A2=86=E9=80=80?= =?UTF-8?q?=E6=96=99=E6=B7=BB=E5=8A=A0=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PDA/api/index.js | 7 +++ fe/PDA/common/basic.js | 16 ++++++- .../comjob/comJobUnScanDetail.vue | 4 ++ .../mycomponents/coms/task/comUnProduce.vue | 6 +++ fe/PDA/mycomponents/popup/balanceList.vue | 11 +++-- fe/PDA/mycomponents/popup/recommendList.vue | 9 ++-- fe/PDA/pages/index/index.vue | 4 ++ fe/PDA/pages/task/unProducePick.vue | 48 +++++++++++++++---- fe/PDA/pages/task/unProducePickWip.vue | 30 +++++++++--- fe/PDA/pages/task/unProduceReturn.vue | 29 +++++++++-- fe/PDA/pages/task/unProduceReturnWip.vue | 31 +++++++++--- 11 files changed, 156 insertions(+), 39 deletions(-) diff --git a/fe/PDA/api/index.js b/fe/PDA/api/index.js index ff9619633..fa84f94ee 100644 --- a/fe/PDA/api/index.js +++ b/fe/PDA/api/index.js @@ -1116,6 +1116,13 @@ export const rawDeliver = (params) => request( data: params, method: "post" }); + +//原料直发 校验物品价格 +export const rawDeliverCheckPrice = (params) => request( + devUrl + "/api/pda/SalePriceSheet/get-list-by-itemcode-and-customercoder", { // + data: params, + method: "post" + }); //调拨发货 diff --git a/fe/PDA/common/basic.js b/fe/PDA/common/basic.js index d060e5a82..00297af75 100644 --- a/fe/PDA/common/basic.js +++ b/fe/PDA/common/basic.js @@ -218,8 +218,8 @@ export function getJobType(val) { else if (val == 23) return 'SparePartIssueJob' //备品发料 else if (val == 96) return 'unProducePick' //非生产领料 原料 else if (val == 97) return 'unProducePickWip' //非生产领料 线边 - else if (val == 98) return 'unProduceReturn' //非生产退料 原料 - else if (val == 99) return 'unProduceReturnWip' //非生产退料 线边 + else if (val == 98) return 'unProduceReturnWip' //非生产退料 线边 + else if (val == 99) return 'unProduceReturn' //非生产退料 原料 else return 'Other' } @@ -496,4 +496,16 @@ const S4 = function() { export function guid() { return (S4() + S4() +'-' +S4() +'-' +S4() +'-' +S4() +'-' +S4() +S4() +S4() ); +} + +export function debounceSetting(fn, wait) { + let timeout = null; + wait = wait || 600; + return function () { + let that = this; + if(timeout !== null) clearTimeout(timeout); + timeout = setTimeout(() => { + fn.apply(that); + }, wait); + } } \ No newline at end of file diff --git a/fe/PDA/mycomponents/comjob/comJobUnScanDetail.vue b/fe/PDA/mycomponents/comjob/comJobUnScanDetail.vue index 36e4f587e..49e96e4ac 100644 --- a/fe/PDA/mycomponents/comjob/comJobUnScanDetail.vue +++ b/fe/PDA/mycomponents/comjob/comJobUnScanDetail.vue @@ -8,6 +8,10 @@ {{ jobContent.number }} --> + + OA单号: + {{jobContent.oaNumber}} + ERP储位: {{jobContent.fromErpLocationCode}} diff --git a/fe/PDA/mycomponents/coms/task/comUnProduce.vue b/fe/PDA/mycomponents/coms/task/comUnProduce.vue index 27ea27829..d2de74816 100644 --- a/fe/PDA/mycomponents/coms/task/comUnProduce.vue +++ b/fe/PDA/mycomponents/coms/task/comUnProduce.vue @@ -8,6 +8,11 @@ + + + OA单号: + {{dataContent.oaNumber}} + 单号: @@ -15,6 +20,7 @@ {{dataContent.unplannedReceiptRequestNumber}} + ERP储位: diff --git a/fe/PDA/mycomponents/popup/balanceList.vue b/fe/PDA/mycomponents/popup/balanceList.vue index 323ee0eb1..359344b8e 100644 --- a/fe/PDA/mycomponents/popup/balanceList.vue +++ b/fe/PDA/mycomponents/popup/balanceList.vue @@ -1,6 +1,6 @@ @@ -80,6 +80,7 @@ data() { return { dataList: [], + showPopup:false } }, @@ -88,10 +89,10 @@ methods: { openScanPopup(list) { this.dataList = list; - this.$refs.popup.open('center') + this.showPopup=true }, closeScanPopup() { - this.$refs.popup.close() + this.showPopup=false }, select(item) { this.closeScanPopup(); diff --git a/fe/PDA/mycomponents/popup/recommendList.vue b/fe/PDA/mycomponents/popup/recommendList.vue index 469fd0dda..7c0e19dd9 100644 --- a/fe/PDA/mycomponents/popup/recommendList.vue +++ b/fe/PDA/mycomponents/popup/recommendList.vue @@ -1,6 +1,6 @@ @@ -80,6 +80,7 @@ data() { return { dataList: [], + showPopup:false } }, @@ -88,10 +89,10 @@ methods: { openScanPopup(list) { this.dataList = list; - this.$refs.popup.open('center') + this.showPopup=true }, closeScanPopup() { - this.$refs.popup.close() + this.showPopup=false }, select(item) { this.closeScanPopup(); diff --git a/fe/PDA/pages/index/index.vue b/fe/PDA/pages/index/index.vue index 8c65ac82f..b0665de86 100644 --- a/fe/PDA/pages/index/index.vue +++ b/fe/PDA/pages/index/index.vue @@ -161,6 +161,10 @@ } }, onShow() { + localStorage.setItem("pick_oaNumber","") + localStorage.setItem("pickWip_oaNumber","") + localStorage.setItem("return_oaNumber","") + localStorage.setItem("returnWip_oaNumber","") let that = this; if (that.timer != null) return; diff --git a/fe/PDA/pages/task/unProducePick.vue b/fe/PDA/pages/task/unProducePick.vue index 22c758f5d..efc64f216 100644 --- a/fe/PDA/pages/task/unProducePick.vue +++ b/fe/PDA/pages/task/unProducePick.vue @@ -1,7 +1,11 @@