fix bug
This commit is contained in:
@ -333,7 +333,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
placeholder: '请输入'
|
||||
}
|
||||
},
|
||||
maxWeight: {
|
||||
carModel: {
|
||||
type: 'string',
|
||||
title: '车型/车长',
|
||||
ui: {
|
||||
@ -344,7 +344,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
errors: { required: '请选择车型' }
|
||||
}
|
||||
},
|
||||
maxCube: {
|
||||
carLength: {
|
||||
type: 'string',
|
||||
title: '',
|
||||
ui: {
|
||||
@ -356,7 +356,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
},
|
||||
required: ['weight', 'maxWeight', 'maxCube']
|
||||
required: ['weight', 'carModel', 'carLength']
|
||||
};
|
||||
this.ui4 = {
|
||||
'*': {
|
||||
@ -372,10 +372,10 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
$number: {
|
||||
grid: { span: 8 }
|
||||
},
|
||||
$maxWeight: {
|
||||
$carModel: {
|
||||
grid: { span: 12 }
|
||||
},
|
||||
$maxCube: {
|
||||
$carLength: {
|
||||
grid: { span: 12 }
|
||||
}
|
||||
};
|
||||
@ -781,8 +781,8 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
{
|
||||
...this.sf4.value,
|
||||
...this.sf3.value,
|
||||
maxWeight: this.sf4.value.maxWeight.join(','),
|
||||
maxCube: this.sf4.value.maxCube.join(',')
|
||||
carModel: this.sf4.value.carModel.join(','),
|
||||
carLength: this.sf4.value.carLength.join(',')
|
||||
}
|
||||
];
|
||||
// 运费信息
|
||||
|
||||
Reference in New Issue
Block a user