Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-04-06 10:57:56
|
* @Date : 2022-04-06 10:57:56
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-11 11:17:19
|
* @LastEditTime : 2022-04-11 14:23:35
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\abnormal-gold\\abnormal-gold.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\abnormal-gold\\abnormal-gold.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|||||||
@ -191,6 +191,6 @@ export class AbnormalGoldComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
// 导出
|
// 导出
|
||||||
exprot() {
|
exprot() {
|
||||||
this.service.exportStart({ ...this.beforeReq, pageSize: -1 }, this.service.$api_get_exportAbnormalAmountPage);
|
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAbnormalAmountPage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -195,8 +195,8 @@ export class CostManagementComponent implements OnInit {
|
|||||||
let str = q.replace(/^\s+|\s+$/g, '');
|
let str = q.replace(/^\s+|\s+$/g, '');
|
||||||
if (str) {
|
if (str) {
|
||||||
return this.service
|
return this.service
|
||||||
.request(this.service.$api_enterpriceList, { enterpriseName: str })
|
.request(this.service.$api_crm_enterpriceList, { enterpriseName: str })
|
||||||
.pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.id } as SFSchemaEnum))))
|
.pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.enterpriseId } as SFSchemaEnum))))
|
||||||
.toPromise();
|
.toPromise();
|
||||||
} else {
|
} else {
|
||||||
return of([]);
|
return of([]);
|
||||||
@ -220,8 +220,8 @@ export class CostManagementComponent implements OnInit {
|
|||||||
let str = q.replace(/^\s+|\s+$/g, '');
|
let str = q.replace(/^\s+|\s+$/g, '');
|
||||||
if (str) {
|
if (str) {
|
||||||
return this.service
|
return this.service
|
||||||
.request(this.service.$api_enterpriceList, { enterpriseName: str })
|
.request(this.service.$api_crm_enterpriceList, { enterpriseName: str })
|
||||||
.pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.id } as SFSchemaEnum))))
|
.pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.crmUserId } as SFSchemaEnum))))
|
||||||
.toPromise();
|
.toPromise();
|
||||||
} else {
|
} else {
|
||||||
return of([]);
|
return of([]);
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
class="text-right">
|
class="text-right">
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button> 导出</button>
|
<button nz-button (click)="exprot()"> 导出</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>
|
||||||
|
|||||||
@ -151,8 +151,8 @@ export class PaymentRecordComponent implements OnInit {
|
|||||||
title: '车队长收款',
|
title: '车队长收款',
|
||||||
enum: [
|
enum: [
|
||||||
{ label: '全部', value: '' },
|
{ label: '全部', value: '' },
|
||||||
{ label: '否', value: 0 },
|
{ label: '否', value: '0' },
|
||||||
{ label: '是', value: 1 }
|
{ label: '是', value: '1' }
|
||||||
],
|
],
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'select',
|
||||||
@ -299,4 +299,8 @@ export class PaymentRecordComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
// 导出
|
||||||
|
exprot() {
|
||||||
|
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_asyncExportBillPaymentApplicationList);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,8 +49,7 @@
|
|||||||
[ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
|
[ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
|
||||||
[button]="'none'"></sf>
|
[button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||||
class="text-right">
|
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button (click)="exportList()"> 导出</button>
|
<button nz-button (click)="exportList()"> 导出</button>
|
||||||
|
|||||||
@ -66,7 +66,7 @@ export class PlatformAccountDetailComponent implements OnInit {
|
|||||||
stChange(e: STChange): void {}
|
stChange(e: STChange): void {}
|
||||||
|
|
||||||
exportList() {
|
exportList() {
|
||||||
this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAccountBalanceByPage,);
|
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAccountBalanceByPage);
|
||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
@ -153,6 +153,16 @@ export class PlatformAccountDetailComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
roleName: {
|
||||||
|
type: 'string',
|
||||||
|
title: '账户名称',
|
||||||
|
ui: {
|
||||||
|
placeholder: '请输入',
|
||||||
|
visibleIf: {
|
||||||
|
expand: (value: boolean) => value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
incomeType: {
|
incomeType: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '收支类型',
|
title: '收支类型',
|
||||||
@ -201,7 +211,7 @@ export class PlatformAccountDetailComponent implements OnInit {
|
|||||||
{ title: '订单号', index: 'orderSn', width: 170 },
|
{ title: '订单号', index: 'orderSn', width: 170 },
|
||||||
{ title: '运单号', index: 'businessNumber', width: 190 },
|
{ title: '运单号', index: 'businessNumber', width: 190 },
|
||||||
{ title: '账户类型', index: 'accountTypeLabel', className: 'text-center', width: 130 },
|
{ title: '账户类型', index: 'accountTypeLabel', className: 'text-center', width: 130 },
|
||||||
{ title: '账户名称', index: 'payName', className: 'text-center', width: 150 },
|
{ title: '账户名称', index: 'roleName', className: 'text-center', width: 150 },
|
||||||
{ title: '所属项目', index: 'projectName', className: 'text-center', width: 150 },
|
{ title: '所属项目', index: 'projectName', className: 'text-center', width: 150 },
|
||||||
{ title: '收支类型', index: 'incomeTypeLabel', className: 'text-center', width: 130 },
|
{ title: '收支类型', index: 'incomeTypeLabel', className: 'text-center', width: 130 },
|
||||||
{
|
{
|
||||||
|
|||||||
@ -41,16 +41,16 @@ export class ReceivableOrderComponent implements OnInit {
|
|||||||
if (this.sf.value?.createTime) {
|
if (this.sf.value?.createTime) {
|
||||||
Object.assign(requestOptions.body, {
|
Object.assign(requestOptions.body, {
|
||||||
createTime: {
|
createTime: {
|
||||||
start: this.sf.value.createTime?.[0] || null,
|
start: this.sf.value.createTime?.[0] || '',
|
||||||
end: this.sf.value.createTime?.[1] || null
|
end: this.sf.value.createTime?.[1] || ''
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (this.sf.value?.ahxdate) {
|
if (this.sf.value?.ahxdate) {
|
||||||
Object.assign(requestOptions.body, {
|
Object.assign(requestOptions.body, {
|
||||||
ahxdate: {
|
ahxdate: {
|
||||||
start: this.sf.value.ahxdate?.[0] || null,
|
start: this.sf.value.ahxdate?.[0] || '',
|
||||||
end: this.sf.value.ahxdate?.[1] || null
|
end: this.sf.value.ahxdate?.[1] || ''
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -98,7 +98,7 @@ export class ReceivableOrderComponent implements OnInit {
|
|||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ltdid: {
|
ltdId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
ui: {
|
ui: {
|
||||||
|
|||||||
@ -29,6 +29,14 @@ export class RechargeRecordComponent implements OnInit {
|
|||||||
beforeReq = (requestOptions: STRequestOptions) => {
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
if (this.sf) {
|
if (this.sf) {
|
||||||
Object.assign(requestOptions.body, { ...this.sf.value });
|
Object.assign(requestOptions.body, { ...this.sf.value });
|
||||||
|
if (this.sf.value.createTime) {
|
||||||
|
Object.assign(requestOptions.body, {
|
||||||
|
createTime: {
|
||||||
|
start: this.sf.value.createTime?.[0] || '',
|
||||||
|
end: this.sf.value.createTime?.[1] || ''
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return requestOptions;
|
return requestOptions;
|
||||||
};
|
};
|
||||||
@ -79,7 +87,7 @@ export class RechargeRecordComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
exportList() {
|
exportList() {
|
||||||
this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportPageByOperator,);
|
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportPageByOperator);
|
||||||
}
|
}
|
||||||
|
|
||||||
private initSF(): SFSchema {
|
private initSF(): SFSchema {
|
||||||
@ -117,9 +125,10 @@ export class RechargeRecordComponent implements OnInit {
|
|||||||
title: '充值时间',
|
title: '充值时间',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'date',
|
widget: 'sl-from-to-search',
|
||||||
mode: 'range',
|
format: 'yyyy-MM-dd',
|
||||||
format: 'yyyy-MM-dd'
|
placeholder: '请选择',
|
||||||
|
nzShowTime: true
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
roleName: {
|
roleName: {
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
class="text-right">
|
class="text-right">
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button> 导出</button>
|
<button nz-button (click)="exprot()"> 导出</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>
|
||||||
|
|||||||
@ -27,8 +27,7 @@ export class RefundRecordComponent implements OnInit {
|
|||||||
|
|
||||||
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
|
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {}
|
||||||
}
|
|
||||||
|
|
||||||
beforeReq = (requestOptions: STRequestOptions) => {
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
Object.assign(requestOptions.body, { refundStatus: this.refundStatus || null });
|
Object.assign(requestOptions.body, { refundStatus: this.refundStatus || null });
|
||||||
@ -287,4 +286,8 @@ export class RefundRecordComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
// 导出
|
||||||
|
exprot() {
|
||||||
|
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_asyncExportBillRefundApplicationList);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -111,7 +111,7 @@ export class VoucherManagementComponent implements OnInit {
|
|||||||
widget: 'select',
|
widget: 'select',
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
allowClear: true,
|
allowClear: true,
|
||||||
asyncData: () => this.service.getNetworkFreightForwarder()
|
asyncData: () => this.service.getCloseAccount()
|
||||||
},
|
},
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
|||||||
@ -29,8 +29,7 @@
|
|||||||
[ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24,gutter:15 } }}" [compact]="true"
|
[ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24,gutter:15 } }}" [compact]="true"
|
||||||
[button]="'none'"></sf>
|
[button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||||
class="text-right">
|
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button> 导出</button>
|
<button nz-button> 导出</button>
|
||||||
|
|||||||
@ -177,15 +177,15 @@ export class WithdrawalsRecordComponent {
|
|||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
refundStatus: {
|
// refundStatus: {
|
||||||
type: 'string',
|
// type: 'string',
|
||||||
title: '提现状态',
|
// title: '提现状态',
|
||||||
ui: {
|
// ui: {
|
||||||
widget: 'dict-select',
|
// widget: 'dict-select',
|
||||||
params: { dictKey: 'refund:apply:status' },
|
// params: { dictKey: 'refund:apply:status' },
|
||||||
placeholder: '请选择'
|
// placeholder: '请选择'
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
createTime: {
|
createTime: {
|
||||||
title: '提现时间',
|
title: '提现时间',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -201,9 +201,6 @@ export class WithdrawalsRecordComponent {
|
|||||||
title: '账户名称',
|
title: '账户名称',
|
||||||
ui: {
|
ui: {
|
||||||
placeholder: '请输入',
|
placeholder: '请输入',
|
||||||
visibleIf: {
|
|
||||||
expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
accountType: {
|
accountType: {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 15:57:44
|
* @Date : 2022-01-18 15:57:44
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-11 11:15:57
|
* @LastEditTime : 2022-04-11 14:26:38
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\services\\freight-account.service.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\services\\freight-account.service.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -158,8 +158,12 @@ export class FreightAccountService extends ShipperBaseService {
|
|||||||
|
|
||||||
// 查询异常入金充值信息
|
// 查询异常入金充值信息
|
||||||
$api_get_getAbnormalAmountPage = '/api/fcc/rechargeInfo/list/getAbnormalAmountPage';
|
$api_get_getAbnormalAmountPage = '/api/fcc/rechargeInfo/list/getAbnormalAmountPage';
|
||||||
// 查询异常入金充值信息
|
// 异步导出运营后台异常入金列表
|
||||||
$api_get_exportAbnormalAmountPage = '/api/fcc/rechargeInfo/exportAbnormalAmountPage';
|
$api_get_exportAbnormalAmountPage = '/api/fcc/rechargeInfo/exportAbnormalAmountPage';
|
||||||
|
// 异步导出运营后台退款记录列表
|
||||||
|
$api_get_asyncExportBillRefundApplicationList = '/api/fcc/billRefundApplication/asyncExportBillRefundApplicationList';
|
||||||
|
// 异步导出运营后台支付记录列表
|
||||||
|
$api_get_asyncExportBillPaymentApplicationList = '/api/fcc/billPaymentApplicationOBC/asyncExportBillPaymentApplicationList';
|
||||||
|
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector);
|
super(injector);
|
||||||
@ -193,6 +197,8 @@ export class FreightAccountService extends ShipperBaseService {
|
|||||||
}
|
}
|
||||||
// 获取货主企业列表
|
// 获取货主企业列表
|
||||||
public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';
|
public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList';
|
||||||
|
// 获取企业CRM信息
|
||||||
|
public $api_crm_enterpriceList = '/api/mdc/cuc/enterprise/getCrmSelectList';
|
||||||
reviewPDF(url: string) {
|
reviewPDF(url: string) {
|
||||||
if (!url) {
|
if (!url) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -498,9 +498,11 @@ export class insuranceManagementListComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
showImg(_record: any) {
|
showImg(_record: any) {
|
||||||
// var newUrl=_record.policyUrl.replace('http','https')
|
// var newUrl=_record.policyUrl.replace('http','https')
|
||||||
|
// console.log(newUrl);
|
||||||
|
|
||||||
// window.open(newUrl,'_self');
|
// window.open(newUrl,'_self');
|
||||||
window.location.href = `${_record.policyUrl}`;
|
|
||||||
// this.service.downloadFile(`${_record.policyUrl}`)
|
this.service.downloadFile(`${_record.policyUrl}`)
|
||||||
// const params = {
|
// const params = {
|
||||||
// imgList: [_record.policyUrl],
|
// imgList: [_record.policyUrl],
|
||||||
// index: 0
|
// index: 0
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-03 15:31:52
|
* @Date : 2021-12-03 15:31:52
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-02-28 17:11:54
|
* @LastEditTime : 2022-04-11 15:13:24
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\services\\insurance-management.service.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\services\\insurance-management.service.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -32,6 +32,30 @@ export class InsuranceManagementService extends ShipperBaseService {
|
|||||||
// 保险费列表数据导出接口
|
// 保险费列表数据导出接口
|
||||||
$api_get_asyncExport = `/api/sdc/premiumInfo/asyncExport`;
|
$api_get_asyncExport = `/api/sdc/premiumInfo/asyncExport`;
|
||||||
|
|
||||||
|
public reviewPDF(url: string) {
|
||||||
|
if (!url) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const uA = window.navigator.userAgent; // 判断浏览器内核
|
||||||
|
const isIE =
|
||||||
|
/msie\s|trident\/|edge\//i.test(uA) &&
|
||||||
|
!!('uniqueID' in document || 'documentMode' in document || 'ActiveXObject' in window || 'MSInputMethodContext' in window);
|
||||||
|
const objectUrl = url;
|
||||||
|
const a = document.createElement('a');
|
||||||
|
document.body.appendChild(a);
|
||||||
|
console.log('5555');
|
||||||
|
|
||||||
|
a.href = objectUrl;
|
||||||
|
a.download = '保单.pdf';
|
||||||
|
if (isIE) {
|
||||||
|
// 兼容IE11无法触发下载的问题
|
||||||
|
(navigator as any).msSaveBlob(url, a.download);
|
||||||
|
} else {
|
||||||
|
a.click();
|
||||||
|
}
|
||||||
|
a.remove();
|
||||||
|
}
|
||||||
|
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector);
|
super(injector);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-12 10:52:50
|
* @Date : 2022-01-12 10:52:50
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-11 11:28:18
|
* @LastEditTime : 2022-04-11 14:33:19
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\complaint\\complaint.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\complaint\\complaint.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -27,7 +27,7 @@
|
|||||||
<div nz-col [nzSpan]="24" style="display: flex; justify-content: flex-end;">
|
<div nz-col [nzSpan]="24" style="display: flex; justify-content: flex-end;">
|
||||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
|
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
|
||||||
(click)="st?.load(1)" acl [acl-ability]="['ORDER-COMPLAINT-search']">查询</button>
|
(click)="st?.load(1)" acl [acl-ability]="['ORDER-COMPLAINT-search']">查询</button>
|
||||||
<button nz-button nzType="primary" acl [acl-ability]="['ORDER-COMPLAINT-export']"
|
<button nz-button nzType="primary" acl [acl-ability]="['ORDER-COMPLAINT-export']" (click)="exprot()"
|
||||||
>导出</button>
|
>导出</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import { NzModalService } from 'ng-zorro-antd/modal';
|
|||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
import { OrderManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-supply-management-complaint',
|
selector: 'app-supply-management-complaint',
|
||||||
templateUrl: './complaint.component.html',
|
templateUrl: './complaint.component.html',
|
||||||
@ -32,30 +31,27 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
isLoading: boolean = false;
|
isLoading: boolean = false;
|
||||||
mainTabs = [
|
mainTabs = [
|
||||||
{ name: '司机投诉', status: '2' },
|
{ name: '司机投诉', status: '2' },
|
||||||
{ name: '货主投诉', status: '1' },
|
{ name: '货主投诉', status: '1' }
|
||||||
]
|
];
|
||||||
tabs = [ {
|
tabs = [
|
||||||
|
{
|
||||||
name: '全部',
|
name: '全部',
|
||||||
type: 0,
|
type: 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '待处理',
|
name: '待处理',
|
||||||
type: 1,
|
type: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '已处理',
|
name: '已处理',
|
||||||
type: 2,
|
type: 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '已撤销',
|
name: '已撤销',
|
||||||
type: 3,
|
type: 3
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
constructor(
|
constructor(public service: OrderManagementService, private modal: NzModalService, private router: Router) {
|
||||||
public service: OrderManagementService,
|
|
||||||
private modal: NzModalService,
|
|
||||||
private router: Router
|
|
||||||
) {
|
|
||||||
// console.log(this.selectedIndex);
|
// console.log(this.selectedIndex);
|
||||||
// if (this.selectedIndex === 0) {
|
// if (this.selectedIndex === 0) {
|
||||||
// this.selectedMainTabStatus = '2';
|
// this.selectedMainTabStatus = '2';
|
||||||
@ -70,20 +66,20 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
get reqParams() {
|
get reqParams() {
|
||||||
const a: any = {};
|
const a: any = {};
|
||||||
if (this.resourceStatus) {
|
if (this.resourceStatus) {
|
||||||
a.complaintStatus = this.resourceStatus
|
a.complaintStatus = this.resourceStatus;
|
||||||
}
|
}
|
||||||
if (this.selectedMainTabStatus) {
|
if (this.selectedMainTabStatus) {
|
||||||
a.complainantParty = this.selectedMainTabStatus
|
a.complainantParty = this.selectedMainTabStatus;
|
||||||
}
|
}
|
||||||
const params: any = Object.assign({}, this.sf?.value || {});
|
const params: any = Object.assign({}, this.sf?.value || {});
|
||||||
delete params._$expand;
|
delete params._$expand;
|
||||||
return {
|
return {
|
||||||
...a,
|
...a,
|
||||||
...params,
|
...params
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
get selectedRows() {
|
get selectedRows() {
|
||||||
return this.st?.list.filter((item) => item.checked) || [];
|
return this.st?.list.filter(item => item.checked) || [];
|
||||||
}
|
}
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.initSF();
|
this.initSF();
|
||||||
@ -91,8 +87,6 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
this.initSTAudit();
|
this.initSTAudit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 初始化查询表单
|
* 初始化查询表单
|
||||||
*/
|
*/
|
||||||
@ -101,7 +95,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
properties: {
|
properties: {
|
||||||
complaintCode: {
|
complaintCode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '投诉单号',
|
title: '投诉单号'
|
||||||
},
|
},
|
||||||
complaintCause: {
|
complaintCause: {
|
||||||
title: '投诉原因',
|
title: '投诉原因',
|
||||||
@ -109,7 +103,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
widget: 'dict-select',
|
||||||
params: { dictKey: 'drvcomplaint:cause' },
|
params: { dictKey: 'drvcomplaint:cause' },
|
||||||
containsAllLabel: true,
|
containsAllLabel: true
|
||||||
} as SFSelectWidgetSchema
|
} as SFSelectWidgetSchema
|
||||||
},
|
},
|
||||||
complainantTime: {
|
complainantTime: {
|
||||||
@ -117,14 +111,15 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
|
|
||||||
title: '投诉时间',
|
title: '投诉时间',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'sl-from-to', type: 'date', format: 'yyyy-MM-dd' } as SFDateWidgetSchema,
|
widget: 'sl-from-to',
|
||||||
},
|
type: 'date',
|
||||||
},
|
format: 'yyyy-MM-dd'
|
||||||
|
} as SFDateWidgetSchema
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
this.ui =
|
this.ui = {
|
||||||
{
|
'*': { spanLabelFixed: 110, grid: { span: 8, gutter: 8 } }
|
||||||
'*': { spanLabelFixed: 110, grid: { span: 8, gutter: 8 } },
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,7 +145,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
title: '投诉时间',
|
title: '投诉时间',
|
||||||
width: '170px',
|
width: '170px',
|
||||||
index: 'complainantTime',
|
index: 'complainantTime',
|
||||||
className: 'text-center',
|
className: 'text-center'
|
||||||
},
|
},
|
||||||
{ title: '托运方', index: 'shipperAppUserName', width: '200px', className: 'text-center' },
|
{ title: '托运方', index: 'shipperAppUserName', width: '200px', className: 'text-center' },
|
||||||
{ title: '司机', index: 'driverName', width: '120px', className: 'text-center' },
|
{ title: '司机', index: 'driverName', width: '120px', className: 'text-center' },
|
||||||
@ -160,8 +155,20 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
// width: '170px',
|
// width: '170px',
|
||||||
// render: 'complaintCauseLabel'
|
// render: 'complaintCauseLabel'
|
||||||
// },
|
// },
|
||||||
{ title: '投诉原因',iif: value => this.selectedMainTabStatus == '1', index: 'shpComplaintCauseLabel', className: 'text-center',width: '170px', },
|
{
|
||||||
{ title: '投诉原因',iif: value => this.selectedMainTabStatus == '2', index: 'drvComplaintCauseLabel', className: 'text-center',width: '170px', },
|
title: '投诉原因',
|
||||||
|
iif: value => this.selectedMainTabStatus == '1',
|
||||||
|
index: 'shpComplaintCauseLabel',
|
||||||
|
className: 'text-center',
|
||||||
|
width: '170px'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '投诉原因',
|
||||||
|
iif: value => this.selectedMainTabStatus == '2',
|
||||||
|
index: 'drvComplaintCauseLabel',
|
||||||
|
className: 'text-center',
|
||||||
|
width: '170px'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '投诉状态',
|
title: '投诉状态',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
@ -211,11 +218,11 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
text: '查看',
|
text: '查看',
|
||||||
click: (_record) => this.view(_record),
|
click: _record => this.view(_record),
|
||||||
acl: { ability: ['ORDER-COMPLAINT-view'] },
|
acl: { ability: ['ORDER-COMPLAINT-view'] }
|
||||||
},
|
}
|
||||||
],
|
]
|
||||||
},
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
initSTAudit() {
|
initSTAudit() {
|
||||||
@ -229,8 +236,8 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
placeholder: '最多不超过50字',
|
placeholder: '最多不超过50字',
|
||||||
widget: 'textarea',
|
widget: 'textarea',
|
||||||
autosize: { minRows: 3, maxRows: 6 }
|
autosize: { minRows: 3, maxRows: 6 }
|
||||||
},
|
}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
required: ['handleResult']
|
required: ['handleResult']
|
||||||
};
|
};
|
||||||
@ -249,14 +256,13 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
this._$expand = !this._$expand;
|
this._$expand = !this._$expand;
|
||||||
this.sf?.setValue('/_$expand', this._$expand);
|
this.sf?.setValue('/_$expand', this._$expand);
|
||||||
}
|
}
|
||||||
tabChange(item: any) {
|
tabChange(item: any) {}
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* 重置表单
|
* 重置表单
|
||||||
*/
|
*/
|
||||||
resetSF(): void {
|
resetSF(): void {
|
||||||
this.sf.reset();
|
this.sf.reset();
|
||||||
this.isLoading = true
|
this.isLoading = true;
|
||||||
}
|
}
|
||||||
selectChange(e: number) {
|
selectChange(e: number) {
|
||||||
this.resourceStatus = e;
|
this.resourceStatus = e;
|
||||||
@ -275,17 +281,14 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
this.initSF();
|
this.initSF();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.st.load(1);
|
this.st.load(1);
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 导入货源
|
* 导入货源
|
||||||
*/
|
*/
|
||||||
importGoodsSource() {
|
importGoodsSource() {}
|
||||||
|
audit(item: any) {}
|
||||||
}
|
|
||||||
audit(item: any) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 审核关闭弹窗
|
* 审核关闭弹窗
|
||||||
@ -298,35 +301,35 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
...this.sfView.value,
|
...this.sfView.value,
|
||||||
handleStatus: 0,
|
handleStatus: 0,
|
||||||
id: this.channelId
|
id: this.channelId
|
||||||
}
|
};
|
||||||
this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.service.msgSrv.success('已拒绝!')
|
this.service.msgSrv.success('已拒绝!');
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false;
|
||||||
this.st.reload(1)
|
this.st.reload(1);
|
||||||
} else {
|
} else {
|
||||||
this.service.msgSrv.error(res?.msg)
|
this.service.msgSrv.error(res?.msg);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false;
|
||||||
}
|
}
|
||||||
Cancel() {
|
Cancel() {
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false;
|
||||||
}
|
}
|
||||||
handleCancel2() {
|
handleCancel2() {
|
||||||
const paramsa = {
|
const paramsa = {
|
||||||
id: this.channelId
|
id: this.channelId
|
||||||
}
|
};
|
||||||
this.service.request(this.service.$api_get_canelComplaint, paramsa).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_canelComplaint, paramsa).subscribe((res: any) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.service.msgSrv.success('已拒绝!')
|
this.service.msgSrv.success('已拒绝!');
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false;
|
||||||
this.st.reload(1)
|
this.st.reload(1);
|
||||||
} else {
|
} else {
|
||||||
this.service.msgSrv.error(res?.msg)
|
this.service.msgSrv.error(res?.msg);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 审核通过按钮
|
* 审核通过按钮
|
||||||
@ -336,22 +339,22 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
...this.sfView.value,
|
...this.sfView.value,
|
||||||
handleStatus: 1,
|
handleStatus: 1,
|
||||||
id: this.channelId
|
id: this.channelId
|
||||||
}
|
};
|
||||||
this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.service.msgSrv.success('已通过!')
|
this.service.msgSrv.success('已通过!');
|
||||||
this.isVisibleRE = false
|
this.isVisibleRE = false;
|
||||||
this.st.reload(1)
|
this.st.reload(1);
|
||||||
} else {
|
} else {
|
||||||
this.service.msgSrv.error(res?.msg)
|
this.service.msgSrv.error(res?.msg);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*查看评价
|
*查看评价
|
||||||
*/
|
*/
|
||||||
viewEvaluate(item: any) {
|
viewEvaluate(item: any) {
|
||||||
this.isVisibleRE = true
|
this.isVisibleRE = true;
|
||||||
this.channelId = item.id;
|
this.channelId = item.id;
|
||||||
}
|
}
|
||||||
view(value: any) {
|
view(value: any) {
|
||||||
@ -359,6 +362,10 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
detail: JSON.stringify(value)
|
detail: JSON.stringify(value)
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
}
|
||||||
|
// 导出
|
||||||
|
exprot() {
|
||||||
|
this.service.exportStart({ ...this.reqParams, pageSize: -1 }, this.service.$api_asyncExportComplaintListDrv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-03 15:31:52
|
* @Date : 2021-12-03 15:31:52
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-09 16:16:09
|
* @LastEditTime : 2022-04-11 14:35:08
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\services\\order-management.service.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\services\\order-management.service.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -202,6 +202,8 @@ export class OrderManagementService extends ShipperBaseService {
|
|||||||
$api_get_asyncExportExamineBillList= `/api/sdc/billExamine/asyncExportExamineBillList`;
|
$api_get_asyncExportExamineBillList= `/api/sdc/billExamine/asyncExportExamineBillList`;
|
||||||
// 异步导出单据审核导出
|
// 异步导出单据审核导出
|
||||||
$api_abnormalWarning_asyncExport= `/api/sdc/abnormalWarning/asyncExport`;
|
$api_abnormalWarning_asyncExport= `/api/sdc/abnormalWarning/asyncExport`;
|
||||||
|
// 异步导出投诉管理导出
|
||||||
|
$api_asyncExportComplaintListDrv= `/api/sdc/complaint/operate/asyncExportComplaintListDrv`;
|
||||||
/**
|
/**
|
||||||
* 根据企业ID,获取企业历史网络货运人
|
* 根据企业ID,获取企业历史网络货运人
|
||||||
* @returns
|
* @returns
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-02-17 15:01:33
|
* @Date : 2022-02-17 15:01:33
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-02-22 11:17:30
|
* @LastEditTime : 2022-04-11 14:50:05
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\new\\new.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\new\\new.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -17,7 +17,7 @@
|
|||||||
<dt>正面照</dt>
|
<dt>正面照</dt>
|
||||||
<dd>示例</dd>
|
<dd>示例</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div class="pa2"> <app-imagelist [imgList]="['./assets/images/company.png']"></app-imagelist></div>
|
<div class="pa2"> <app-imagelist style="height: 102px;" [imgList]="['./assets/images/company.png']"></app-imagelist></div>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template sf-template="title1" let-me let-ui="ui" let-schema="schema">
|
<ng-template sf-template="title1" let-me let-ui="ui" let-schema="schema">
|
||||||
|
|||||||
@ -8,6 +8,7 @@ import {
|
|||||||
SFComponent,
|
SFComponent,
|
||||||
SFDateWidgetSchema,
|
SFDateWidgetSchema,
|
||||||
SFSchema,
|
SFSchema,
|
||||||
|
SFStringWidgetSchema,
|
||||||
SFTextareaWidgetSchema,
|
SFTextareaWidgetSchema,
|
||||||
SFUISchema,
|
SFUISchema,
|
||||||
SFUploadWidgetSchema
|
SFUploadWidgetSchema
|
||||||
@ -620,7 +621,9 @@ export class NetworkFreightNewComponent implements OnInit {
|
|||||||
costRate: {
|
costRate: {
|
||||||
title: '成本费率',
|
title: '成本费率',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
addOnAfter: '%',
|
||||||
ui: {
|
ui: {
|
||||||
|
addOnAfter: '%',
|
||||||
grid: { xxl: 13, xl: 18, lg: 24, md: 24 },
|
grid: { xxl: 13, xl: 18, lg: 24, md: 24 },
|
||||||
placeholder: '请输入成本费率'
|
placeholder: '请输入成本费率'
|
||||||
}
|
}
|
||||||
|
|||||||
@ -115,15 +115,17 @@ export class ETCInvoicedListComponent implements OnInit {
|
|||||||
shipperId: {
|
shipperId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '托运人',
|
title: '托运人',
|
||||||
enum: [{ label: '全部', value: '' }],
|
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'select',
|
||||||
placeholder: '请选择',
|
serverSearch: true,
|
||||||
|
searchDebounceTime: 300,
|
||||||
|
searchLoadingText: '搜索中...',
|
||||||
|
allowClear: true,
|
||||||
|
onSearch: (q: any) => this.service.getEnterpriceList({ enterpriseName: q }),
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value
|
expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
default: ''
|
|
||||||
},
|
},
|
||||||
enterpriseInfoId: {
|
enterpriseInfoId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -147,8 +149,14 @@ export class ETCInvoicedListComponent implements OnInit {
|
|||||||
return [
|
return [
|
||||||
{ title: '运单号', index: 'wayBillCode' },
|
{ title: '运单号', index: 'wayBillCode' },
|
||||||
{ title: '订单号', index: 'billCode' },
|
{ title: '订单号', index: 'billCode' },
|
||||||
{ title: '开票状态', index: 'invoicingStatus', type: 'enum', enum: { '0': '待开票', '1': '开票中', '2': '已开票', '3': '开票失败' } ,width: 120,},
|
{
|
||||||
{ title: '订单类型', index: 'billTypeLabel', width: 120,},
|
title: '开票状态',
|
||||||
|
index: 'invoicingStatus',
|
||||||
|
type: 'enum',
|
||||||
|
enum: { '0': '待开票', '1': '开票中', '2': '已开票', '3': '开票失败' },
|
||||||
|
width: 120
|
||||||
|
},
|
||||||
|
{ title: '订单类型', index: 'billTypeLabel', width: 120 },
|
||||||
{ title: '装货地', index: 'loadingPlace' },
|
{ title: '装货地', index: 'loadingPlace' },
|
||||||
{ title: '卸货地', index: 'dischargePlace' },
|
{ title: '卸货地', index: 'dischargePlace' },
|
||||||
{ title: '司机信息', render: 'call1No' },
|
{ title: '司机信息', render: 'call1No' },
|
||||||
|
|||||||
@ -4,18 +4,17 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-04-06 10:57:56
|
* @Date : 2022-04-06 10:57:56
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-11 14:00:47
|
* @LastEditTime : 2022-04-11 14:10:13
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\etc-invoiced-requested\\etc-invoiced-requested.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\etc-invoiced-requested\\etc-invoiced-requested.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
<page-header-wrapper [title]="'申请记录'">
|
<page-header-wrapper [title]="'申请记录'">
|
||||||
</page-header-wrapper>
|
</page-header-wrapper>
|
||||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
|
||||||
<nz-card class="search-box" nzBordered>
|
<nz-card class="search-box" nzBordered>
|
||||||
<div nz-row nzGutter="8">
|
<div nz-row nzGutter="8">
|
||||||
<div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
|
<div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
|
||||||
<sf #sf [schema]="searchSchema"
|
<sf #sf [schema]="searchSchema"
|
||||||
[ui]="{ '*': { spanLabelFixed: 90,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
|
[ui]="{ '*': { spanLabelFixed: 110,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
|
||||||
[button]="'none'"></sf>
|
[button]="'none'"></sf>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
||||||
|
|||||||
@ -182,14 +182,17 @@ export class ETCInvoicedRequestedComponent implements OnInit {
|
|||||||
shipperId: {
|
shipperId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '托运人',
|
title: '托运人',
|
||||||
enum: [{ label: '全部', value: '全部' }],
|
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'select',
|
||||||
placeholder: '请选择',
|
serverSearch: true,
|
||||||
|
searchDebounceTime: 300,
|
||||||
|
searchLoadingText: '搜索中...',
|
||||||
|
allowClear: true,
|
||||||
|
onSearch: (q: any) => this.service.getEnterpriceList({ enterpriseName: q }),
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value
|
expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
ltdId: {
|
ltdId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -222,7 +225,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
|
|||||||
{ title: '托运人', index: 'shipperAppUserName', width: '140px' },
|
{ title: '托运人', index: 'shipperAppUserName', width: '140px' },
|
||||||
{ title: '网络货运人', index: 'enterpriseInfoName', width: '220px' },
|
{ title: '网络货运人', index: 'enterpriseInfoName', width: '220px' },
|
||||||
{ title: '接单时间', index: 'orderReceivingTime', type: 'date', width: '150px' },
|
{ title: '接单时间', index: 'orderReceivingTime', type: 'date', width: '150px' },
|
||||||
{ title: '装货时间', index: 'shipperAppUserName', type: 'date', width: '150px' },
|
{ title: '装货时间', index: 'loadingTime', type: 'date', width: '150px' },
|
||||||
{ title: '卸货时间', index: 'unloadingTime', type: 'date', width: '150px' },
|
{ title: '卸货时间', index: 'unloadingTime', type: 'date', width: '150px' },
|
||||||
{ title: '签收时间', index: 'submissionTime', type: 'date', width: '150px' }
|
{ title: '签收时间', index: 'submissionTime', type: 'date', width: '150px' }
|
||||||
];
|
];
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-29 13:12:35
|
* @Date: 2021-12-29 13:12:35
|
||||||
* @LastEditTime : 2022-04-09 17:08:15
|
* @LastEditTime : 2022-04-11 14:11:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @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\\ticket-management\\services\\ticket.service.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\services\\ticket.service.ts
|
||||||
@ -145,7 +145,7 @@ export class TicketService extends ShipperBaseService {
|
|||||||
super(injector);
|
super(injector);
|
||||||
}
|
}
|
||||||
|
|
||||||
reviewPDF(url: string) {
|
public reviewPDF(url: string) {
|
||||||
if (!url) {
|
if (!url) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user