|
@@ -63,7 +63,12 @@
|
|
|
align="center"
|
|
|
prop="contractNo"
|
|
|
min-width="150"
|
|
|
- />
|
|
|
+ >
|
|
|
+ <template #default="scope">
|
|
|
+ <el-link :underline="false" type="primary" @click="handleContract(scope.row.id)">{{ scope.row.contractNo }}</el-link>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
label="签约日期"
|
|
|
align="center"
|
|
@@ -173,6 +178,7 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<contract-form ref="contractRef" :get-list="getList" />
|
|
|
+ <contract-detail-form ref="contractDetailFormRef"/>
|
|
|
<!-- 分页 -->
|
|
|
<pagination
|
|
|
v-show="total > 0"
|
|
@@ -187,6 +193,7 @@
|
|
|
<script setup name="WaitForCollection">
|
|
|
import contractForm from "./form";
|
|
|
import { listContract } from "@/api/business/financial/collection";
|
|
|
+import contractDetailForm from "@/views/business/crm/order/form.vue";
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
/** 字典数组区 */
|
|
|
/** 查询 对象 */
|
|
@@ -212,6 +219,10 @@ const queryParams = ref({
|
|
|
});
|
|
|
|
|
|
/*********************** 方法区 ****************************/
|
|
|
+function handleContract(contractId) {
|
|
|
+ proxy.$refs.contractDetailFormRef.open(contractId);
|
|
|
+}
|
|
|
+
|
|
|
onActivated(() => {
|
|
|
// 你的逻辑
|
|
|
getList();
|