车辆接口更新

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

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2022-01-18 09:51:21 * @Date : 2022-01-18 09:51:21
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-01-20 19:40:51 * @LastEditTime : 2022-01-20 19:45:54
* @FilePath : \\tms-obc-web\\proxy.conf.js * @FilePath : \\tms-obc-web\\proxy.conf.js
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -20,7 +20,7 @@ module.exports = {
// } // }
'//api': { '//api': {
target: { target: {
host: 'tms-api-test.eascs.com', host: 'tms-api-dev.eascs.com',
protocol: 'https:', protocol: 'https:',
port: 443 port: 443
}, },

View File

@ -259,13 +259,8 @@ export class SupplyManagementBulkComponent implements OnInit {
{ {
title: '货源状态', title: '货源状态',
className: 'text-left', className: 'text-left',
index: 'resourceStatus', index: 'resourceStatusLabel',
type: 'badge',
width: '120px', width: '120px',
badge: {
'1': { text: '待接单', color: 'success' },
'2': { text: '已接单', color: 'warning' },
},
}, },
{ {
title: '截止时间', title: '截止时间',

View File

@ -63,17 +63,17 @@ export class SupplyManagementUpdateFreightComponent implements OnInit {
change: (val: any) => this.changeNumVal(val, 2) change: (val: any) => this.changeNumVal(val, 2)
} as SFNumberWidgetSchema } as SFNumberWidgetSchema
}, },
href1: { // href1: {
type: 'number', // type: 'number',
title: '油卡', // title: '油卡',
minimum: 0, // minimum: 0,
ui: { // ui: {
prefix: '¥', // prefix: '¥',
widgetWidth: 200, // widgetWidth: 200,
precision: 2, // precision: 2,
change: (val: any) => this.changeNumVal(val, 3) // change: (val: any) => this.changeNumVal(val, 3)
} as SFNumberWidgetSchema // } as SFNumberWidgetSchema
}, // },
description5: { description5: {
type: 'number', title: '回单付', minimum: 0, maxLength: 140, ui: { type: 'number', title: '回单付', minimum: 0, maxLength: 140, ui: {
prefix: '¥', prefix: '¥',

View File

@ -501,13 +501,8 @@ export class SupplyManagementVehicleComponent implements OnInit {
{ {
title: '货源状态', title: '货源状态',
className: 'text-left', className: 'text-left',
index: 'resourceStatus', index: 'resourceStatusLabel',
type: 'badge',
width: '120px', width: '120px',
badge: {
'1': { text: '待接单', color: 'warning' },
'2': { text: '已接单', color: 'success' }
}
}, },
{ {
title: '创建时间', title: '创建时间',
@ -545,11 +540,11 @@ export class SupplyManagementVehicleComponent implements OnInit {
click: _record => this.amend(_record), click: _record => this.amend(_record),
iif: item => item.resourceStatus === '1' iif: item => item.resourceStatus === '1'
}, },
{ // {
text: '修改运费', // text: '修改运费',
click: _record => this.updateFreight(_record), // click: _record => this.updateFreight(_record),
iif: item => item.resourceStatus === '1' && item.serviceType === '2' // iif: item => item.resourceStatus === '1' && item.serviceType === '2'
}, // },
{ {
text: '取消货源', text: '取消货源',
click: _record => this.cancleGoodsSource(_record), click: _record => this.cancleGoodsSource(_record),