列表样式调整

This commit is contained in:
zhaoxiao
2021-09-18 14:06:40 +08:00
parent 87d7023dc1
commit d5fb74423e
11 changed files with 52 additions and 42 deletions
@@ -113,7 +113,7 @@ export default {
}, {
title: '企业名称',
align: 'center',
width: 250,
width: 280,
dataIndex: 'companyName',
scopedSlots: { customRender: 'text' }
}, {
@@ -125,7 +125,7 @@ export default {
}, {
title: '公司地址',
align: 'center',
width: 250,
width: 280,
dataIndex: 'companyAddress',
scopedSlots: { customRender: 'text' }
}, {
@@ -137,7 +137,7 @@ export default {
title: '状态',
align: 'center',
width: 100,
dataIndex: 'status'
dataIndex: 'status_dictText'
}, {
title: '创建时间',
align: 'center',
@@ -123,7 +123,7 @@ export default {
}, {
title: '姓名',
align: 'center',
width: 170,
width: 280,
dataIndex: 'name',
scopedSlots: { customRender: 'text' }
}, {
@@ -134,30 +134,31 @@ export default {
title: '合同编号',
align: 'center',
dataIndex: 'contractNum',
width: 250,
width: 280,
scopedSlots: { customRender: 'text' }
}, {
title: '合同名称',
align: 'center',
dataIndex: 'contractName',
width: 250
width: 280,
scopedSlots: { customRender: 'text' }
}, {
title: '签订单位',
align: 'center',
dataIndex: 'signedCompanyTemporaryName',
width: 250,
width: 280,
scopedSlots: { customRender: 'text' }
}, {
title: '负责人',
align: 'center',
dataIndex: 'principalName',
width: 250,
width: 280,
scopedSlots: { customRender: 'text' }
}, {
title: '合同总金额',
align: 'center',
dataIndex: 'contractAmount',
width: 250,
width: 200,
scopedSlots: { customRender: 'text' }
}, {
title: '创建时间',
@@ -177,7 +177,7 @@ export default {
}, {
title: '来款项目',
align: 'center',
width: 200,
width: 280,
dataIndex: 'chargeProject',
scopedSlots: { customRender: 'projectName' }
}, {
@@ -189,7 +189,7 @@ export default {
}, {
title: '来款单位',
align: 'center',
width: 200,
width: 280,
dataIndex: 'chargeCompanyTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
@@ -211,7 +211,7 @@ export default {
}, {
title: '企业联系人',
align: 'center',
width: 140,
width: 280,
dataIndex: 'contactsTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
@@ -191,19 +191,21 @@ export default {
}, {
title: '来款单位',
align: 'center',
width: 200,
width: 280,
dataIndex: 'chargeCompanyTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
title: '应收金额',
align: 'center',
width: 100,
dataIndex: 'receivableAmount'
width: 120,
dataIndex: 'receivableAmount',
scopedSlots: { customRender: 'text' }
}, {
title: '实收金额',
align: 'center',
width: 100,
dataIndex: 'paidAmount'
dataIndex: 'paidAmount',
scopedSlots: { customRender: 'text' }
}, {
title: '需要发票',
align: 'center',
+7 -4
View File
@@ -108,30 +108,33 @@ export default {
}, {
title: '企业名称',
align: 'center',
width: 280,
dataIndex: 'companyTemporaryName',
scopedSlots: { customRender: 'projectName' }
}, {
title: '企业联系人',
align: 'center',
width: 180,
width: 280,
dataIndex: 'companyContactTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
title: '打包联系人',
align: 'center',
width: 200,
width: 280,
dataIndex: 'packContactTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
title: '打包费用总计',
align: 'center',
width: 180,
dataIndex: 'packChargeTotal'
dataIndex: 'packChargeTotal',
scopedSlots: { customRender: 'text' }
}, {
title: '实际到账费用',
align: 'center',
width: 180,
dataIndex: 'receiptExpense'
dataIndex: 'receiptExpense',
scopedSlots: { customRender: 'text' }
}, {
title: '打包年份',
align: 'center',
@@ -239,7 +239,7 @@ export default {
}, {
title: '打包项目名称',
align: 'center',
width: 200,
width: 280,
dataIndex: 'chargeProject',
scopedSlots: { customRender: 'projectName' }
}, {
@@ -251,13 +251,13 @@ export default {
}, {
title: '企业联系人',
align: 'center',
width: 140,
width: 280,
dataIndex: 'contactsTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
title: '联系人电话',
align: 'center',
width: 200,
width: 160,
dataIndex: 'phone',
scopedSlots: { customRender: 'text' }
}, {
@@ -269,12 +269,12 @@ export default {
}, {
title: '应收金额',
align: 'center',
width: 100,
width: 120,
dataIndex: 'receivableAmount'
}, {
title: '实收金额',
align: 'center',
width: 100,
width: 120,
dataIndex: 'paidAmount'
}, {
title: '打包',
@@ -138,13 +138,13 @@ export default {
}, {
title: '项目名称',
align: 'center',
width: 200,
width: 280,
dataIndex: 'chargeProject',
scopedSlots: { customRender: 'projectName' }
}, {
title: '来款用途',
align: 'center',
width: 160,
width: 180,
dataIndex: 'chargeUse_dictText',
scopedSlots: { customRender: 'text' }
}, {
@@ -156,12 +156,12 @@ export default {
}, {
title: '应收金额',
align: 'center',
width: 100,
width: 120,
dataIndex: 'receivableAmount'
}, {
title: '实收金额',
align: 'center',
width: 100,
width: 120,
dataIndex: 'paidAmount'
}, {
title: '需要发票',
@@ -82,7 +82,7 @@
<template slot="text" slot-scope="text">
<j-ellipsis :value="text" :length="18"></j-ellipsis>
<j-ellipsis :value="text" :length="15"></j-ellipsis>
</template>
<!-- 打包需要发票到账开票邮寄状态-->
@@ -149,7 +149,7 @@ export default {
}, {
title: '来款项目',
align: 'center',
width: 200,
width: 280,
dataIndex: 'chargeProject',
scopedSlots: { customRender: 'projectName' }
}, {
@@ -161,18 +161,18 @@ export default {
}, {
title: '来款单位',
align: 'center',
width: 200,
width: 280,
dataIndex: 'chargeCompanyTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
title: '应收金额',
align: 'center',
width: 100,
width: 150,
dataIndex: 'receivableAmount'
}, {
title: '实收金额',
align: 'center',
width: 100,
width: 150,
dataIndex: 'paidAmount'
}, {
title: '负责人',
@@ -183,7 +183,7 @@ export default {
}, {
title: '企业联系人',
align: 'center',
width: 140,
width: 250,
dataIndex: 'contactsTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
@@ -99,7 +99,7 @@
<!-- 工作组名称-->
<template slot="projectName" slot-scope="text, record">
<j-ellipsis :value="text"
:length="20"
:length="18"
class="primary-color"
@click="openDetailModal(record)"></j-ellipsis>
</template>
@@ -114,7 +114,7 @@
</template>
<template slot="text" slot-scope="text">
<j-ellipsis :value="text" :length="20"></j-ellipsis>
<j-ellipsis :value="text" :length="18"></j-ellipsis>
</template>
<span slot="action" class="action-span-cell" slot-scope="text, record">
@@ -235,23 +235,27 @@ export default {
}, {
title: '成员单位',
align: 'center',
width: 280,
dataIndex: 'chargeCompanyTemporaryName',
scopedSlots: { customRender: 'projectName' }
}, {
title: '企业联系人',
align: 'center',
width: 180,
dataIndex: 'contactsTemporaryNameOne'
width: 280,
dataIndex: 'contactsTemporaryNameOne',
scopedSlots: { customRender: 'text' }
}, {
title: '应收金额',
align: 'center',
dataIndex: 'receivableAmount',
width: 180
width: 180,
scopedSlots: { customRender: 'text' }
}, {
title: '实收金额',
align: 'center',
dataIndex: 'paidAmount',
width: 180
width: 180,
scopedSlots: { customRender: 'text' }
}, {
title: '打包',
align: 'center',
@@ -64,7 +64,7 @@
bordered
rowKey="id"
:columns="columns"
:scroll="{x: 1200}"
:scroll="{x: 1300}"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"