【bug】缴费订单号后四位校验
This commit is contained in:
@@ -48,6 +48,26 @@ Page({
|
|||||||
},
|
},
|
||||||
// 上传汇款凭证
|
// 上传汇款凭证
|
||||||
editPayRecord() {
|
editPayRecord() {
|
||||||
|
if(this.data.ordeCode === '' || this.data.ordeCode === undefined ){
|
||||||
|
wx.showToast({
|
||||||
|
title: '请输入缴费订单号后四位数',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}else if(this.data.ordeCode && this.data.ordeCode.length < 4){
|
||||||
|
wx.showToast({
|
||||||
|
title: '请输入四位缴费订单号后四位数',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if(this.data.imageIds === '' || this.data.imageIds === undefined){
|
||||||
|
wx.showToast({
|
||||||
|
title: '请上传缴费凭证',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
const param = {
|
const param = {
|
||||||
id: this.data.meetingInfo.situationId,
|
id: this.data.meetingInfo.situationId,
|
||||||
orderCode: this.data.ordeCode,
|
orderCode: this.data.ordeCode,
|
||||||
|
|||||||
Reference in New Issue
Block a user