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/roadwayInfo.vue |  236 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 236 insertions(+), 0 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/roadwayInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/roadwayInfo.vue"
new file mode 100644
index 0000000..dea7725
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/roadwayInfo.vue"
@@ -0,0 +1,236 @@
+
+<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/roadwayInfo.js";
+import { ref, defineComponent } from "vue";
+export default defineComponent({
+  setup() {
+    const table = ref({
+      key: "id",
+      footer: "Foots",
+      cnName: "宸烽亾淇℃伅",
+      name: "roadwayInfo",
+      url: "/roadwayInfo/",
+      sortName: "id",
+    });
+    const editFormFields = ref({
+      roadwayNo: "",
+      areaId: "",
+      enalbeStatus: "",
+      deviceNo: "",
+      inStationCode: "",
+      inSCStationCode: "",
+      outStationCode: "",
+      outSCStationCode: "",
+    });
+    const editFormOptions = ref([
+      [
+      {title: "鍖哄煙涓婚敭",field: "areaId",type: "select",dataKey: "areainfo",data: [],},
+        {
+          title: "宸烽亾缂栧彿",
+          required: true,
+          field: "roadwayNo",
+          type: "string",
+        },
+        {
+          title: "璁惧缂栧彿",
+          required: true,
+          field: "deviceNo",
+          type: "string",
+        },
+        {
+          title: "绂佺敤鐘舵��",
+          required: true,
+          field: "enalbeStatus",
+          type: "select",
+          dataKey: "enableStatusEnum",
+          data: [],
+       },
+      ],
+      [
+        {
+          title: "鍏ュ簱绔欏彴缂栧彿",
+          field: "inStationCode",
+          type: "string",
+        },
+        {
+          title: "鍫嗗灈鏈哄叆搴撶珯鍙扮紪鍙�",
+          field: "inSCStationCode",
+          type: "string",
+        },
+        {
+          title: "鍑哄簱绔欏彴缂栧彿",
+          field: "outStationCode",
+          type: "string",
+        },
+        {
+          title: "鍫嗗灈鏈哄嚭搴撶珯鍙扮紪鍙�",
+          field: "outSCStationCode",
+          type: "string",
+        },
+      ],
+    ]);
+    const searchFormFields = ref({
+      roadwayNo: "",
+      areaId: "",
+      enableStatus: "",
+      deviceNo: "",
+      inStationCode: "",
+      inSCStationCode: "",
+      outStationCode: "",
+      outSCStationCode: "",
+    });
+    const searchFormOptions = ref([
+      [
+        { title: "宸烽亾缂栧彿", field: "roadwayNo", type: "like" },
+        {title: "鍖哄煙涓婚敭",field: "areaId",type: "select",dataKey: "areainfo",data: [],},
+        { title: "绂佺敤鐘舵��", field: "enableStatus",type: "select",dataKey: "enableStatusEnum",data: [],},
+      ],
+      [
+        { title: "鍏ュ簱绔欏彴缂栧彿", field: "inStationCode", type: "like" },
+        { title: "鍫嗗灈鏈哄叆搴撶珯鍙扮紪鍙�", field: "inSCStationCode", type: "like" },
+        { title: "璁惧缂栧彿", field: "deviceNo", type: "like" },
+      ],
+      [
+        { title: "鍑哄簱绔欏彴缂栧彿", field: "outStationCode", type: "like" },
+        { title: "鍫嗗灈鏈哄嚭搴撶珯鍙扮紪鍙�",field: "outSCStationCode",type: "like",},
+      ]
+    ]);
+    const columns = ref([
+      {
+        field: "id",
+        title: "Id",
+        type: "int",
+        width: 90,
+        hidden: true,
+        readonly: true,
+        require: true,
+        align: "left",
+      },
+      {
+        field: "roadwayNo",
+        title: "宸烽亾缂栧彿",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "areaId",
+        title: "鍖哄煙涓婚敭",
+        type: "int",
+        width: 150,
+        align: "left",
+        bind:{ key: "areainfo", data: [] },
+      },
+      {
+        field: "enableStatus",
+        title: "绂佺敤鐘舵��",
+        type: "select",
+        width: 150,
+        align: "left",
+        bind: { key: "enableStatusEnum", data: [] },
+      },
+      {
+        field: "deviceNo",
+        title: "璁惧缂栧彿",
+        type: "decimal",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "inStationCode",
+        title: "鍏ュ簱绔欏彴缂栧彿",
+        type: "string",
+        width: 120,
+        align: "left",
+      },
+      {
+        field: "inSCStationCode",
+        title: "鍫嗗灈鏈哄叆搴撶珯鍙扮紪鍙�",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "outStationCode",
+        title: "鍑哄簱绔欏彴缂栧彿",
+        type: "decimal",
+        width: 120,
+        align: "left",
+      },
+      {
+        field: "outSCStationCode",
+        title: "鍫嗗灈鏈哄嚭搴撶珯鍙扮紪鍙�",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "creater",
+        title: "鍒涘缓浜�",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "createDate",
+        title: "鍒涘缓鏃堕棿",
+        type: "datetime",
+        width: 160,
+        align: "left",
+      },
+      {
+        field: "modifier",
+        title: "淇敼浜�",
+        type: "string",
+        width: 100,
+        align: "left",
+      },
+      {
+        field: "modifyDate",
+        title: "淇敼鏃堕棿",
+        type: "datetime",
+        width: 160,
+        align: "left",
+      },
+      {
+        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