From 0d1b56b781e6d19e0ff5a7da5e3a90a2d25e3dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Mon, 3 Apr 2023 16:57:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/appointmenttime/appointmenttime.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pages/appointmenttime/appointmenttime.vue b/pages/appointmenttime/appointmenttime.vue index d3018f8..e395194 100644 --- a/pages/appointmenttime/appointmenttime.vue +++ b/pages/appointmenttime/appointmenttime.vue @@ -84,10 +84,10 @@ - + 失能情况 * - + 备注: @@ -153,7 +153,9 @@ patientId: null, useritem: null, //optionsuser信息 consumableTotalPrice: 0, //耗材包总价格 + disablingCondition: null, //是否失能 orderlist: { + disablingCondition: null, orderCount: 1, patientId: '', stationId: '', @@ -169,6 +171,7 @@ consumableTotalPrice: '', totalPrice: '', remark: "", + disablingReason: '', orderConsumableList: [], orderChannel: '', }, @@ -370,7 +373,16 @@ e.checked = true }, // 选中任一checkbox时,由checkbox-group触发 - checkboxGroupChangetwo(e) {}, + checkboxGroupChangetwo(e) { + if (e[0] == '否') { + this.disablingCondition = 'NOT_DISABLED' + } else if (e[0] == '是') { + this.disablingCondition = 'DISABLED' + } else { + this.disablingCondition = null + } + this.orderlist.disablingCondition = this.disablingCondition + }, argAdd(arg1, arg2) { // 加法函数 var _this = this,