|
|
@@ -8,7 +8,7 @@
|
|
|
<template #tab0>
|
|
|
<a-space v-if="utils.hasPermission('agentTabEdit')" class="mt-10">
|
|
|
<a-button type="primary" :disabled="utils.isDisabled(billData.status,['审核'])">
|
|
|
- <select-enterprise ref="enterprise" :param="{id:20221008164103,content:{pageSize:20,pageNumber:1,where:{condition:''}}}" :columns="columns" @onSelect="onSelect">
|
|
|
+ <select-enterprise ref="enterprise" :param="{id:20221008164103,content:{pageSize:20,pageNumber:1,where:{condition:''}}}" :columns="utils.TBLayout('agentTable')" @onSelect="onSelect">
|
|
|
<template #tb_cell="{data}">
|
|
|
<template v-if="data.column.dataIndex == 'accountname'">
|
|
|
<a-select
|
|
|
@@ -57,50 +57,7 @@ import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
|
|
import { useRouter } from "vue-router";
|
|
|
import { onMounted,ref,createVNode } from "vue";
|
|
|
const router = useRouter()
|
|
|
-const columns = [{
|
|
|
- title: '企业名称',
|
|
|
- dataIndex: 'enterprisename',
|
|
|
- key: 'enterprisename',
|
|
|
- width:150
|
|
|
-},
|
|
|
-{
|
|
|
- title: '联系人',
|
|
|
- dataIndex: 'contact',
|
|
|
- key: 'contact',
|
|
|
- width:150
|
|
|
-},
|
|
|
-{
|
|
|
- title: '联系电话',
|
|
|
- dataIndex: 'phonenumber',
|
|
|
- key: 'phonenumber',
|
|
|
- width:150
|
|
|
-},
|
|
|
-{
|
|
|
- title: '账户',
|
|
|
- dataIndex: 'accountname',
|
|
|
- key: 'accountname',
|
|
|
- ellipsis:true,
|
|
|
- width:150
|
|
|
-},
|
|
|
-{
|
|
|
- title: '信用额度',
|
|
|
- dataIndex: 'creditquota',
|
|
|
- key: 'creditquota',
|
|
|
- ellipsis:true,
|
|
|
- width:150
|
|
|
-},
|
|
|
-{
|
|
|
- title: '历史信用额度',
|
|
|
- dataIndex: 'historyCreditquota',
|
|
|
- key: 'historyCreditquota',
|
|
|
- ellipsis:true,
|
|
|
- width:150
|
|
|
-},
|
|
|
-{
|
|
|
- title: '操作',
|
|
|
- dataIndex: 'operation',
|
|
|
- key: 'operation',
|
|
|
-}]
|
|
|
+
|
|
|
const param = ref({
|
|
|
"id": 20230104100903,
|
|
|
"content": {
|