helongyang
17 小时以前 06eb604f71605c47f015b88b1620b72b6f69df8c
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
@@ -24,7 +24,7 @@
        cnName: "库存信息",
        name: "stockInfo",
        url: "/StockInfo/",
        sortName: "CreateDate",
        sortName: "id",
      });
      const editFormFields = ref({
        deviceCode: "",
@@ -37,7 +37,29 @@
        deviceRemark: "",
      });
      const editFormOptions = ref([
       [
          { title: "托盘编号", field: "palletCode", type :"string"},
          { title: "货位编号", field: "locationCode",type:"string",readonly: true, },
          { title: "所属仓库", field: "warehouseId",type: "select",dataKey: "warehouses",data: [],readonly: true,},
          {title: "库存明细状态",field: "stockStatus",type: "select",dataKey:"stockStatusEmun", data: [],readonly: true,},
       ],
       [
       { title: "托盘类型", field: "palletType", type :"select",dataKey:"locationTypeEnum",data:[]},
        {
        field: "modifier",
        title: "修改人",
        type: "string",
        readonly: true,
        },
        {
          field: "modifyDate",
          title: "修改时间",
          type: "datetime",
          readonly: true,
        },
       ]
      ]);
      const searchFormFields = ref({
        palletCode: "",
@@ -45,8 +67,10 @@
      });
      const searchFormOptions = ref([
        [
          { title: "托盘编号", field: "palletCode" },
          { title: "货位编号", field: "locationCode" },
          { title: "托盘编号", field: "palletCode", type :"like"},
          { title: "货位编号", field: "locationCode",type:"like" },
          { title: "所属仓库", field: "warehouseId",type: "select",dataKey: "warehouses",data: [],},
          {title: "库存明细状态",field: "status",type: "select",dataKey:"stockStatusEmun", data: []},
        ],
      ]);
      const columns = ref([
@@ -61,12 +85,27 @@
          align: "left",
        },
        {
          field: "id",
          title: "库存主键",
          type: "string",
          width: 90,
          align: "left",
        },
        {
          field: "palletCode",
          title: "托盘编号",
          type: "string",
          width: 90,
          align: "left",
        },
        {
        field: "palletType",
        title: "托盘类型",
        type: "select",
        width: 120,
        align: "left",
        bind: { key: "locationTypeEnum", data: [] },
      },
        {
          field: "locationCode",
          title: "货位编号",
@@ -75,12 +114,28 @@
          align: "left",
        },
        {
          field: "isFull",
          title: "是否满盘",
          type: "string",
          width: 150,
        field: "stockStatus",
        title: "库存明细状态",
        type: "string",
        width: 120,
        align: "left",
        bind: { key: "stockStatusEmun", data: [] },
      },
        // {
        //   field: "isFull",
        //   title: "是否满盘",
        //   type: "string",
        //   width: 150,
        //   align: "left",
        //   bind: { key: "yesno", data: [] },
        // },
         {
          field: "warehouseId",
          title: "仓库",
          type: "select",
          width: 100,
          align: "left",
          bind: { key: "yesno", data: [] },
          bind: { key: "warehouses", data: [] },
        },
        {
          field: "creater",
@@ -116,6 +171,7 @@
          type: "string",
          width: 100,
          align: "left",
          hidden:true
        },
      ]);
      const detail = ref({