Browse Source

优化部分bug

dev
qb 1 month ago
parent
commit
05986c5228
  1. 7
      src/views/distribution/artery/VehicleNodeImgs.vue
  2. 7
      src/views/distribution/inventory/delivery/OrderInTransit.vue

7
src/views/distribution/artery/VehicleNodeImgs.vue

@ -495,10 +495,9 @@ const initImgList = async () => {
_obj.nodeId = carsLoadLineEntity.nodeId;
_obj.nowWarehouseId = nowWarehouseId;
if (details.myWarehouseId === _obj.nodeId) {
details.nowWarehoseIndex = i;
details.activeIndex = i;
}
if (details.myWarehouseId === _obj.nodeId) details.activeIndex = i;
if (nowWarehouseId === _obj.nodeId) details.nowWarehoseIndex = i;
} else {
ElMessage.warning('存在异常节点信息');
return;

7
src/views/distribution/inventory/delivery/OrderInTransit.vue

@ -318,8 +318,11 @@ const initData = async () => {
onLoad(false),
]);
await nextTick();
handleTranslationDataSeclect(details.data, details.columnList);
const timer = setTimeout(() => {
handleTranslationDataSeclect(details.data, details.columnList);
clearTimeout(timer);
}, 100);
console.log('details.columnList :>> ', details.columnList);
} catch (error) {
console.log('error :>> ', error);

Loading…
Cancel
Save