From cf47d288de5e1423e86386f1c7c452353b4e8a0a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 22 八月 2023 16:52:49 +0800
Subject: [PATCH] da
---
web_standard/src/components/ext/OrderDistrubution.vue | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/web_standard/src/components/ext/OrderDistrubution.vue b/web_standard/src/components/ext/OrderDistrubution.vue
index 92f9174..b0d8aaa 100644
--- a/web_standard/src/components/ext/OrderDistrubution.vue
+++ b/web_standard/src/components/ext/OrderDistrubution.vue
@@ -38,6 +38,7 @@
<el-select
v-model="form.proUserList"
:disabled="!form.proGroupId"
+ reserve-keyword
multiple
clearable
filterable
@@ -109,9 +110,12 @@
this.form.planDate = new Date()
this.form.planId = target.id
this.form.planNum = target.num - target.distributNum
- getDeviceByCondition({})
+ getDeviceByCondition({procedureId: target.procedureId})
.then(res => {
+
this.device = res
+ this.form.proGroupId = res[0] ? res[0].id : ''
+ this.getUser(this.form.proGroupId)
})
.catch(err => {
console.log(err)
@@ -193,13 +197,13 @@
return date2
}
},
- pickerOptions(data) {
- let time = new Date(data);
- let tempTime = 3600 * 1000 * 24
- return {
- disabledDate: time.getTime() < new Date(data)-tempTime
- }
- }
+ // pickerOptions(data) {
+ // let time = new Date(data);
+ // let tempTime = 3600 * 1000 * 24
+ // return {
+ // disabledDate: time.getTime() < new Date(data)-tempTime
+ // }
+ // }
},
created () {
this.config({
--
Gitblit v1.9.3