update 工作组新增成员来款方式为无添加应收金额字段
This commit is contained in:
@@ -159,8 +159,8 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row v-if="chargeWayType === 2">
|
<a-row>
|
||||||
<a-col :xl="12" :sm="24">
|
<a-col :xl="12" :sm="24" v-if="chargeWayType === 1 || chargeWayType === 2">
|
||||||
<a-form-item label="应收金额" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="应收金额" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-row :gutter="10">
|
<a-row :gutter="10">
|
||||||
<a-col :span="20">
|
<a-col :span="20">
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="12" :sm="24">
|
<a-col :xl="12" :sm="24" v-if="chargeWayType === 2">
|
||||||
<a-form-item label="合同号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="合同号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<!-- <a-input placeholder="请输入合同号"-->
|
<!-- <a-input placeholder="请输入合同号"-->
|
||||||
<!-- v-decorator="['contractNum',validatorRules.contractNum]"-->
|
<!-- v-decorator="['contractNum',validatorRules.contractNum]"-->
|
||||||
@@ -732,13 +732,13 @@ export default {
|
|||||||
contactsChange(value) {
|
contactsChange(value) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
this.hasContactOne = false
|
this.hasContactOne = false
|
||||||
this.form.setFieldsValue({remarksOne: null})
|
this.form.setFieldsValue({ remarksOne: null })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.hasContactOne = true
|
this.hasContactOne = true
|
||||||
// 判断联系人是否和原来的一致,不一致则清空备注内容
|
// 判断联系人是否和原来的一致,不一致则清空备注内容
|
||||||
if (value !== this.model.contactsTemporaryIdOne) {
|
if (value !== this.model.contactsTemporaryIdOne) {
|
||||||
this.form.setFieldsValue({remarksOne: null})
|
this.form.setFieldsValue({ remarksOne: null })
|
||||||
}
|
}
|
||||||
let mailContact = Object.values(this.form.getFieldValue(['mailContactsId']))[0]
|
let mailContact = Object.values(this.form.getFieldValue(['mailContactsId']))[0]
|
||||||
// 邮寄联系人非undefined时赋值
|
// 邮寄联系人非undefined时赋值
|
||||||
@@ -753,32 +753,32 @@ export default {
|
|||||||
* 企业联系人2变化
|
* 企业联系人2变化
|
||||||
* @param value
|
* @param value
|
||||||
*/
|
*/
|
||||||
contactsTwoChange (value) {
|
contactsTwoChange(value) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
this.hasContactTwo = false
|
this.hasContactTwo = false
|
||||||
this.form.setFieldsValue({remarksTwo: null})
|
this.form.setFieldsValue({ remarksTwo: null })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.hasContactTwo = true
|
this.hasContactTwo = true
|
||||||
// 判断联系人是否和原来的一致,不一致则清空备注内容
|
// 判断联系人是否和原来的一致,不一致则清空备注内容
|
||||||
if (value !== this.model.contactsTemporaryIdTwo) {
|
if (value !== this.model.contactsTemporaryIdTwo) {
|
||||||
this.form.setFieldsValue({remarksTwo: null})
|
this.form.setFieldsValue({ remarksTwo: null })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 企业联系人3变化
|
* 企业联系人3变化
|
||||||
* @param value
|
* @param value
|
||||||
*/
|
*/
|
||||||
contactsThreeChange (value) {
|
contactsThreeChange(value) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
this.hasContactThree = false
|
this.hasContactThree = false
|
||||||
this.form.setFieldsValue({remarksThree: null})
|
this.form.setFieldsValue({ remarksThree: null })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.hasContactThree = true
|
this.hasContactThree = true
|
||||||
// 判断联系人是否和原来的一致,不一致则清空备注内容
|
// 判断联系人是否和原来的一致,不一致则清空备注内容
|
||||||
if (value !== this.model.contactsTemporaryIdThree) {
|
if (value !== this.model.contactsTemporaryIdThree) {
|
||||||
this.form.setFieldsValue({remarksThree: null})
|
this.form.setFieldsValue({ remarksThree: null })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user