瀏覽代碼

物流公司增加可过滤功能

cz 1 年之前
父節點
當前提交
370ad342ad

+ 3 - 1
src/views/WDLY/outInBound/logistics/index.vue

@@ -354,6 +354,7 @@ const formConfig = reactive([
     type: "select",
     prop: "logisticsCompanyCode",
     label: "物流/快递信息",
+    filterable: true,
     data: [],
     itemWidth: 40,
     style: {
@@ -533,7 +534,8 @@ const editStatus = (row) => {
 const logisticsData = ref([]);
 const getLogisticsData = (row) => {
   proxy.post("/companyInfo/list", { pageNum: 1, pageSize: 999 }).then((res) => {
-    logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    // logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    logisticsData.value = res.reverse();
     formConfig[1].data = logisticsData.value.map((x) => ({
       label: x.name,
       value: x.code,

+ 4 - 1
src/views/WDLY/purchaseManage/alreadyPurchase/index.vue

@@ -976,6 +976,8 @@ const configData = [
       type: "select",
       label: "物流信息",
       prop: "logisticsCompanyCode",
+      filterable: true,
+      data: [],
       itemWidth: 50,
       style: {
         width: "100%",
@@ -1189,7 +1191,8 @@ const handleEdit = (row, status) => {
 const logisticsData = ref([]);
 const getLogisticsData = (row) => {
   proxy.post("/companyInfo/list", { pageNum: 1, pageSize: 999 }).then((res) => {
-    logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    // logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    logisticsData.value = res.reverse();
   });
 };
 

+ 5 - 2
src/views/WDLY/salesMange/jdReGoods/index.vue

@@ -143,7 +143,7 @@
       </el-select>
       <div style="margin-top: 20px" v-show="importData.warehouseId">
         <el-upload
-          :action="actionUrl+'/jdBack/excelImport'"
+          :action="actionUrl + '/jdBack/excelImport'"
           :data="importData"
           :headers="headers"
           :on-success="handleSuccess"
@@ -393,6 +393,8 @@ let formConfig = reactive([
     prop: "logisticsCompanyCode",
     itemWidth: 50,
     placeholder: "物流/快递公司",
+    filterable: true,
+    data: [],
     style: {
       width: "100%",
     },
@@ -566,7 +568,8 @@ const handleEdit = (row, status) => {
 const logisticsData = ref([]);
 const getLogisticsData = (row) => {
   proxy.post("/companyInfo/list", { pageNum: 1, pageSize: 999 }).then((res) => {
-    logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    // logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    logisticsData.value = res.reverse();
     formConfig[2].data = logisticsData.value.map((x) => ({
       label: x.name,
       value: x.code,

+ 4 - 1
src/views/WDLY/salesMange/jdSalesData/index.vue

@@ -282,6 +282,8 @@ let formConfig = reactive([
     type: "select",
     label: "物流信息",
     prop: "logisticsCompanyCode",
+    filterable: true,
+    data: [],
     itemWidth: 50,
     style: {
       width: "100%",
@@ -457,7 +459,8 @@ const handleEdit = (row, status) => {
 const logisticsData = ref([]);
 const getLogisticsData = (row) => {
   proxy.post("/companyInfo/list", { pageNum: 1, pageSize: 999 }).then((res) => {
-    logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    // logisticsData.value = res.reverse().slice(0, 100); //截取前100
+    logisticsData.value = res.reverse();
     formConfig[2].data = logisticsData.value.map((x) => ({
       label: x.name,
       value: x.code,