1
huanghongfeng
2025-11-05 f49fa4b5027cfdc27b429985d023e8002abcca2e
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
@@ -27,19 +27,23 @@
        sortName: "id",
      });
      const editFormFields = ref({
        deviceCode: "",
        deviceName: "",
        deviceType: "",
        deviceStatus: "",
        deviceIp: "",
        devicePort: "",
        devicePlcType: "",
        deviceRemark: "",
        palletCode: "",
        materialType: "",
        locationCode: "",
        stockStatus: "",
        materialweight: "",
        remark: "",
      });
      const editFormOptions = ref([
        [
        { title: "托盘编号", field: "palletCode" },
          { title: "物料类型", field: "materialType" },
        {
          title: "物料类型",
          field: "materialType",
          type: "select",
          dataKey: "InventoryMaterialType",
          data: [],
        },
          { title: "货位编号", field: "locationCode" },
          {
          title: "库存状态",
@@ -50,34 +54,64 @@
        },
        ],
        [
        { title: "重量(数量)", field: "materialweight" },
        { title: "重量", field: "materialweight" },
        {
          title: "物料状态",
          field: "wlstatus",
          type: "select",
          dataKey: "InventoryMaterialStatus",
          data: []
        },
        {
          title: "备注", field: "Remark"
        }
        ],
      ]);
      const searchFormFields = ref({
        deviceCode: "",
        deviceType: "",
        deviceStatus: "",
        palletCode: "",
        materialType: "",
        locationCode: "",
        stockStatus: "",
        wlstatus: "",
        createDate: "",
        mgeneratetime: "",
      });
      const searchFormOptions = ref([
        [
          { title: "托盘编号", field: "palletCode",displayType: "Contains"
},
          { title: "托盘编号",
            field: "palletCode",
            type: "like",
        },
          {
          title: "库存状态",
          title: "物料类型",
          field: "materialType",
          type: "selectList",
          dataKey: "inventoryMaterialType",
          type: "select",
          dataKey: "InventoryMaterialType",
          data: [],
        },
          { title: "货位编号", field: "locationCode" },
          {
          { title: "货位编号", field: "locationCode",type: "string", },
        ],
        [
        {
          title: "库存状态",
          field: "stockStatus",
          type: "selectList",
          dataKey: "stockStatusEmun",
          data: [],
        },
        {
          title: "物料状态",
          field: "wlstatus",
          type: "selectList",
          dataKey: "InventoryMaterialStatus",
          data: [],
        },
        { title: "创建时间", field: "createDate", type: "datetime" },
        ],
        [
        { title: "生产时间", field: "mgeneratetime", type: "datetime" },
        ]
      ]);
      const columns = ref([
        {
@@ -91,11 +125,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",
          sort:true,
        },
        {
          field: "materialType",
@@ -103,7 +147,8 @@
          type: "string",
          width: 150,
          align: "left",
          bind: { key: "inventoryMaterialType", data: [] },
          sort:true,
          bind: { key: "InventoryMaterialType", data: [] },
        },
        {
          field: "locationCode",
@@ -111,7 +156,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",
@@ -119,6 +180,7 @@
          type: "string",
          width: 150,
          align: "left",
          sort:true,
          bind: { key: "yesno", data: [] },
        },
        {
@@ -127,6 +189,7 @@
          type: "string",
          width: 150,
          align: "left",
          sort:true,
          bind: { key: "stockStatusEmun", data: [] },
        },
        {
@@ -135,6 +198,14 @@
          type: "string",
          width: 150,
          align: "left",
          sort:true,
        },{
          field: "remark",
          title: "备注",
          type: "string",
          width: 100,
          align: "left",
          sort:true,
        },
        {
          field: "creater",
@@ -142,6 +213,7 @@
          type: "string",
          width: 90,
          align: "left",
          sort:true,
        },
        {
          field: "createDate",
@@ -149,13 +221,16 @@
          type: "datetime",
          width: 160,
          align: "left",
          sort:true,
        },
        {
          field: "modifier",
          title: "修改人",
          type: "string",
          width: 100,
          align: "left",
          sort:true,
        },
        {
          field: "modifyDate",
@@ -163,14 +238,9 @@
          type: "datetime",
          width: 160,
          align: "left",
          sort:true,
        },
        {
          field: "remark",
          title: "备注",
          type: "string",
          width: 100,
          align: "left",
        },
      ]);
      const detail = ref({
        cnName: "#detailCnName",