【bug】清除联系人 清除表单 提示语修改
This commit is contained in:
@@ -160,7 +160,8 @@ export default {
|
|||||||
this.$refs.contactForm.disableSubmit = false
|
this.$refs.contactForm.disableSubmit = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.$message.warn('请先选择来款企业再为该企业新建联系人')
|
// 调用无权限的提示语修改
|
||||||
|
this.$message.warn('请先选择企业再为该企业新建联系人')
|
||||||
},
|
},
|
||||||
addContactsOk(id) {
|
addContactsOk(id) {
|
||||||
this.getContactsList().then(() => {
|
this.getContactsList().then(() => {
|
||||||
|
|||||||
@@ -95,7 +95,8 @@
|
|||||||
<label>签到二维码:</label><img class="qr-code" :src="signInQRCode" alt="签到二维码"/>
|
<label>签到二维码:</label><img class="qr-code" :src="signInQRCode" alt="签到二维码"/>
|
||||||
<!-- <i class="copy primary-color" @click="copy(signUpHerfUrl)">复制</i>-->
|
<!-- <i class="copy primary-color" @click="copy(signUpHerfUrl)">复制</i>-->
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xxl="8" :xl="12" :sm="24" style="display:flex;">
|
<!-- 会议费用为0 不显示 -->
|
||||||
|
<a-col :xxl="8" :xl="12" :sm="24" style="display:flex;" v-if="currentMeetingInfo.meetingCosts !== '0.00' ">
|
||||||
<label>收款二维码:</label>
|
<label>收款二维码:</label>
|
||||||
<j-image-upload :return-id="true" v-if="currentMeetingInfo.paymentQrCode"
|
<j-image-upload :return-id="true" v-if="currentMeetingInfo.paymentQrCode"
|
||||||
v-model="currentMeetingInfo.paymentQrCode" disabled></j-image-upload>
|
v-model="currentMeetingInfo.paymentQrCode" disabled></j-image-upload>
|
||||||
|
|||||||
@@ -91,8 +91,8 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<!-- 选择嘉宾和内部企业、缴费方式为打包也不显示-->
|
<!-- 选择嘉宾和内部企业、缴费方式为打包也不显示-->
|
||||||
<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 ">
|
||||||
<a-form-item label="地址" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="邮寄地址" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-input placeholder="请输入地址"
|
<a-input placeholder="请输入邮寄地址"
|
||||||
:maxLength='50'
|
:maxLength='50'
|
||||||
:disabled="isEditBool"
|
:disabled="isEditBool"
|
||||||
v-decorator="[ 'postContactAddress']"></a-input>
|
v-decorator="[ 'postContactAddress']"></a-input>
|
||||||
@@ -233,7 +233,6 @@ export default {
|
|||||||
* 清空邮寄联系人 地址 邮编
|
* 清空邮寄联系人 地址 邮编
|
||||||
* */
|
* */
|
||||||
clearFormItem(){
|
clearFormItem(){
|
||||||
// 选择企业清空 姓名 手机号
|
|
||||||
this.form.resetFields(['postContactId','postContactAddress','postCode'])
|
this.form.resetFields(['postContactId','postContactAddress','postCode'])
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -250,6 +249,9 @@ export default {
|
|||||||
* 选择联系人之后地址邮编复制
|
* 选择联系人之后地址邮编复制
|
||||||
* */
|
* */
|
||||||
changePost(val){
|
changePost(val){
|
||||||
|
if(val === undefined){
|
||||||
|
this.clearFormItem()
|
||||||
|
}
|
||||||
getContactsById({id:val}).then(res => {
|
getContactsById({id:val}).then(res => {
|
||||||
if(res.success){
|
if(res.success){
|
||||||
this.setAddressVal(res.result)
|
this.setAddressVal(res.result)
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
v-if="currentMeetingInfo.meetingFiles"></preview-file>
|
v-if="currentMeetingInfo.meetingFiles"></preview-file>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row type="flex">
|
<a-row type="flex" v-if="currentMeetingInfo.meetingCosts !== '0.00' ">
|
||||||
<label>收费二维码:</label>
|
<label>收费二维码:</label>
|
||||||
<j-image-upload :return-id="true" v-if="currentMeetingInfo.paymentQrCode"
|
<j-image-upload :return-id="true" v-if="currentMeetingInfo.paymentQrCode"
|
||||||
v-model="currentMeetingInfo.paymentQrCode" disabled></j-image-upload>
|
v-model="currentMeetingInfo.paymentQrCode" disabled></j-image-upload>
|
||||||
@@ -223,7 +223,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {getMeetInfoById,validateStandard} from '@api/incomeMeetingApi'
|
import {getMeetInfoById, validateStandard} from '@api/incomeMeetingApi'
|
||||||
import SelectContacts from '@comp/company/SelectContacts'
|
import SelectContacts from '@comp/company/SelectContacts'
|
||||||
import OtherMeetingForm from '@views/incomePayments/meetManage/OtherMeetingForm'
|
import OtherMeetingForm from '@views/incomePayments/meetManage/OtherMeetingForm'
|
||||||
import SeminarVipForm from '@views/incomePayments/meetManage/modules/SeminarVipForm'
|
import SeminarVipForm from '@views/incomePayments/meetManage/modules/SeminarVipForm'
|
||||||
@@ -332,7 +332,7 @@ export default {
|
|||||||
// 国际研讨会身份的控制
|
// 国际研讨会身份的控制
|
||||||
identityBool: false,
|
identityBool: false,
|
||||||
// 是否是标协成员
|
// 是否是标协成员
|
||||||
isStandardBool:false,
|
isStandardBool: false,
|
||||||
// url是否有id字段 默认没有
|
// url是否有id字段 默认没有
|
||||||
urlHaveIdBool: false,
|
urlHaveIdBool: false,
|
||||||
url: {
|
url: {
|
||||||
@@ -531,26 +531,32 @@ export default {
|
|||||||
* 选择参会企业
|
* 选择参会企业
|
||||||
* */
|
* */
|
||||||
changeCompany(value) {
|
changeCompany(value) {
|
||||||
|
|
||||||
this.selectedCompany = value
|
this.selectedCompany = value
|
||||||
// 通过企业名称判断当前参会人
|
// 通过企业名称判断当前参会人
|
||||||
if(this.currentMeetingInfo.meetingType +'' === '2' ){
|
if (this.currentMeetingInfo.meetingType + '' === '2') {
|
||||||
console.log('标协会议')
|
console.log('标协会议')
|
||||||
validateStandard({companyName:this.selectedCompany.companyName}).then(res => {
|
validateStandard({companyName: this.selectedCompany.companyName}).then(res => {
|
||||||
this.isStandardBool = res.result
|
this.isStandardBool = res.result
|
||||||
if(this.isStandardBool){
|
if (this.isStandardBool) {
|
||||||
this.meetingCostSum = this.currentMeetingInfo.meetingCostsVip
|
this.meetingCostSum = this.currentMeetingInfo.meetingCostsVip
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 选择企业清空 姓名 手机号
|
// 选择企业清空 姓名 手机号
|
||||||
this.form.resetFields(['companyContactId', 'phone'])
|
this.form.resetFields(['companyContactId', 'phone'])
|
||||||
|
if (this.$refs.formother) {
|
||||||
|
this.$refs.formother.clearFormItem()
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
* 选择联系人获取信息
|
* 选择联系人获取信息
|
||||||
* */
|
* */
|
||||||
changeContact(val) {
|
changeContact(val) {
|
||||||
|
// 监听删除联系人的时候 清除对应的表单赋值
|
||||||
|
if(val === undefined){
|
||||||
|
this.form.resetFields(['phone'])
|
||||||
|
}
|
||||||
const that = this
|
const that = this
|
||||||
getContactsById({id: val}).then(res => {
|
getContactsById({id: val}).then(res => {
|
||||||
const model = Object.assign({}, res.result)
|
const model = Object.assign({}, res.result)
|
||||||
|
|||||||
Reference in New Issue
Block a user