【bug】缴费凭证状态的显示

This commit is contained in:
fengachen
2021-11-02 19:29:24 +08:00
parent eb0b521166
commit df3d9612e3
2 changed files with 11 additions and 9 deletions
@@ -48,7 +48,15 @@ Page({
},
// 上传汇款凭证
editPayRecord() {
if(this.data.ordeCode === '' || this.data.ordeCode === undefined ){
if(this.data.imageIds.length === 0){
wx.showToast({
title: '请上传缴费凭证',
icon:'none'
})
return
}
if(this.data.ordeCode === '' || this.data.ordeCode === undefined || this.data.ordeCode === null ){
wx.showToast({
title: '请输入缴费订单号后四位数',
icon:'none'
@@ -61,13 +69,6 @@ Page({
})
return
}
if(this.data.imageIds === '' || this.data.imageIds === undefined){
wx.showToast({
title: '请上传缴费凭证',
icon:'none'
})
return
}
const param = {
id: this.data.meetingInfo.situationId,
orderCode: this.data.ordeCode,
@@ -146,8 +146,9 @@
</view>
<!-- 参会人的付款凭证审核状态 0 未审核 1已通过 2拒绝 -->
<!-- 未审核不显示 -->
<view wx:if="{{singInPersonInfo.checkResult !== 0}}" class="p-20 base">
<view class="p-20 base">
<text>缴费凭证状态:</text>
<text wx:if="{{singInPersonInfo.checkResult === 0}}">{{singInPersonInfo.checkResult_dictText}}</text>
<text wx:if="{{singInPersonInfo.checkResult === 1}}">{{singInPersonInfo.checkResult_dictText}}</text>
<text
wx:if="{{singInPersonInfo.checkResult === 2}}">{{singInPersonInfo.checkResult_dictText}}({{singInPersonInfo.checkRemark}})</text>