|
|
@@ -2,7 +2,7 @@
|
|
|
<div>
|
|
|
<normal-layout style="height: calc(100vh - 125px)">
|
|
|
<div slot="titleRight">
|
|
|
- <exportFile :param="param" :columns="param.content.querytype == '0'?tablecolsSaler:tablecolsCustomer" fileName="应收账款" :dataid="param.content.dataid"></exportFile>
|
|
|
+ <exportFile :param="param" :columns="tablecols" fileName="应收账款" :dataid="param.content.dataid"></exportFile>
|
|
|
</div>
|
|
|
<div slot="content">
|
|
|
<div class="container">
|
|
|
@@ -35,7 +35,7 @@
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div style="flex:0 1 auto;width: 100%;">
|
|
|
- <tableMainLayout :layout="param.content.querytype == '0'?tablecolsSaler:tablecolsCustomer" height="calc(100vh - 410px)" :data="list" fixedName="operation" :width="true" :custom="true">
|
|
|
+ <tableMainLayout :layout="tablecols" height="calc(100vh - 410px)" :data="list" fixedName="operation" :width="true" :custom="true">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div v-if="scope.column.columnname === 'allaoverduemount'">
|
|
|
<span><small>¥</small>{{tool.formatAmount(scope.column.data[scope.column.columnname],2)}}</span>
|
|
|
@@ -86,8 +86,7 @@ export default {
|
|
|
return {
|
|
|
value:'全部',
|
|
|
options:[],
|
|
|
- tablecolsSaler:[],
|
|
|
- tablecolsCustomer:[],
|
|
|
+ tablecols:[],
|
|
|
list:[],
|
|
|
currentPage:0,
|
|
|
total:0,
|