yanjinhui
2025-12-01 2b49f7643d15b74889d190f216630559006ed93a
н¨Îļþ¼Ð/WMS/src/views/basic/locationInfo.vue
@@ -38,7 +38,7 @@
      locationStatus: "",
      enableStatus: "",
      remark: "",
      warehouseCode:"",
      warehouseCode: "",
    });
    const editFormOptions = ref([
      [
@@ -48,61 +48,60 @@
        //   type: "select",
        //   required: true,
        //   span: 12,
        //   dataKey:  "warehouseNuber",
        //   dataKey:  "warehouseNuber",
        //   data: []
        // },
         {
        {
          field: "warehouseCode",
          title: "库房编号",
          type: "select",
          required: true,
          span: 12,
          dataKey:  "warehouseNuber",
          data: []
          dataKey: "warehouseNuber",
          data: [],
        },
        {
          field: "locationCode",
          title: "货位编号",
          type: "string",
          span: 12
        }
          span: 12,
        },
      ],
      [
        {
          field: "locationName",
          title: "货位名称",
          type: "string",
          span: 12
          span: 12,
        },
        {
          field: "roadwayNo",
          title: "巷道编号",
          type: "string",
          span: 12
        }
          span: 12,
        },
      ],
      [
        {
          field: "row",
          title: "货位行",
          type: "int",
          span: 8
          span: 8,
        },
        {
          field: "column",
          title: "货位列",
          type: "int",
          span: 8
          span: 8,
        },
      ],
      [
        {
          field: "depth",
          title: "货位深度",
          type: "int",
          span: 12
          span: 12,
        },
        // {
        //   field: "locationType",
@@ -112,31 +111,31 @@
        //   data: [],
        //   dataKey:  "locationTypeEnum",
        // }
          {
        {
          field: "layer",
          title: "货位层",
          type: "int",
          span: 8
        }
      ],
      [
        {
          field: "locationStatus",
          title: "货位状态",
          type: "select",
          span: 12,
          data: [],
           dataKey:  "locationStatusEnum",
          span: 8,
        },
        {
          field: "enableStatus",
          title: "禁用状态",
          type: "select",
          span: 12,
          dataKey:"EnableStatusEnum",
          data: [],
        }
      ],
      // [
      //   {
      //     field: "locationStatus",
      //     title: "货位状态",
      //     type: "select",
      //     span: 12,
      //     data: [],
      //     dataKey: "locationStatusEnum",
      //   },
      //   {
      //     field: "enableStatus",
      //     title: "禁用状态",
      //     type: "select",
      //     span: 12,
      //     dataKey: "EnableStatusEnum",
      //     data: [],
      //   },
      // ],
      // [
      //   {
      //     field: "remark",
@@ -157,26 +156,44 @@
      row: "",
      column: "",
      layer: "",
      warehouseCode: ""
      warehouseCode: "",
    });
    const searchFormOptions = ref([
      [
        // { title: "库房编号", field: "warehouseId", type: "select", dataKey:  "warehouseNuber",  data: [] } ,
         { title: "库房编号", field: "warehousecode", type: "select", dataKey:  "warehouseNuber",  data: [] } ,
        {
          title: "库房编号",
          field: "warehousecode",
          type: "select",
          dataKey: "warehouseNuber",
          data: [],
        },
        { title: "货位编号", field: "locationCode", type: "like" },
        { title: "货位名称", field: "locationName", type: "like" },
      ],
      [
        { title: "巷道编号", field: "roadwayNo", type: "like" },
        // { title: "货位类型", field: "locationType", type: "select",  dataKey:  "locationTypeEnum", data: []  },
        { title: "货位状态", field: "locationStatus", type: "select",  dataKey:  "locationStatusEnum",data: []},
         { title: "禁用状态", field: "enableStatus", type: "select", data: [], dataKey:"status" },
        // { title: "货位类型", field: "locationType", type: "select",  dataKey:  "locationTypeEnum", data: []  },
        // {
        //   title: "货位状态",
        //   field: "locationStatus",
        //   type: "select",
        //   dataKey: "locationStatusEnum",
        //   data: [],
        // },
        // {
        //   title: "禁用状态",
        //   field: "enableStatus",
        //   type: "select",
        //   data: [],
        //   dataKey: "status",
        // },
         { title: "行", field: "row", type: "int" },
      ],
      [
        { title: "行", field: "row", type: "int" },
        { title: "列", field: "column", type: "int" },
        { title: "层", field: "layer", type: "int" }
        { title: "层", field: "layer", type: "int" },
      ],
    ]);
    const columns = ref([
@@ -206,7 +223,7 @@
        width: 120,
        align: "left",
        data: [],
        bind: { key: "warehouseNuber", data: [] }
        bind: { key: "warehouseNuber", data: [] },
      },
      {
        field: "locationCode",
@@ -228,6 +245,7 @@
        type: "string",
        width: 100,
        align: "left",
        hidden: true,
      },
      {
        field: "row",
@@ -275,15 +293,15 @@
        data: [],
        bind: { key: "locationStatusEnum", data: [] },
      },
      {
        field: "enableStatus",
        title: "禁用状态",
        type: "select",
        width: 100,
        align: "left",
        data: [],
        bind: { key: "status", data: [] },
      },
      // {
      //   field: "enableStatus",
      //   title: "禁用状态",
      //   type: "select",
      //   width: 100,
      //   align: "left",
      //   data: [],
      //   bind: { key: "status", data: [] },
      // },
      // {
      //   field: "remark",
      //   title: "备注",
@@ -320,7 +338,7 @@
        width: 160,
        align: "left",
        sort: true,
      }
      },
    ]);
    const detail = ref({
      cnName: "#detailCnName",