|
|
|
@ -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); |
|
|
|
|