From b1c2dd1869a51b8f0e4acb9ddeb148f796db147f Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期三, 25 六月 2025 19:10:58 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSClient/src/views/widesea_wms/basicinfo/Dt_Traintype.vue |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/widesea_wms/basicinfo/Dt_Traintype.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/widesea_wms/basicinfo/Dt_Traintype.vue"
index 4afb5ed..f4934a7 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/widesea_wms/basicinfo/Dt_Traintype.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/widesea_wms/basicinfo/Dt_Traintype.vue"
@@ -2,7 +2,7 @@
 *Author锛歫xx
  *Contact锛�283591387@qq.com
  *浠g爜鐢辨鏋剁敓鎴�,浠讳綍鏇存敼閮藉彲鑳藉鑷磋浠g爜鐢熸垚鍣ㄨ鐩�
- *涓氬姟璇峰湪@/extension/widesea_wms/basicinfo/Dt_AreaInfo.js姝ゅ缂栧啓
+ *涓氬姟璇峰湪@/extension/widesea_wms/basicinfo/Dt_LocationInfo.js姝ゅ缂栧啓
  -->
 <template>
     <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
@@ -16,7 +16,7 @@
 export default defineComponent({
     setup() {
         const table = ref({
-            key: 'Id',
+            key: 'id',
             footer: "Foots",
             cnName: '杞﹀瀷绠$悊',
             name: 'basicinfo/Dt_Traintype',
@@ -24,8 +24,8 @@
             sortName: "id"
         });
         const editFormFields = ref({
-            "traintype_code": "",
-            "traintype_name": ""
+            traintype_code:"",
+            traintype_name:""
         });
         const editFormOptions = ref([
             [
@@ -33,14 +33,17 @@
                 { "title": "杞﹀瀷鍚嶇О", "field": "traintype_name", type: "text" },
             ]
         ]);
-        const searchFormFields = ref({});
+        const searchFormFields = ref({
+            "traintype_code": "",
+            "traintype_name": ""
+        });
         const searchFormOptions = ref([
             [
-                { "title": "杞﹀瀷浠g爜", "field": "traintype_code", type: "text" },
-                { "title": "杞﹀瀷鍚嶇О", "field": "traintype_name", type: "text" },
+                { "title": "杞﹀瀷浠g爜", "field": "traintype_code", type: "like" },
+                { "title": "杞﹀瀷鍚嶇О", "field": "traintype_name", type: "like" },
             ]
         ]);
-        const columns = ref([{ field: 'ID', title: '涓婚敭', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' },
+        const columns = ref([{ field: 'id', title: '涓婚敭', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' },
         { field: 'traintype_code', title: '杞﹀瀷浠g爜', type: 'string', sort: true, width: 90, align: 'left',},
         { field: 'traintype_name', title: '杞﹀瀷鍚嶇О', type: 'int', sort: true, width: 90, align: 'left' },
         { field: 'traintype_des', title: '鎻忚堪', type: 'int', sort: true, width: 200,  align: 'left' },

--
Gitblit v1.9.3