Browse Source

修复编辑判断

fix_bug_pro20231227
13208366016 1 year ago
parent
commit
1587f911ea
  1. 6
      src/views/basicdata/driverArtery/basicdataDriverArtery.vue

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

@ -640,7 +640,7 @@ export default {
}
if (Array.isArray(row.warehouseId)) {
row.warehouseId = row.warehouseId.join(',');//
row.warehouseId = row.warehouseId.join(','); //
console.log(row.warehouseId);
}
add(row).then(
@ -663,6 +663,10 @@ export default {
row.bindVehicles = row.bindVehicles.join(',');
console.log(row.bindVehicles);
}
if (Array.isArray(row.warehouseId)) {
row.warehouseId = row.warehouseId.join(','); //
console.log(row.warehouseId);
}
update(row).then(
() => {
this.onLoad(this.page);

Loading…
Cancel
Save