Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -6,6 +6,11 @@
|
|||||||
<ng-template st-row="checkStatus" let-item>
|
<ng-template st-row="checkStatus" let-item>
|
||||||
<span [ngClass]="{'text-red-dark':item?.checkStatus === 2}">{{filterCheckStatus(item?.checkStatus)}}</span>
|
<span [ngClass]="{'text-red-dark':item?.checkStatus === 2}">{{filterCheckStatus(item?.checkStatus)}}</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
<ng-template st-row="fieldValue" let-item>
|
||||||
|
<ellipsis lines="3" tooltip>
|
||||||
|
<div>{{item?.fieldValue}}</div>
|
||||||
|
</ellipsis>
|
||||||
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -55,7 +55,7 @@ export class DatatableReportingFundInfoComponent implements OnInit {
|
|||||||
1: '是',
|
1: '是',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ title: '上传值', index: 'fieldValue', className: 'text-center', width: '15%', },
|
{ title: '上传值', render: 'fieldValue', className: 'text-center', width: '15%', },
|
||||||
{
|
{
|
||||||
title: '本地校验',
|
title: '本地校验',
|
||||||
render: 'checkStatus',
|
render: 'checkStatus',
|
||||||
|
|||||||
@ -12,6 +12,11 @@
|
|||||||
<ng-template st-row="checkStatus" let-item>
|
<ng-template st-row="checkStatus" let-item>
|
||||||
<span [ngClass]="{'text-red-dark':item?.checkStatus === 2}">{{filterCheckStatus(item?.checkStatus)}}</span>
|
<span [ngClass]="{'text-red-dark':item?.checkStatus === 2}">{{filterCheckStatus(item?.checkStatus)}}</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
<ng-template st-row="fieldValue" let-item>
|
||||||
|
<ellipsis lines="3" tooltip>
|
||||||
|
<div>{{item?.fieldValue}}</div>
|
||||||
|
</ellipsis>
|
||||||
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -62,7 +62,7 @@ export class DatatableReportingVerifyResultComponent implements OnInit {
|
|||||||
1: '是'
|
1: '是'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '上传值', index: 'fieldValue', className: 'text-center', width: '150px', },
|
{ title: '上传值', render: 'fieldValue', className: 'text-center', width: '150px', },
|
||||||
{
|
{
|
||||||
title: '本地校验', render: 'checkStatus', className: 'text-center', width: '100px',
|
title: '本地校验', render: 'checkStatus', className: 'text-center', width: '100px',
|
||||||
// type: 'enum',
|
// type: 'enum',
|
||||||
|
|||||||
@ -13,8 +13,7 @@
|
|||||||
</nz-card>
|
</nz-card>
|
||||||
|
|
||||||
<nz-card>
|
<nz-card>
|
||||||
<div class="card-title"x
|
<div class="card-title">装卸货信息<span class="tip-font">预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时</span></div
|
||||||
>装卸货信息<span class="tip-font">预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时</span></div
|
|
||||||
>
|
>
|
||||||
|
|
||||||
<form #ngForm="ngForm" nz-form role="form">
|
<form #ngForm="ngForm" nz-form role="form">
|
||||||
|
|||||||
@ -17,9 +17,10 @@
|
|||||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
|
||||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()" acl [acl-ability]="['TAX-ORDERREPORT-search']">查询</button>
|
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()"
|
||||||
|
acl [acl-ability]="['TAX-ORDERREPORT-search']">查询</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button (click)="resetSF()" acl [acl-ability]="['TAX-ORDERREPORT-export']">导出</button>
|
<button nz-button (click)="resetSF()" acl [acl-ability]="['TAX-ORDERREPORT-export']">导出</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||||||
@ -43,7 +44,7 @@
|
|||||||
<span *ngIf="item?.putStatus == '0'">待上传</span>
|
<span *ngIf="item?.putStatus == '0'">待上传</span>
|
||||||
<span *ngIf="item?.putStatus == '1'">已上传</span>
|
<span *ngIf="item?.putStatus == '1'">已上传</span>
|
||||||
<span *ngIf="item?.putStatus == '3'">上传中</span>
|
<span *ngIf="item?.putStatus == '3'">上传中</span>
|
||||||
<span *ngIf="item?.putStatus == '2'" style="color: red;" (click)="unnormal(item)">上传异常</span>
|
<span *ngIf="item?.putStatus == '2'" style="color: red;" (click)="unnormal(item)">上传异常</span>
|
||||||
|
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="checkStatus" let-item let-index="index">
|
<ng-template st-row="checkStatus" let-item let-index="index">
|
||||||
@ -51,11 +52,11 @@
|
|||||||
<span *ngIf="item?.checkStatus == '0'">校验中</span>
|
<span *ngIf="item?.checkStatus == '0'">校验中</span>
|
||||||
<span *ngIf="item?.checkStatus == '1'">通过</span>
|
<span *ngIf="item?.checkStatus == '1'">通过</span>
|
||||||
<!-- <span *ngIf="item?.checkStatus == '2'" style="color: red;" (click)="unnormal(item)">不通过</span> -->
|
<!-- <span *ngIf="item?.checkStatus == '2'" style="color: red;" (click)="unnormal(item)">不通过</span> -->
|
||||||
<span *ngIf="item?.checkStatus == '2'" style="color: red;" (click)="viewResult(item)">不通过</span>
|
<a *ngIf="item?.checkStatus == '2'" style="color: red;" (click)="viewResult(item)">不通过</a>
|
||||||
|
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template st-row="driverName" let-item let-index="index">
|
<ng-template st-row="driverName" let-item let-index="index">
|
||||||
<div> {{ item?.driverName }}{{ item?.driverPhone ? "/" + item?.driverPhone : '' }} </div>
|
<div> {{ item?.driverName }}{{ item?.driverPhone ? "/" + item?.driverPhone : '' }} </div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<!-- <ng-template st-row="localValid" let-item let-index="index">
|
<!-- <ng-template st-row="localValid" let-item let-index="index">
|
||||||
<a (click)="viewResult(item)" *ngIf="item?.billStatus === '2'">{{item?.billStatusLabel}}</a>
|
<a (click)="viewResult(item)" *ngIf="item?.billStatus === '2'">{{item?.billStatusLabel}}</a>
|
||||||
@ -100,9 +101,11 @@
|
|||||||
已选择
|
已选择
|
||||||
<strong class="text-red">{{ selectedRows.length }}</strong> 条数据
|
<strong class="text-red">{{ selectedRows.length }}</strong> 条数据
|
||||||
</div>
|
</div>
|
||||||
<button nz-button nzType="primary" (click)="upload()" acl [acl-ability]="['TAX-ORDERREPORT-upload']">上传</button>
|
<button nz-button nzType="primary" (click)="upload()" acl [acl-ability]="['TAX-ORDERREPORT-upload']">上传</button>
|
||||||
<button nz-button nzType="primary" (click)="recall() " acl [acl-ability]="['TAX-ORDERREPORT-recall']">撤回</button>
|
<button nz-button nzType="primary" (click)="recall() " acl [acl-ability]="['TAX-ORDERREPORT-recall']">撤回</button>
|
||||||
<button nz-button nzType="primary" (click)="resetData()" acl [acl-ability]="['TAX-ORDERREPORT-resetData']">更新数据</button>
|
<button nz-button nzType="primary" (click)="resetData()" acl
|
||||||
<button nz-button nzType="primary" (click)="uploadSetting()" acl [acl-ability]="['TAX-ORDERREPORT-uploadSetting']">税务设置</button>
|
[acl-ability]="['TAX-ORDERREPORT-resetData']">更新数据</button>
|
||||||
|
<button nz-button nzType="primary" (click)="uploadSetting()" acl
|
||||||
|
[acl-ability]="['TAX-ORDERREPORT-uploadSetting']">税务设置</button>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|||||||
@ -445,10 +445,10 @@ export class TaxManagementOrderReportingComponent implements OnInit {
|
|||||||
this.service.msgSrv.warning('选择了已上传,请重新勾选!');
|
this.service.msgSrv.warning('选择了已上传,请重新勾选!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(this.selectedRows.find(item => item.checkStatus !== '1')) {
|
// if(this.selectedRows.find(item => item.checkStatus !== '1')) {
|
||||||
this.service.msgSrv.warning('选择了未通过校验的订单,请重新勾选!');
|
// this.service.msgSrv.warning('选择了未通过校验的订单,请重新勾选!');
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
let params: any[] = [];
|
let params: any[] = [];
|
||||||
this.selectedRows.forEach(item => {
|
this.selectedRows.forEach(item => {
|
||||||
params.push(item.id);
|
params.push(item.id);
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Description :
|
* @Description :
|
||||||
* @Version : 1.0
|
* @Version : 1.0
|
||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-03-31 11:10:10
|
* @Date : 2022-03-31 11:10:10
|
||||||
@ -15,22 +15,19 @@
|
|||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 90%">
|
<div style="width: 90%">
|
||||||
<st
|
<st #st [scroll]="{ x: '1000px', y: '600px' }" [data]="service.$api_get_getTaxFieldCheckList" [columns]="columns"
|
||||||
#st
|
[req]="{ process: beforeReq }" [res]="{ reName: { list: 'data', total: 'data' } , process: afterRes}"
|
||||||
[scroll]="{ x: '1000px', y: '600px' }"
|
[page]="{ show: false }" [loading]="false" [bordered]="true">
|
||||||
[data]="service.$api_get_getTaxFieldCheckList"
|
|
||||||
[columns]="columns"
|
|
||||||
[req]="{ process: beforeReq }"
|
|
||||||
[res]="{ reName: { list: 'data', total: 'data' } , process: afterRes}"
|
|
||||||
[page]="{ show: false }"
|
|
||||||
[loading]="false"
|
|
||||||
[bordered]="true"
|
|
||||||
>
|
|
||||||
<ng-template st-row="freightDetails" let-item>
|
<ng-template st-row="freightDetails" let-item>
|
||||||
<div *ngFor="let item of item.freightDetails">
|
<div *ngFor="let item of item.freightDetails">
|
||||||
<div>{{ item.expenseName }}:{{ item.price | currency }} </div>
|
<div>{{ item.expenseName }}:{{ item.price | currency }} </div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
<ng-template st-row="fieldValue" let-item>
|
||||||
|
<ellipsis lines="3" tooltip>
|
||||||
|
<div>{{item?.fieldValue}}</div>
|
||||||
|
</ellipsis>
|
||||||
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* @Description :
|
* @Description :
|
||||||
* @Version : 1.0
|
* @Version : 1.0
|
||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-03-30 14:26:01
|
* @Date : 2022-03-30 14:26:01
|
||||||
@ -48,25 +48,26 @@ export class TaxManagementOrderVerifyResultComponent implements OnInit {
|
|||||||
// }
|
// }
|
||||||
// return params;
|
// return params;
|
||||||
// }
|
// }
|
||||||
beforeReq = (requestOptions: STRequestOptions) => {let a: string = '';
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
|
let a: string = '';
|
||||||
switch (this.subjectType) {
|
switch (this.subjectType) {
|
||||||
case '0':
|
case '0':
|
||||||
a = this.record?.networkTransporterId;
|
a = this.record?.networkTransporterId;
|
||||||
break
|
break
|
||||||
case '1':
|
case '1':
|
||||||
a = this.record?.shipperId;
|
a = this.record?.shipperId;
|
||||||
break
|
break
|
||||||
case '2':
|
case '2':
|
||||||
a = this.record?.driverId;
|
a = this.record?.driverId;
|
||||||
break
|
break
|
||||||
case '3':
|
case '3':
|
||||||
a = this.record?.wayBillId;
|
a = this.record?.wayBillId;
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
Object.assign(requestOptions.body, {
|
Object.assign(requestOptions.body, {
|
||||||
subjectId: a ,
|
subjectId: a,
|
||||||
subjectType: this.subjectType,
|
subjectType: this.subjectType,
|
||||||
});
|
});
|
||||||
return requestOptions;
|
return requestOptions;
|
||||||
};
|
};
|
||||||
afterRes = (data: any[], rawData?: any) => {
|
afterRes = (data: any[], rawData?: any) => {
|
||||||
@ -80,7 +81,7 @@ export class TaxManagementOrderVerifyResultComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
console.log(this.record);
|
console.log(this.record);
|
||||||
|
|
||||||
this.initST();
|
this.initST();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,7 +103,7 @@ export class TaxManagementOrderVerifyResultComponent implements OnInit {
|
|||||||
1: '是'
|
1: '是'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '上传值', index: 'fieldValue', className: 'text-center', width: '150px', },
|
{ title: '上传值', render: 'fieldValue', className: 'text-center', width: '150px', },
|
||||||
{
|
{
|
||||||
title: '本地校验', index: 'checkStatus', className: 'text-center', width: '100px',
|
title: '本地校验', index: 'checkStatus', className: 'text-center', width: '100px',
|
||||||
type: 'enum',
|
type: 'enum',
|
||||||
@ -126,7 +127,7 @@ export class TaxManagementOrderVerifyResultComponent implements OnInit {
|
|||||||
selectTab(e: any) {
|
selectTab(e: any) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
console.log(e?.value);
|
console.log(e?.value);
|
||||||
|
|
||||||
this.subjectType = e?.value;
|
this.subjectType = e?.value;
|
||||||
console.log(this.subjectType);
|
console.log(this.subjectType);
|
||||||
this.st.load(1);
|
this.st.load(1);
|
||||||
|
|||||||
@ -4,5 +4,6 @@ import { STModule } from '@delon/abc/st';
|
|||||||
import { SVModule } from '@delon/abc/sv';
|
import { SVModule } from '@delon/abc/sv';
|
||||||
import { DelonFormModule } from '@delon/form';
|
import { DelonFormModule } from '@delon/form';
|
||||||
import { QRModule } from '@delon/abc/qr';
|
import { QRModule } from '@delon/abc/qr';
|
||||||
|
import { EllipsisModule } from '@delon/abc/ellipsis';
|
||||||
|
|
||||||
export const SHARED_DELON_MODULES = [PageHeaderModule, STModule, SVModule, SEModule, DelonFormModule, QRModule];
|
export const SHARED_DELON_MODULES = [PageHeaderModule, STModule, SVModule, SEModule, DelonFormModule, QRModule, EllipsisModule];
|
||||||
|
|||||||
Reference in New Issue
Block a user