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