车辆对接
This commit is contained in:
@ -1,20 +1,27 @@
|
||||
<!--
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-24 15:38:08
|
||||
* @LastEditTime: 2022-01-14 10:43:58
|
||||
* @LastEditTime: 2022-01-14 14:40:25
|
||||
* @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\sys-setting\components\crm-management\crm-management.component.html
|
||||
-->
|
||||
<page-header-wrapper title="网络货运人">
|
||||
</page-header-wrapper>
|
||||
<page-header-wrapper title="网络货运人"> </page-header-wrapper>
|
||||
|
||||
<nz-card>
|
||||
<div nz-row nzGutter="8">
|
||||
<!-- 查询字段小于或等于3个时,不显示伸缩按钮 -->
|
||||
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
|
||||
<sf #sf [schema]="schema" [ui]="ui" [mode]="'search'" [disabled]="!sf?.valid" [loading]="service.http.loading"
|
||||
(formSubmit)="st?.load(1)" (formReset)="resetSF()"></sf>
|
||||
<sf
|
||||
#sf
|
||||
[schema]="schema"
|
||||
[ui]="ui"
|
||||
[mode]="'search'"
|
||||
[disabled]="!sf?.valid"
|
||||
[loading]="service.http.loading"
|
||||
(formSubmit)="st?.load(1)"
|
||||
(formReset)="resetSF()"
|
||||
></sf>
|
||||
</div>
|
||||
|
||||
<!-- 查询字段大于3个时,根据展开状态调整布局 -->
|
||||
@ -23,10 +30,8 @@
|
||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||
</div>
|
||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading"
|
||||
(click)="st?.load(1)">查询</button>
|
||||
<button nz-button nzType="primary"
|
||||
>导出</button>
|
||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||
<button nz-button nzType="primary">导出</button>
|
||||
<button nz-button (click)="resetSF()">重置</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
{{ !_$expand ? '展开' : '收起' }}
|
||||
@ -38,18 +43,23 @@
|
||||
</nz-card>
|
||||
|
||||
<nz-card class="content-box">
|
||||
<st #st [data]="service.$api_networkTransporter_page" [columns]="columns"
|
||||
<st
|
||||
#st
|
||||
[scroll]="{ x: '2000px' }"
|
||||
[data]="service.$api_networkTransporter_page"
|
||||
[columns]="columns"
|
||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||
[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]="{ y: '370px' }" (change)="stChange($event)">
|
||||
[loading]="service.http.loading"
|
||||
(change)="stChange($event)"
|
||||
>
|
||||
</st>
|
||||
</nz-card>
|
||||
|
||||
<nz-modal [(nzVisible)]="isVisible" [nzFooter]="nzModalFooter" nzTitle="财务设置" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()">
|
||||
<ng-container *nzModalContent>
|
||||
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'">
|
||||
</sf>
|
||||
<sf #sfFre [schema]="addSchema" [ui]="ui2" [formData]="formData" [compact]="false" [button]="'none'"> </sf>
|
||||
</ng-container>
|
||||
<ng-template #nzModalFooter>
|
||||
<button nz-button nzType="primary" (click)="handleCancel()" [disabled]="">取消</button>
|
||||
@ -59,8 +69,7 @@
|
||||
|
||||
<nz-modal [(nzVisible)]="isVisibleTicket" [nzFooter]="nzModalFooterTiket" nzTitle="票务设置" (nzOnCancel)="handleCancelTicket()">
|
||||
<ng-container *nzModalContent>
|
||||
<sf #sfTicket [schema]="ticketSchema" [ui]="ui3" [formData]="formDataTicket" [compact]="false" [button]="'none'">
|
||||
</sf>
|
||||
<sf #sfTicket [schema]="ticketSchema" [ui]="ui3" [formData]="formDataTicket" [compact]="false" [button]="'none'"> </sf>
|
||||
</ng-container>
|
||||
<ng-template #nzModalFooterTiket>
|
||||
<button nz-button nzType="primary" (click)="handleCancelTicket()" [disabled]="">取消</button>
|
||||
|
||||
@ -34,23 +34,57 @@ export class NetworkFreightComponent implements OnInit {
|
||||
editId = false;
|
||||
|
||||
columns: STColumn[] = [
|
||||
{ title: '公司名称', index: 'enterpriseName' },
|
||||
{ title: '纳税人识别号', index: 'taxCode' },
|
||||
{ title: '发票税率', index: 'invoiceTaxRate' },
|
||||
{ title: '电子发票账号', index: 'electronicInvoiceAccount' },
|
||||
{ title: 'ETC账号', index: 'etcAccount' },
|
||||
{ title: '电子合同账号', index: 'electronicContractAccount' },
|
||||
{ title: '开户行', index: 'bankName' },
|
||||
{ title: '虚拟账户', index: 'virtualAccount' },
|
||||
{
|
||||
title: '公司名称',
|
||||
width: '180px',
|
||||
index: 'enterpriseName'
|
||||
},
|
||||
{
|
||||
title: '纳税人识别号',
|
||||
width: '180px',
|
||||
|
||||
index: 'taxCode' },
|
||||
{
|
||||
title: '发票税率',
|
||||
width: '150px',
|
||||
|
||||
index: 'invoiceTaxRate' },
|
||||
{
|
||||
title: '电子发票账号',
|
||||
width: '150px',
|
||||
|
||||
|
||||
index: 'electronicInvoiceAccount' },
|
||||
{
|
||||
title: 'ETC账号',
|
||||
width: '150px',
|
||||
|
||||
index: 'etcAccount' },
|
||||
{
|
||||
title: '电子合同账号',
|
||||
width: '150px',
|
||||
index: 'electronicContractAccount' },
|
||||
{
|
||||
title: '开户行',
|
||||
width: '150px',
|
||||
index: 'bankName' },
|
||||
{
|
||||
title: '虚拟账户',
|
||||
width: '150px',
|
||||
index: 'virtualAccount' },
|
||||
{
|
||||
title: '附加费比例',
|
||||
index: 'surchargeRate',
|
||||
width: '150px',
|
||||
format: (item: any) => {
|
||||
return item.surchargeRate + '%';
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
width: '80px',
|
||||
fixed: 'right',
|
||||
className: 'text-left',
|
||||
buttons: [
|
||||
{
|
||||
text: '财务设置',
|
||||
|
||||
Reference in New Issue
Block a user