From 38dff69b2c218ae53b4cc79257368139a2803ebc Mon Sep 17 00:00:00 2001 From: Mr.Zhang <710666463@qq.com> Date: 星期二, 15 八月 2023 18:18:19 +0800 Subject: [PATCH] 08.15 --- web_standard/src/components/ext/OrderDistrubution.vue | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/web_standard/src/components/ext/OrderDistrubution.vue b/web_standard/src/components/ext/OrderDistrubution.vue index 92f9174..9d055e4 100644 --- a/web_standard/src/components/ext/OrderDistrubution.vue +++ b/web_standard/src/components/ext/OrderDistrubution.vue @@ -109,9 +109,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 +196,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