From 1e31ba969833df0506be39fa54b4e5fc5930e00c Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期四, 02 四月 2026 17:32:34 +0800
Subject: [PATCH] 1

---
 Code Management/WMS/WIDESEA_WMSClient/src/views/basic/locationInfo.vue |  226 +++++++++++--------------------------------------------
 1 files changed, 47 insertions(+), 179 deletions(-)

diff --git a/Code Management/WMS/WIDESEA_WMSClient/src/views/basic/locationInfo.vue b/Code Management/WMS/WIDESEA_WMSClient/src/views/basic/locationInfo.vue
index b6a588f..21c1ac4 100644
--- a/Code Management/WMS/WIDESEA_WMSClient/src/views/basic/locationInfo.vue
+++ b/Code Management/WMS/WIDESEA_WMSClient/src/views/basic/locationInfo.vue
@@ -1,205 +1,74 @@
-
+<!--
+*Author锛歫xx
+ *Contact锛�283591387@qq.com
+ *浠g爜鐢辨鏋剁敓鎴�,浠讳綍鏇存敼閮藉彲鑳藉鑷磋浠g爜鐢熸垚鍣ㄨ鐩�
+ *涓氬姟璇峰湪@/extension/widesea_wms/basicinfo/Dt_LocationInfo.js姝ゅ缂栧啓
+ -->
 <template>
-  <view-grid
-    ref="grid"
-    :columns="columns"
-    :detail="detail"
-    :editFormFields="editFormFields"
-    :editFormOptions="editFormOptions"
-    :searchFormFields="searchFormFields"
-    :searchFormOptions="searchFormOptions"
-    :table="table"
-    :extend="extend"
-  >
+  <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
+    :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions"
+    :table="table" :extend="extend">
   </view-grid>
 </template>
-    <script>
+<script>
 import extend from "@/extension/basic/locationInfo.js";
 import { ref, defineComponent } from "vue";
 export default defineComponent({
   setup() {
     const table = ref({
-      key: "id",
+      key: 'id',
       footer: "Foots",
-      cnName: "璐т綅淇℃伅",
-      name: "locationInfo",
+      cnName: '璐т綅淇℃伅',
+      name: 'LocationInfo',
       url: "/LocationInfo/",
-      sortName: "id",
+      sortName: "id"
     });
-    const editFormFields = ref({
-      locationStatus: "",
-    });
+    const editFormFields = ref({ "locationStatus": "" });
     const editFormOptions = ref([
       [
-        { title: "璐т綅鐘舵��", field: "locationStatus" ,type: "select",dataKey: "locationStatusEnum",data: [],},
-      ],
+        { "title": "璐т綅鐘舵��", "field": "locationStatus", "type": "select", dataKey: "LocationState", data: [] },
+        { "title": "鏄惁绂佺敤", "field": "enalbeStatus", "type": "select", dataKey: "EnableEnum", data: [] },
+      ]
     ]);
-    const searchFormFields = ref({
-      locationCode: "",
-      roadwayNo: "",
-      locationType: "",
-      enableStatus: "",
-      locationStatus: "",
-      row: "",
-      column: "",
-      layer: "",
-    });
+    const searchFormFields = ref({ "LocationID": "", roadWayNO: "" });
     const searchFormOptions = ref([
       [
-        { title: "璐т綅缂栧彿", field: "locationCode", type: "like" },
-        { title: "宸烽亾缂栧彿", field: "roadwayNo",type:"like" },
-        { title: "璐т綅绫诲瀷", field: "locationType",type: "select",dataKey: "locationTypeEnum",data: [], },
-        { title: "绂佺敤鐘舵��", field: "enableStatus" ,type: "select",dataKey: "enableStatusEnum",data: [],},
+        { "title": "璐т綅缂栧彿", "field": "locationCode", type: "text" },
+        { "title": "璐т綅鐘舵��", "field": "locationStatus", "type": "select", dataKey: "LocationState", data: [] },
+        { "title": "宸烽亾缂栧彿", "field": "roadWayNO", type: "text" },
+        { "title": "鍚敤鐘舵��", "field": "enalbeStatus", "type": "select", dataKey: "EnableEnum", data: [] },
+
       ],
       [
-        { title: "璐т綅鐘舵��", field: "locationStatus" ,type: "selectList",dataKey: "locationStatusEnum",data: [],},
-        { title: "琛�", field: "row" ,type: "int"},
-        { title: "鍒�", field: "column" ,type: "int"},
-        { title: "灞�", field: "layer" ,type: "int"}
-      ],
+        { "title": "琛�", "field": "row", type: "text" },
+        { "title": "鍒�", "field": "column", "type": "text" },
+        { "title": "灞�", "field": "layer", type: "text" },
+      ]
     ]);
-    const columns = ref([
-      {
-        field: "id",
-        title: "Id",
-        type: "int",
-        width: 100,
-        hidden: true,
-        readonly: true,
-        require: true,
-        align: "left",
-      },
-      // {
-      //   field: "areaId",
-      //   title: "鍖哄煙涓婚敭",
-      //   type: "string",
-      //   width: 90,
-      //   align: "left",
-      //   bind: {key: "areainfo",data: []}
-      // },
-      {
-        field: "locationCode",
-        title: "璐т綅缂栧彿",
-        type: "string",
-        width: 200,
-        align: "left",
-      },
-      {
-        field: "locationName",
-        title: "璐т綅鍚嶇О",
-        type: "string",
-        width: 280,
-        align: "left",
-      },
-      {
-        field: "roadwayNo",
-        title: "宸烽亾缂栧彿",
-        type: "decimal",
-        width: 100,
-        align: "left",
-      },
-      {
-        field: "row",
-        title: "璐т綅琛�",
-        type: "string",
-        width: 90,
-        align: "left",
-        hidden: true,
-      },
-      {
-        field: "column",
-        title: "璐т綅鍒�",
-        type: "int",
-        width: 120,
-        align: "left",
-        hidden: true,
-      },
-      {
-        field: "layer",
-        title: "璐т綅灞�",
-        type: "string",
-        width: 200,
-        align: "left",
-        hidden: true,
-      },
-      {
-        field: "depth",
-        title: "璐т綅娣卞害",
-        type: "string",
-        width: 180,
-        align: "left",
-        hidden: true,
-      },
-      {
-        field: "locationType",
-        title: "璐т綅绫诲瀷",
-        type: "string",
-        width: 120,
-        align: "left",
-        bind:{key: "locationTypeEnum", data: []}
-      },
-      {
-        field: "locationStatus",
-        title: "璐т綅鐘舵��",
-        type: "string",
-        width: 120,
-        align: "left",
-        bind: { key: "locationStatusEnum", data: [] },
-      },
-      {
-        field: "enableStatus",
-        title: "绂佺敤鐘舵��",
-        type: "string",
-        width: 80,
-        align: "left",
-        bind: { key: "enableStatusEnum", data: [] },
-      },
-      {
-        field: "creater",
-        title: "鍒涘缓浜�",
-        type: "string",
-        width: 90,
-        align: "left",
-        hidden: true,
-      },
-      {
-        field: "createDate",
-        title: "鍒涘缓鏃堕棿",
-        type: "datetime",
-        width: 160,
-        align: "left",
-        sort: true,
-        hidden: true,
-      },
-      {
-        field: "modifier",
-        title: "淇敼浜�",
-        type: "string",
-        width: 100,
-        align: "left",
-      },
-      {
-        field: "modifyDate",
-        title: "淇敼鏃堕棿",
-        type: "datetime",
-        width: 160,
-        align: "left",
-        sort: true,
-      },
-      {
-        field: "remark",
-        title: "澶囨敞",
-        type: "string",
-        width: 100,
-        align: "left",
-        hidden: true
-      },
+    const columns = ref([{ field: 'locationID', title: '璐т綅ID', type: 'int', width: 110, hidden: true, readonly: true, require: true, align: 'left' },
+    { field: 'areaId', title: '鍖哄煙', type: 'int', width: 150, align: 'left', bind: { key: "AreaType", data: [] } },
+    { field: 'locationCode', title: '璐т綅缂栧彿', type: 'string', width: 150, require: true, align: 'left' },
+    { field: 'locationName', title: '璐т綅鍚嶇О', type: 'string', width: 120, align: 'left', hidden: true },
+    { field: 'roadwayNo', title: '宸烽亾鍙�', type: 'string', width: 110, require: true, align: 'left', sort: true },
+    { field: 'row', title: '琛�', type: 'string', width: 70, align: 'left' },
+    { field: 'column', title: '鍒�', type: 'string', width: 70, align: 'left' },
+    { field: 'layer', title: '灞�', type: 'string', width: 70, align: 'left' },
+    { field: 'depth', title: '娣卞害', type: 'string', width: 70, align: 'left' },
+    { field: 'locationType', title: '璐т綅绫诲瀷', type: 'int', width: 110, align: 'left', hidden: true, bind: { key: "LocationType", data: [] } },
+    { field: 'locationStatus', title: '璐т綅鐘舵��', type: 'int', width: 110, align: 'left', bind: { key: "LocationState", data: [] } },
+    { field: 'enalbeStatus', title: '鏄惁绂佺敤', type: 'int', width: 75, align: 'left', bind: { key: "EnableEnum", data: [] } },
+    { field: 'remark', title: '澶囨敞', type: 'string', width: 110, align: 'left', hidden: true },
+    { field: 'creater', title: '鍒涘缓浜�', type: 'string', sort: true, width: 110, align: 'left' },
+    { field: 'createDate', title: '鍒涘缓鏃堕棿', type: 'datetime', sort: true, width: 150, align: 'left', sort: true },
+    { field: 'modifier', title: '淇敼浜�', type: 'string', sort: true, width: 100, align: 'left' },
+    { field: 'modifyDate', title: '淇敼鏃堕棿', type: 'datetime', sort: true, width: 150, align: 'left', sort: true },
     ]);
     const detail = ref({
       cnName: "#detailCnName",
-      table: "",
+      table: "#detailTable",
       columns: [],
       sortName: "",
+      key: ""
     });
     return {
       table,
@@ -214,4 +83,3 @@
   },
 });
 </script>
-    
\ No newline at end of file

--
Gitblit v1.9.3