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

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/cachePoint.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/cachePoint.vue"
new file mode 100644
index 0000000..e448d8c
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/cachePoint.vue"
@@ -0,0 +1,209 @@
+
+<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/CachePoint.js";
+import { ref, defineComponent } from "vue";
+export default defineComponent({
+  setup() {
+    const table = ref({
+      key: "id",
+      footer: "Foots",
+      cnName: "缂撳瓨鐐�",
+      name: "CachePoint",
+      url: "/CachePoint/",
+      sortName: "id",
+    });
+    const editFormFields = ref({
+      areaId: "",
+      pointCode: "",
+      pointStatus: "",
+      enableStatus: "",
+      pointType: "",
+      row: "",
+      column: "",
+      depth: "",
+    });
+    const editFormOptions = ref([
+      [
+        {title: "缂撳瓨鐐圭紪鍙�",required: true,field: "pointCode",type: "string",},
+        {title: "鍖哄煙涓婚敭",required: true,field: "areaId",type: "select",dataKey: "areainfo", data: [] ,},
+        {title: "缂撳瓨鐐圭姸鎬�",field: "pointStatus",type: "select",dataKey: "locationStatusEnum",data: [],},
+        {title: "鏄惁绂佺敤",field: "enableStatus",type: "select",dataKey: "enableStatusEnum",data: [],},
+      ],[
+        { title: "琛�", field: "row", type: "string" },
+        { title: "鍒�", field: "column", type: "string" },
+        { title: "娣卞害", field: "depth", type: "string" },
+        { title: "缂撳瓨鐐圭被鍨�", field: "pointType", type: "string"},
+      ],
+    ]);
+    const searchFormFields = ref({
+      areaId: "",
+      pointCode: "",
+      pointStatus: "",
+      enableStatus: "",
+      pointType: "",
+      row: "",
+      column: "",
+      depth: "",
+    });
+    const searchFormOptions = ref([
+      [
+        {title: "缂撳瓨鐐圭紪鍙�",field: "pointCode",type: "string",},
+        {title: "鍖哄煙涓婚敭",field: "areaId",type: "select",dataKey: "areainfo",data: [],},
+        {title: "缂撳瓨鐐圭姸鎬�",field: "pointStatus",type: "select",dataKey: "locationStatusEnum",data: [],},
+        {title: "鏄惁绂佺敤",field: "enableStatus",type: "select",dataKey: "enableStatusEnum",data: [],},
+      ],[
+        { title: "琛�", field: "row", type: "string" },
+        { title: "鍒�", field: "column", type: "string" },
+        { title: "娣卞害", field: "depth", type: "string" },
+        { title: "缂撳瓨鐐圭被鍨�", field: "pointType", type: "string"},
+      ],
+    ]);
+    const columns = ref([
+      {
+        field: "id",
+        title: "Id",
+        type: "int",
+        width: 90,
+        hidden: true,
+        readonly: true,
+        require: true,
+        align: "left",
+      },
+      {
+        field: "areaId",
+        title: "鍖哄煙涓婚敭",
+        type: "int",
+        width: 120,
+        align: "left",
+        bind:{ key: "areainfo", data: [] },
+      },
+      {
+        field: "pointCode",
+        title: "缂撳瓨鐐圭紪鍙�",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "pointStatus",
+        title: "缂撳瓨鐐圭姸鎬�",
+        type: "string",
+        width: 90,
+        align: "left",
+        bind: { key: "locationStatusEnum", data: [] },
+      },
+      {
+        field: "enableStatus",
+        title: "鏄惁绂佺敤",
+        type: "decimal",
+        width: 90,
+        align: "left",
+        bind: { key: "enableStatusEnum", data: [] },
+      },
+      {
+        field: "row",
+        title: "琛�",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "column",
+        title: "鍒�",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "depth",
+        title: "娣卞害",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "pointType",
+        title: "缂撳瓨鐐圭被鍨�",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        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