dengjunjie
2025-10-24 d55ef610a530c2ab0a30d6ecdc1e7e4ab54cc896
н¨Îļþ¼Ð/WMS/src/views/basic/locationInfo.vue
@@ -37,19 +37,30 @@
      locationType: "",
      locationStatus: "",
      enableStatus: "",
      remark: ""
      remark: "",
      warehouseCode:"",
    });
    const editFormOptions = ref([
      [
        {
          field: "warehouseId",
        // {
        //   field: "warehouseId",
        //   title: "库房编号",
        //   type: "select",
        //   required: true,
        //   span: 12,
        //   dataKey:  "warehouseNuber",
        //   data: []
        // },
         {
          field: "warehouseCode",
          title: "库房编号",
          type: "select",
          required: true,
          span: 12,
          data: [],
          bind: { key: "warehouses", data: [] }
          dataKey:  "warehouseNuber",
          data: []
        },
        {
          field: "locationCode",
          title: "货位编号",
@@ -104,7 +115,7 @@
          type: "select",
          span: 12,
          data: [],
          bind: { key: "locationTypeEnum", data: [] }
          dataKey:  "locationTypeEnum",
        }
      ],
      [
@@ -114,15 +125,15 @@
          type: "select",
          span: 12,
          data: [],
          bind: { key: "locationStatusEnum", data: [] }
           dataKey:  "locationStatusEnum",
        },
        {
          field: "enableStatus",
          title: "禁用状态",
          type: "select",
          span: 12,
          dataKey:"EnableStatusEnum",
          data: [],
          bind: { key: "status", data: [] }
        }
      ],
      [
@@ -135,7 +146,7 @@
      ]
    ]);
    const searchFormFields = ref({
      warehouseId: "",
      // warehouseId: "",
      locationCode: "",
      locationName: "",
      roadwayNo: "",
@@ -145,20 +156,24 @@
      row: "",
      column: "",
      layer: "",
      warehouseCode: ""
    });
    const searchFormOptions = ref([
      [
        { title: "库房编号", field: "warehouseId", type: "select", data: [], bind: { key: "warehouses", data: [] } },
        // { title: "库房编号", field: "warehouseId", 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", data: [], bind: { key: "locationTypeEnum", data: [] } },
        { title: "货位状态", field: "locationStatus", type: "select", data: [], bind: { key: "locationStatusEnum", data: [] } },
        { title: "货位类型", field: "locationType", type: "select",  dataKey:  "locationTypeEnum", data: []  },
        { title: "货位状态", field: "locationStatus", type: "select",  dataKey:  "locationStatusEnum",data: []},
      ],
      [
        { title: "禁用状态", field: "enableStatus", type: "select", data: [], bind: { key: "status", data: [] } },
         { title: "禁用状态", field: "enableStatus", type: "select", data: [], dataKey:"status" },
        { title: "行", field: "row", type: "int" },
        { title: "列", field: "column", type: "int" },
        { title: "层", field: "layer", type: "int" }
@@ -175,8 +190,17 @@
        require: true,
        align: "left",
      },
      // {
      //   field: "warehouseId",
      //   title: "库房编号",
      //   type: "select",
      //   width: 120,
      //   align: "left",
      //   data: [],
      //   bind: { key: "warehouses", data: [] }
      // },
      {
        field: "warehouseId",
        field: "warehouseCode",
        title: "库房编号",
        type: "select",
        width: 120,