edit
This commit is contained in:
@ -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: '修改'
|
||||
// },
|
||||
|
||||
@ -16,8 +16,7 @@
|
||||
<sf #sf [schema]="searchSchema" [ui]="{ '*': { spanLabelFixed: 120, grid: { lg: 8, md: 12, sm: 12, xs: 24 } } }"
|
||||
[compact]="true" [button]="'none'"></sf>
|
||||
</div>
|
||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
||||
class="text-right">
|
||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||
<button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button>
|
||||
<button nz-button (click)="resetSF()">重置</button>
|
||||
<!-- <button nz-button> 导出</button> -->
|
||||
|
||||
@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user