From db3013c8090d095c9468b377abd358acb545e605 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 10 Feb 2022 16:04:12 +0800 Subject: [PATCH] edit --- proxy.conf.js | 2 +- .../voucher-summary.component.ts | 26 ++++++-- .../invoice-requested-detail.component.html | 4 +- .../freight/list/list.component.html | 6 +- .../components/freight/list/list.component.ts | 63 ++++++++++--------- 5 files changed, 59 insertions(+), 42 deletions(-) diff --git a/proxy.conf.js b/proxy.conf.js index 89d93e1f..1f212dc6 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -20,7 +20,7 @@ module.exports = { // } '//api': { target: { - host: 'tms-api-dev.eascs.com', + host: 'tms-api-test.eascs.com', protocol: 'https:', port: 443 }, diff --git a/src/app/routes/financial-management/components/voucher-summary/voucher-summary.component.ts b/src/app/routes/financial-management/components/voucher-summary/voucher-summary.component.ts index 8c9eb887..88a03a72 100644 --- a/src/app/routes/financial-management/components/voucher-summary/voucher-summary.component.ts +++ b/src/app/routes/financial-management/components/voucher-summary/voucher-summary.component.ts @@ -3,6 +3,7 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { Router } from '@angular/router'; import { STComponent, STColumn, STRequestOptions, STChange } from '@delon/abc/st'; import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form'; +import { DateHelperByDatePipe } from 'ng-zorro-antd/i18n'; import { NzModalService } from 'ng-zorro-antd/modal'; import { AddCollectionInvoiceModalComponent } from 'src/app/routes/ticket-management/components/input-invoice/add-collection-invoice-modal/add-collection-invoice-modal.component'; import { FreightAccountService } from '../../services/freight-account.service'; @@ -23,7 +24,12 @@ export class VoucherSummaryComponent implements OnInit { _$expand = false; selectedRows: any[] = []; - constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {} + constructor( + public service: FreightAccountService, + private nzModalService: NzModalService, + private router: Router, + private dateHelperByDatePipe: DateHelperByDatePipe + ) {} ngOnInit(): void {} @@ -283,8 +289,18 @@ export class VoucherSummaryComponent implements OnInit { { title: '汇总凭证号', index: 'vc2code', type: 'link', width: 140 }, { title: '帐套', index: 'vcltdcode', width: 120 }, { title: '凭证时间', index: 'vctime', type: 'date', width: 150 }, - { title: '统计时间', index: 'invdate', type: 'date', width: 150 }, - { title: '凭证类型', index: 'vctypeLabel', width: 120 }, + { + title: '统计区间', + index: 'invdate', + type: 'date', + width: 200, + format: item => + `${this.dateHelperByDatePipe.format(item.vctime2start, 'yyyy-MM-dd')} | ${this.dateHelperByDatePipe.format( + item.vctime2end, + 'yyyy-MM-dd' + )}` + }, + { title: '凭证类型', index: 'vctype', width: 120 }, { title: '序号', index: 'invmoney', width: 100, format: _ => '1' }, { title: '摘要', index: 'remarks', width: 120 }, { title: '币种', index: 'currency', width: 100 }, @@ -306,8 +322,8 @@ export class VoucherSummaryComponent implements OnInit { }, { title: 'NC凭证', index: 'importncnotes', width: 120 }, { title: '凭证状态', index: 'stsLabel', width: 120 }, - { title: '创建时间', index: 'createTime', width: 150 }, - { title: '创建人', index: 'createUserId', width: 120 }, + { title: '创建时间', index: 'createTime', width: 180 }, + { title: '创建人', index: 'createUserName', width: 120 }, { title: '操作', width: '130px', diff --git a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.html b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.html index 80dffd22..6b667590 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.html +++ b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.html @@ -13,7 +13,7 @@ {{headerInfo?.ltdidName}} - {{headerInfo?.vatappHId}} + {{headerInfo?.vatappcode}} {{headerInfo?.vatinvBillNum}} / {{headerInfo?.ordlines}} @@ -27,7 +27,7 @@
- {{headerInfo?.projectName}} + {{headerInfo?.artoName}} {{headerInfo?.taxNumber}} diff --git a/src/app/routes/usercenter/components/freight/list/list.component.html b/src/app/routes/usercenter/components/freight/list/list.component.html index e2c1d2da..6693cd60 100644 --- a/src/app/routes/usercenter/components/freight/list/list.component.html +++ b/src/app/routes/usercenter/components/freight/list/list.component.html @@ -19,7 +19,7 @@
- +