车辆接口更新
This commit is contained in:
@ -259,13 +259,8 @@ export class SupplyManagementBulkComponent implements OnInit {
|
||||
{
|
||||
title: '货源状态',
|
||||
className: 'text-left',
|
||||
index: 'resourceStatus',
|
||||
type: 'badge',
|
||||
index: 'resourceStatusLabel',
|
||||
width: '120px',
|
||||
badge: {
|
||||
'1': { text: '待接单', color: 'success' },
|
||||
'2': { text: '已接单', color: 'warning' },
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '截止时间',
|
||||
|
||||
@ -63,17 +63,17 @@ export class SupplyManagementUpdateFreightComponent implements OnInit {
|
||||
change: (val: any) => this.changeNumVal(val, 2)
|
||||
} as SFNumberWidgetSchema
|
||||
},
|
||||
href1: {
|
||||
type: 'number',
|
||||
title: '油卡',
|
||||
minimum: 0,
|
||||
ui: {
|
||||
prefix: '¥',
|
||||
widgetWidth: 200,
|
||||
precision: 2,
|
||||
change: (val: any) => this.changeNumVal(val, 3)
|
||||
} as SFNumberWidgetSchema
|
||||
},
|
||||
// href1: {
|
||||
// type: 'number',
|
||||
// title: '油卡',
|
||||
// minimum: 0,
|
||||
// ui: {
|
||||
// prefix: '¥',
|
||||
// widgetWidth: 200,
|
||||
// precision: 2,
|
||||
// change: (val: any) => this.changeNumVal(val, 3)
|
||||
// } as SFNumberWidgetSchema
|
||||
// },
|
||||
description5: {
|
||||
type: 'number', title: '回单付', minimum: 0, maxLength: 140, ui: {
|
||||
prefix: '¥',
|
||||
|
||||
@ -501,13 +501,8 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
||||
{
|
||||
title: '货源状态',
|
||||
className: 'text-left',
|
||||
index: 'resourceStatus',
|
||||
type: 'badge',
|
||||
index: 'resourceStatusLabel',
|
||||
width: '120px',
|
||||
badge: {
|
||||
'1': { text: '待接单', color: 'warning' },
|
||||
'2': { text: '已接单', color: 'success' }
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
@ -545,11 +540,11 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
||||
click: _record => this.amend(_record),
|
||||
iif: item => item.resourceStatus === '1'
|
||||
},
|
||||
{
|
||||
text: '修改运费',
|
||||
click: _record => this.updateFreight(_record),
|
||||
iif: item => item.resourceStatus === '1' && item.serviceType === '2'
|
||||
},
|
||||
// {
|
||||
// text: '修改运费',
|
||||
// click: _record => this.updateFreight(_record),
|
||||
// iif: item => item.resourceStatus === '1' && item.serviceType === '2'
|
||||
// },
|
||||
{
|
||||
text: '取消货源',
|
||||
click: _record => this.cancleGoodsSource(_record),
|
||||
|
||||
Reference in New Issue
Block a user