车辆接口更新

This commit is contained in:
wangshiming
2022-01-14 15:19:26 +08:00
parent 387c63bdb3
commit 37108424e6
9 changed files with 26 additions and 34 deletions

View File

@ -268,19 +268,19 @@ export class CostManagementComponent implements OnInit {
title: '操作', title: '操作',
fixed: 'right', fixed: 'right',
className: 'text-center', className: 'text-center',
width: 90, width: '90px',
buttons: [ buttons: [
{ {
text: '浏览', text: '浏览',
click: item => this.routeTo('/financial-management/cost-management/detail/' + item.id) click: item => this.routeTo('/financial-management/cost-management/detail/' + item.id)
}, },
{ {
text: '审核', text: '审核 ',
click: item => this.auditAction(item), click: item => this.auditAction(item),
iif: item => item.sts === 2 iif: item => item.sts === 2
}, },
{ {
text: '修改', text: '修改 ',
click: item => this.router.navigate(['/financial-management/cost-management/expenses-receivable/1'], { queryParams: { id: 1 } }) click: item => this.router.navigate(['/financial-management/cost-management/expenses-receivable/1'], { queryParams: { id: 1 } })
} }
] ]

View File

@ -482,11 +482,11 @@ tabs = {
{ {
title: '操作', title: '操作',
fixed: 'right', fixed: 'right',
width: '200px', width: '120px',
className: 'text-left', className: 'text-left',
buttons: [ buttons: [
{ {
text: '查看评价', text: '查看评价 ',
click: (_record) => this.viewEvaluate(_record), click: (_record) => this.viewEvaluate(_record),
iif: item => item.billStatus == '5', iif: item => item.billStatus == '5',
}, },
@ -496,22 +496,22 @@ tabs = {
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6',
}, },
{ {
text: '变更运费', text: '变更运费 ',
click: (_record) => this.updateFreight(_record), click: (_record) => this.updateFreight(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
}, },
{ {
text: '确认签收', text: '确认签收 ',
click: (_record) => this.confirmReceipt(_record), click: (_record) => this.confirmReceipt(_record),
iif: item => item.billStatus == '4', iif: item => item.billStatus == '4',
}, },
{ {
text: '取消订单', text: '取消订单 ',
click: (_record) => this.cancellation(_record), click: (_record) => this.cancellation(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1',
}, },
{ {
text: '修改订单', text: '修改订单 ',
click: (_record) => this.changeOrder(_record), click: (_record) => this.changeOrder(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
}, },

View File

@ -424,11 +424,11 @@ resourceStatus: any;
{ {
title: '操作', title: '操作',
fixed: 'right', fixed: 'right',
width: '200px', width: '120px',
className: 'text-left', className: 'text-left',
buttons: [ buttons: [
{ {
text: '查看评价', text: '查看评价 ',
click: (_record) => this.viewEvaluate(_record), click: (_record) => this.viewEvaluate(_record),
iif: item => item.billStatus == '5', iif: item => item.billStatus == '5',
}, },
@ -438,27 +438,27 @@ resourceStatus: any;
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6',
}, },
{ {
text: '变更运费', text: '变更运费 ',
click: (_record) => this.updateFreight(_record), click: (_record) => this.updateFreight(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
}, },
{ {
text: '确认签收', text: '确认签收 ',
click: (_record) => this.confirmReceipt(_record), click: (_record) => this.confirmReceipt(_record),
iif: item => item.billStatus == '4', iif: item => item.billStatus == '4',
}, },
{ {
text: '取消订单', text: '取消订单 ',
click: (_record) => this.cancellation(_record), click: (_record) => this.cancellation(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '1',
}, },
{ {
text: '修改订单', text: '修改订单 ',
click: (_record) => this.changeOrder(_record), click: (_record) => this.changeOrder(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
}, },
{ {
text: '查看轨迹', text: '查看轨迹 ',
click: (_record) => this.cancellation(_record), click: (_record) => this.cancellation(_record),
iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3', iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3',
}, },

View File

@ -494,7 +494,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
click: _record => this.nextOrder(_record) click: _record => this.nextOrder(_record)
}, },
{ {
text: '重新指派', text: '重新指派 ',
click: _record => this.assignedCar(_record), click: _record => this.assignedCar(_record),
iif: item => item.resourceStatus === '1' && item.serviceType === '2' iif: item => item.resourceStatus === '1' && item.serviceType === '2'
} }

View File

@ -34,7 +34,6 @@ export class CloseAccountComponent implements OnInit {
{ title: '网络货运人', index: 'networkTransporterName' }, { title: '网络货运人', index: 'networkTransporterName' },
{ title: '货主名称', index: 'enterpriseName' }, { title: '货主名称', index: 'enterpriseName' },
{ title: '客户编码', index: 'crmCustomerCode' }, { title: '客户编码', index: 'crmCustomerCode' },
{ title: '供应商编码', index: 'crmSupplierCode' },
{ {
title: '操作', title: '操作',
buttons: [ buttons: [
@ -121,14 +120,6 @@ export class CloseAccountComponent implements OnInit {
_$expand: (value: boolean) => value _$expand: (value: boolean) => value
} } } }
}, },
crmSupplierCode: {
type: 'string',
title: '供应商编码',
ui: { placeholder: '请输入',
visibleIf: {
_$expand: (value: boolean) => value
} }
},
} }
}; };

View File

@ -296,11 +296,11 @@ export class UserCenterComponentsDriverComponent implements OnInit {
{ title: '注册时间', className: 'text-center', index: 'createTime' }, { title: '注册时间', className: 'text-center', index: 'createTime' },
{ {
title: '操作', title: '操作',
width: '170px', width: '110px',
className: 'text-center', className: 'text-center',
buttons: [ buttons: [
{ {
text: '查看', text: '查看  ',
click: item => { click: item => {
this.router.navigate(['./detail', item.appUserId], { relativeTo: this.ar }); this.router.navigate(['./detail', item.appUserId], { relativeTo: this.ar });
// this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } }); // this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } });
@ -311,7 +311,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
click: item => this.settingAction(item) click: item => this.settingAction(item)
}, },
{ {
text: '资金账户', text: '资金账户 ',
click: item => this.showAccountDetail(item) click: item => this.showAccountDetail(item)
} }
] ]

View File

@ -202,11 +202,11 @@ export class FreightComponentsListComponent implements OnInit {
}, },
{ {
title: '操作', title: '操作',
width: '170px', width: '110px',
className: 'text-center', className: 'text-center',
buttons: [ buttons: [
{ {
text: '查看', text: '查看  ',
click: item => { click: item => {
this.router.navigate(['./detail', item.id], { relativeTo: this.ar }); this.router.navigate(['./detail', item.id], { relativeTo: this.ar });
// this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } }); // this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } });
@ -217,7 +217,7 @@ export class FreightComponentsListComponent implements OnInit {
click: item => this.settingAction(item) click: item => this.settingAction(item)
}, },
{ {
text: '资金账户', text: '资金账户 ',
click: item => this.showAccountDetail(item) click: item => this.showAccountDetail(item)
} }
] ]

View File

@ -428,7 +428,7 @@ tabs = {
{ {
title: '操作', title: '操作',
fixed: 'right', fixed: 'right',
width: '200px', width: '110px',
className: 'text-left', className: 'text-left',
buttons: [ buttons: [
{ {
@ -470,6 +470,7 @@ tabs = {
{ {
title: '操作', title: '操作',
fixed: 'right', fixed: 'right',
width: '80px',
className: 'text-left', className: 'text-left',
buttons: [ buttons: [
{ {

View File

@ -372,7 +372,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
{ {
title: '操作', title: '操作',
fixed: 'right', fixed: 'right',
width: '200px', width: '110px',
className: 'text-left', className: 'text-left',
buttons: [ buttons: [
{ {