dengjunjie
6 天以前 4f39dcc195f28fa275fc2d065fbf1bf6a46c21b7
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/basic/locationInfo.vue
@@ -27,74 +27,16 @@
      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",
        },
      ],
      [
        {
          title: "巷道编号",
          required: true,
          field: "roadwayNo",
          type: "string",
          type: "select",
          dataKey: "locationStatusEnum",
          data: [],
        },
      ],
    ]);
@@ -104,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([
@@ -121,10 +98,11 @@
      },
      {
        field: "areaId",
        title: "区域主键",
        title: "区域",
        type: "string",
        width: 90,
        align: "left",
        bind: { key: "locationareainfo", data: [] },
      },
      {
        field: "locationCode",
@@ -149,7 +127,7 @@
      },
      {
        field: "row",
        title: "货位行",
        title: "排",
        type: "string",
        width: 90,
        align: "left",
@@ -157,7 +135,7 @@
      },
      {
        field: "column",
        title: "货位列",
        title: "列",
        type: "int",
        width: 120,
        align: "left",
@@ -165,7 +143,7 @@
      },
      {
        field: "layer",
        title: "货位层",
        title: "层",
        type: "string",
        width: 200,
        align: "left",
@@ -185,6 +163,7 @@
        type: "string",
        width: 120,
        align: "left",
        bind: { key: "locationTypeEnum", data: [] },
      },
      {
        field: "locationStatus",
@@ -192,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",
@@ -213,6 +194,7 @@
        type: "datetime",
        width: 160,
        align: "left",
        sort: true,
      },
      {
        field: "modifier",
@@ -227,6 +209,7 @@
        type: "datetime",
        width: 160,
        align: "left",
        sort: true,
      },
      {
        field: "remark",