update 工作组新增成员来款方式为无添加应收金额字段

This commit is contained in:
zhaoxiao
2022-02-12 09:53:34 +08:00
parent 4911b5c977
commit 8c6ea965da
@@ -159,8 +159,8 @@
</a-form-item>
</a-col>
</a-row>
<a-row v-if="chargeWayType === 2">
<a-col :xl="12" :sm="24">
<a-row>
<a-col :xl="12" :sm="24" v-if="chargeWayType === 1 || chargeWayType === 2">
<a-form-item label="应收金额" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-row :gutter="10">
<a-col :span="20">
@@ -174,7 +174,7 @@
</a-row>
</a-form-item>
</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-input placeholder="请输入合同号"-->
<!-- v-decorator="['contractNum',validatorRules.contractNum]"-->
@@ -732,13 +732,13 @@ export default {
contactsChange(value) {
if (!value) {
this.hasContactOne = false
this.form.setFieldsValue({remarksOne: null})
this.form.setFieldsValue({ remarksOne: null })
return
}
this.hasContactOne = true
// 判断联系人是否和原来的一致,不一致则清空备注内容
if (value !== this.model.contactsTemporaryIdOne) {
this.form.setFieldsValue({remarksOne: null})
this.form.setFieldsValue({ remarksOne: null })
}
let mailContact = Object.values(this.form.getFieldValue(['mailContactsId']))[0]
// 邮寄联系人非undefined时赋值
@@ -753,32 +753,32 @@ export default {
* 企业联系人2变化
* @param value
*/
contactsTwoChange (value) {
contactsTwoChange(value) {
if (!value) {
this.hasContactTwo = false
this.form.setFieldsValue({remarksTwo: null})
this.form.setFieldsValue({ remarksTwo: null })
return
}
this.hasContactTwo = true
// 判断联系人是否和原来的一致,不一致则清空备注内容
if (value !== this.model.contactsTemporaryIdTwo) {
this.form.setFieldsValue({remarksTwo: null})
this.form.setFieldsValue({ remarksTwo: null })
}
},
/**
* 企业联系人3变化
* @param value
*/
contactsThreeChange (value) {
contactsThreeChange(value) {
if (!value) {
this.hasContactThree = false
this.form.setFieldsValue({remarksThree: null})
this.form.setFieldsValue({ remarksThree: null })
return
}
this.hasContactThree = true
// 判断联系人是否和原来的一致,不一致则清空备注内容
if (value !== this.model.contactsTemporaryIdThree) {
this.form.setFieldsValue({remarksThree: null})
this.form.setFieldsValue({ remarksThree: null })
}
}
}