客户对账 调整

zth
张同海 2 weeks ago
parent 2f0f465c55
commit 01bfc403ff

@ -1,8 +1,8 @@
import { BasicColumn, FormSchema } from '/@/components/Table' import { BasicColumn, FormSchema } from '/@/components/Table'
export const billTypeData = [ export const billTypeData = [
{ code: 0, value: '全部' }, { value: 0, label: '全部' },
{ code: 1, value: '应收' }, { value: 1, label: '应收' },
{ code: 2, value: '应付' }, { value: 2, label: '应付' },
] ]
export const searchFormSchema: FormSchema[] = [ export const searchFormSchema: FormSchema[] = [
{ field: 'billNo', label: '对账编号', component: 'Input', colProps: { span: 4 } }, { field: 'billNo', label: '对账编号', component: 'Input', colProps: { span: 4 } },
@ -155,7 +155,7 @@ export const columns: BasicColumn[] = [
align: 'left', align: 'left',
customRender: ({ text }) => { customRender: ({ text }) => {
let RData = '-' let RData = '-'
if (text) { if (text == 'true') {
RData = '是' RData = '是'
} else { } else {
RData = '否' RData = '否'

@ -1,5 +1,4 @@
<template> <template>
<div>
<div class="topTable"> <div class="topTable">
<BasicTable <BasicTable
class="ds-table" class="ds-table"
@ -115,9 +114,8 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
</div>
<!-- 合计 --> <!-- 合计 -->
<div> <div class="static-box">
<a-table <a-table
class="ds-table" class="ds-table"
:columns="calcColumns" :columns="calcColumns"
@ -165,7 +163,7 @@
}) })
appStore.setIds(ids, 'khdz') appStore.setIds(ids, 'khdz')
} }
resolve({ data: [...res.data.list], total: res.count }) resolve({ data: [...res.data.list], total: res.data.totalCount })
}) })
}, },
// //
@ -228,6 +226,7 @@
immediate: true, immediate: true,
tableComponent: 'vxe', tableComponent: 'vxe',
autoHeight: tbHeight, autoHeight: tbHeight,
id: '1',
actionColumn: { actionColumn: {
width: 80, width: 80,
title: '操作', title: '操作',
@ -482,7 +481,12 @@
cursor: pointer; cursor: pointer;
} }
.topTable { .topTable {
height: calc(100vh - 145px); // height: calc(100vh - 145px);
.static-box {
position: fixed;
bottom: 0;
padding-left: 20px;
}
} }
.ds-h-aciton-btns-fee { .ds-h-aciton-btns-fee {
display: flex; display: flex;

Loading…
Cancel
Save