车辆对接

This commit is contained in:
wangshiming
2021-12-16 20:28:23 +08:00
parent 7150f45b31
commit 4350fecab1
23 changed files with 494 additions and 231 deletions

View File

@ -80,7 +80,8 @@ export class SupplyManagementBulkComponent implements OnInit {
default: '',
ui: {
widget: 'dict-select',
params: { dictKey: 'ServiceType' },
containsAllLable: true,
params: { dictKey: 'service:type' },
visibleIf: {
_$expand: (value: boolean) => value,
},
@ -89,13 +90,10 @@ export class SupplyManagementBulkComponent implements OnInit {
settlementBasis: {
title: '结算依据',
type: 'string',
enum: [
{ label: '全部', value: '' },
{ label: '以收货为准', value: '1' },
{ label: '以发货为准', value: '2' },
],
ui: {
widget: 'select',
widget: 'dict-select',
containsAllLable: true,
params: { dictKey: 'goodresource:settlement:type' },
visibleIf: {
_$expand: (value: boolean) => value,
},
@ -180,8 +178,8 @@ export class SupplyManagementBulkComponent implements OnInit {
className: 'text-center',
render: 'resourceCode'
},
{ title: '服务类型', render: 'serviceType', width: '120px', className: 'text-center' },
{ title: '货主', index: 'shipperAppUserNmae', width: '120px', className: 'text-center' },
{ title: '服务类型', index: 'serviceTypeLabel', width: '120px', className: 'text-center' },
{ title: '货主', index: 'shipperAppUserName', width: '120px', className: 'text-center' },
{ title: '项目名称', index: 'enterpriseProjectName', width: '120px', className: 'text-center' },
{ title: '关联订单', render: 'orderSn', width: '120px', className: 'text-center' },
{ title: '货物信息', render: 'goodsInfos', width: '180px', className: 'text-center' },
@ -221,8 +219,8 @@ export class SupplyManagementBulkComponent implements OnInit {
type: 'badge',
width: '120px',
badge: {
1: { text: '待接单', color: 'success' },
2: { text: '已接单', color: 'warning' },
'1': { text: '待接单', color: 'success' },
'2': { text: '已接单', color: 'warning' },
},
},
{
@ -244,10 +242,10 @@ export class SupplyManagementBulkComponent implements OnInit {
type: 'badge',
width: '170px',
badge: {
1: { text: '待审核', color: 'warning' },
2: { text: '审核通过', color: 'success' },
3: { text: '不通过', color: 'default' },
4: { text: '已取消', color: 'default' },
'1': { text: '待审核', color: 'warning' },
'2': { text: '审核通过', color: 'success' },
'3': { text: '不通过', color: 'default' },
'4': { text: '已取消', color: 'default' },
},
},
{