[update] 收入合同关联新建普通项目表单修改;新建工作组候选工作组列表修改

This commit is contained in:
zhaoxiao
2021-09-07 17:11:26 +08:00
parent 273519b189
commit 00676798ea
7 changed files with 199 additions and 169 deletions
@@ -91,8 +91,8 @@
<template slot="projectName" slot-scope="text, record">
<j-ellipsis
@click="toRevenueContractDetail(record.id, record.contractNum)"
v-if="record.status === 2 || record.status === 4"
value="text"
v-if="record.chargeStatus === 1"
:value="text"
:length="20"></j-ellipsis>
<j-ellipsis
class="primary-color"
@@ -186,32 +186,38 @@ export default {
title: '合同名称',
align: 'center',
dataIndex: 'contractName',
width: 250
width: 250,
scopedSlots: { customRender: 'text' }
}, {
title: '关联项目',
align: 'center',
dataIndex: '',
width: 250
dataIndex: 'associatedProject',
width: 250,
scopedSlots: { customRender: 'text' }
}, {
title: '签订单位',
align: 'center',
dataIndex: 'signedCompanyTemporaryName',
width: 250
width: 250,
scopedSlots: { customRender: 'text' }
}, {
title: '签订联系人',
align: 'center',
dataIndex: 'signedContactsTemporaryName',
width: 250
width: 250,
scopedSlots: { customRender: 'text' }
}, {
title: '合同总金额',
align: 'center',
dataIndex: 'contractAmount',
width: 250
width: 250,
scopedSlots: { customRender: 'text' }
}, {
title: '状态',
align: 'center',
dataIndex: 'status_dictText',
width: 250
width: 250,
scopedSlots: { customRender: 'text' }
}, {
title: '创建时间',
align: 'center',
@@ -574,6 +574,9 @@ export default {
handleSignedCompanyChange(value) {
this.selectedCompany = value
this.model.signedContactsId = undefined
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'signedContactsId'))
})
},
/**
* 负责人变化获取部门信息回显至部门名称
@@ -99,6 +99,7 @@
<general-project-module ref="generalProjectForm"
v-bind="$attrs"
:disabled-charge-company="true"
:default-charge-way="2"
@ok="modalFormOk"></general-project-module>
<!-- 工作组项目新增-->
<working-group-member-unit-module ref="workingGroupMemberForm"