|
@@ -14,7 +14,6 @@
|
|
|
</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <!-- v-if="userInfo().roleName !== '财务'" -->
|
|
|
<span v-if="profitBtnStatus" class="add-acount-policy-btn">
|
|
|
<a-button @click="handleDownloadProfit">下载利润表</a-button>
|
|
|
</span>
|
|
@@ -110,11 +109,36 @@
|
|
|
:columns="settlementColumns"
|
|
|
:dataSource="dataSource"
|
|
|
:pagination="false"
|
|
|
+ :scroll="{x: 1600}"
|
|
|
:loading="controlLoading"
|
|
|
>
|
|
|
<span slot="mediaId" slot-scope="text">
|
|
|
<span>{{ text === 1 ? '头条' : '快手' }}</span>
|
|
|
</span>
|
|
|
+ <span slot="advertiserName" slot-scope="text">
|
|
|
+ <a-tooltip placement="top">
|
|
|
+ <template slot="title">
|
|
|
+ <span>{{ text }}</span>
|
|
|
+ </template>
|
|
|
+ <span>{{ text }}</span>
|
|
|
+ </a-tooltip>
|
|
|
+ </span>
|
|
|
+ <span slot="productName" slot-scope="text">
|
|
|
+ <a-tooltip placement="top">
|
|
|
+ <template slot="title">
|
|
|
+ <span>{{ text }}</span>
|
|
|
+ </template>
|
|
|
+ <span>{{ text }}</span>
|
|
|
+ </a-tooltip>
|
|
|
+ </span>
|
|
|
+ <span slot="accountName" slot-scope="text">
|
|
|
+ <a-tooltip placement="top">
|
|
|
+ <template slot="title">
|
|
|
+ <span>{{ text }}</span>
|
|
|
+ </template>
|
|
|
+ <span>{{ text }}</span>
|
|
|
+ </a-tooltip>
|
|
|
+ </span>
|
|
|
<span slot="actions" slot-scope="text, record">
|
|
|
<a @click="handleSettleDel(record)">删除</a>
|
|
|
<a-divider type="vertical"/>
|
|
@@ -398,19 +422,26 @@ export default {
|
|
|
{
|
|
|
title: '广告主主体名称',
|
|
|
align: 'center',
|
|
|
- dataIndex: 'advertiserName'
|
|
|
+ dataIndex: 'advertiserName',
|
|
|
+ width: 240,
|
|
|
+ ellipsis: true,
|
|
|
+ scopedSlots: {customRender: 'advertiserName'}
|
|
|
},
|
|
|
{
|
|
|
title: '产品名称',
|
|
|
align: 'center',
|
|
|
dataIndex: 'productName',
|
|
|
- width: 220
|
|
|
+ width: 240,
|
|
|
+ ellipsis: true,
|
|
|
+ scopedSlots: {customRender: 'productName'}
|
|
|
},
|
|
|
{
|
|
|
title: '账户名称',
|
|
|
align: 'center',
|
|
|
dataIndex: 'accountName',
|
|
|
- width: 220
|
|
|
+ width: 220,
|
|
|
+ ellipsis: true,
|
|
|
+ scopedSlots: {customRender: 'accountName'}
|
|
|
},
|
|
|
{
|
|
|
title: '媒体',
|
|
@@ -435,7 +466,7 @@ export default {
|
|
|
title: '时间',
|
|
|
align: 'center',
|
|
|
dataIndex: 'uploadYears',
|
|
|
- width: 150
|
|
|
+ width: 200
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|
|
@@ -629,12 +660,15 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
else {
|
|
|
- console.log('error submit!!');
|
|
|
return false;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
handleProfitModalnCancel() {
|
|
|
+ this.profitModalForm = {
|
|
|
+ mediaId: 1,
|
|
|
+ launchDateRange: []
|
|
|
+ };
|
|
|
this.profitModalStatus = false;
|
|
|
},
|
|
|
handleSettlementModalSure() {
|