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