1
Huangxiaoqiang-03
2024-11-06 f51582d5b4b498f28513f215f91828ef181df4a1
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/basic/locationInfo.vue
@@ -27,71 +27,12 @@
      sortName: "id",
    });
    const editFormFields = ref({
      row: "",
      column: "",
      layer: "",
      depth: "",
      locationType: "",
      locationStatus: "",
      enalbeStatus: "",
      remark: "",
    });
    const editFormOptions = ref([
      [
        {
          title: "货位行",
          required: true,
          field: "row",
          type: "string",
        },
        {
          title: "货位列",
          required: true,
          field: "column",
          type: "string",
        },
        {
          title: "货位层",
          required: true,
          field: "layer",
          type: "string",
        },
        {
          title: "货位深度",
          required: true,
          field: "depth",
          type: "string",
        },
        { title: "货位状态", field: "locationStatus" ,type: "select",dataKey: "locationStatusEnum",data: [],},
      ],
      [
        { title: "货位类型", required: true, field: "locationType", type: "string" },
        {
          title: "货位状态",
          required: true,
          field: "locationStatus",
          type: "string",
        },
        {
          title: "禁用状态",
          required: true,
          field: "enalbeStatus",
          type: "string",
        },
        {
          title: "区域主键",
          required: true,
          field: "areaId",
          type: "string",
        },
      ],
      [
      {
          title: "巷道编号",
          required: true,
          field: "roadwayNo",
          type: "string",
        },
      ]
    ]);
    const searchFormFields = ref({
      locationCode: "",
@@ -101,6 +42,11 @@
      [
        { title: "货位编号", field: "locationCode" },
        { title: "巷道编号", field: "roadwayNo" },
        { title: "货位类型", field: "locationType",type: "select",dataKey: "locationTypeEnum",data: [], },
        { title: "禁用状态", field: "enableStatus" ,type: "select",dataKey: "enableStatusEnum",data: [],},
      ],
      [
        { title: "货位状态", field: "locationStatus" ,type: "selectList",dataKey: "locationStatusEnum",data: [],},
      ],
    ]);
    const columns = ref([
@@ -120,19 +66,20 @@
        type: "string",
        width: 90,
        align: "left",
        bind: {key: "areainfo",data: []}
      },
      {
        field: "locationCode",
        title: "货位编号",
        type: "string",
        width: 150,
        width: 180,
        align: "left",
      },
      {
        field: "locationName",
        title: "货位名称",
        type: "string",
        width: 150,
        width: 220,
        align: "left",
      },
      {
@@ -148,6 +95,7 @@
        type: "string",
        width: 90,
        align: "left",
        hidden: true,
      },
      {
        field: "column",
@@ -155,6 +103,7 @@
        type: "int",
        width: 120,
        align: "left",
        hidden: true,
      },
      {
        field: "layer",
@@ -162,6 +111,7 @@
        type: "string",
        width: 200,
        align: "left",
        hidden: true,
      },
      {
        field: "depth",
@@ -169,6 +119,7 @@
        type: "string",
        width: 180,
        align: "left",
        hidden: true,
      },
      {
        field: "locationType",
@@ -176,6 +127,7 @@
        type: "string",
        width: 120,
        align: "left",
        bind:{key: "locationTypeEnum", data: []}
      },
      {
        field: "locationStatus",
@@ -183,13 +135,15 @@
        type: "string",
        width: 200,
        align: "left",
        bind: { key: "locationStatusEnum", data: [] },
      },
      {
        field: "enalbeStatus",
        field: "enableStatus",
        title: "禁用状态",
        type: "string",
        width: 180,
        align: "left",
        bind: { key: "enableStatusEnum", data: [] },
      },
      {
        field: "creater",
@@ -204,6 +158,7 @@
        type: "datetime",
        width: 160,
        align: "left",
        sort: true,
      },
      {
        field: "modifier",
@@ -218,6 +173,7 @@
        type: "datetime",
        width: 160,
        align: "left",
        sort: true,
      },
      {
        field: "remark",