From bfc11f87e2b64420c9917c0b9881b3e327d6f796 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期二, 04 十一月 2025 22:19:59 +0800
Subject: [PATCH] 优化调拨出入库

---
 新建文件夹/WMS/src/views/basic/locationInfo.vue |  147 +++++++++++++++++++++++++++---------------------
 1 files changed, 82 insertions(+), 65 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/basic/locationInfo.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/basic/locationInfo.vue"
index 79096c6..e34e8df 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/basic/locationInfo.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/basic/locationInfo.vue"
@@ -38,7 +38,7 @@
       locationStatus: "",
       enableStatus: "",
       remark: "",
-      warehouseCode:"",
+      warehouseCode: "",
     });
     const editFormOptions = ref([
       [
@@ -48,75 +48,75 @@
         //   type: "select",
         //   required: true,
         //   span: 12,
-        //   dataKey:  "warehouseNuber", 
+        //   dataKey:  "warehouseNuber",
         //   data: []
         // },
-         {
+        {
           field: "warehouseCode",
           title: "搴撴埧缂栧彿",
           type: "select",
           required: true,
           span: 12,
-          dataKey:  "warehouseNuber", 
-          data: []
+          dataKey: "warehouseNuber",
+          data: [],
         },
-        
+
         {
           field: "locationCode",
           title: "璐т綅缂栧彿",
           type: "string",
-          span: 12
-        }
+          span: 12,
+        },
       ],
       [
         {
           field: "locationName",
           title: "璐т綅鍚嶇О",
           type: "string",
-          span: 12
+          span: 12,
         },
         {
           field: "roadwayNo",
           title: "宸烽亾缂栧彿",
           type: "string",
-          span: 12
-        }
+          span: 12,
+        },
       ],
       [
         {
           field: "row",
           title: "璐т綅琛�",
           type: "int",
-          span: 8
+          span: 8,
         },
         {
           field: "column",
           title: "璐т綅鍒�",
           type: "int",
-          span: 8
+          span: 8,
         },
-        {
-          field: "layer",
-          title: "璐т綅灞�",
-          type: "int",
-          span: 8
-        }
       ],
       [
         {
           field: "depth",
           title: "璐т綅娣卞害",
           type: "int",
-          span: 12
-        },
-        {
-          field: "locationType",
-          title: "璐т綅绫诲瀷",
-          type: "select",
           span: 12,
-          data: [],
-          dataKey:  "locationTypeEnum",
-        }
+        },
+        // {
+        //   field: "locationType",
+        //   title: "璐т綅绫诲瀷",
+        //   type: "select",
+        //   span: 12,
+        //   data: [],
+        //   dataKey:  "locationTypeEnum",
+        // }
+        {
+          field: "layer",
+          title: "璐т綅灞�",
+          type: "int",
+          span: 8,
+        },
       ],
       [
         {
@@ -125,25 +125,25 @@
           type: "select",
           span: 12,
           data: [],
-           dataKey:  "locationStatusEnum",
+          dataKey: "locationStatusEnum",
         },
         {
           field: "enableStatus",
           title: "绂佺敤鐘舵��",
           type: "select",
           span: 12,
-          dataKey:"EnableStatusEnum",
+          dataKey: "EnableStatusEnum",
           data: [],
-        }
+        },
       ],
-      [
-        {
-          field: "remark",
-          title: "澶囨敞",
-          type: "string",
-          span: 24
-        }
-      ]
+      // [
+      //   {
+      //     field: "remark",
+      //     title: "澶囨敞",
+      //     type: "string",
+      //     span: 24
+      //   }
+      // ]
     ]);
     const searchFormFields = ref({
       // warehouseId: "",
@@ -156,27 +156,43 @@
       row: "",
       column: "",
       layer: "",
-      warehouseCode: ""
+      warehouseCode: "",
     });
     const searchFormOptions = ref([
       [
         // { title: "搴撴埧缂栧彿", field: "warehouseId", type: "select", dataKey:  "warehouseNuber",  data: [] } ,
-         { title: "搴撴埧缂栧彿", field: "warehousecode", type: "select", dataKey:  "warehouseNuber",  data: [] } ,
+        {
+          title: "搴撴埧缂栧彿",
+          field: "warehousecode",
+          type: "select",
+          dataKey: "warehouseNuber",
+          data: [],
+        },
         { title: "璐т綅缂栧彿", field: "locationCode", type: "like" },
         { title: "璐т綅鍚嶇О", field: "locationName", type: "like" },
       ],
       [
         { title: "宸烽亾缂栧彿", field: "roadwayNo", type: "like" },
-        { title: "璐т綅绫诲瀷", field: "locationType", type: "select",  dataKey:  "locationTypeEnum", data: []  },       
-        { title: "璐т綅鐘舵��", field: "locationStatus", type: "select",  dataKey:  "locationStatusEnum",data: []},
-
+        // { title: "璐т綅绫诲瀷", field: "locationType", type: "select",  dataKey:  "locationTypeEnum", data: []  },
+        {
+          title: "璐т綅鐘舵��",
+          field: "locationStatus",
+          type: "select",
+          dataKey: "locationStatusEnum",
+          data: [],
+        },
+        {
+          title: "绂佺敤鐘舵��",
+          field: "enableStatus",
+          type: "select",
+          data: [],
+          dataKey: "status",
+        },
       ],
       [
-
-         { title: "绂佺敤鐘舵��", field: "enableStatus", type: "select", data: [], dataKey:"status" },
         { title: "琛�", field: "row", type: "int" },
         { title: "鍒�", field: "column", type: "int" },
-        { title: "灞�", field: "layer", type: "int" }
+        { title: "灞�", field: "layer", type: "int" },
       ],
     ]);
     const columns = ref([
@@ -206,7 +222,7 @@
         width: 120,
         align: "left",
         data: [],
-        bind: { key: "warehouses", data: [] }
+        bind: { key: "warehouseNuber", data: [] },
       },
       {
         field: "locationCode",
@@ -228,6 +244,7 @@
         type: "string",
         width: 100,
         align: "left",
+        hidden: true,
       },
       {
         field: "row",
@@ -257,15 +274,15 @@
         width: 100,
         align: "left",
       },
-      {
-        field: "locationType",
-        title: "璐т綅绫诲瀷",
-        type: "select",
-        width: 120,
-        align: "left",
-        data: [],
-        bind: { key: "locationTypeEnum", data: [] }
-      },
+      // {
+      //   field: "locationType",
+      //   title: "璐т綅绫诲瀷",
+      //   type: "select",
+      //   width: 120,
+      //   align: "left",
+      //   data: [],
+      //   bind: { key: "locationTypeEnum", data: [] }
+      // },
       {
         field: "locationStatus",
         title: "璐т綅鐘舵��",
@@ -284,13 +301,13 @@
         data: [],
         bind: { key: "status", data: [] },
       },
-      {
-        field: "remark",
-        title: "澶囨敞",
-        type: "string",
-        width: 150,
-        align: "left",
-      },
+      // {
+      //   field: "remark",
+      //   title: "澶囨敞",
+      //   type: "string",
+      //   width: 150,
+      //   align: "left",
+      // },
       {
         field: "creater",
         title: "鍒涘缓浜�",
@@ -320,7 +337,7 @@
         width: 160,
         align: "left",
         sort: true,
-      }
+      },
     ]);
     const detail = ref({
       cnName: "#detailCnName",

--
Gitblit v1.9.3