fix 80193

This commit is contained in:
赵霄
2024-01-10 15:27:03 +08:00
parent 948b304edb
commit ee04dbd982
@@ -144,7 +144,11 @@
<!--表格新增编辑表单-->
<table-form-modal ref="modalForm" @ok="modalFormOk" />
<!--转办选人-->
<user-select-modal ref="userSelectModal" check-required :type="isTransfer ? 'radio' : 'checkbox'" @change="handleSelectedUser" />
<user-select-modal ref="userSelectModal"
check-required
:type="isTransfer ? 'radio' : 'checkbox'"
:value="isTransfer? null : carbonCopyPersonIds"
@change="handleSelectedUser" />
</internal-detail-page>
</template>
@@ -239,7 +243,8 @@ export default {
selectedRowKeys: [],
currentNode: '',
isTransfer: true, // 是否转办
businessId: null
businessId: null,
carbonCopyPersonIds: null // 抄送选择人的id
}
},
computed: {
@@ -436,6 +441,9 @@ export default {
userId
}
const func = this.isTransfer ? transferProcurementProcess : carbonCopyProcurementProcess
if (!this.isTransfer) {
this.carbonCopyPersonIds = userId
}
this.loading = true
func(params).then(res => {
if (res.success) {