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

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/areaInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/areaInfo.vue"
new file mode 100644
index 0000000..33c1729
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/areaInfo.vue"
@@ -0,0 +1,215 @@
+
+<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/areaInfo.js";
+import { ref, defineComponent } from "vue";
+export default defineComponent({
+  setup() {
+    const table = ref({
+      key: "id",
+      footer: "Foots",
+      cnName: "鍖哄煙淇℃伅",
+      name: "areaInfo",
+      url: "/AreaInfo/",
+      sortName: "id",
+    });
+    const editFormFields = ref({
+      areaCode: "",
+      areaName: "",
+      warehouseId: "",
+      areaDes: "",
+    });
+    const editFormOptions = ref([
+      [
+        {
+          title: "鍖哄煙缂栧彿",
+          required: true,
+          field: "areaCode",
+          type: "string",
+        },
+        {
+          title: "鍖哄煙鍚嶇О",
+          required: true,
+          field: "areaName",
+          type: "string",
+        },
+        {
+          title: "浠撳簱涓婚敭",
+          required: true,
+          field: "warehouseId",
+          type: "select",
+          dataKey: "warehouse",
+          data: [],
+        },
+        
+      ],
+      [
+      {
+          title: "鍖哄煙绫诲瀷",
+          required: true,
+          field: "areaType",
+          type: "int",
+        },
+        {
+          title: "鍖哄煙鎻忚堪",
+          field: "areaDes",
+          type: "textarea",
+        },
+        { title: "鍖哄煙鐘舵��", field: "areaStatus" ,type: "select",dataKey: "enableEnum",data: [],},
+      ],
+    ]);
+    const searchFormFields = ref({
+      areaCode: "",
+      areaName: "",
+      warehouseId: "",
+      areaDes: "",
+    });
+    const searchFormOptions = ref([
+      [
+        { title: "鍖哄煙缂栧彿", field: "areaCode", type: "like" },
+        { title: "鍖哄煙鍚嶇О", field: "areaName", type: "like" },
+        
+        {
+          title: "鍖哄煙鐘舵��",
+          field: "areaStatus",
+          type: "select",
+          dataKey: "enableEnum",
+          data: [],
+        },
+      ],
+      [
+        {
+          title: "浠撳簱涓婚敭",
+          field: "warehouseId",
+          type: "select",
+          dataKey: "warehouse",
+          data: [],
+        },{ title: "鍖哄煙绫诲瀷", field: "areaType" },
+      ],
+    ]);
+    const columns = ref([
+      {
+        field: "id",
+        title: "Id",
+        type: "int",
+        width: 90,
+        hidden: true,
+        readonly: true,
+        require: true,
+        align: "left",
+      },
+      {
+        field: "areaCode",
+        title: "鍖哄煙缂栧彿",
+        type: "string",
+        width: 80,
+        align: "left",
+      },
+      {
+        field: "warehouseId",
+        title: "浠撳簱涓婚敭",
+        type: "string",
+        width: 90,
+        align: "left",
+        bind:{ key: "warehouse", data: [] },
+      },
+      {
+        field: "areaName",
+        title: "鍖哄煙鍚嶇О",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "areaType",
+        title: "鍖哄煙绫诲瀷",
+        type: "decimal",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "areaStatus",
+        title: "鍖哄煙鐘舵��",
+        type: "string",
+        width: 90,
+        align: "left",
+        bind: { key: "enableEnum", data: [] },
+      },
+      {
+        field: "areaDes",
+        title: "鍖哄煙鎻忚堪",
+        type: "int",
+        width: 120,
+        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