【bug】 不需要发票不显示邮寄信息 上传凭证驳回驳回原因必填
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
<j-dict-select-tag style="width: 100%" dict-code="invoice_type"
|
||||
v-decorator="['needInvoice',validatorRules.needInvoice]"
|
||||
:trigger-change="true"
|
||||
@change="changeInvoice"
|
||||
:disabled="isEditBool"
|
||||
placeholder="请选择发票类型"></j-dict-select-tag>
|
||||
</a-form-item>
|
||||
@@ -71,7 +72,7 @@
|
||||
</template>
|
||||
<!-- 选择嘉宾和内部企业、缴费方式为打包也不显示-->
|
||||
<!-- 会议费为0不显示 -->
|
||||
<template v-if="!meetingCostBool">
|
||||
<template v-if="!meetingCostBool && !needInvoiceBool ">
|
||||
<div class="item-title" v-if="identifyType === 2 && !payModeBool ">邮寄信息</div>
|
||||
<a-row :gutter="24">
|
||||
<a-col :xxl="8" :xl="12" :sm="24" v-if="identifyType === 2 && !payModeBool ">
|
||||
@@ -203,6 +204,8 @@ export default {
|
||||
},
|
||||
// 是否可编辑
|
||||
isEditBool:false,
|
||||
// 是否需要发票
|
||||
needInvoiceBool:false,
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -280,6 +283,7 @@ export default {
|
||||
* */
|
||||
setFormVal(record) {
|
||||
this.isEditBool = record.checkResult === 1
|
||||
this.needInvoiceBool = record.needInvoice === 0
|
||||
// 回显邮寄联系人
|
||||
this.selectPostPerson = {
|
||||
id: record.postContactTemporaryId,
|
||||
@@ -304,6 +308,17 @@ export default {
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
/*
|
||||
* 选择发票
|
||||
* */
|
||||
changeInvoice(val){
|
||||
if(val === '0'){
|
||||
// 不需要发票
|
||||
this.needInvoiceBool = true
|
||||
}else {
|
||||
this.needInvoiceBool = false
|
||||
}
|
||||
},
|
||||
addContactsOk() {
|
||||
}
|
||||
|
||||
@@ -46,8 +46,9 @@
|
||||
</template>
|
||||
<!--行程信息end-->
|
||||
|
||||
<!--其他会议的身份选择参会人才显示 缴费信息和邮寄信息 -->
|
||||
<!--缴费信息begin-->
|
||||
<template>
|
||||
<template v-if="model.identity === 2">
|
||||
<div class="item-title">缴费信息</div>
|
||||
<a-row :gutter="24">
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
@@ -62,9 +63,9 @@
|
||||
</a-row>
|
||||
</template>
|
||||
<!--缴费信息end-->
|
||||
|
||||
<!-- 不需要发票的不显示邮寄信息 -->
|
||||
<!--邮寄信息begin-->
|
||||
<template>
|
||||
<template v-if="model.identity === 2 && model.needInvoice !== 0 ">
|
||||
<div class="item-title">邮寄信息</div>
|
||||
<a-row :gutter="24">
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
@@ -143,10 +144,13 @@
|
||||
<label class="label">演讲题目:</label><span>{{ model.speechTopic }}</span>
|
||||
</a-col>
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<label class="label">演讲PPT:</label> <preview-file v-if="model.speechPpt" :file-id="model.speechPpt"></preview-file>
|
||||
<label class="label">演讲PPT:</label>
|
||||
<preview-file v-if="model.speechPpt" :file-id="model.speechPpt"></preview-file>
|
||||
</a-col>
|
||||
<a-col :xxl="8" :xl="12" :sm="24" style="display: flex" >
|
||||
<label class="label">照片:</label><span><j-image-upload v-if="model.photo" :return-id="true" v-model="model.photo " disabled></j-image-upload></span>
|
||||
<a-col :xxl="8" :xl="12" :sm="24" style="display: flex">
|
||||
<label class="label">照片:</label><span><j-image-upload v-if="model.photo" :return-id="true"
|
||||
v-model="model.photo "
|
||||
disabled></j-image-upload></span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
@@ -200,17 +204,17 @@
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<label class="label">是否需要接站:</label><span>{{ model.pickUp_dictText }}</span>
|
||||
</a-col>
|
||||
<div v-if="model.pickUp === 1">
|
||||
<a-col :xxl="8" :xl="12" :sm="24" >
|
||||
<label class="label">抵达时间:</label><span>{{ model.arrivalTime }}</span>
|
||||
</a-col>
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<label class="label">到达站:</label><span>{{ model.destination }}</span>
|
||||
</a-col>
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<label class="label">到达班次:</label><span>{{ model.arrivalShift }}</span>
|
||||
</a-col>
|
||||
</div>
|
||||
<div v-if="model.pickUp === 1">
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<label class="label">抵达时间:</label><span>{{ model.arrivalTime }}</span>
|
||||
</a-col>
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<label class="label">到达站:</label><span>{{ model.destination }}</span>
|
||||
</a-col>
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<label class="label">到达班次:</label><span>{{ model.arrivalShift }}</span>
|
||||
</a-col>
|
||||
</div>
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<label class="label">是否需要送站:</label><span>{{ model.deliveryStation_dictText }}</span>
|
||||
</a-col>
|
||||
|
||||
@@ -265,7 +265,7 @@ export default {
|
||||
// 审核结果选择拒绝 审核说明必填
|
||||
if(e.target.value === '1'){
|
||||
this.checkBool = false
|
||||
}else if(e.target.value === '0'){
|
||||
}else if(e.target.value === '2'){
|
||||
this.checkBool = true
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user