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