fix bug
This commit is contained in:
@ -48,11 +48,6 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
type: 5,
|
type: 5,
|
||||||
count: 0,
|
count: 0,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: '待接单',
|
|
||||||
type: 5,
|
|
||||||
count: 0,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: '待发车',
|
name: '待发车',
|
||||||
type: 5,
|
type: 5,
|
||||||
@ -118,7 +113,7 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
no1: {
|
no1: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '托运人'
|
title: '货主'
|
||||||
},
|
},
|
||||||
no3: {
|
no3: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -158,7 +153,7 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
no10: {
|
no10: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '收款人',
|
title: '车队长',
|
||||||
ui: {
|
ui: {
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
_$expand: (value: boolean) => value,
|
_$expand: (value: boolean) => value,
|
||||||
@ -207,6 +202,57 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
asyncData: () => this.getCatalogueMember(),
|
asyncData: () => this.getCatalogueMember(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
sex3: {
|
||||||
|
title: '网络货运人',
|
||||||
|
type: 'string',
|
||||||
|
default: 0,
|
||||||
|
enum: [
|
||||||
|
{ label: '未知', value: 0 },
|
||||||
|
{ label: '男', value: 1 },
|
||||||
|
{ label: '女', value: 2 },
|
||||||
|
{ label: '保密', value: 3 },
|
||||||
|
],
|
||||||
|
ui: {
|
||||||
|
widget: 'select',
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value,
|
||||||
|
},
|
||||||
|
} as SFSelectWidgetSchema,
|
||||||
|
},
|
||||||
|
sex4: {
|
||||||
|
title: '货物名称',
|
||||||
|
type: 'string',
|
||||||
|
default: 0,
|
||||||
|
enum: [
|
||||||
|
{ label: '未知', value: 0 },
|
||||||
|
{ label: '男', value: 1 },
|
||||||
|
{ label: '女', value: 2 },
|
||||||
|
{ label: '保密', value: 3 },
|
||||||
|
],
|
||||||
|
ui: {
|
||||||
|
widget: 'select',
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value,
|
||||||
|
},
|
||||||
|
} as SFSelectWidgetSchema,
|
||||||
|
},
|
||||||
|
sex5: {
|
||||||
|
title: '服务类型',
|
||||||
|
type: 'string',
|
||||||
|
default: 0,
|
||||||
|
enum: [
|
||||||
|
{ label: '未知', value: 0 },
|
||||||
|
{ label: '男', value: 1 },
|
||||||
|
{ label: '女', value: 2 },
|
||||||
|
{ label: '保密', value: 3 },
|
||||||
|
],
|
||||||
|
ui: {
|
||||||
|
widget: 'select',
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value,
|
||||||
|
},
|
||||||
|
} as SFSelectWidgetSchema,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
type: 'object',
|
type: 'object',
|
||||||
};
|
};
|
||||||
@ -219,18 +265,22 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
initST() {
|
initST() {
|
||||||
this.columns = [
|
this.columns = [
|
||||||
{ title: '', type: 'checkbox', width: '50px', className: 'text-center' },
|
{ title: '', type: 'checkbox', width: '50px', className: 'text-center' },
|
||||||
|
|
||||||
{
|
{
|
||||||
title: '运单号',
|
title: '订单号',
|
||||||
width: '100px',
|
width: '100px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
render: 'goodsId'
|
render: 'goodsId'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '货源编号',
|
title: '运费明细',
|
||||||
width: '100px',
|
width: '100px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
},
|
},
|
||||||
{ title: '托运人', index: 'externalSn', width: '120px', className: 'text-center' },
|
{ title: '网络货运人', index: 'externalSn', width: '120px', className: 'text-center' },
|
||||||
|
{ title: '货主', index: 'externalSn', width: '120px', className: 'text-center' },
|
||||||
|
{ title: '关联运单号', index: 'linkUrl', width: '120px', className: 'text-center' },
|
||||||
|
{ title: '货源编号', index: 'linkUrl', width: '120px', className: 'text-center' },
|
||||||
{ title: '装货地', index: 'linkUrl', width: '120px', className: 'text-center' },
|
{ title: '装货地', index: 'linkUrl', width: '120px', className: 'text-center' },
|
||||||
{
|
{
|
||||||
title: '卸货地',
|
title: '卸货地',
|
||||||
@ -238,38 +288,16 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
width: '120px',
|
width: '120px',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '货物名称',
|
title: '货物信息',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '120px',
|
width: '120px',
|
||||||
}, {
|
}, {
|
||||||
title: '重量/体积',
|
|
||||||
className: 'text-center',
|
|
||||||
width: '120px',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '承运司机',
|
title: '承运司机',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '120px',
|
width: '120px',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '车牌号',
|
title: '承运司机',
|
||||||
className: 'text-center',
|
|
||||||
width: '120px',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '出价',
|
|
||||||
className: 'text-center',
|
|
||||||
width: '120px',
|
|
||||||
render: 'enStatusStr27878'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '浮动费用',
|
|
||||||
className: 'text-center',
|
|
||||||
width: '120px',
|
|
||||||
render: 'feiong'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '成交金额',
|
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '120px',
|
width: '120px',
|
||||||
},
|
},
|
||||||
@ -286,7 +314,7 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '支付状态',
|
title: '装卸货时间',
|
||||||
width: '170px',
|
width: '170px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
},
|
},
|
||||||
@ -294,37 +322,6 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'enStatusStr3',
|
index: 'enStatusStr3',
|
||||||
type: 'badge',
|
|
||||||
width: '100px',
|
|
||||||
badge: {
|
|
||||||
正常: { text: '正常', color: 'success' },
|
|
||||||
冻结: { text: '冻结', color: 'warning' },
|
|
||||||
废弃: { text: '废弃', color: 'default' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '异常原因',
|
|
||||||
className: 'text-center',
|
|
||||||
index: 'enStatusStr3',
|
|
||||||
type: 'badge',
|
|
||||||
width: '100px',
|
|
||||||
badge: {
|
|
||||||
正常: { text: '正常', color: 'success' },
|
|
||||||
冻结: { text: '冻结', color: 'warning' },
|
|
||||||
废弃: { text: '废弃', color: 'default' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '运单状态',
|
|
||||||
className: 'text-center',
|
|
||||||
index: 'enStatusStr3',
|
|
||||||
type: 'badge',
|
|
||||||
width: '100px',
|
|
||||||
badge: {
|
|
||||||
正常: { text: '正常', color: 'success' },
|
|
||||||
冻结: { text: '冻结', color: 'warning' },
|
|
||||||
废弃: { text: '废弃', color: 'default' },
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
|||||||
@ -123,7 +123,7 @@ export class VehicleComponentsListComponent implements OnInit {
|
|||||||
title: '是否挂靠',
|
title: '是否挂靠',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
widget: 'dict-select',
|
||||||
params: { dictKey: 'CarColor' },
|
params: { dictKey: 'Whether' },
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value,
|
expand: (value: boolean) => value,
|
||||||
},
|
},
|
||||||
@ -158,7 +158,7 @@ export class VehicleComponentsListComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
this.ui = { '*': { spanLabelFixed: 110, grid: { span: 8, gutter: 4 }, enter: () => this.st.load() } };
|
this.ui = { '*': { spanLabelFixed: 130, grid: { span: 8, gutter: 4 }, enter: () => this.st.load() } };
|
||||||
}
|
}
|
||||||
|
|
||||||
initST() {
|
initST() {
|
||||||
|
|||||||
Reference in New Issue
Block a user