Browse Source

Merge branch 'dev' into pre-production

fix_bug_pro20231227
pref_mail@163.com 1 year ago
parent
commit
720c85c841
  1. 1
      src/views/basic/property/basicPropertyDetails.vue
  2. 9
      src/views/basicdata/driverArtery/basicdataDriverArtery.vue
  3. 2
      src/views/basicdata/vehicle/basicdataVehicle.vue

1
src/views/basic/property/basicPropertyDetails.vue

@ -580,6 +580,7 @@ export default {
this.option.column = this.option.column.filter((item, index, self) => { this.option.column = this.option.column.filter((item, index, self) => {
return index === self.findIndex(t => t.prop === item.prop); return index === self.findIndex(t => t.prop === item.prop);
}); });
this.getListvalues(masterId);
this.loading = false; this.loading = false;
console.log('所有 Promise 都已完成>>>>>', this.option.column); console.log('所有 Promise 都已完成>>>>>', this.option.column);
// //

9
src/views/basicdata/driverArtery/basicdataDriverArtery.vue

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

2
src/views/basicdata/vehicle/basicdataVehicle.vue

@ -915,6 +915,8 @@ export default {
if (Array.isArray(row.vehicleOwners) && row.vehicleOwners.length > 0) { if (Array.isArray(row.vehicleOwners) && row.vehicleOwners.length > 0) {
row.vehicleOwners = row.vehicleOwners.join(","); row.vehicleOwners = row.vehicleOwners.join(",");
console.log(row.vehicleOwners); console.log(row.vehicleOwners);
}else{
row.vehicleOwners=''
} }
console.log(row.vehicleOwners, '=====1231231'); console.log(row.vehicleOwners, '=====1231231');

Loading…
Cancel
Save