Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
Taric Xin
2022-03-31 16:09:36 +08:00
3 changed files with 8 additions and 9 deletions

View File

@ -28,7 +28,7 @@ export class DatatableFundReportingComponent implements OnInit {
{ name: '异常', value: '4' }, { name: '异常', value: '4' },
{ name: '全部', value: '' } { name: '全部', value: '' }
]; ];
selectedIndex = ''; //选择的项目 selectedIndex = '1'; //选择的项目
serviceTel = ''; serviceTel = '';
constructor( constructor(
public service: ReportingService, public service: ReportingService,
@ -51,7 +51,7 @@ export class DatatableFundReportingComponent implements OnInit {
*/ */
get reqParams() { get reqParams() {
const params = Object.assign({}, this.sf?.value || {}, { const params = Object.assign({}, this.sf?.value || {}, {
representationsStatus: this.selectedIndex, uploadStatus: this.selectedIndex,
}); });
delete params._$expand; delete params._$expand;
return { ...params }; return { ...params };
@ -237,7 +237,7 @@ export class DatatableFundReportingComponent implements OnInit {
{ title: '车牌颜色', index: 'carColor', className: 'text-center', width: '180px' }, { title: '车牌颜色', index: 'carColor', className: 'text-center', width: '180px' },
{ title: '总金额', render: 'tolalAmount', className: 'text-center', width: '250px' }, { title: '总金额', render: 'tolalAmount', className: 'text-center', width: '250px' },
{ title: '付款方式', index: 'payType', className: 'text-center', width: '180px' }, { title: '付款方式', index: 'payTypeLabel', className: 'text-center', width: '180px' },
{ title: '车队长', index: 'payee', className: 'text-center', width: '250px' }, { title: '车队长', index: 'payee', className: 'text-center', width: '250px' },
{ title: '收款账户', index: 'collectionAccount', className: 'text-center', width: '200px' }, { title: '收款账户', index: 'collectionAccount', className: 'text-center', width: '200px' },
@ -281,7 +281,7 @@ export class DatatableFundReportingComponent implements OnInit {
} }
selectChange(item: any) { selectChange(item: any) {
this.selectedIndex = item?.representationsStatus || ''; this.selectedIndex = item?.value || '';
setTimeout(() => { setTimeout(() => {
this.st.load(1); this.st.load(1);
}) })

View File

@ -34,7 +34,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
} }
ngOnInit(): void { ngOnInit(): void {
if (this.id) if (this.id)
{ {
this.getDetail(this.id); this.getDetail(this.id);
@ -64,7 +63,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
initSF() { initSF() {
this.schema = { this.schema = {
properties: { properties: {
complaintCauseLabel: { drvComplaintCauseLabel: {
title: '投诉原因', title: '投诉原因',
type: 'string', type: 'string',
maxLength: 30, maxLength: 30,
@ -82,7 +81,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
change: (value, orgData) => console.log(value, orgData), change: (value, orgData) => console.log(value, orgData),
} as SFSelectWidgetSchema, } as SFSelectWidgetSchema,
}, },
complainantPartyLabel: { handlerIdLabel: {
title: '司机', title: '司机',
type: 'string', type: 'string',
maxLength: 30, maxLength: 30,

View File

@ -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-03-28 11:10:20 * @LastEditTime : 2022-03-31 16:05:06
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.html * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
--> -->
@ -82,7 +82,7 @@
<ng-template st-row="mybidDetailInfo" let-item let-index="index"> <ng-template st-row="mybidDetailInfo" let-item let-index="index">
<div *ngIf="item.mybidDetailInfo.length > 0"> <div *ngIf="item.mybidDetailInfo.length > 0">
<div *ngFor="let data of item.mybidDetailInfo"> <div *ngFor="let data of item.mybidDetailInfo">
{{ data.expenseName }}{{ data.price | currency }} {{ data.expenseName }}{{ data?.expenseCode === 'FL' ? (data.price * 100 + '%' ) : (data.price | currency) }}
<span *ngIf="data.paymentStatus && data.paymentStatus === '1' && data.price>0" <span *ngIf="data.paymentStatus && data.paymentStatus === '1' && data.price>0"
style="color: #f59a63">待申请</span> style="color: #f59a63">待申请</span>
<span *ngIf="data.paymentStatus && data.paymentStatus === '2'" style="color: #f59a63">已支付</span> <span *ngIf="data.paymentStatus && data.paymentStatus === '2'" style="color: #f59a63">已支付</span>