车辆接口更新

This commit is contained in:
wangshiming
2022-01-20 20:03:23 +08:00
parent f86f4cc801
commit 34dc8c83c6
4 changed files with 20 additions and 30 deletions

View File

@ -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: '截止时间',

View File

@ -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: '¥',

View File

@ -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),