[需求变更] 普通项目、工作组成员新增/编辑收入合同改为下拉(添加选择收入合同组件)
This commit is contained in:
@@ -138,11 +138,16 @@
|
||||
</a-col>
|
||||
<a-col :xl="12" :sm="24">
|
||||
<a-form-item label="合同号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-input placeholder="请输入合同号"
|
||||
v-decorator="['contractNum',validatorRules.contractNum]"
|
||||
:maxLength='50'
|
||||
:disabled="isContractNumDisabled || isAssociatedContract"
|
||||
@change="e => {e.target.value = (e.target.value + '').trim()}"></a-input>
|
||||
<!-- <a-input placeholder="请输入合同号"-->
|
||||
<!-- v-decorator="['contractNum',validatorRules.contractNum]"-->
|
||||
<!-- :maxLength='50'-->
|
||||
<!-- :disabled="isContractNumDisabled || isAssociatedContract"-->
|
||||
<!-- @change="e => {e.target.value = (e.target.value + '').trim()}"></a-input>-->
|
||||
<select-revenue-contract
|
||||
placeholder="请选择合同号"
|
||||
v-decorator="['contractNum',validatorRules.contractNum]">
|
||||
:disabled="isContractNumDisabled || isAssociatedContract"
|
||||
</select-revenue-contract>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
@@ -227,10 +232,11 @@ import { isRepeat } from '../../../utils/util'
|
||||
import { addZero } from '../../../utils/util'
|
||||
import { money } from '../../../utils/validate'
|
||||
import { checkAssociatedProject } from '../../../utils/projectCheck'
|
||||
import SelectRevenueContract from '../../../components/tools/SelectRevenueContract'
|
||||
|
||||
export default {
|
||||
name: 'WorkingGroupMemberUnitModule',
|
||||
components: { JUpload, CompanySelect, SelectContacts },
|
||||
components: { JUpload, CompanySelect, SelectContacts, SelectRevenueContract },
|
||||
props: {
|
||||
// 默认来款方式(收入合同新增工作组项目,来款方式默认为2--合同)
|
||||
defaultChargeWay: {
|
||||
@@ -331,7 +337,7 @@ export default {
|
||||
validateTrigger: 'blur'
|
||||
},
|
||||
contractNum: {
|
||||
rules: [{ required: true, message: '请输入合同号' }],
|
||||
rules: [{ required: true, message: '请选择合同号' }],
|
||||
validateTrigger: 'blur'
|
||||
},
|
||||
charge: {
|
||||
|
||||
Reference in New Issue
Block a user