|
|
|
@ -643,6 +643,12 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
rowUpdate(row, index, done, loading) { |
|
|
|
|
console.log('swx>>>>>>>>>>>>>>'); |
|
|
|
|
if (Array.isArray(row.bindVehicles) && row.bindVehicles.length > 0) { |
|
|
|
|
row.bindVehicles = row.bindVehicles.join(","); |
|
|
|
|
console.log(row.bindVehicles); |
|
|
|
|
}else{ |
|
|
|
|
row.bindVehicles = ''; |
|
|
|
|
} |
|
|
|
|
update(row).then( |
|
|
|
|
() => { |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|