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 @@