From c020f31a67fc5aa5644511bddff075f7ecc85234 Mon Sep 17 00:00:00 2001
From: qinchulong <qinchulong@hnkhzn.com>
Date: 星期二, 27 五月 2025 15:35:27 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/HuaYiZhongHeng/ZhongHeLiTiKu

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/areaRouter.vue |  171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 171 insertions(+), 0 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/areaRouter.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/areaRouter.vue"
new file mode 100644
index 0000000..3d3cbf1
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/areaRouter.vue"
@@ -0,0 +1,171 @@
+
+<template>
+  <view-grid
+    ref="grid"
+    :columns="columns"
+    :detail="detail"
+    :editFormFields="editFormFields"
+    :editFormOptions="editFormOptions"
+    :searchFormFields="searchFormFields"
+    :searchFormOptions="searchFormOptions"
+    :table="table"
+    :extend="extend"
+  >
+  </view-grid>
+</template>
+    <script>
+import extend from "@/extension/basic/areaRouter.js";
+import { ref, defineComponent } from "vue";
+export default defineComponent({
+  setup() {
+    const table = ref({
+      key: "id",
+      footer: "Foots",
+      cnName: "缂撳瓨鐐�",
+      name: "areaRouter",
+      url: "/areaRouter/",
+      sortName: "id",
+    });
+    const editFormFields = ref({
+      areaId: "",
+      startArea: "",
+      nextArea: "",
+      routerType: "",
+      isEnd: "",
+    });
+    const editFormOptions = ref([
+      [
+        {title: "璧风偣",required: true,field: "startArea",type: "string",},
+        {title: "缁堢偣鍖哄煙ID",required: true,field: "nextArea",type: "select",dataKey: "areainfo",data: [],},
+        
+      ],
+      [
+        {title: "璺敱绫诲瀷",field: "routerType",type: "like"},
+        {title: "鏄惁涓虹粓鐐�",field: "isEnd",type: "select",dataKey: "enable",data: [],}
+      ],
+    ]);
+    const searchFormFields = ref({
+      areaId: "",
+      pointCode: "",
+      pointStatus: "",
+      enableStatus: "",
+      pointType: "",
+    });
+    const searchFormOptions = ref([
+      [
+        {title: "璧风偣",required: true,field: "startArea",type: "string",},
+        {title: "缁堢偣鍖哄煙ID",field: "nextArea",type: "select",dataKey: "areainfo",data: [],},
+        // {title: "缁堢偣鍖哄煙ID",required: true,field: "nextArea",type: "string",},
+      ],
+      [
+        {title: "璺敱绫诲瀷",field: "routerType",type: "like"},
+        {title: "鏄惁涓虹粓鐐�",field: "isEnd",type: "select",dataKey: "enable",data: [],}
+      ],
+    ]);
+    const columns = ref([
+      {
+        field: "id",
+        title: "Id",
+        type: "int",
+        width: 90,
+        hidden: true,
+        readonly: true,
+        require: true,
+        align: "left",
+      },
+      {
+        field: "startArea",
+        title: "璧风偣",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "nextArea",
+        title: "缁堢偣鍖哄煙ID",
+        type: "string",
+        width: 150,
+        align: "left",
+        bind:{ key: "areainfo", data: [] },
+      },
+      {
+        field: "routerType",
+        title: "璺敱绫诲瀷",
+        type: "string",
+        width: 90,
+        align: "left",
+        // bind: { key: "locationStatusEnum", data: [] },
+      },
+      {
+        field: "isEnd",
+        title: "鏄惁鏄粓鐐�",
+        type: "byte",
+        width: 90,
+        align: "left",
+        bind: { key: "enable", data: [] },
+      },
+      {
+        field: "remark",
+        title: "澶囨敞",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "creater",
+        title: "鍒涘缓浜�",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "createDate",
+        title: "鍒涘缓鏃堕棿",
+        type: "datetime",
+        width: 160,
+        align: "left",
+        sort: 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",
+      },
+    ]);
+    const detail = ref({
+      cnName: "#detailCnName",
+      table: "",
+      columns: [],
+      sortName: "",
+    });
+    return {
+      table,
+      extend,
+      editFormFields,
+      editFormOptions,
+      searchFormFields,
+      searchFormOptions,
+      columns,
+      detail,
+    };
+  },
+});
+</script>
+    
\ No newline at end of file

--
Gitblit v1.9.3