【bug】会议期间才可以上传缴费凭证
This commit is contained in:
@@ -56,13 +56,14 @@ Page({
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(this.data.ordeCode === '' || this.data.ordeCode === undefined || this.data.ordeCode === null ){
|
if(this.data.singInPersonInfo.payMode === 2 && this.data.ordeCode === '' || this.data.ordeCode === undefined || this.data.ordeCode === null ){
|
||||||
wx.showToast({
|
wx.showToast({
|
||||||
title: '请输入缴费订单号后四位数',
|
title: '请输入缴费订单号后四位数',
|
||||||
icon:'none'
|
icon:'none'
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}else if(this.data.ordeCode && this.data.ordeCode.length < 4){
|
}else if(this.data.singInPersonInfo.payMode === 2 &&this.data.ordeCode && this.data.ordeCode.length < 4){
|
||||||
|
// 线上缴费才去校验
|
||||||
wx.showToast({
|
wx.showToast({
|
||||||
title: '请输入四位缴费订单号后四位数',
|
title: '请输入四位缴费订单号后四位数',
|
||||||
icon:'none'
|
icon:'none'
|
||||||
@@ -117,14 +118,14 @@ Page({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 已经审核的获取审核凭证的src
|
// 已经审核的获取审核凭证的src
|
||||||
if (res.result.checkResult !== 0) {
|
if (res.result.checkResult !== 0 && res.result.paymentRecord) {
|
||||||
this.setData({
|
this.setData({
|
||||||
payRecordImgSrc: baseUrl + URL_CONFIG + 'sys/common/download/' + res.result.paymentRecord,
|
payRecordImgSrc: baseUrl + URL_CONFIG + 'sys/common/download/' + res.result.paymentRecord,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
console.log(this.data.payRecordImgSrc);
|
console.log(this.data.payRecordImgSrc);
|
||||||
// 已经签到的获取签到的图片的src
|
// 已经签到的获取签到的图片的src
|
||||||
if (res.result.checkIn === 1) {
|
if (res.result.checkIn === 1 && res.result.checkFile) {
|
||||||
this.setData({
|
this.setData({
|
||||||
signImgSrc: baseUrl + URL_CONFIG + 'sys/common/download/' + res.result.checkFile
|
signImgSrc: baseUrl + URL_CONFIG + 'sys/common/download/' + res.result.checkFile
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -146,9 +146,9 @@
|
|||||||
</view>
|
</view>
|
||||||
<!-- 参会人的付款凭证审核状态 0 未审核 1已通过 2拒绝 -->
|
<!-- 参会人的付款凭证审核状态 0 未审核 1已通过 2拒绝 -->
|
||||||
<!-- 未审核不显示 -->
|
<!-- 未审核不显示 -->
|
||||||
<view class="p-20 base">
|
<view class="p-20 base" wx:if="{{singInPersonInfo.paymentRecord}}">
|
||||||
<text>缴费凭证状态:</text>
|
<text>缴费凭证状态:</text>
|
||||||
<text wx:if="{{singInPersonInfo.checkResult === 0}}">{{singInPersonInfo.checkResult_dictText}}</text>
|
<text wx:if="{{singInPersonInfo.checkResult === 0 && singInPersonInfo.paymentRecord}}">{{singInPersonInfo.checkResult_dictText}}</text>
|
||||||
<text wx:if="{{singInPersonInfo.checkResult === 1}}">{{singInPersonInfo.checkResult_dictText}}</text>
|
<text wx:if="{{singInPersonInfo.checkResult === 1}}">{{singInPersonInfo.checkResult_dictText}}</text>
|
||||||
<text
|
<text
|
||||||
wx:if="{{singInPersonInfo.checkResult === 2}}">{{singInPersonInfo.checkResult_dictText}}({{singInPersonInfo.checkRemark}})</text>
|
wx:if="{{singInPersonInfo.checkResult === 2}}">{{singInPersonInfo.checkResult_dictText}}({{singInPersonInfo.checkRemark}})</text>
|
||||||
@@ -185,7 +185,8 @@
|
|||||||
<view class="sign-up-empty"></view>
|
<view class="sign-up-empty"></view>
|
||||||
<!-- 签到 -->
|
<!-- 签到 -->
|
||||||
<!-- 只有审核通过的状态不显示 -->
|
<!-- 只有审核通过的状态不显示 -->
|
||||||
<view class="sign-up" wx:if="{{singInPersonInfo.checkResult !== 1 }}">
|
<!-- 线上缴费的只有在会议期间可以上传 -->
|
||||||
<text bindtap="editPayRecord">确定</text>
|
<view class="sign-up" wx:if="{{singInPersonInfo.checkResult !== 1 && meetingInfo.meetingStatus == 3 && singInPersonInfo.payMode }}">
|
||||||
|
<text bindtap="editPayRecord">确定 </text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in New Issue
Block a user