From 6365ab0a976afdd247742c9b3dca15deb3a7a7a1 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期四, 17 八月 2023 17:21:40 +0800 Subject: [PATCH] 初始化1.0.1 --- web_standard/src/components/ext/OrderDistrubution.vue | 19 ++++++++----------- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/web_standard/src/components/ext/OrderDistrubution.vue b/web_standard/src/components/ext/OrderDistrubution.vue index 9d055e4..92f9174 100644 --- a/web_standard/src/components/ext/OrderDistrubution.vue +++ b/web_standard/src/components/ext/OrderDistrubution.vue @@ -109,12 +109,9 @@ this.form.planDate = new Date() this.form.planId = target.id this.form.planNum = target.num - target.distributNum - getDeviceByCondition({procedureId: target.procedureId}) + getDeviceByCondition({}) .then(res => { - this.device = res - this.form.proGroupId = res[0] ? res[0].id : '' - this.getUser(this.form.proGroupId) }) .catch(err => { console.log(err) @@ -196,13 +193,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