From 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期三, 06 十二月 2023 08:41:32 +0800 Subject: [PATCH] bug --- 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