This commit is contained in:
xiaoxing.liu
2022-04-09 17:21:21 +08:00
13 changed files with 107 additions and 66 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2022-01-18 09:51:21 * @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-04-09 15:08:08 * @LastEditTime : 2022-04-09 16:39:20
* @FilePath : \\tms-obc-web\\proxy.conf.js * @FilePath : \\tms-obc-web\\proxy.conf.js
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -20,7 +20,7 @@ module.exports = {
// } // }
'//api': { '//api': {
target: { target: {
host: 'tms-api-dev.eascs.com', host: 'tms-api-test.eascs.com',
protocol: 'https:', protocol: 'https:',
port: 443 port: 443
}, },

View File

@ -47,7 +47,7 @@ export class AdvanceCollectionComponent {
} }
exportList() { exportList() {
this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportPlatformAccountBalanceByOperator,); this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_reportYskBla,);
} }
private initSF(): SFSchema { private initSF(): SFSchema {

View File

@ -156,7 +156,11 @@ export class CostManagementComponent implements OnInit {
feeSubId: { feeSubId: {
type: 'string', type: 'string',
title: '费用科目', title: '费用科目',
enum: [{ label: '全部', value: '全部' }], enum: [
{ label: '全部', value: '全部' },
{ label: '运输费', value: '1475197820443299842' },
{ label: '附加费', value: '1476197820443299842 ' },
],
ui: { ui: {
widget: 'select', widget: 'select',
placeholder: '请选择', placeholder: '请选择',

View File

@ -45,11 +45,11 @@ export class PayableOrderComponent implements OnInit {
} }
}); });
} }
if (this.sf.value?.ahxdate) { if (this.sf.value?.phxdate) {
Object.assign(requestOptions.body, { Object.assign(requestOptions.body, {
ahxdate: { phxdate: {
start: this.sf.value.ahxdate?.[0] || null, start: this.sf.value.phxdate?.[0] || null,
end: this.sf.value.ahxdate?.[1] || null end: this.sf.value.phxdate?.[1] || null
} }
}); });
} }
@ -210,7 +210,7 @@ export class PayableOrderComponent implements OnInit {
}, },
remarks: { remarks: {
type: 'string', type: 'string',
title: '付款备注', title: '核销备注',
ui: { ui: {
autocomplete: 'off', autocomplete: 'off',
placeholder: '请选择', placeholder: '请选择',

View File

@ -104,7 +104,7 @@ export class ReceiptOrderComponent implements OnInit {
placeholder: '请输入' placeholder: '请输入'
} }
}, },
ltdid: { ltdId: {
type: 'string', type: 'string',
title: '网络货运人', title: '网络货运人',
ui: { ui: {
@ -217,7 +217,7 @@ export class ReceiptOrderComponent implements OnInit {
// }, // },
remarks: { remarks: {
type: 'string', type: 'string',
title: '款备注', title: '款备注',
ui: { ui: {
placeholder: '请输入', placeholder: '请输入',
visibleIf: { visibleIf: {

View File

@ -151,7 +151,7 @@ export class TransactionFlowComponent {
}, },
default: '' default: ''
}, },
enterpriseName: { roleName: {
type: 'string', type: 'string',
title: '账户名称', title: '账户名称',
ui: { ui: {

View File

@ -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-01-20 17:18:16 * @LastEditTime : 2022-04-09 16:36:42
* @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\voucher-management\\voucher-management.component.ts * @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\voucher-management\\voucher-management.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -172,7 +172,7 @@ export class VoucherManagementComponent implements OnInit {
} }
} as SFDateWidgetSchema } as SFDateWidgetSchema
}, },
inpinvcosde: { remarks: {
type: 'string', type: 'string',
title: '凭证摘要', title: '凭证摘要',
ui: { ui: {
@ -195,18 +195,18 @@ export class VoucherManagementComponent implements OnInit {
}, },
default: '' default: ''
}, },
subid: { // subid: {
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: '请选择',
visibleIf: { // visibleIf: {
expand: (value: boolean) => value // expand: (value: boolean) => value
} // }
} // }
}, // },
drmoney: { drmoney: {
type: 'string', type: 'string',
title: '借方金额', title: '借方金额',

View File

@ -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-09 15:33:41 * @LastEditTime : 2022-04-09 16:21:52
* @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.
*/ */
@ -153,6 +153,8 @@ export class FreightAccountService extends ShipperBaseService {
$api_get_exportShipperAccountBalanceByOperator = '/api/fcc/accountBalance/exportShipperAccountBalanceByOperator'; $api_get_exportShipperAccountBalanceByOperator = '/api/fcc/accountBalance/exportShipperAccountBalanceByOperator';
// 运营端导出导出平台账户信息 // 运营端导出导出平台账户信息
$api_get_exportPlatformAccountBalanceByOperator = '/api/fcc/accountBalance/exportPlatformAccountBalanceByOperator'; $api_get_exportPlatformAccountBalanceByOperator = '/api/fcc/accountBalance/exportPlatformAccountBalanceByOperator';
// 导出预收款余额
$api_get_reportYskBla = '/api/fcc/ficoYskBla/reportYskBla';
constructor(public injector: Injector) { constructor(public injector: Injector) {
super(injector); super(injector);

View File

@ -99,7 +99,7 @@ export class OrderManagementAbnormalWarningComponent implements OnInit {
ui: { ui: {
} }
}, },
wayCode: { wayBillCode: {
type: 'string', type: 'string',
title: '运单号', title: '运单号',
ui: { ui: {
@ -213,13 +213,6 @@ export class OrderManagementAbnormalWarningComponent implements OnInit {
*/ */
initST() { initST() {
this.columns = [ this.columns = [
{
title: '运单号',
width: '180px',
fixed: 'left',
className: 'text-left',
index: 'wayCode'
},
{ {
title: '订单号', title: '订单号',
width: '180px', width: '180px',
@ -227,6 +220,13 @@ export class OrderManagementAbnormalWarningComponent implements OnInit {
className: 'text-left', className: 'text-left',
index: 'billCode' index: 'billCode'
}, },
{
title: '运单号',
width: '180px',
fixed: 'left',
className: 'text-left',
index: 'wayCode'
},
{ title: '服务类型', index: 'serviceTypeLabel', width: '220px', className: 'text-left',format: (item) => { { title: '服务类型', index: 'serviceTypeLabel', width: '220px', className: 'text-left',format: (item) => {
return item?.resourceTypeLabel + item?.serviceTypeLabel return item?.resourceTypeLabel + item?.serviceTypeLabel
} }, } },
@ -285,6 +285,6 @@ export class OrderManagementAbnormalWarningComponent implements OnInit {
// 导出 // 导出
exprot() { exprot() {
this.service.exportStart({ ...this.reqParams, pageSize: -1 }, this.service.$api_get_asyncExportSpotCheckList); this.service.exportStart({ ...this.reqParams, pageSize: -1 }, this.service.$api_abnormalWarning_asyncExport);
} }
} }

View File

@ -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-07 09:49:44 * @LastEditTime : 2022-04-09 16:16:09
* @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.
*/ */
@ -200,6 +200,8 @@ export class OrderManagementService extends ShipperBaseService {
$api_get_asyncExportSpotCheckList= `/api/sdc/BillComplianceSpotCheck/asyncExportSpotCheckList`; $api_get_asyncExportSpotCheckList= `/api/sdc/BillComplianceSpotCheck/asyncExportSpotCheckList`;
// 异步导出单据审核导出 // 异步导出单据审核导出
$api_get_asyncExportExamineBillList= `/api/sdc/billExamine/asyncExportExamineBillList`; $api_get_asyncExportExamineBillList= `/api/sdc/billExamine/asyncExportExamineBillList`;
// 异步导出单据审核导出
$api_abnormalWarning_asyncExport= `/api/sdc/abnormalWarning/asyncExport`;
/** /**
* 根据企业ID获取企业历史网络货运人 * 根据企业ID获取企业历史网络货运人
* @returns * @returns

View File

@ -1,36 +1,57 @@
<!--
* @Description :
* @Version : 1.0
* @Author : Shiming
* @Date : 2022-04-06 10:57:56
* @LastEditors : Shiming
* @LastEditTime : 2022-04-09 17:07:02
* @FilePath : \\tms-obc-web\\src\\app\\routes\\ticket-management\\components\\etc-blacklist\\etc-blacklist.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<page-header-wrapper [title]="'ETC白名单'" [content]="content"> <page-header-wrapper [title]="'ETC白名单'" [content]="content">
<ng-template #content> <ng-template #content>
<nz-tabset class="tabs-wrap"> <nz-tabset class="tabs-wrap">
<nz-tab *ngFor="let tab of tabs" [nzTitle]="tab.name" (nzSelect)="changeTab(tab)"> </nz-tab> <nz-tab *ngFor="let tab of tabs" [nzTitle]="tab.name" (nzSelect)="changeTab(tab)"> </nz-tab>
</nz-tabset> </nz-tabset>
</ng-template> </ng-template>
</page-header-wrapper> </page-header-wrapper>
<nz-card class="search-box"> <nz-card class="search-box">
<div nz-row nzGutter="8"> <div nz-row nzGutter="8">
<div nz-col [nzXl]="18" [nzLg]="24" [nzSm]="24" [nzXs]="24"> <div nz-col [nzXl]="18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
<sf #sf [schema]="searchSchema" <sf
[ui]="{ '*': { spanLabelFixed: 110,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true" #sf
[button]="'none'"></sf> [schema]="searchSchema"
</div> [ui]="{ '*': { spanLabelFixed: 110, grid: { lg: 8, md: 12, sm: 12, xs: 24 } } }"
<div nz-col [nzXl]="6" [nzLg]="24" [nzMd]="24" [nzSm]="24" [nzXs]="24" class="text-right"> [compact]="true"
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button> [button]="'none'"
<button nz-button (click)="resetSF()">重置</button> ></sf>
<button nz-button> 导出</button>
</div>
</div> </div>
<div nz-col [nzXl]="6" [nzLg]="24" [nzMd]="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 (click)="exprot()"> 导出</button>
</div>
</div>
</nz-card> </nz-card>
<nz-card> <nz-card>
<div class="d-flex align-items-center mb-md"> <div class="d-flex align-items-center mb-md">
<button nz-button (click)="configAction()">添加</button> <button nz-button (click)="configAction()">添加</button>
<button nz-button (click)="deleteAction()">删除</button> <button nz-button (click)="deleteAction()">删除</button>
<div class="ml-md"> <div class="ml-md">
已选择 已选择
<strong class="text-primary">{{ selectedRows.length }}</strong> 条数据 <strong class="text-primary">{{ selectedRows.length }}</strong> 条数据
<a *ngIf="selectedRows.length > 0" (click)="st.clearCheck()" class="ml-lg">清空</a> <a *ngIf="selectedRows.length > 0" (click)="st.clearCheck()" class="ml-lg">清空</a>
</div>
</div> </div>
<st #st [data]="tabType===1?service.$api_get_etc_shipper_list:service.$api_get_etc_cart_page" [columns]="columns" </div>
[page]="{}" [req]="{ process: beforeReq }" [loading]="false" (change)="stChange($event)"></st> <st
</nz-card> #st
[data]="tabType === 1 ? service.$api_get_etc_shipper_list : service.$api_get_etc_cart_page"
[columns]="columns"
[page]="{}"
[req]="{ process: beforeReq }"
[loading]="false"
(change)="stChange($event)"
></st>
</nz-card>

View File

@ -245,7 +245,7 @@ export class ETCBlacklistComponent implements OnInit {
tabType: (value: number) => this.tabType === 2 tabType: (value: number) => this.tabType === 2
} }
} }
}, }
// params6: { // params6: {
// title: '手机号', // title: '手机号',
// type: 'string', // type: 'string',
@ -294,4 +294,12 @@ export class ETCBlacklistComponent implements OnInit {
} }
]; ];
} }
// 导出
exprot() {
if (this.tabType == 1) {
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_aficoShipperWhiteList_asyncExport);
} else {
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_ficoCarWhiteList_asyncExport);
}
}
} }

View File

@ -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 15:49:11 * @LastEditTime : 2022-04-09 17:08:15
* @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
@ -136,6 +136,10 @@ export class TicketService extends ShipperBaseService {
$api_get_asyncExportEtcApplyList = '/api/sdc/invoiceEtcOperate/asyncExportEtcApplyList'; $api_get_asyncExportEtcApplyList = '/api/sdc/invoiceEtcOperate/asyncExportEtcApplyList';
// ETC开票记录导出 // ETC开票记录导出
$api_get_asyncExportEtcApplyRecordList = '/api/sdc/invoiceEtcOperate/asyncExportEtcApplyRecordList'; $api_get_asyncExportEtcApplyRecordList = '/api/sdc/invoiceEtcOperate/asyncExportEtcApplyRecordList';
// ETC白名单货主导出接口
$api_get_aficoShipperWhiteList_asyncExport = '/api/fcc/ficoShipperWhiteList/asyncExport';
// ETC白名单车辆导出接口
$api_get_ficoCarWhiteList_asyncExport = '/api/fcc/ficoCarWhiteList/asyncExport';
constructor(public injector: Injector) { constructor(public injector: Injector) {
super(injector); super(injector);