diff --git a/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts b/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts
index 7851a2a6..1c0a7051 100644
--- a/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts
+++ b/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts
@@ -172,6 +172,10 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
查看评价: 3
*/
handleCancel(type: string) {
+ if(!this.sfView.valid) {
+ this.service.msgSrv.error('请填写处理结果!')
+ return
+ }
const paramsa = {
...this.sfView.value,
handleStatus: 0,
@@ -193,6 +197,10 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
this.isVisibleRE = false
}
handleCancel2() {
+ if(!this.sfView.valid) {
+ this.service.msgSrv.error('请填写处理结果!')
+ return
+ }
const paramsa = {
id: this.channelId
}
@@ -212,6 +220,10 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
* 审核通过按钮
*/
handleOK() {
+ if(!this.sfView.valid) {
+ this.service.msgSrv.error('请填写处理结果!')
+ return
+ }
const paramsa = {
...this.sfView.value,
handleStatus: 1,
diff --git a/src/app/routes/order-management/components/complaint/complaint.component.ts b/src/app/routes/order-management/components/complaint/complaint.component.ts
index e308c49c..f0df957e 100644
--- a/src/app/routes/order-management/components/complaint/complaint.component.ts
+++ b/src/app/routes/order-management/components/complaint/complaint.component.ts
@@ -71,15 +71,13 @@ export class OrderManagementComplaintComponent implements OnInit {
if(this.selectedMainTabStatus) {
a.complaintType = this.selectedMainTabStatus
}
+ console.log( this.sf?.value);
+
const params: any = Object.assign({}, this.sf?.value || {});
delete params._$expand;
return {
...a,
...params,
- complainantTime: {
- start: this.sf?.value?.complainantTime?.[0] || '',
- end: this.sf?.value?.complainantTime?.[1] || ''
- }
};
}
get selectedRows() {
@@ -110,19 +108,12 @@ export class OrderManagementComplaintComponent implements OnInit {
widget: 'dict-select',
params: { dictKey: 'complaint:cause' },
containsAllLabel: true,
- visibleIf: {
- _$expand: (value: boolean) => value
- }
} as SFSelectWidgetSchema
},
complainantTime: {
- title: '投诉时间',
type: 'string',
- ui: {
- widget: 'date',
- mode: 'range',
- format: 'yyyy-MM-dd',
- } as SFDateWidgetSchema,
+ title: '投诉时间',
+ ui: { widget: 'sl-from-to', type: 'date', format: 'yyyy-MM-dd' } as SFDateWidgetSchema,
},
},
};
@@ -255,7 +246,6 @@ export class OrderManagementComplaintComponent implements OnInit {
*/
resetSF(): void {
this.sf.reset();
- this._$expand = false;
}
selectChange(e: number) {
this.resourceStatus = e;
diff --git a/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.html b/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.html
index 55175204..34bd3f40 100644
--- a/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.html
+++ b/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-12 10:52:50
* @LastEditors : Shiming
- * @LastEditTime : 2022-03-23 13:34:31
+ * @LastEditTime : 2022-03-24 09:48:40
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\compliance-audit\\compliance-audit.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@@ -87,13 +87,14 @@
{{ item?.payeeName }}/{{ item?.payeePhone }}
- {{ item.billCode }}
-
- {{ item?.resourceTypeLabel }}{{ item?.serviceTypeLabel }}
-
+ {{ item.billCode }}
+ {{ item.billCode }}
{{ item?.billStatusLabel }}
+
+ {{item?.billTypeLabel}}{{item?.serviceTypeLabel}}
+
{{ item?.goodsName }}
diff --git a/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.ts b/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.ts
index 0cee8081..f4477ef8 100644
--- a/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.ts
+++ b/src/app/routes/order-management/components/compliance-audit/compliance-audit.component.ts
@@ -331,6 +331,7 @@ export class OrderManagementComplianceAuditComponent implements OnInit {
{ title: '所属项目', index: 'enterpriseProjectName', width: '220px', className: 'text-left' },
{ title: '关联运单号', index: 'wayBillCode', width: '220px', className: 'text-left' },
{ title: '货源编号', index: 'resourceCode', width: '180px', className: 'text-left' },
+ { title: '服务类型', index: 'serviceTypeLabel', width: '180px', className: 'text-left' },
{ title: '装货地', index: 'loadingAddressArr', width: '180px', className: 'text-left' },
{
title: '卸货地',
@@ -374,13 +375,13 @@ export class OrderManagementComplianceAuditComponent implements OnInit {
title: '审核人',
width: '180px',
className: 'text-left',
- index: 'loadingLadingBillFilePath'
+ index: 'complianceName'
},
{
title: '审核时间',
width: '180px',
className: 'text-left',
- index: 'loadingLadingBillFilePath'
+ index: 'complianceTime'
},
{
title: '状态',
diff --git a/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.html b/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.html
index 130bfeff..ff01551d 100644
--- a/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.html
+++ b/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-12 10:52:50
* @LastEditors : Shiming
- * @LastEditTime : 2022-03-23 20:36:40
+ * @LastEditTime : 2022-03-24 09:30:32
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\receipts-audit\\receipts-audit.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@@ -98,7 +98,9 @@
{{ item?.payeeName }}/{{ item?.payeePhone }}
- {{ item.billCode }}
+
+ {{ item.billCode }}
+ {{ item.billCode }}
{{item?.billStatusLabel}}
diff --git a/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.ts b/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.ts
index 8158747b..d198a894 100644
--- a/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.ts
+++ b/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.ts
@@ -149,6 +149,13 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
placeholder: '最多100个单号,空号隔开'
}
},
+ wayBillCode: {
+ type: 'string',
+ title: '运单号',
+ ui: {
+ placeholder: '最多100个运单,空号隔开'
+ }
+ },
resourceCode: {
type: 'string',
title: '货源编号'
@@ -162,6 +169,9 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
searchDebounceTime: 300,
searchLoadingText: '搜索中...',
allowClear: true,
+ visibleIf: {
+ _$expand: (value: boolean) => value
+ },
onSearch: (q: any) => {
let str =q.replace(/^\s+|\s+$/g,"");
if (str) {
@@ -272,19 +282,38 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
}
} as SFSelectWidgetSchema
},
- settlementBasis: {
- title: '装卸凭证',
+ billStatus: {
+ title: '运输状态',
type: 'string',
+ default: '',
ui: {
widget: 'dict-select',
+ params: { dictKey: 'bill:status' },
containsAllLabel: true,
- params: { dictKey: 'goodresource:settlement:type' },
- containAllLable: true,
visibleIf: {
_$expand: (value: boolean) => value
}
} as SFSelectWidgetSchema
- }
+ },
+ loadingDocuments: {
+ type: 'string',
+ title: '装卸货凭证',
+ enum:[
+ {label: '全部',value: ''},
+ {label: '无装卸货凭证',value: '1'},
+ {label: '装卸货凭证齐全',value: '2'},
+ {label: '只有装货凭证',value: '3'},
+ {label: '只有卸货凭证',value: '4'},
+ ],
+ ui: {
+ widget: 'select',
+ placeholder: '请选择',
+ allowClear: true,
+ visibleIf: {
+ _$expand: (value: boolean) => value
+ },
+ }
+ },
},
type: 'object'
};
diff --git a/src/app/routes/order-management/components/risk-detail/risk-detail.component.html b/src/app/routes/order-management/components/risk-detail/risk-detail.component.html
index 5240118d..bfceb298 100644
--- a/src/app/routes/order-management/components/risk-detail/risk-detail.component.html
+++ b/src/app/routes/order-management/components/risk-detail/risk-detail.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-16 10:19:08
* @LastEditors : Shiming
- * @LastEditTime : 2022-03-23 19:12:19
+ * @LastEditTime : 2022-03-24 14:12:14
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk-detail\\risk-detail.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@@ -21,7 +21,7 @@
{{i?.representationsStatusLabel}}
- {{i?.driverName ? i?.driverName + '/': ''}} {{i?.driverPhone ?i?.driverPhone + '/': '' }} {{i?.carId}}
+ {{i?.driverName ? i?.driverName + '/': ''}} {{i?.driverPhone ?i?.driverPhone + '/': '' }} {{i?.carNo}}
{{i?.carCaptainName ? i?.carCaptainName+ '/' : ''}}{{i?.carCaptainPhone}}
{{i?.loadTime}}
{{i?.unloadTime}}
diff --git a/src/app/routes/order-management/components/risk/risk.component.html b/src/app/routes/order-management/components/risk/risk.component.html
index a08cc584..b211966d 100644
--- a/src/app/routes/order-management/components/risk/risk.component.html
+++ b/src/app/routes/order-management/components/risk/risk.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-12 10:52:50
* @LastEditors : Shiming
- * @LastEditTime : 2022-03-23 19:45:45
+ * @LastEditTime : 2022-03-24 19:53:19
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk\\risk.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@@ -65,7 +65,13 @@
[loading]="false"
>
- {{ item?.billCode }}
+ {{ item.billCode }}
+
+ {{ item?.representationsStatusLabel }}
+
+
+ {{item?.billTypeLabel}}{{item?.billTypeLabel === item?.serviceTypeLabel ? '' : item?.serviceTypeLabel}}
+
创建时间:{{ item?.createTime }}
diff --git a/src/app/routes/order-management/modal/vehicle/modify-captain/modify-captain.component.ts b/src/app/routes/order-management/modal/vehicle/modify-captain/modify-captain.component.ts
index 78c7517e..845db74c 100644
--- a/src/app/routes/order-management/modal/vehicle/modify-captain/modify-captain.component.ts
+++ b/src/app/routes/order-management/modal/vehicle/modify-captain/modify-captain.component.ts
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-30 14:45:39
* @LastEditors : Shiming
- * @LastEditTime : 2022-01-18 17:23:11
+ * @LastEditTime : 2022-03-24 10:28:48
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@@ -96,7 +96,7 @@ export class VehicleModifyCaptainComponent implements OnInit {
console.log(this.bankData);
const params = {
billIds: this.data?.ids,
- carCaptainId: value.id,
+ carCaptainId: value.appUserId,
bankData: this.bankData
};
this.service.request(this.service.$api_get_updateCarCaptainBatch, params).subscribe((res: any) => {
diff --git a/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.html b/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.html
index b4a58ddb..04a93740 100644
--- a/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.html
+++ b/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.html
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-15 13:17:42
* @LastEditors : Shiming
- * @LastEditTime : 2022-02-24 10:47:39
+ * @LastEditTime : 2022-03-24 19:17:58
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@@ -20,7 +20,7 @@
- 确认已阅读并知晓 《变更协议》
+ 确认已阅读并知晓 《变更协议》
diff --git a/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.ts b/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.ts
index 82cd03ef..347247e1 100644
--- a/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.ts
+++ b/src/app/routes/order-management/modal/vehicle/update-freight/update-freight.component.ts
@@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-15 13:17:42
* @LastEditors : Shiming
- * @LastEditTime : 2022-02-23 14:25:45
+ * @LastEditTime : 2022-03-24 19:17:10
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@@ -30,12 +30,16 @@ export class VehicleUpdateFreightComponent implements OnInit {
@Input()
data: any;
+ dataJSON: any;
+
calculateSub!: Subscription;
constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public service: OrderManagementService) {}
ngOnInit(): void {
console.log(this.data)
+ this.dataJSON = JSON.stringify(this.data)
+ console.log(this.dataJSON)
this.initSF(this.data);
}
initSF(data: any) {
diff --git a/src/app/routes/partner/account-management/components/account-detail/account-detail.component.html b/src/app/routes/partner/account-management/components/account-detail/account-detail.component.html
index 47e81e17..b232905e 100644
--- a/src/app/routes/partner/account-management/components/account-detail/account-detail.component.html
+++ b/src/app/routes/partner/account-management/components/account-detail/account-detail.component.html
@@ -11,13 +11,13 @@