1
huanghongfeng
2024-11-26 87d873ad509b4c927ac19aebaa3622fe9374626b
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
@@ -38,50 +38,19 @@
      });
      const editFormOptions = ref([
        [
        { title: "托盘编号", field: "palletCode" },
          { title: "物料类型", field: "materialType" },
          { 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" },
        ],
      ]);
      const searchFormFields = ref({
@@ -91,9 +60,25 @@
      });
      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" },
          {
          title: "库存状态",
          field: "stockStatus",
          type: "selectList",
          dataKey: "stockStatusEmun",
          data: [],
        },
        ],
      ]);
      const columns = ref([
@@ -113,6 +98,7 @@
          type: "string",
          width: 90,
          align: "left",
          DisplayType:"link"
        },
        {
          field: "materialType",
@@ -120,7 +106,7 @@
          type: "string",
          width: 150,
          align: "left",
          bind: { key: "inventoryMaterialType", data: [] },
          bind: { key: "InventoryMaterialType", data: [] },
        },
        {
          field: "locationCode",