CRM:合同的 code review

(cherry picked from commit 3ad68c3227)
This commit is contained in:
YunaiV
2024-02-04 09:48:44 +08:00
committed by shizhong
parent d4eb24798b
commit b0a6af4b40
4 changed files with 17 additions and 11 deletions

View File

@ -87,6 +87,7 @@ const getOperateLog = async (contractId: number) => {
}
/** 转移 */
// TODO @puhui999这个组件要不传递业务类型然后组件里判断 title 和 api 能调用哪个;整体治理掉;
const transferFormRef = ref<InstanceType<typeof CrmTransferForm>>() // 合同转移表单 ref
const transferContract = () => {
transferFormRef.value?.open('合同转移', contract.value.id, ContractApi.transferContract)