yanjinhui
2025-10-26 e1383d0a6ee0558c34f013f4e2561063bc2353b3
新建文件夹/WMS/src/views/stock/stockInfo.vue
@@ -44,10 +44,19 @@
      shelfLife: "",
      validityPeriod: "",
      remark: "",
      warehouseCode: "",
    });
    
    const editFormOptions = ref([
      [
        {
          field: "warehouseCode",
          title: "搴撴埧缂栧彿",
          type: "string",
          required: true,
            data: [],
           dataKey: "warehouseNuber",
        },
        {
          field: "palletCode",
          title: "鎵樼洏缂栧彿",
@@ -69,13 +78,6 @@
          data: [],
          bind: { key: "stockStatus", data: [] }
        },
        {
          field: "warehouseId",
          title: "浠撳簱",
          type: "select",
          data: [],
          bind: { key: "warehouses", data: [] }
        }
      ],
      [
        {
@@ -177,6 +179,7 @@
      materielCode: "",
      materielName: "",
      batchNo: "",
      warehouseCode:''
    });
    
    const searchFormOptions = ref([
@@ -191,12 +194,19 @@
          field: "locationCode",
          type: "string"
        },
        // {
        //   title: "浠撳簱",
        //   field: "warehouseId",
        //   type: "select",
        //   data: [],
        //   bind: { key: "warehouses", data: [] }
        // },
        { 
          title: "浠撳簱",
          field: "warehouseId",
          title: "搴撴埧缂栧彿",
          field: "warehouseCode",
          type: "select", 
          data: [],
          bind: { key: "warehouses", data: [] }
          dataKey: "warehouseNuber",
        },
      ],
      [
@@ -251,13 +261,20 @@
        align: "left",
        bind: { key: "stockStatus", data: [] },
      },
      // {
      //   field: "warehouseId",
      //   title: "浠撳簱",
      //   type: "select",
      //   width: 100,
      //   align: "left",
      //   bind: { key: "warehouses", data: [] },
      // },
      {
        field: "warehouseId",
        title: "浠撳簱",
          title: "搴撴埧缂栧彿",
          field: "warehouseCode",
        type: "select",
        width: 100,
        align: "left",
        bind: { key: "warehouses", data: [] },
          data: [],
          bind: { key: "warehouseNuber", data: [] }
      },
      {
        field: "materielCode",