This commit is contained in:
wangshiming
2022-05-09 16:00:28 +08:00
parent 4894044021
commit a00fdbf800
3 changed files with 99 additions and 91 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2022-01-18 09:51:21 * @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-05-09 11:25:41 * @LastEditTime : 2022-05-09 15:14:15
* @FilePath : \\tms-obc-web\\proxy.conf.js * @FilePath : \\tms-obc-web\\proxy.conf.js
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -30,7 +30,7 @@ module.exports = {
// }, // },
'//api': { '//api': {
target: { target: {
host: 'tms-api-dev.eascs.com', host: 'tms-api-test.eascs.com',
protocol: 'https:', protocol: 'https:',
port: 443 port: 443
}, },

View File

@ -22,7 +22,8 @@
<div class="tab_header"> <div class="tab_header">
<label class="page_title"> <label class="page_title">
<label class="driver">|</label> <label class="driver">|</label>
销票处理</label> 销票处理</label
>
<nz-tabset [nzTabBarExtraContent]="extraTemplate" (nzSelectedIndexChange)="selectChange($event)"> <nz-tabset [nzTabBarExtraContent]="extraTemplate" (nzSelectedIndexChange)="selectChange($event)">
<nz-tab nzTitle="全部"></nz-tab> <nz-tab nzTitle="全部"></nz-tab>
<nz-tab nzTitle="待处理"></nz-tab> <nz-tab nzTitle="待处理"></nz-tab>
@ -36,8 +37,8 @@
<div class="mr-md"> <div class="mr-md">
已选择 已选择
<strong class="text-red">{{ selectedRows.length }}</strong> 张发票&nbsp;&nbsp; 发票金额总计 <strong class="text-red">{{ selectedRows.length }}</strong> 张发票&nbsp;&nbsp; 发票金额总计
<strong class="text-red">{{totalCallNo }}</strong> <strong class="text-red">{{ totalCallNo }}</strong>
<a *ngIf="totalCallNo > 0" (click)="st.clearCheck();totalCallNo=0" class="ml-lg">清空</a> <a *ngIf="totalCallNo > 0" (click)="st.clearCheck(); totalCallNo = 0" class="ml-lg">清空</a>
</div> </div>
<button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()">筛选</button> <button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()">筛选</button>
<!-- <button nz-button *ngIf="resourceStatus===1 || !resourceStatus" (click)="this.batchPush()">推送开票</button> --> <!-- <button nz-button *ngIf="resourceStatus===1 || !resourceStatus" (click)="this.batchPush()">推送开票</button> -->
@ -48,12 +49,20 @@
</div> </div>
</ng-template> </ng-template>
<st
<st #st [scroll]="{ x: '2000px',y:scrollY }" [data]="service.$api_ficoVatinvHList" [columns]="columns" [page]="{}" #st
[req]="{process: beforeReq }" [res]="{process:afterRes }" [loading]="false" (change)="stChange($event)"> [scroll]="{ x: '2000px', y: scrollY }"
[data]="service.$api_ficoVatinvHList"
[columns]="columns"
[page]="{}"
[req]="{ process: beforeReq }"
[res]="{ process: afterRes }"
[loading]="false"
(change)="stChange($event)"
>
<ng-template st-row="vatinvcode" let-item let-index="index" let-column="column"> <ng-template st-row="vatinvcode" let-item let-index="index" let-column="column">
{{ item.vatinvcode }} <br> {{ item.vatinvcode }} <br />
<label class="text-primary">{{item.stsLabel}}</label> <label class="text-primary">{{ item.stsLabel }}</label>
</ng-template> </ng-template>
</st> </st>
</nz-card> </nz-card>
@ -62,41 +71,40 @@
<div nz-row nzGutter="8"> <div nz-row nzGutter="8">
<div nz-col nzSpan="24" se-container [labelWidth]="100" [col]="1"> <div nz-col nzSpan="24" se-container [labelWidth]="100" [col]="1">
<se label="购买方" class="mb-sm"> <se label="购买方" class="mb-sm">
{{openInfo?.artoname}} {{ openInfo?.artoname }}
</se> </se>
<se label="纳税号" class="mb-sm"> <se label="纳税号" class="mb-sm">
{{openInfo?.artotaxno}} {{ openInfo?.artotaxno }}
</se> </se>
<se label="注册地址" class="mb-sm"> <se label="注册地址" class="mb-sm">
{{openInfo?.artoadd}} {{ openInfo?.artoadd }}
</se> </se>
<se label="注册电话" class="mb-sm"> <se label="注册电话" class="mb-sm">
{{openInfo?.artotel}} {{ openInfo?.artotel }}
</se> </se>
<se label="开户行" class="mb-sm"> <se label="开户行" class="mb-sm">
{{openInfo?.artobank}} {{ openInfo?.artobank }}
</se> </se>
<se label="银行账户" class="mb-sm"> <se label="银行账户" class="mb-sm">
{{openInfo?.artoacc}} {{ openInfo?.artoacc }}
</se> </se>
<se label="服务名称" class="mb-sm"> <se label="服务名称" class="mb-sm">
{{openInfo?.vatnameLabel}} {{ openInfo?.vatnameLabel }}
</se> </se>
<se label="发票备注栏" class="mb-sm"> <se label="发票备注栏" class="mb-sm">
{{openInfo?.vatremarks}} {{ openInfo?.vatremarks }}
</se> </se>
<se label="其它要求" class="mb-sm"> <se label="其它要求" class="mb-sm">
{{openInfo?.otherremarks}} {{ openInfo?.otherremarks }}
</se> </se>
<se label="销货清单" class="mb-sm"> <se label="销货清单" class="mb-sm">
{{openInfo?.isdetail?'需要':'不需要'}} {{ openInfo?.isdetail ? '需要' : '不需要' }}
</se> </se>
<se label="开票金额" class="mb-sm"> <se label="开票金额" class="mb-sm">
{{openInfo?.vatmoney | currency}} {{ openInfo?.vatmoney | currency }}
</se> </se>
<se label="开票日期" required> <se label="开票日期" required>
<nz-date-picker [(ngModel)]="openInfo.invoicedate" nzShowTime nzPlaceHolder="请选择" style=" width: 100%;"> <nz-date-picker [(ngModel)]="openInfo.invoicedate" nzShowTime nzPlaceHolder="请选择" style="width: 100%"> </nz-date-picker>
</nz-date-picker>
</se> </se>
<se label="发票号码" required> <se label="发票号码" required>
<input nz-input [(ngModel)]="openInfo.invoiceno" placeholder="请输入" /> <input nz-input [(ngModel)]="openInfo.invoiceno" placeholder="请输入" />

View File

@ -279,16 +279,16 @@ export class CancellationInvoiceComponent extends BasicTableComponent {
asyncData: () => this.service.getNetworkFreightForwarder() asyncData: () => this.service.getNetworkFreightForwarder()
} }
}, },
sts: { // sts: {
title: '发票状态', // title: '发票状态',
type: 'string', // type: 'string',
ui: { // ui: {
widget: 'dict-select', // widget: 'dict-select',
containsAllLabel: true, // containsAllLabel: true,
params: { dictKey: 'vatinv:status' }, // params: { dictKey: 'vatinv:status' },
containAllLable: true // containAllLable: true
} as SFSelectWidgetSchema // } as SFSelectWidgetSchema
}, // },
// or2derSn: { // or2derSn: {
// type: 'string', // type: 'string',
// title: '订单号', // title: '订单号',