diff --git a/src/app/routes/financial-management/components/voucher-management/voucher-management.component.ts b/src/app/routes/financial-management/components/voucher-management/voucher-management.component.ts index c38bc2ae..c1b17c1b 100644 --- a/src/app/routes/financial-management/components/voucher-management/voucher-management.component.ts +++ b/src/app/routes/financial-management/components/voucher-management/voucher-management.component.ts @@ -1,5 +1,5 @@ /* - * @Description : + * @Description : * @Version : 1.0 * @Author : Shiming * @Date : 2022-01-18 15:57:44 @@ -137,6 +137,22 @@ export class VoucherManagementComponent implements OnInit { sourceType: { type: 'string', title: '原始单类型', + enum: [ + { value: '', label: '全部' }, + { value: 1, label: '收款' }, + { value: 2, label: '收款(退款)' }, + { value: 3, label: '应收费用' }, + { value: 4, label: '应收费用(负数)' }, + { value: 5, label: '应收核销' }, + { value: 6, label: '应收核销(负数)' }, + { value: 7, label: '应付费用' }, + { value: 8, label: '应付费用(负数)' }, + { value: 9, label: '应付核销' }, + { value: 10, label: '应付核销(负数)' }, + { value: 11, label: '分票开票' }, + { value: 12, label: '删除分票' }, + { value: 13, label: '付款' } + ], ui: { widget: 'select', placeholder: '请选择', @@ -292,7 +308,7 @@ export class VoucherManagementComponent implements OnInit { return [ { title: '', index: 'key', type: 'checkbox', width: 60, className: 'text-center', fixed: 'left' }, { title: '凭证号', index: 'vccode', type: 'link', width: 200 }, - { title: '帐套', index: 'ltdId', width: 200,format:item=>`${item.vcltdcode}-${item.vcltdname}` }, + { title: '帐套', index: 'ltdId', width: 200, format: item => `${item.vcltdcode}-${item.vcltdname}` }, { title: '凭证时间', index: 'vctime', type: 'date', width: 200 }, { title: '凭证类型', index: 'vctype', width: 200 }, { title: '序号', index: 'invmoney', width: 200, format: _ => '1' }, @@ -328,8 +344,8 @@ export class VoucherManagementComponent implements OnInit { { text: '浏览', click: (item: any) => this.router.navigate(['/financial-management/voucher-management/detail/' + item.id]), - acl: { ability: ['FINANCIAL-VOUCHER-view'] }, - }, + acl: { ability: ['FINANCIAL-VOUCHER-view'] } + } // { // text: '修改' // }, diff --git a/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.html b/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.html index ae7379e0..48255eee 100644 --- a/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.html +++ b/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.html @@ -16,8 +16,7 @@ -
+
diff --git a/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts b/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts index 7c812747..ead3efb7 100644 --- a/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts +++ b/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts @@ -137,7 +137,7 @@ export class InvoicedListComponent implements OnInit { autocomplete: 'off' } }, - vatinvcode: { + vatappHCode: { type: 'string', title: '申请编号', ui: { @@ -177,6 +177,16 @@ export class InvoicedListComponent implements OnInit { asyncData: () => this.service.getNetworkFreightForwarder({}, true) }, default: '' + }, + vatinvcode: { + type: 'string', + title: '分票编号', + ui: { + placeholder: '请输入', + visibleIf: { + expand: (value: boolean) => value + } + } } } }; @@ -188,7 +198,7 @@ export class InvoicedListComponent implements OnInit { { title: '发票号码', index: 'invoiceno', width: 150 }, { title: '申请编号', - index: 'vatinvcode', + index: 'vatappHCode', width: 190, type: 'link', click: item =>