This commit is contained in:
曹辉 2023-04-03 16:57:00 +08:00
parent f31d4dd073
commit 0d1b56b781

View File

@ -84,10 +84,10 @@
</u-checkbox-group> </u-checkbox-group>
</view> </view>
</view> </view>
<view class="remarks"> <view class="remarks" v-if="disablingCondition == 'DISABLED'">
<span class='span' style='width: 25%;'>失能情况 <span class='span' style='width: 25%;'>失能情况
<span style='color:#F44B2F;padding-left: 10rpx;'>*</span></span> <span style='color:#F44B2F;padding-left: 10rpx;'>*</span></span>
<input style="left:27%;width: 73%;" placeholder="请输入" v-model="orderlist.remark"> <input style="left:27%;width: 73%;" placeholder="请输入" v-model="orderlist.disablingReason">
</view> </view>
<view class="remarks"> <view class="remarks">
<span class='span'>备注</span> <span class='span'>备注</span>
@ -153,7 +153,9 @@
patientId: null, patientId: null,
useritem: null, //optionsuser useritem: null, //optionsuser
consumableTotalPrice: 0, // consumableTotalPrice: 0, //
disablingCondition: null, //
orderlist: { orderlist: {
disablingCondition: null,
orderCount: 1, orderCount: 1,
patientId: '', patientId: '',
stationId: '', stationId: '',
@ -169,6 +171,7 @@
consumableTotalPrice: '', consumableTotalPrice: '',
totalPrice: '', totalPrice: '',
remark: "", remark: "",
disablingReason: '',
orderConsumableList: [], orderConsumableList: [],
orderChannel: '', orderChannel: '',
}, },
@ -370,7 +373,16 @@
e.checked = true e.checked = true
}, },
// checkboxcheckbox-group // checkboxcheckbox-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) { argAdd(arg1, arg2) {
// //
var _this = this, var _this = this,