This commit is contained in:
曹辉 2023-04-07 14:29:23 +08:00
parent 4d93e5a546
commit dc320cdb26

View File

@ -87,7 +87,7 @@
<view class="remarks" v-if="disablingCondition == 'DISABLED'">
<span class='span' style='width: 25%;'>失能情况
<span style='color:#F44B2F;padding-left: 10rpx;'>*</span></span>
<input style="left:27%;width: 73%;" placeholder="请输入" v-model="orderlist.disablingReason">
<input style="left:27%;width: 73%;" placeholder="请输入" v-model="personInfo.disablingReason">
</view>
<view class="remarks">
<span class='span'>备注</span>
@ -188,6 +188,7 @@
}
},
onShow() {
this.disablingCondition = null
let that = this
uni.$on('updata', function(data) {
if (data.updata) {
@ -236,8 +237,15 @@
that.patientId = value
//
getAppPatientList(that.patientId).then(response => {
if (response.data.disablingCondition == 'NOT_DISABLED') {
that.checkboxlist[1].checked = true
} else if (response.data.disablingCondition == 'DISABLED') {
that.checkboxlist[0].checked = true
that.disablingCondition = 'DISABLED'
}
that.personInfo = response.data
that.personInfo.address = response.data.areaName + response.data.address
that.orderlist.disablingCondition = response.data.disablingCondition
})
}
},
@ -271,6 +279,7 @@
var that = this
this.orderlist.consumableTotalPrice = null
this.orderlist.orderChannel = 'WECHAT_APPLET'
this.orderlist.disablingReason = this.personInfo.disablingReason
if (this.radio == 1) {
this.$refs.uToast.show({
title: '请阅读用户协议并同意',