报名状态

This commit is contained in:
fengachen
2021-11-29 16:44:04 +08:00
parent d24017d9bf
commit 5950e60ab0
3 changed files with 59 additions and 22 deletions
@@ -73,13 +73,13 @@
</a-row>
<a-row :gutter="24" v-if="model.paymentRecord" class="info-textarea flex-col">
<!-- 驳回才显示驳回原因-->
<a-col :span="24" v-if="model.checkResult === 2 " >
<a-col :span="24" v-if="model.checkResult === 2 ">
<label>驳回原因:</label>
<span>{{model.checkRemark}}</span>
<span>{{ model.checkRemark }}</span>
</a-col>
</a-row>
<a-form :form="form">
<!-- 审核通过后 禁止上传 -->
<!-- 审核通过后 或者 报名状态为凭证审核中的 禁止上传 -->
<a-row :gutter="24" style="transform: translateX(-12px)">
<a-col :xl="12" :sm="24">
<a-form-item label="付款凭证" :labelCol="labelCol" :wrapperCol="wrapperCol">
@@ -146,7 +146,7 @@ export default {
validateTrigger: 'change'
},
orderCode: {
rules: [{required: true, validator:this.validateOrderCode}],
rules: [{required: true, validator: this.validateOrderCode}],
validateTrigger: 'blur'
},
},
@@ -179,7 +179,7 @@ export default {
methods: {
open(param) {
// 判断是否是 消息进来的
this.singUpPerosnId = param.situationId ?param.situationId : param.id
this.singUpPerosnId = param.situationId ? param.situationId : param.id
this.form.resetFields()
this.visible = true
this.meetingName = param.meetingName
@@ -189,7 +189,7 @@ export default {
this.model = {}
this.model = res
// 是否是线上缴费
this.payModeOnlineBool = this.model.payMode === 2 || false
this.payModeOnlineBool = this.model.payMode === 2 || false
// 如果缴费方式为汇款的并且上传了缴费凭证 回显缴费凭证
if (this.model.paymentRecord && this.model.payMode === 1) {
this.form.setFieldsValue({'paymentRecord': this.model.paymentRecord})
@@ -261,11 +261,11 @@ export default {
/*
* 校验后四位
* */
validateOrderCode(rule, value, callback){
validateOrderCode(rule, value, callback) {
if (value === undefined || value === '' || value === null) {
callback('请输入缴费订单后四位')
}
if (value && value.length === 4 ) {
if (value && value.length === 4) {
callback()
} else {
callback('请输入四位缴费订单后四位')