|
|
@ -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 = '否'
|
|
|
|