1
dengjunjie
2025-06-19 681d093f9ea16ab2d480d77e6b04b197e506ff60
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/basic/locationInfo.vue
@@ -27,71 +27,18 @@
      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: "货位类型", 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",
          type: "select",
          dataKey: "locationStatusEnum",
          data: [],
        },
      ],
      [
      {
          title: "巷道编号",
          required: true,
          field: "roadwayNo",
          type: "string",
        },
      ]
    ]);
    const searchFormFields = ref({
      locationCode: "",
@@ -99,8 +46,43 @@
    });
    const searchFormOptions = ref([
      [
        { title: "货位编号", field: "locationCode" },
        { title: "巷道编号", field: "roadwayNo" },
        { title: "货位编号", field: "locationCode", type: "like" },
        { title: "巷道编号", field: "roadwayNo", type: "like" },
        {
          title: "货位类型",
          field: "locationType",
          type: "select",
          dataKey: "locationTypeEnum",
          data: [],
        },
      ],
      [
        {
          title: "区域",
          field: "areaId",
          type: "select",
          dataKey: "locationareainfo",
          data: [],
        },
        {
          title: "货位状态",
          field: "locationStatus",
          type: "selectList",
          dataKey: "locationStatusEnum",
          data: [],
        },
        {
          title: "禁用状态",
          field: "enableStatus",
          type: "select",
          dataKey: "enableStatusEnum",
          data: [],
        },
      ],
      [
        { title: "排/行", field: "row" },
        { title: "列", field: "column"},
        { title: "层", field: "layer" },
      ],
    ]);
    const columns = ref([
@@ -116,23 +98,24 @@
      },
      {
        field: "areaId",
        title: "区域主键",
        title: "区域",
        type: "string",
        width: 90,
        align: "left",
        bind: { key: "locationareainfo", data: [] },
      },
      {
        field: "locationCode",
        title: "货位编号",
        type: "string",
        width: 150,
        width: 180,
        align: "left",
      },
      {
        field: "locationName",
        title: "货位名称",
        type: "string",
        width: 150,
        width: 220,
        align: "left",
      },
      {
@@ -144,24 +127,27 @@
      },
      {
        field: "row",
        title: "货位行",
        title: "排",
        type: "string",
        width: 90,
        align: "left",
        hidden: true,
      },
      {
        field: "column",
        title: "货位列",
        title: "列",
        type: "int",
        width: 120,
        align: "left",
        hidden: true,
      },
      {
        field: "layer",
        title: "货位层",
        title: "层",
        type: "string",
        width: 200,
        align: "left",
        hidden: true,
      },
      {
        field: "depth",
@@ -169,6 +155,7 @@
        type: "string",
        width: 180,
        align: "left",
        hidden: true,
      },
      {
        field: "locationType",
@@ -176,6 +163,7 @@
        type: "string",
        width: 120,
        align: "left",
        bind: { key: "locationTypeEnum", data: [] },
      },
      {
        field: "locationStatus",
@@ -183,13 +171,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 +194,7 @@
        type: "datetime",
        width: 160,
        align: "left",
        sort: true,
      },
      {
        field: "modifier",
@@ -218,6 +209,7 @@
        type: "datetime",
        width: 160,
        align: "left",
        sort: true,
      },
      {
        field: "remark",