From 422b94e9b0dfe1de8cee0a0e5db617efb8edece0 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Tue, 20 Aug 2024 19:42:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/config.js | 8 +- src/mycomponents/job/jobFilter.vue | 35 +- src/pages/issue/job/issueJob.vue | 435 ++++++------------ src/pages/package/job/overPackageJob.vue | 146 ++---- .../job/productionReceiptJob.vue | 228 ++++----- src/pages/purchaseReceipt/job/receiptJob.vue | 5 + src/pages/repleinsh/job/repleinshJob.vue | 256 +++-------- 7 files changed, 372 insertions(+), 741 deletions(-) diff --git a/src/common/config.js b/src/common/config.js index 4c8cc3c4..416ed517 100644 --- a/src/common/config.js +++ b/src/common/config.js @@ -1,4 +1,10 @@ export const overPagePrint="overPage_print" export const overPageTemplate="overPage_Template" //3分钟刷新 -export const planRefreshTime=3*60*1000 \ No newline at end of file +export const planRefreshTime=3*60*1000 + +export const issueJobFilter="issue_job_filter" +export const repleinshJobFilter="repleinsh_job_filter" +export const overPackageJobFilter="over_package_job_filter" +export const productionReceiptJobFilter="production_receipt_job_filter" + diff --git a/src/mycomponents/job/jobFilter.vue b/src/mycomponents/job/jobFilter.vue index 32d1546f..0b47d7e6 100644 --- a/src/mycomponents/job/jobFilter.vue +++ b/src/mycomponents/job/jobFilter.vue @@ -52,7 +52,7 @@ 来源库区 + placeholder="请输入来源库区" /> @@ -60,7 +60,7 @@ 到库区 + placeholder="请输入到库区" /> - + @@ -164,7 +165,10 @@ toAreaCode: '', // 到库区 itemCode: '', //物料代码 creationTime: '', - status: '' + status: '1,2', + isOnToday: false, + isOnWait: false, + params: {} } }, watch: { @@ -197,16 +201,16 @@ } return params; }, - reset(){ + reset() { this.checkedTodayModel = false this.checkedWaitModel = false this.productionLineCode = '' this.fromLocationCode = '' - this.fromAreaCode = ''// 来源库区 - this.toAreaCode = ''// 到库区 + this.fromAreaCode = '' // 来源库区 + this.toAreaCode = '' // 到库区 this.itemCode = '' this.creationTime = '' - this.status = '' + this.status = '1,2' this.query() }, @@ -239,6 +243,21 @@ openFilter() { this.$refs['popup'].open("top"); }, + openFilterParams(params) { + this.$refs['popup'].open("top"); + if(params){ + this.productionLineCode = params.productionLineCode + this.fromLocationCode = params.fromLocationCode + this.fromAreaCode = params.fromAreaCode + this.toAreaCode = params.toAreaCode + this.itemCode = params.itemCode + this.creationTime = params.creationTime + this.status = params.status + this.checkedTodayModel=this.creationTime?true:false + this.checkedWaitModel=this.status=="1"?true:false + } + + }, closeScanPopup() { this.$refs.popup.close() }, diff --git a/src/pages/issue/job/issueJob.vue b/src/pages/issue/job/issueJob.vue index 38acf2ac..5cd8a39a 100644 --- a/src/pages/issue/job/issueJob.vue +++ b/src/pages/issue/job/issueJob.vue @@ -1,18 +1,11 @@