edit
This commit is contained in:
@ -33,12 +33,12 @@ export class InputInvoiceComponent implements OnInit {
|
||||
Object.assign(requestOptions.body, {
|
||||
...this.sf.value,
|
||||
createtime: {
|
||||
start: this.sf.value.createtime?.[0] || null,
|
||||
end: this.sf.value.createtime?.[1] || null
|
||||
start: this.sf.value.createtime?.[0] || '',
|
||||
end: this.sf.value.createtime?.[1] || ''
|
||||
},
|
||||
invdate: {
|
||||
start: this.sf.value.invdate?.[0] || null,
|
||||
end: this.sf.value.invdate?.[1] || null
|
||||
start: this.sf.value.invdate?.[0] || '',
|
||||
end: this.sf.value.invdate?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -210,20 +210,37 @@ export class InputInvoiceComponent implements OnInit {
|
||||
|
||||
private initST(): STColumn[] {
|
||||
return [
|
||||
{ title: '', index: 'key', type: 'checkbox' },
|
||||
{ title: '收票单号', index: 'inpinvcode', type: 'link' },
|
||||
{ title: '网络货运人', index: 'ltdName' },
|
||||
{ title: '发票日期', index: 'invdate', type: 'date' },
|
||||
{ title: '发票号', index: 'invoiceno' },
|
||||
{ title: '发票金额', index: 'invmoney' },
|
||||
{ title: '税额', index: 'invtax' },
|
||||
{ title: '发票类型', index: 'invtype' },
|
||||
{ title: '销售方', index: 'hrtoName' },
|
||||
{ title: '创建时间', index: 'createtime', type: 'date' },
|
||||
{ title: '创建人', index: 'createbyname' },
|
||||
{ title: '收票状态', index: 'stsLabel' },
|
||||
{ title: '', index: 'key', type: 'checkbox', width: 60, className: 'text-center', fixed: 'left' },
|
||||
{ title: '收票单号', index: 'inpinvcode', type: 'link', width: 170 },
|
||||
{ title: '网络货运人', index: 'ltdName', width: 150 },
|
||||
{ title: '发票日期', index: 'invdate', type: 'date', width: 150, className: 'text-center' },
|
||||
{ title: '发票号', index: 'invoiceno', width: 130 },
|
||||
{
|
||||
title: '发票金额',
|
||||
index: 'invmoney',
|
||||
width: 100,
|
||||
type: 'widget',
|
||||
className: 'text-right',
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.invmoney }) }
|
||||
},
|
||||
{
|
||||
title: '税额',
|
||||
index: 'invtax',
|
||||
width: 100,
|
||||
type: 'widget',
|
||||
className: 'text-right',
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.invtax }) }
|
||||
},
|
||||
{ title: '发票类型', index: 'invtype', width: 150, className: 'text-center' },
|
||||
{ title: '销售方', index: 'hrtoName', width: 150 },
|
||||
{ title: '创建时间', index: 'createtime', type: 'date', width: 150, className: 'text-center' },
|
||||
{ title: '创建人', index: 'createbyname', width: 120 },
|
||||
{ title: '收票状态', index: 'stsLabel', width: 120, className: 'text-center' },
|
||||
{
|
||||
title: '操作',
|
||||
fixed: 'right',
|
||||
className: 'text-center',
|
||||
width: 120,
|
||||
buttons: [
|
||||
{
|
||||
text: '浏览',
|
||||
|
||||
Reference in New Issue
Block a user