fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-06 20:20:26
|
* @Date : 2021-12-06 20:20:26
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-08 14:06:21
|
* @LastEditTime : 2022-04-13 15:56:56
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -222,9 +222,10 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
<nz-card *ngIf="!route?.snapshot?.queryParams?.sts && abnormalList.length > 0">
|
<nz-card>
|
||||||
<nz-tabset >
|
<nz-tabset >
|
||||||
<nz-tab nzTitle="风险异常检测">
|
<nz-tab nzTitle="风险异常检测">
|
||||||
|
<div *ngIf="!route?.snapshot?.queryParams?.sts && abnormalList.length > 0">
|
||||||
<div>
|
<div>
|
||||||
您的订单可能存在交易风险,请及时提交申诉材料,提交成功后,平台将及时完成审核并通知您!
|
您的订单可能存在交易风险,请及时提交申诉材料,提交成功后,平台将及时完成审核并通知您!
|
||||||
</div>
|
</div>
|
||||||
@ -232,11 +233,11 @@
|
|||||||
<ul *ngFor="let item of abnormalList">
|
<ul *ngFor="let item of abnormalList">
|
||||||
<li>系统识别:{{item?.complianceTypeName}}</li>
|
<li>系统识别:{{item?.complianceTypeName}}</li>
|
||||||
<li>{{item?.determineDetails}},您可在企业端提交申诉材料或联系客服。</li>
|
<li>{{item?.determineDetails}},您可在企业端提交申诉材料或联系客服。</li>
|
||||||
<li>2021-11-07 03:20:15</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="异常预警">
|
<nz-tab nzTitle="异常预警">
|
||||||
<st #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }">
|
<st #st [data]="warringList" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }">
|
||||||
</st>
|
</st>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="操作日志">
|
<nz-tab nzTitle="操作日志">
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-06 20:20:26
|
* @Date : 2021-12-06 20:20:26
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-11 22:31:18
|
* @LastEditTime : 2022-04-13 15:53:43
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -64,6 +64,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
|
|||||||
trajectory = 'car';
|
trajectory = 'car';
|
||||||
mapList: any[] = []; //地图点位数据组
|
mapList: any[] = []; //地图点位数据组
|
||||||
addressItems: any[] = []; //打点地址数据组
|
addressItems: any[] = []; //打点地址数据组
|
||||||
|
warringList: any[] = []; //打点地址数据组
|
||||||
constructor(
|
constructor(
|
||||||
public route: ActivatedRoute,
|
public route: ActivatedRoute,
|
||||||
private msgSrv: NzMessageService,
|
private msgSrv: NzMessageService,
|
||||||
@ -116,6 +117,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
|
|||||||
if (res) {
|
if (res) {
|
||||||
console.log('异常预警');
|
console.log('异常预警');
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
this.warringList = res
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-28 14:42:03
|
* @Date : 2021-12-28 14:42:03
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-08 14:06:27
|
* @LastEditTime : 2022-04-13 15:56:55
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -246,19 +246,20 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
<nz-card *ngIf="!route?.snapshot?.queryParams?.sts && abnormalList.length > 0">
|
<nz-card >
|
||||||
<nz-tabset>
|
<nz-tabset>
|
||||||
<nz-tab nzTitle="风险异常检测">
|
<nz-tab nzTitle="风险异常检测">
|
||||||
|
<div *ngIf="!route?.snapshot?.queryParams?.sts && abnormalList.length > 0">
|
||||||
<div> 您的订单可能存在交易风险,请及时提交申诉材料,提交成功后,平台将及时完成审核并通知您! </div>
|
<div> 您的订单可能存在交易风险,请及时提交申诉材料,提交成功后,平台将及时完成审核并通知您! </div>
|
||||||
<div>如果您的运单没有问题,可以提出申诉,并提供相关资料,我们将24小时内审核反馈</div>
|
<div>如果您的运单没有问题,可以提出申诉,并提供相关资料,我们将24小时内审核反馈</div>
|
||||||
<ul *ngFor="let item of abnormalList">
|
<ul *ngFor="let item of abnormalList">
|
||||||
<li>系统识别:{{ item?.complianceTypeName }}</li>
|
<li>系统识别:{{ item?.complianceTypeName }}</li>
|
||||||
<li>{{ item?.determineDetails }},您可在企业端提交申诉材料或联系客服。</li>
|
<li>{{ item?.determineDetails }},您可在企业端提交申诉材料或联系客服。</li>
|
||||||
<li>2021-11-07 03:20:15</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="异常预警">
|
<nz-tab nzTitle="异常预警">
|
||||||
<st #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }"> </st>
|
<st #st [data]="warringList" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }"> </st>
|
||||||
</nz-tab>
|
</nz-tab>
|
||||||
<nz-tab nzTitle="操作日志">
|
<nz-tab nzTitle="操作日志">
|
||||||
<st #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }"> </st>
|
<st #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }"> </st>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-28 14:42:03
|
* @Date : 2021-12-28 14:42:03
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-04-06 15:12:10
|
* @LastEditTime : 2022-04-13 15:55:47
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -29,6 +29,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
mapList: any[] = []; //地图点位数据组
|
mapList: any[] = []; //地图点位数据组
|
||||||
pois: any[] = [];
|
pois: any[] = [];
|
||||||
addressItems: any[] = []; //打点地址数据组
|
addressItems: any[] = []; //打点地址数据组
|
||||||
|
warringList: any[] = []; //打点地址数据组
|
||||||
abnormalList: any[] = [];
|
abnormalList: any[] = [];
|
||||||
i: any = {
|
i: any = {
|
||||||
unLoadingPlaceList: [],
|
unLoadingPlaceList: [],
|
||||||
@ -108,6 +109,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
if (res) {
|
if (res) {
|
||||||
console.log('异常预警');
|
console.log('异常预警');
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
this.warringList = res
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -309,6 +309,9 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
|||||||
errors: { required: '请填写货物名称' },
|
errors: { required: '请填写货物名称' },
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
goodsTypeName: (value: any) => value && value === '其它'
|
goodsTypeName: (value: any) => value && value === '其它'
|
||||||
|
},
|
||||||
|
blur: (value: any) => {
|
||||||
|
this.checkGoodsName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1237,4 +1240,21 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
this.payChange();
|
this.payChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkGoodsName() {
|
||||||
|
const name = this.sf3.getValue('/goodsName1');
|
||||||
|
if (!name || name.trim().length === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.service.request(this.service.$api_checkGoodsName, name).subscribe(res => {
|
||||||
|
if (res === false) {
|
||||||
|
const modalRef = this.modalService.error({
|
||||||
|
nzTitle: '货物名称含有违禁词,请重新输入!',
|
||||||
|
});
|
||||||
|
modalRef.afterClose.subscribe(result => {
|
||||||
|
// this.sf3.setValue('/goodsName1', null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user