This commit is contained in:
wangshiming
2022-04-11 14:57:35 +08:00
parent 0b73277d08
commit b026363af3
6 changed files with 18 additions and 10 deletions

View File

@ -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] || ''
} }
}); });
} }

View File

@ -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>

View File

@ -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);
}
} }

View File

@ -160,6 +160,8 @@ 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'; $api_get_asyncExportBillPaymentApplicationList = '/api/fcc/billPaymentApplicationOBC/asyncExportBillPaymentApplicationList';

View File

@ -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">

View File

@ -8,6 +8,7 @@ import {
SFComponent, SFComponent,
SFDateWidgetSchema, SFDateWidgetSchema,
SFSchema, SFSchema,
SFStringWidgetSchema,
SFTextareaWidgetSchema, SFTextareaWidgetSchema,
SFUISchema, SFUISchema,
SFUploadWidgetSchema SFUploadWidgetSchema
@ -620,10 +621,12 @@ 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: '请输入成本费率'
} }
} }
}, },
required: ['website', 'costRate'] required: ['website', 'costRate']