批量审核
This commit is contained in:
@ -85,7 +85,6 @@ loadTime: any; // 货源单设置回显
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
console.log(this.id)
|
||||
this.initST();
|
||||
this.initSF();
|
||||
this.initSF3();
|
||||
@ -288,13 +287,11 @@ loadTime: any; // 货源单设置回显
|
||||
}
|
||||
initData() {
|
||||
this.service.request(this.service.$api_set_getBulkOrderDetail, {id: this.id}).subscribe(res => {
|
||||
console.log(res)
|
||||
if (res) {
|
||||
this.i = res;
|
||||
// 对装货凭证进行初始化
|
||||
let arr : any= []
|
||||
res?.receiptFilePath.forEach((element: any, index: any) => {
|
||||
console.log(index)
|
||||
arr.push( {
|
||||
url: element,
|
||||
status: 'done',
|
||||
@ -458,9 +455,7 @@ loadTime: any; // 货源单设置回显
|
||||
|
||||
unloadingPeopleVehiclesGoodsFilePath: this.sf.value?.unloadingPeopleVehiclesGoodsFilePath?.data ? this.sf.value?.unloadingPeopleVehiclesGoodsFilePath.data.fullFilePath : this.sf.value?.unloadingPeopleVehiclesGoodsFilePath?.url,
|
||||
}
|
||||
console.log(params)
|
||||
this.service.request(this.service.$api_set_modifyBulkOrder, params).subscribe((res: any) => {
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('修改成功!');
|
||||
this.router.navigate(['/order-management/bulk']);
|
||||
@ -765,7 +760,6 @@ handleChange1(info: NzUploadChangeParam): void {
|
||||
case 'done':
|
||||
let fileList = [...info.fileList];
|
||||
// 2. Read from response and show file link
|
||||
console.log(fileList)
|
||||
fileList = fileList.map((file: any) => {
|
||||
if (file.response) {
|
||||
file.url = file.response.data.fullFilePath;
|
||||
|
||||
@ -60,13 +60,11 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
console.log(this.id)
|
||||
this.initData()
|
||||
}
|
||||
|
||||
initData() {
|
||||
this.service.request(this.service.$api_getBulkBillDetail, {id: this.id}).subscribe(res => {
|
||||
console.log(res)
|
||||
if (res) {
|
||||
this.i =res;
|
||||
this.attObj = this.i?.billExpenseDetails?.filter((data: any) => data.expenseCode === 'ATT')[0];
|
||||
@ -81,7 +79,6 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
|
||||
}
|
||||
// 修改订单
|
||||
changeOrder() {
|
||||
console.log(this.id)
|
||||
this.router.navigate(['order-management/bulk-detailChange', this.id])
|
||||
}
|
||||
agreement(value: any) {
|
||||
|
||||
@ -138,7 +138,6 @@ tabs = {
|
||||
})
|
||||
}
|
||||
selectChange(e: number) {
|
||||
console.log(e);
|
||||
this.resourceStatus = e;
|
||||
this.initST();
|
||||
setTimeout(() => {
|
||||
@ -181,7 +180,6 @@ tabs = {
|
||||
searchDebounceTime: 300,
|
||||
searchLoadingText: '搜索中...',
|
||||
onSearch: (q: any) => {
|
||||
console.log(q)
|
||||
if (!!q) {
|
||||
return this.service
|
||||
.request(this.service.$api_enterpriceList, { enterpriseName: q})
|
||||
@ -291,19 +289,6 @@ tabs = {
|
||||
asyncData: () => this.shipperservice.getNetworkFreightForwarder(),
|
||||
},
|
||||
},
|
||||
// goodsName: {
|
||||
// type: 'string',
|
||||
// title: '货物名称',
|
||||
// ui: {
|
||||
// widget: 'select',
|
||||
// placeholder: '请选择',
|
||||
// visibleIf: {
|
||||
// _$expand: (value: boolean) => value,
|
||||
// },
|
||||
// allowClear: true,
|
||||
// asyncData: () => this.getCatalogueMember(),
|
||||
// },
|
||||
// },
|
||||
goodsNameId: {
|
||||
type: 'string',
|
||||
title: '货物名称',
|
||||
@ -586,7 +571,6 @@ tabs = {
|
||||
this.sf?.setValue('/_$expand', this._$expand);
|
||||
}
|
||||
tabChange(item: any) {
|
||||
console.log(item)
|
||||
}
|
||||
/**
|
||||
* 重置表单
|
||||
@ -596,20 +580,6 @@ tabs = {
|
||||
this._$expand = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
getCatalogueMember() {
|
||||
const params = {
|
||||
};
|
||||
return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe(
|
||||
map((res) => {
|
||||
if (res) {
|
||||
console.log(res)
|
||||
}
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导入货源
|
||||
*/
|
||||
@ -617,7 +587,6 @@ tabs = {
|
||||
|
||||
}
|
||||
audit(item: any) {
|
||||
console.log(item)
|
||||
}
|
||||
|
||||
/*
|
||||
@ -627,14 +596,12 @@ tabs = {
|
||||
查看评价: 3
|
||||
*/
|
||||
handleCancel(type: string) {
|
||||
console.log(type)
|
||||
if(type === '0') {
|
||||
this.isVisible = false
|
||||
} else if(type === '1') {
|
||||
console.log(type)
|
||||
this.isVisibleView = false
|
||||
} else if(type === '2') {
|
||||
console.log(type)
|
||||
this.isVisibleEvaluate = false
|
||||
}
|
||||
}
|
||||
@ -652,7 +619,6 @@ tabs = {
|
||||
* 浮动费用查看
|
||||
*/
|
||||
FloatView(item: any) {
|
||||
console.log(item)
|
||||
this.changeViewId = item.id;
|
||||
this.service.request(this.service.$api_getChangeRecordBulkDetail, {id: this.changeViewId}).subscribe((res) => {
|
||||
this.ViewCause = res;
|
||||
@ -663,7 +629,6 @@ tabs = {
|
||||
*查看评价
|
||||
*/
|
||||
viewEvaluate(item: any) {
|
||||
console.log(item)
|
||||
this.isVisibleEvaluate = true
|
||||
}
|
||||
/**
|
||||
@ -713,8 +678,6 @@ tabs = {
|
||||
this.selectedRows.forEach(item => {
|
||||
params.push(item.id);
|
||||
});
|
||||
console.log(this.selectedRows)
|
||||
console.log(params)
|
||||
this.service.request(this.service.$api_get_batchSignBulkOrder, params).subscribe(res => {
|
||||
if (res) {
|
||||
this.st.load(1);
|
||||
@ -746,7 +709,6 @@ tabs = {
|
||||
nzTitle: '是否确定立即撤销费用变更!</i>',
|
||||
nzOnOk: () =>
|
||||
this.service.request(this.service.$api_get_revokeChangeRecord, { id: item.id}).subscribe((res) => {
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('撤销成功!')
|
||||
this.stFloat.reload()
|
||||
|
||||
@ -142,7 +142,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
this.complaint = JSON.parse(this.ar.snapshot.queryParams.detail)
|
||||
this.datailList.complainantName = this.complaint?.shipperAppUserName
|
||||
this.datailList.complainantPartyLabel = this.complaint?.driverIdLabel
|
||||
console.log(this.datailList)
|
||||
}
|
||||
})
|
||||
}
|
||||
@ -163,9 +162,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
}
|
||||
})
|
||||
}
|
||||
kkk(value: any) {
|
||||
console.log(value)
|
||||
}
|
||||
goBack() {
|
||||
window.history.go(-1)
|
||||
}
|
||||
@ -182,7 +178,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
id: this.channelId
|
||||
}
|
||||
this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('已拒绝!')
|
||||
this.isVisibleRE = false
|
||||
@ -202,7 +197,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
id: this.channelId
|
||||
}
|
||||
this.service.request(this.service.$api_get_canelComplaint, paramsa).subscribe((res: any) =>{
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('已拒绝!')
|
||||
this.isVisibleRE = false
|
||||
@ -224,7 +218,6 @@ export class OrderManagementComplaintDetailComponent implements OnInit {
|
||||
id: this.channelId
|
||||
}
|
||||
this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('已通过!')
|
||||
this.isVisibleRE = false
|
||||
|
||||
@ -217,7 +217,6 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
this.sf?.setValue('/_$expand', this._$expand);
|
||||
}
|
||||
tabChange(item: any) {
|
||||
console.log(item)
|
||||
}
|
||||
/**
|
||||
* 重置表单
|
||||
@ -226,24 +225,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
this.sf.reset();
|
||||
this._$expand = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 获取录单员
|
||||
getCatalogueMember() {
|
||||
const params = {
|
||||
};
|
||||
return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe(
|
||||
map((res) => {
|
||||
if (res) {
|
||||
console.log(res)
|
||||
}
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
selectChange(e: number) {
|
||||
console.log(e);
|
||||
this.resourceStatus = e;
|
||||
this.initST();
|
||||
setTimeout(() => {
|
||||
@ -257,7 +239,6 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
|
||||
}
|
||||
audit(item: any) {
|
||||
console.log(item)
|
||||
}
|
||||
|
||||
/*
|
||||
@ -273,7 +254,6 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
id: this.channelId
|
||||
}
|
||||
this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('已拒绝!')
|
||||
this.isVisibleRE = false
|
||||
@ -292,7 +272,6 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
id: this.channelId
|
||||
}
|
||||
this.service.request(this.service.$api_get_canelComplaint, paramsa).subscribe((res: any) =>{
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('已拒绝!')
|
||||
this.isVisibleRE = false
|
||||
@ -313,7 +292,6 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
id: this.channelId
|
||||
}
|
||||
this.service.request(this.service.$api_get_dealWithComplaint, paramsa).subscribe((res: any) =>{
|
||||
console.log(res)
|
||||
if(res) {
|
||||
this.service.msgSrv.success('已通过!')
|
||||
this.isVisibleRE = false
|
||||
|
||||
@ -120,9 +120,6 @@ export class OrderManagementRiskDetailComponent implements OnInit {
|
||||
}
|
||||
})
|
||||
}
|
||||
kkk(value: any) {
|
||||
console.log(value)
|
||||
}
|
||||
goBack() {
|
||||
window.history.go(-1)
|
||||
}
|
||||
|
||||
@ -391,7 +391,6 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
|
||||
|
||||
selectChange(e: number) {
|
||||
console.log(e);
|
||||
this.resourceStatus = e;
|
||||
this.initST();
|
||||
setTimeout(() => {
|
||||
@ -427,7 +426,6 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
representationsStatus: 3,
|
||||
};
|
||||
this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => {
|
||||
console.log(res);
|
||||
if (res) {
|
||||
this.service.msgSrv.success('审核通过成功!');
|
||||
this.isVisibleRE = false;
|
||||
@ -441,7 +439,6 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
* 审核拒绝按钮
|
||||
*/
|
||||
reject() {
|
||||
console.log(this.sfView.value);
|
||||
let idList: any[] = [];
|
||||
if(this.selectedRows.length > 0) {
|
||||
this.selectedRows.forEach(item => {
|
||||
@ -456,7 +453,6 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
representationsStatus: 4,
|
||||
};
|
||||
this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => {
|
||||
console.log(res);
|
||||
if (res) {
|
||||
this.service.msgSrv.success('审核拒绝成功!');
|
||||
this.isVisibleRE = false;
|
||||
@ -477,13 +473,11 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
} else {
|
||||
this.initSTAudit(2);
|
||||
}
|
||||
console.log(item);
|
||||
}
|
||||
/**
|
||||
*查看详情
|
||||
*/
|
||||
viewEvaluate(item: any) {
|
||||
console.log(item);
|
||||
this.router.navigate(['/order-management/risk-detail', item.id]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -127,7 +127,6 @@ resourceStatus: any;
|
||||
GoingQuantity: 0,
|
||||
totalCount: 0
|
||||
};
|
||||
console.log(this.tabs)
|
||||
this.service.request(this.service.$api_statisticalStatus,{...this.reqParams}).subscribe(res => {
|
||||
if (res) {
|
||||
let totalCount = 0;
|
||||
@ -177,7 +176,6 @@ resourceStatus: any;
|
||||
searchDebounceTime: 300,
|
||||
searchLoadingText: '搜索中...',
|
||||
onSearch: (q: any) => {
|
||||
console.log(q)
|
||||
if (!!q) {
|
||||
return this.service
|
||||
.request(this.service.$api_enterpriceList, { enterpriseName: q})
|
||||
@ -560,24 +558,7 @@ resourceStatus: any;
|
||||
this.sf.reset();
|
||||
this._$expand = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 获取录单员
|
||||
getCatalogueMember() {
|
||||
const params = {
|
||||
};
|
||||
return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe(
|
||||
map((res) => {
|
||||
if (res) {
|
||||
console.log(res)
|
||||
}
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
selectChange(e: number) {
|
||||
console.log(e);
|
||||
this.resourceStatus = e;
|
||||
this.initST();
|
||||
setTimeout(() => {
|
||||
@ -592,7 +573,6 @@ resourceStatus: any;
|
||||
|
||||
}
|
||||
audit(item: any) {
|
||||
console.log(item)
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user