From c2f5c47a1b62481a0f47c61b036be81481b615dd Mon Sep 17 00:00:00 2001
From: niexiting <85552560@qq.com>
Date: Wed, 7 Aug 2024 11:34:18 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E6=96=99=E7=AD=9B?=
=?UTF-8?q?=E9=80=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/mycomponents/job/jobFilter.vue | 32 ++++++++++++++++--------
src/pages/issue/job/issueJob.vue | 8 +++---
src/pages/repleinsh/job/repleinshJob.vue | 12 ++++-----
3 files changed, 31 insertions(+), 21 deletions(-)
diff --git a/src/mycomponents/job/jobFilter.vue b/src/mycomponents/job/jobFilter.vue
index 4e2b6ee8..9b1021d2 100644
--- a/src/mycomponents/job/jobFilter.vue
+++ b/src/mycomponents/job/jobFilter.vue
@@ -3,9 +3,7 @@
-
-
-
+
@@ -59,7 +57,8 @@
@click="scanNumberClick">扫描任务编号
-->
-
+
+
@@ -122,6 +121,10 @@
isShowItemCode: {
type: Boolean,
default: false
+ },
+ isShowQurery: {
+ type: Boolean,
+ default: false
}
},
data() {
@@ -131,7 +134,9 @@
checkedWaitModel: false,
productionLineCode: '', // 生产线
fromLocationCode: '', // 来源库位
- itemCode: '' //物料代码
+ itemCode: '', //物料代码
+ creationTime: '',
+ status: ''
}
},
watch: {
@@ -156,7 +161,9 @@
let params = {
productionLineCode: this.productionLineCode,
fromLocationCode: this.fromLocationCode,
- itemCode: this.itemCode
+ itemCode: this.itemCode,
+ creationTime: this.creationTime,
+ status: this.status
}
return params;
},
@@ -198,17 +205,22 @@
if (isOn) {
creationTime = getTodayDate();
}
-
+ this.creationTime = creationTime;
this.$emit("switchChangeToday", isOn, creationTime)
- this.closeScanPopup()
+ if (!this.isShowQurery) {
+ this.closeScanPopup()
+ }
},
switchChangeWait(isOn) {
let status = "1,2";
if (isOn) {
status = "1"
}
+ this.status = status;
this.$emit("switchChangeWait", isOn, status)
- this.closeScanPopup()
+ if (!this.isShowQurery) {
+ this.closeScanPopup()
+ }
},
scanNumberClick() {
diff --git a/src/pages/issue/job/issueJob.vue b/src/pages/issue/job/issueJob.vue
index 8e60fbf5..b14e36ae 100644
--- a/src/pages/issue/job/issueJob.vue
+++ b/src/pages/issue/job/issueJob.vue
@@ -2,10 +2,8 @@
+ ref="filter" otherTitle="" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask"
+ :isShowItemCode="true" @onQuery="getListByFilter" :isShowQurery='true'>
-
+
@@ -276,7 +276,7 @@
value: params.fromLocationCode
})
}
-
+
if (params.itemCode) {
// 生产线
filters.push({