修改
This commit is contained in:
parent
4d93e5a546
commit
dc320cdb26
@ -87,7 +87,7 @@
|
|||||||
<view class="remarks" v-if="disablingCondition == 'DISABLED'">
|
<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.disablingReason">
|
<input style="left:27%;width: 73%;" placeholder="请输入" v-model="personInfo.disablingReason">
|
||||||
</view>
|
</view>
|
||||||
<view class="remarks">
|
<view class="remarks">
|
||||||
<span class='span'>备注:</span>
|
<span class='span'>备注:</span>
|
||||||
@ -188,6 +188,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.disablingCondition = null
|
||||||
let that = this
|
let that = this
|
||||||
uni.$on('updata', function(data) {
|
uni.$on('updata', function(data) {
|
||||||
if (data.updata) {
|
if (data.updata) {
|
||||||
@ -236,8 +237,15 @@
|
|||||||
that.patientId = value
|
that.patientId = value
|
||||||
//被护理人信息
|
//被护理人信息
|
||||||
getAppPatientList(that.patientId).then(response => {
|
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 = response.data
|
||||||
that.personInfo.address = response.data.areaName + response.data.address
|
that.personInfo.address = response.data.areaName + response.data.address
|
||||||
|
that.orderlist.disablingCondition = response.data.disablingCondition
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -271,6 +279,7 @@
|
|||||||
var that = this
|
var that = this
|
||||||
this.orderlist.consumableTotalPrice = null
|
this.orderlist.consumableTotalPrice = null
|
||||||
this.orderlist.orderChannel = 'WECHAT_APPLET'
|
this.orderlist.orderChannel = 'WECHAT_APPLET'
|
||||||
|
this.orderlist.disablingReason = this.personInfo.disablingReason
|
||||||
if (this.radio == 1) {
|
if (this.radio == 1) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '请阅读用户协议并同意',
|
title: '请阅读用户协议并同意',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user