1
huanghongfeng
2025-06-06 f5b8c1ae89286dada20ea433ffac84f4c9e72a29
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
@@ -39,7 +39,13 @@
      const editFormOptions = ref([
        [
        { title: "托盘编号", field: "palletCode" },
          { title: "物料类型", field: "materialType" },
        {
          title: "物料类型",
          field: "materialType",
          type: "select",
          dataKey: "InventoryMaterialType",
          data: [],
        },
          { title: "货位编号", field: "locationCode" },
          {
          title: "库存状态",
@@ -51,6 +57,16 @@
        ],
        [
        { title: "重量", field: "materialweight" },
        {
          title: "物料状态",
          field: "wlstatus",
          type: "select",
          dataKey: "InventoryMaterialStatus",
          data: []
        },
        {
          title: "备注", field: "Remark"
        }
        ],
      ]);
      const searchFormFields = ref({
@@ -71,15 +87,33 @@
          dataKey: "InventoryMaterialType",
          data: [],
        },
          { title: "货位编号", field: "locationCode" },
          {
          { title: "货位编号", field: "locationCode",type: "like", },
        ],
        [
        {
          title: "库存状态",
          field: "stockStatus",
          type: "selectList",
          dataKey: "stockStatusEmun",
          data: [],
        },
        {
          title: "物料状态",
          field: "wlstatus",
          type: "selectList",
          dataKey: "InventoryMaterialStatus",
          data: [],
        },
        { title: "库存编号",
            field: "id",
            type: "like",
        },
        ],
        [
        { title: "创建时间", field: "createDate", type: "datetime" },
        { title: "生产时间", field: "mgeneratetime", type: "datetime" },
        ]
      ]);
      const columns = ref([
        {
@@ -93,12 +127,21 @@
          align: "left",
        },
        {
          field: "id",
          title: "库存编号",
          type: "string",
          width: 90,
          align: "left",
          DisplayType:"link",
          sort:true
        },
        {
          field: "palletCode",
          title: "托盘编号",
          type: "string",
          width: 90,
          align: "left",
          DisplayType:"link"
          sort:true,
        },
        {
          field: "materialType",
@@ -106,6 +149,7 @@
          type: "string",
          width: 150,
          align: "left",
          sort:true,
          bind: { key: "InventoryMaterialType", data: [] },
        },
        {
@@ -114,7 +158,23 @@
          type: "string",
          width: 150,
          align: "left",
          sort:true,
        },
        {
          field: "wlstatus",
          title: "物料状态",
          type: "string",
          width: 150,
          align: "left",
          sort:true,
          bind: { key: "InventoryMaterialStatus", data: [] },
        },{
          field: "mgeneratetime",
          title: "生产时间",
          type: "datetime",
          width: 160,
          align: "left",
          sort:true,
        },
        {
          field: "isFull",
@@ -122,6 +182,7 @@
          type: "string",
          width: 150,
          align: "left",
          sort:true,
          bind: { key: "yesno", data: [] },
        },
        {
@@ -130,6 +191,7 @@
          type: "string",
          width: 150,
          align: "left",
          sort:true,
          bind: { key: "stockStatusEmun", data: [] },
        },
        {
@@ -138,6 +200,14 @@
          type: "string",
          width: 150,
          align: "left",
          sort:true,
        },{
          field: "remark",
          title: "备注",
          type: "string",
          width: 100,
          align: "left",
          sort:true,
        },
        {
          field: "creater",
@@ -145,6 +215,7 @@
          type: "string",
          width: 90,
          align: "left",
          sort:true,
        },
        {
          field: "createDate",
@@ -152,13 +223,16 @@
          type: "datetime",
          width: 160,
          align: "left",
          sort:true,
        },
        {
          field: "modifier",
          title: "修改人",
          type: "string",
          width: 100,
          align: "left",
          sort:true,
        },
        {
          field: "modifyDate",
@@ -166,14 +240,9 @@
          type: "datetime",
          width: 160,
          align: "left",
          sort:true,
        },
        {
          field: "remark",
          title: "备注",
          type: "string",
          width: 100,
          align: "left",
        },
      ]);
      const detail = ref({
        cnName: "#detailCnName",