This commit is contained in:
Taric Xin
2022-01-17 21:07:42 +08:00
parent 191301aa00
commit 7775b39bc6
5 changed files with 27 additions and 37 deletions

View File

@ -167,20 +167,15 @@ export class VoucherManagementComponent implements OnInit {
vctype: {
type: 'string',
title: '凭证类型',
enum: [
{ value: null, label: '全部' },
{ value: 'WLW', label: 'WLW' },
{ value: 'CH', label: 'CH' },
{ value: 'YHY', label: 'YHY' },
{ value: 'KP', label: 'KP' }
],
ui: {
widget: 'select',
widget: 'dict-select',
params: { dictKey: 'credential:type' },
placeholder: '请选择',
visibleIf: {
expand: (value: boolean) => value
}
}
},
default: ''
},
subid: {
type: 'string',
@ -195,7 +190,7 @@ export class VoucherManagementComponent implements OnInit {
}
},
drmoney: {
type: 'number',
type: 'string',
title: '借方金额',
ui: {
placeholder: '请输入',
@ -205,7 +200,7 @@ export class VoucherManagementComponent implements OnInit {
}
},
crmoney: {
type: 'number',
type: 'string',
title: '贷方金额',
ui: {
placeholder: '请输入',
@ -229,19 +224,15 @@ export class VoucherManagementComponent implements OnInit {
sts: {
type: 'string',
title: '凭证状态',
enum: [
{ value: null, label: '全部' },
{ value: 0, label: '新建' },
{ value: 1, label: '待审核' },
{ value: 2, label: '已通过' }
],
ui: {
widget: 'select',
widget: 'dict-select',
params: { dictKey: 'credential:status' },
placeholder: '请选择',
visibleIf: {
expand: (value: boolean) => value
}
}
},
default: ''
},
importncnotes: {
type: 'string',