车辆接口更新
This commit is contained in:
		| @ -227,7 +227,7 @@ export class PayableOrderComponent implements OnInit { | ||||
|     return [ | ||||
|       { title: '', index: 'key', type: 'checkbox' }, | ||||
|       { title: '核销单号', index: 'phxcode', type: 'link', width: 140 }, | ||||
|       { title: '网络货运人', index: 'ltdId', width: 140 }, | ||||
|       { title: '网络货运人', index: 'ltdName', width: 140 }, | ||||
|       { title: '核销日期', index: 'phxdate', type: 'date', width: 160 }, | ||||
|       { title: '付款账户', index: 'shipperaccount', width: 120 }, | ||||
|       { title: '收款账户', index: 'ltdaccount', width: 120 }, | ||||
| @ -247,7 +247,7 @@ export class PayableOrderComponent implements OnInit { | ||||
|       }, | ||||
|       { title: '银行类型', index: 'banktype', type: 'enum', enum: { '1': '平安', '2': '浦发' }, width: 120 }, | ||||
|       { title: '付款类型', index: 'brmtype', type: 'enum', enum: { '1': '费用款项' }, width: 120 }, | ||||
|       { title: '收款人', index: 'artoname', width: 120 }, | ||||
|       { title: '收款人', index: 'driver2IdName', width: 120 }, | ||||
|       { title: '结算客户', index: 'cno', width: 120 }, | ||||
|       { title: '银行水单', index: 'bankreceipt', width: 120 }, | ||||
|       { title: '创建时间', index: 'createTime', width: 160 }, | ||||
|  | ||||
| @ -473,6 +473,6 @@ export class insuranceManagementListComponent implements OnInit { | ||||
|  | ||||
|   // 修改订单 | ||||
|   changeOrder(value: any) { | ||||
|     this.router.navigate(['order-management/bulk-detailChange', value.id]); | ||||
|     this.router.navigate(['/insurance-management/list-set', value.id]); | ||||
|   } | ||||
| } | ||||
|  | ||||
| @ -0,0 +1,20 @@ | ||||
| <!-- | ||||
|  * @Description  :  | ||||
|  * @Version      : 1.0 | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2021-12-06 20:20:26 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-01-26 09:27:28 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\insurance-management\\components\\set\\set.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
| <page-header-wrapper [title]="''" [logo]="logo"> | ||||
|   <ng-template #logo> | ||||
|     <button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()"> | ||||
|       <i nz-icon nzType="left" nzTheme="outline"></i> | ||||
|     </button> | ||||
|   </ng-template> | ||||
| </page-header-wrapper> | ||||
| <nz-card> | ||||
|  <!-- <app-insurance-table></app-insurance-table> --> | ||||
| </nz-card> | ||||
| @ -0,0 +1,94 @@ | ||||
| :host { | ||||
|     .btn-size { | ||||
|         font-size: 14px; | ||||
|     } | ||||
|  | ||||
|     .bdr { | ||||
|         border-right: 1px solid #ccc; | ||||
|     } | ||||
|  | ||||
|     .bdl { | ||||
|         border-left: 1px solid #ccc; | ||||
|     } | ||||
|  | ||||
|     .source-info { | ||||
|         p { | ||||
|             margin-bottom: .5em; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     .freight-info-box { | ||||
|         width: 95%; | ||||
|     } | ||||
|  | ||||
|     .freigth-label { | ||||
|         display   : inline-block; | ||||
|         width     : 50px; | ||||
|         text-align: right; | ||||
|     } | ||||
|  | ||||
|     ::ng-deep { | ||||
|         .approval-status { | ||||
|             .ant-steps { | ||||
|                 width : 70%; | ||||
|                 margin: 0 auto; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         // .ant-tabs-top>.ant-tabs-nav, | ||||
|         // .ant-tabs-bottom>.ant-tabs-nav, | ||||
|         // .ant-tabs-top>div>.ant-tabs-nav, | ||||
|         // .ant-tabs-bottom>div>.ant-tabs-nav { | ||||
|         //     margin: 0; | ||||
|         // } | ||||
|  | ||||
|         // .ant-anchor-ink::before { | ||||
|         //     width: 0; | ||||
|         // } | ||||
|  | ||||
|         // .ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab, | ||||
|         // .ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab, | ||||
|         // .ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab, | ||||
|         // .ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab { | ||||
|         //     margin-left: 40px | ||||
|         // } | ||||
|     } | ||||
|  | ||||
|     .leftPadding { | ||||
|         padding-right: 100px; | ||||
|     } | ||||
|     .handling-info { | ||||
|         min-height: 100px; | ||||
|         border: 1px solid #ccc; | ||||
|      | ||||
|         .loading-row { | ||||
|           display: flex; | ||||
|         } | ||||
|      | ||||
|         .handling-info-icon { | ||||
|           width: 32px; | ||||
|           height: 32px; | ||||
|           margin-right: 24px; | ||||
|           color: #fff; | ||||
|           line-height: 32px; | ||||
|           text-align: center; | ||||
|           border-radius: 50%; | ||||
|      | ||||
|           &.loading-bg { | ||||
|             background-color: #50D4AB; | ||||
|           } | ||||
|      | ||||
|           &.unloaing-bg { | ||||
|             background: #F66F6A; | ||||
|           } | ||||
|         } | ||||
|      | ||||
|         .info { | ||||
|           flex: 1; | ||||
|         } | ||||
|      | ||||
|         .time-info { | ||||
|           margin-left: 56px; | ||||
|         } | ||||
|       } | ||||
| } | ||||
| @ -0,0 +1,24 @@ | ||||
| import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; | ||||
| import { insuranceManagementSetComponent } from './set.component'; | ||||
|  | ||||
| describe('insuranceManagementSetComponent', () => { | ||||
|   let component: insuranceManagementSetComponent; | ||||
|   let fixture: ComponentFixture<insuranceManagementSetComponent>; | ||||
|  | ||||
|   beforeEach(waitForAsync(() => { | ||||
|     TestBed.configureTestingModule({ | ||||
|       declarations: [ insuranceManagementSetComponent ] | ||||
|     }) | ||||
|     .compileComponents(); | ||||
|   })); | ||||
|  | ||||
|   beforeEach(() => { | ||||
|     fixture = TestBed.createComponent(insuranceManagementSetComponent); | ||||
|     component = fixture.componentInstance; | ||||
|     fixture.detectChanges(); | ||||
|   }); | ||||
|  | ||||
|   it('should create', () => { | ||||
|     expect(component).toBeTruthy(); | ||||
|   }); | ||||
| }); | ||||
| @ -0,0 +1,45 @@ | ||||
| /* | ||||
|  * @Description  :  | ||||
|  * @Version      : 1.0 | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2021-12-06 20:20:26 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-01-25 20:43:37 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\insurance-management\\components\\set\\set.component.ts | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
| import { Router } from '@angular/router'; | ||||
| import { Component, OnInit } from '@angular/core'; | ||||
| import { ActivatedRoute } from '@angular/router'; | ||||
| import { STColumn } from '@delon/abc/st'; | ||||
| import { _HttpClient } from '@delon/theme'; | ||||
| import { NzMessageService } from 'ng-zorro-antd/message'; | ||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | ||||
| import { InsuranceManagementService } from '../../services/insurance-management.service'; | ||||
| import { NzCardComponent } from 'ng-zorro-antd/card'; | ||||
| @Component({ | ||||
|   selector: 'app-insurance-management-set', | ||||
|   templateUrl: './set.component.html', | ||||
|   styleUrls: ['./set.component.less'] | ||||
| }) | ||||
| export class insuranceManagementSetComponent implements OnInit { | ||||
|   | ||||
|   constructor( | ||||
|     private route: ActivatedRoute, | ||||
|     private msgSrv: NzMessageService, | ||||
|     private service: InsuranceManagementService, | ||||
|   ) { | ||||
|  | ||||
|   } | ||||
|  | ||||
|   ngOnInit(): void { | ||||
|     this.initData() | ||||
|   } | ||||
|   initData() { | ||||
|     | ||||
|   } | ||||
|   goBack() { | ||||
|     window.history.go(-1); | ||||
|   } | ||||
|  | ||||
| } | ||||
| @ -11,11 +11,12 @@ | ||||
| import { NgModule } from '@angular/core'; | ||||
| import { RouterModule, Routes } from '@angular/router'; | ||||
| import { insuranceManagementListComponent } from './components/list/list.component'; | ||||
| import { insuranceManagementSetComponent } from './components/set/set.component'; | ||||
|  | ||||
|  | ||||
| const routes: Routes = [ | ||||
|   { path: 'list', component: insuranceManagementListComponent }, | ||||
|   // { path: 'list-detail/:id', component: OrderManagementVehicleDetailComponent }, | ||||
|   { path: 'list-set/:id', component: insuranceManagementSetComponent }, | ||||
| ] | ||||
| @NgModule({ | ||||
|   imports: [RouterModule.forChild(routes)], | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-01-06 09:24:00 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-01-25 17:22:04 | ||||
|  * @LastEditTime : 2022-01-25 20:45:45 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\insurance-management\\insurance-management.module.ts | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
| @ -12,15 +12,18 @@ | ||||
| import { NgModule, Type } from '@angular/core'; | ||||
| import { SharedModule } from '@shared'; | ||||
| import { insuranceManagementListComponent } from './components/list/list.component'; | ||||
| import { insuranceManagementSetComponent } from './components/set/set.component'; | ||||
| import { InsuranceManagementRoutingModule } from './insurance-management-routing.module'; | ||||
| const COMPONENTS: Type<void>[] = [ | ||||
|   insuranceManagementListComponent | ||||
|   insuranceManagementListComponent, | ||||
|   insuranceManagementSetComponent | ||||
| ]; | ||||
|  | ||||
| @NgModule({ | ||||
|   imports: [ | ||||
|     SharedModule, | ||||
|     InsuranceManagementRoutingModule | ||||
|     InsuranceManagementRoutingModule, | ||||
|      | ||||
|   ], | ||||
|   declarations: COMPONENTS, | ||||
| }) | ||||
|  | ||||
| @ -6,13 +6,26 @@ | ||||
|   </div> | ||||
|   <div class="rightBox"> | ||||
|     <nz-tabset [nzSize]="'small'"> | ||||
|       <nz-tab nzTitle="操作权限"> | ||||
|       <!-- <nz-tab nzTitle="操作权限"> | ||||
|         <div *ngFor="let item of origin?.buttonInfoList"> | ||||
|           <label nz-checkbox [(ngModel)]="item.checked" (ngModelChange)="addAuthority(origin, node, item)">{{ item.title | ||||
|             }}</label> | ||||
|         </div> | ||||
|         <nz-empty nzNotFoundImage="simple" *ngIf="origin?.buttonInfoList?.length === 0"> | ||||
|         </nz-empty> | ||||
|       </nz-tab> --> | ||||
|       <nz-tab nzTitle="操作权限"> | ||||
|         <div *ngIf="origin.buttonInfoList && origin.buttonInfoList.length"> | ||||
|           <label style="width: 100%" | ||||
|             nz-checkbox | ||||
|             [(ngModel)]="item.checked" | ||||
|             *ngFor="let item of origin.buttonInfoList" | ||||
|             (ngModelChange)="addAuthority(origin, node, item)" | ||||
|             [disabled]="source === 'onlyAuth'" | ||||
|             >{{ item.permissionsName }}</label | ||||
|           > | ||||
|         </div> | ||||
|         <nz-empty nzNotFoundImage="simple" *ngIf="origin.buttonInfoList && origin.buttonInfoList.length === 0"> </nz-empty> | ||||
|       </nz-tab> | ||||
|       <nz-tab nzTitle="数据权限"> | ||||
|         <div *ngIf="origin.dictList?.length>0" se-container [labelWidth]="100"> | ||||
|  | ||||
| @ -1,74 +1,86 @@ | ||||
| <!-- | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-29 13:12:35 | ||||
|  * @LastEditTime: 2021-12-29 16:15:24 | ||||
|  * @LastEditors: Please set LastEditors | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath: \tms-obc-web\src\app\routes\ticket-management\components\invoice-requested\invoice-requested.component.html | ||||
|  * @Description  :  | ||||
|  * @Version      : 1.0 | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-01-21 15:39:30 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-01-26 09:36:07 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\invoice-requested\\invoice-requested.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
| <page-header-wrapper [title]="'开票申请'"> | ||||
| </page-header-wrapper> | ||||
|  | ||||
| <page-header-wrapper [title]="'开票申请'"> </page-header-wrapper> | ||||
|  | ||||
| <nz-card class="search-box" nzBordered> | ||||
|     <div nz-row nzGutter="8"> | ||||
|         <div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24"> | ||||
|             <sf #sf [schema]="searchSchema" | ||||
|                 [ui]="{ '*': { spanLabelFixed: 90,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="text-right"> | ||||
|             <button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button> | ||||
|             <button nz-button (click)="resetSF()">重置</button> | ||||
|             <button nz-button> 导出</button> | ||||
|             <button nz-button nzType="link" (click)="expandToggle()"> | ||||
|                 {{ !_$expand ? '展开' : '收起' }} | ||||
|                 <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> | ||||
|             </button> | ||||
|         </div> | ||||
|   <div nz-row nzGutter="8"> | ||||
|     <div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24"> | ||||
|       <sf | ||||
|         #sf | ||||
|         [schema]="searchSchema" | ||||
|         [ui]="{ '*': { spanLabelFixed: 90, 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="text-right"> | ||||
|       <button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button> | ||||
|       <button nz-button (click)="resetSF()">重置</button> | ||||
|       <button nz-button> 导出</button> | ||||
|       <button nz-button nzType="link" (click)="expandToggle()"> | ||||
|         {{ !_$expand ? '展开' : '收起' }} | ||||
|         <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> | ||||
|       </button> | ||||
|     </div> | ||||
|   </div> | ||||
| </nz-card> | ||||
|  | ||||
| <nz-card class="content-box" nzBordered> | ||||
|     <nz-tabset [nzTabBarExtraContent]="extraTemplate"> | ||||
|         <nz-tab nzTitle="待受理" (nzClick)="selectChange(1)"></nz-tab> | ||||
|         <nz-tab nzTitle="处理中" (nzClick)="selectChange(2)"></nz-tab> | ||||
|         <nz-tab nzTitle="已拒绝" (nzClick)="selectChange(4)"></nz-tab> | ||||
|         <nz-tab nzTitle="已完成" (nzClick)="selectChange(3)"></nz-tab> | ||||
|         <nz-tab nzTitle="全部" (nzClick)="selectChange(null)"></nz-tab> | ||||
|     </nz-tabset> | ||||
|     <ng-template #extraTemplate> | ||||
|         <div class="d-flex align-items-center"> | ||||
|             <div class="mr-md"> | ||||
|                 已选择 | ||||
|                 <strong class="text-red">{{ selectedRows.length }}</strong> 条数据   开票金额总计 | ||||
|                 <strong class="text-red">{{totalCallNo }}</strong> | ||||
|                 <a *ngIf="totalCallNo > 0" (click)="st.clearCheck()" class="ml-lg">清空</a> | ||||
|             </div> | ||||
|             <button nz-button (click)="this.batchRequested()">开票</button> | ||||
|             <!-- <button nz-button (click)="this.rejectAction(selectedRows)">驳回</button> | ||||
|   <nz-tabset [nzTabBarExtraContent]="extraTemplate"> | ||||
|     <nz-tab nzTitle="待受理" (nzClick)="selectChange(1)"></nz-tab> | ||||
|     <nz-tab nzTitle="处理中" (nzClick)="selectChange(2)"></nz-tab> | ||||
|     <nz-tab nzTitle="已拒绝" (nzClick)="selectChange(4)"></nz-tab> | ||||
|     <nz-tab nzTitle="已完成" (nzClick)="selectChange(3)"></nz-tab> | ||||
|     <nz-tab nzTitle="全部" (nzClick)="selectChange(null)"></nz-tab> | ||||
|   </nz-tabset> | ||||
|   <ng-template #extraTemplate> | ||||
|     <div class="d-flex align-items-center"> | ||||
|       <div class="mr-md"> | ||||
|         已选择 | ||||
|         <strong class="text-red">{{ selectedRows.length }}</strong> 条数据   开票金额总计 | ||||
|         <strong class="text-red">{{ totalCallNo }}</strong> | ||||
|         <a *ngIf="totalCallNo > 0" (click)="st.clearCheck()" class="ml-lg">清空</a> | ||||
|       </div> | ||||
|       <button nz-button (click)="this.batchRequested()">开票</button> | ||||
|       <!-- <button nz-button (click)="this.rejectAction(selectedRows)">驳回</button> | ||||
|             <button nz-button (click)="changePice(selectedRows)">修改地址</button>--> | ||||
|             <button nz-button (click)="printOrder(selectedRows)">打印面单</button> | ||||
|         </div> | ||||
|     </ng-template> | ||||
|       <button nz-button (click)="printOrder(selectedRows)">打印面单</button> | ||||
|     </div> | ||||
|   </ng-template> | ||||
|  | ||||
|     <st #st [data]="service.$api_get_invoice_requested_page" [columns]="columns" | ||||
|         [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }" | ||||
|         [res]="{ reName: { list: 'data.records', total: 'data.total' }, process:afterRes }" | ||||
|         [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" | ||||
|         [loading]="service.http.loading" [scroll]="{ x:'1200px',y: '370px' }" (change)="stChange($event)"> | ||||
|         <ng-template st-row="vatappcode" let-item let-index="index" let-column="column"> | ||||
|             {{ item.vatappcode }} <br> <label class="text-primary">待受理</label> | ||||
|         </ng-template> | ||||
|     </st> | ||||
|   <st | ||||
|     #st | ||||
|     [data]="service.$api_get_invoice_requested_page" | ||||
|     [columns]="columns" | ||||
|     [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }" | ||||
|     [res]="{ reName: { list: 'data.records', total: 'data.total' }, process: afterRes }" | ||||
|     [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" | ||||
|     [loading]="service.http.loading" | ||||
|     [scroll]="{ x: '1200px', y: '370px' }" | ||||
|     (change)="stChange($event)" | ||||
|   > | ||||
|     <ng-template st-row="vatappcode" let-item let-index="index" let-column="column"> | ||||
|       {{ item.vatappcode }} <br /> | ||||
|       <label class="text-primary">待受理</label> | ||||
|     </ng-template> | ||||
|   </st> | ||||
| </nz-card> | ||||
|  | ||||
| <ng-template #rejectModal> | ||||
|     <div nz-row nzGutter="8"> | ||||
|         <div nz-col nzSpan="24" se-container [labelWidth]="80"> | ||||
|             <se [col]="1" label="备注" required> | ||||
|                 <textarea nz-input rows="3" placeholder="请说明驳回原因" style="width: 325px;margin-left: 14px;"></textarea> | ||||
|             </se> | ||||
|         </div> | ||||
|   <div nz-row nzGutter="8"> | ||||
|     <div nz-col nzSpan="24" se-container [labelWidth]="80"> | ||||
|       <se [col]="1" label="备注" required> | ||||
|         <textarea nz-input rows="3" placeholder="请说明驳回原因" style="width: 325px; margin-left: 14px"></textarea> | ||||
|       </se> | ||||
|     </div> | ||||
| </ng-template> | ||||
|   </div> | ||||
| </ng-template> | ||||
|  | ||||
| @ -357,7 +357,7 @@ export class InvoiceRequestedComponent implements OnInit { | ||||
|       { title: '', index: 'key', type: 'checkbox' }, | ||||
|       { title: '申请编号', render: 'vatappcode', width: 180 }, | ||||
|       { title: '网络货运人', index: 'ltdName', width: 120 }, | ||||
|       { title: '购买方', index: 'projectName', width: 90 }, | ||||
|       { title: '购买方', index: 'arto', width: 90 }, | ||||
|       { title: '订单数', index: 'ordlines', width: 90 }, | ||||
|       { | ||||
|         title: '申请金额', | ||||
|  | ||||
| @ -1,26 +1,36 @@ | ||||
| <!-- | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-23 16:50:17 | ||||
|  * @LastEditTime: 2021-12-31 13:40:11 | ||||
|  * @LastEditors: Please set LastEditors | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath: \tms-obc-web\src\app\routes\ticket-management\components\invoice-requested\requested-invoice-modal\requested-invoice-modal.component.html | ||||
|  * @Description  :  | ||||
|  * @Version      : 1.0 | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-01-18 15:57:44 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-01-26 09:35:59 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\invoice-requested\\requested-invoice-modal\\requested-invoice-modal.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
|  | ||||
| <app-requested-detail [id]="id"></app-requested-detail> | ||||
|  | ||||
| <st #st [data]="service.$api_get_invoice_requested_order_detail" [columns]="columns" bordered size="small" | ||||
|     [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq}" | ||||
|     [res]="{ reName: { list: 'data.records', total: 'data.total' } }" | ||||
|     [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" | ||||
|     [loading]="service.http.loading" [scroll]="{ x:'1200px',y: '200px' }" (change)="stChange($event)" class="mt-md"> | ||||
|     <ng-template st-row="billHCode" let-item let-index="index" let-column="column"> | ||||
|         <a class="text-primary"> {{ item.billHCode }}</a> | ||||
|     </ng-template> | ||||
| <st | ||||
|   #st | ||||
|   [data]="service.$api_get_invoice_requested_order_detail" | ||||
|   [columns]="columns" | ||||
|   bordered | ||||
|   size="small" | ||||
|   [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }" | ||||
|   [res]="{ reName: { list: 'data.records', total: 'data.total' } }" | ||||
|   [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" | ||||
|   [loading]="service.http.loading" | ||||
|   [scroll]="{ x: '1200px', y: '200px' }" | ||||
|   (change)="stChange($event)" | ||||
|   class="mt-md" | ||||
| > | ||||
|   <ng-template st-row="billHCode" let-item let-index="index" let-column="column"> | ||||
|     <a class="text-primary"> {{ item.billHCode }}</a> | ||||
|   </ng-template> | ||||
| </st> | ||||
| <div class="modal-footer text-center"> | ||||
|  | ||||
|     <button nz-button type="button">移除</button> | ||||
|     <button nz-button type="button" (click)="saveManage()">手工处理</button> | ||||
|     <button nz-button type="submit" nzType="primary" [nzLoading]="service.http.loading" | ||||
|         (click)="saveManage()">自动开票</button> | ||||
| </div> | ||||
|   <button nz-button type="button">移除</button> | ||||
|   <button nz-button type="button" (click)="saveManage()">手工处理</button> | ||||
|   <button nz-button type="submit" nzType="primary" [nzLoading]="service.http.loading" (click)="saveManage()">自动开票</button> | ||||
| </div> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user