浏览代码

代码上传

zhangqi 1 年之前
父节点
当前提交
f6dcff03c6
共有 1 个文件被更改,包括 2 次插入45 次删除
  1. 2 45
      src/DRP/HDrpManagement/creditAdjustment/detail/index.vue

+ 2 - 45
src/DRP/HDrpManagement/creditAdjustment/detail/index.vue

@@ -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": {