优化
This commit is contained in:
@@ -740,7 +740,7 @@ function calculateFun(id) {
|
||||
distanceKm: 0,
|
||||
};
|
||||
let hasVehicle = delieryData.value.vehicleTypeNameList.every(item => item.vehicleTypeId)
|
||||
if (hasVehicle) {
|
||||
if (id && hasVehicle) {
|
||||
info.vehicleTypeId = delieryData.value.vehicleTypeNameList.map(item => item.vehicleTypeId).join(',')
|
||||
}
|
||||
info.weightTon = delieryData.value.deliveryTon;
|
||||
|
||||
Reference in New Issue
Block a user