duyongjia
2025-02-28 cb385f0b515c738b503c5c75c9d7efcec323716d
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Client/src/views/basic/locationInfo.vue
@@ -27,9 +27,12 @@
      sortName: "id",
    });
    const editFormFields = ref({
      locationCode:"",
      locationName:"",
      row: "",
      column: "",
      layer: "",
      roadwayNo:"",
      depth: "",
      locationType: "",
      locationStatus: "",
@@ -39,6 +42,40 @@
    const editFormOptions = ref([
      [
        {
          title: "货位编号",
          required: true,
          field: "locationCode",
          type: "string",
        },
        {
          title: "货位名称",
          required: true,
          field: "locationName",
          type: "string",
        },
         {
          title: "巷道编号",
          required: true,
          field: "roadwayNo",
          type: "string",
        },
        {
          title: "货位深度",
          field: "depth",
          type: "string",
          hidden: true,
        },
         {
          title: "备注",
          field: "remark",
          type: "string",
          hidden: true,
        },
      ],
        [
         {
          title: "货位行",
          required: true,
          field: "row",
@@ -56,32 +93,32 @@
          field: "layer",
          type: "string",
        },
        {
          title: "货位深度",
          required: true,
          field: "depth",
          type: "string",
        },
      ],
      [
        {
          title: "货位类型",
          required: true,
          field: "locationType",
          type: "string",
          type: "select",
          dataKey: "locationTypeEnum",
          data: [],
        },
        {
          title: "禁用状态",
          required: true,
          field: "enableStatus",
          type: "select",
          dataKey: "enableStatusEnum",
          data: [],
        },
        {
          title: "区域主键",
          required: true,
          //required: true,
          field: "areaId",
          type: "string",
          hidden: true,
        },
        {
          title: "巷道编号",
          required: true,
          field: "roadwayNo",
          type: "string",
        },
      ],
    ]);
    const searchFormFields = ref({
@@ -91,7 +128,20 @@
    const searchFormOptions = ref([
      [
        { title: "货位编号", field: "locationCode" },
        { title: "巷道编号", field: "roadwayNo" },
        {
          title: "货位类型",
          field: "locationType",
          type: "selectList",
          dataKey: "locationTypeEnum",
          data: [],
        },
        {
          title: "货位状态",
          field: "locationStatus",
          type: "selectList",
          dataKey: "locationStatusEnum",
          data: [],
        },
      ],
    ]);
    const columns = ref([
@@ -110,11 +160,12 @@
        title: "区域主键",
        type: "string",
        width: 90,
        hidden: true,
        align: "left",
        bind: {
          key: "areainfo",
          data: []
        }
          data: [],
        },
      },
      {
        field: "locationCode",
@@ -175,7 +226,7 @@
        type: "string",
        width: 120,
        align: "left",
        bind:{key: "locationTypeEnum", data: []}
        bind: { key: "locationTypeEnum", data: [] },
      },
      {
        field: "locationStatus",