|
|
@ -907,11 +907,16 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
rowSave(row, done, loading) { |
|
|
|
rowSave(row, done, loading) { |
|
|
|
if (row.carrierId.length > 0) { |
|
|
|
|
|
|
|
row.carrierId = row.carrierId.join(","); |
|
|
|
|
|
|
|
console.log( row.carrierId); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
console.log(row.carrierId, '=====1231231'); |
|
|
|
|
|
|
|
|
|
|
|
if (Array.isArray(row.vehicleOwners) && row.vehicleOwners.length > 0) { |
|
|
|
|
|
|
|
row.vehicleOwners = row.vehicleOwners.join(","); |
|
|
|
|
|
|
|
console.log(row.vehicleOwners); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
console.log(row.vehicleOwners, '=====1231231'); |
|
|
|
|
|
|
|
|
|
|
|
console.log(row,'================================================================'); |
|
|
|
console.log(row,'================================================================'); |
|
|
|
add(row).then( |
|
|
|
add(row).then( |
|
|
|