【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,