huanghongfeng
2024-12-08 05c2e8aadb518a6323ff9fe23051fdbd56097221
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
@@ -38,50 +38,35 @@
      });
      const editFormOptions = ref([
        [
        { title: "托盘编号", field: "palletCode" },
        {
          title: "物料类型",
          field: "materialType",
          type: "select",
          dataKey: "InventoryMaterialType",
          data: [],
        },
          { title: "货位编号", field: "locationCode" },
          {
            title: "设备编号",
            required: true,
            field: "deviceCode",
            type: "string",
          },
          {
            title: "设备名称",
            required: true,
            field: "deviceName",
            type: "string",
          },
          {
            title: "设备类型",
            required: true,
            field: "deviceType",
            type: "string",
          },
          {
            title: "设备状态",
            required: true,
            field: "deviceStatus",
            type: "string",
          },
          title: "库存状态",
          field: "stockStatus",
          type: "select",
          dataKey: "stockStatusEmun",
          data: [],
        },
        ],
        [
          { title: "设备IP", required: true, field: "deviceIp", type: "string" },
          {
            title: "设备端口",
            required: true,
            field: "devicePort",
            type: "string",
          },
          {
            title: "PLC类型",
            required: true,
            field: "devicePlcType",
            type: "string",
          },
          {
            title: "备注",
            field: "deviceRemark",
            type: "string",
          },
        { title: "重量", field: "materialweight" },
        {
          title: "物料状态",
          field: "wlstatus",
          type: "select",
          dataKey: "InventoryMaterialStatus",
          data: []
        },
        {
          title: "备注", field: "Remark"
        }
        ],
      ]);
      const searchFormFields = ref({
@@ -91,10 +76,39 @@
      });
      const searchFormOptions = ref([
        [
          { title: "设备编号", field: "deviceCode" },
          { title: "设备类型", field: "deviceType" },
          { title: "设备状态", field: "deviceStatus" },
          { title: "托盘编号",
            field: "palletCode",
            type: "like",
        },
          {
          title: "物料类型",
          field: "materialType",
          type: "select",
          dataKey: "InventoryMaterialType",
          data: [],
        },
          { 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",
        },
        ]
      ]);
      const columns = ref([
        {
@@ -108,11 +122,28 @@
          align: "left",
        },
        {
          field: "id",
          title: "库存编号",
          type: "string",
          width: 90,
          align: "left",
          DisplayType:"link"
        },
        {
          field: "palletCode",
          title: "托盘编号",
          type: "string",
          width: 90,
          align: "left",
          DisplayType:"link"
        },
        {
          field: "materialType",
          title: "物料类型",
          type: "string",
          width: 150,
          align: "left",
          bind: { key: "InventoryMaterialType", data: [] },
        },
        {
          field: "locationCode",
@@ -120,6 +151,15 @@
          type: "string",
          width: 150,
          align: "left",
        },
        {
          field: "wlstatus",
          title: "物料状态",
          type: "string",
          width: 150,
          align: "left",
          bind: { key: "InventoryMaterialStatus", data: [] },
        },
        {
          field: "isFull",
@@ -128,6 +168,27 @@
          width: 150,
          align: "left",
          bind: { key: "yesno", data: [] },
        },
        {
          field: "stockStatus",
          title: "库存状态",
          type: "string",
          width: 150,
          align: "left",
          bind: { key: "stockStatusEmun", data: [] },
        },
        {
          field: "materialweight",
          title: "重量(数量)",
          type: "string",
          width: 150,
          align: "left",
        },{
          field: "remark",
          title: "备注",
          type: "string",
          width: 100,
          align: "left",
        },
        {
          field: "creater",
@@ -157,13 +218,7 @@
          width: 160,
          align: "left",
        },
        {
          field: "remark",
          title: "备注",
          type: "string",
          width: 100,
          align: "left",
        },
      ]);
      const detail = ref({
        cnName: "#detailCnName",