Browse Source

待出库bug

cz 1 năm trước cách đây
mục cha
commit
c85a8e76e1
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/views/WDLY/outInBound/waitOutBound/index.vue

+ 5 - 1
src/views/WDLY/outInBound/waitOutBound/index.vue

@@ -736,7 +736,11 @@ const getDict = () => {
     }
   });
   proxy.post("/companyInfo/list", { pageNum: 1, pageSize: 999 }).then((res) => {
-    logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    logisticsData.value = res.reverse();
+    logisticsData.value = logisticsData.value.map((x) => ({
+      label: x.name,
+      value: x.code,
+    }));
   });
 };
 getDict();