pull/781/head
zy 2025-05-06 08:55:44 +08:00
parent 9a28e2416f
commit 3df2e03cba
1 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<FollowUpList :biz-id="contract.id" :type="1" :biz-type="BizTypeEnum.CRM_CONTRACT" />
</el-tab-pane>
<el-tab-pane label="合同信息">
<ContractDetailsInfo :contract="contract" />
<ContractDetailsInfo :contract="contract" :id="props.id" />
</el-tab-pane>
<!-- <el-tab-pane label="产品">
<ContractProductList :contract="contract" />
@ -119,10 +119,8 @@ const { currentRoute } = useRouter() // 路由
const close = () => {
delView(unref(currentRoute))
}
/** 初始化 */
onMounted(async () => {
console.log('%csrc/views/crm/contract/detail/index.vue:125 props.id', 'color: #007acc;', props.id);
const id = props.id || route.query.id
if (!id) {
message.warning('参数错误,合同不能为空!')