1
huanghongfeng
2024-11-22 91adcbb1b813198d0a81ca03257bf94d43d4ef60
´úÂë¹ÜÀí/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,23 @@
      });
      const searchFormOptions = ref([
        [
          { title: "设备编号", field: "deviceCode" },
          { title: "设备类型", field: "deviceType" },
          { title: "设备状态", field: "deviceStatus" },
          { title: "托盘编号", field: "palletCode",displayType: "Contains"
},
          {
          title: "库存状态",
          field: "materialType",
          type: "selectList",
          dataKey: "inventoryMaterialType",
          data: [],
        },
          { title: "货位编号", field: "locationCode" },
          {
          title: "库存状态",
          field: "stockStatus",
          type: "selectList",
          dataKey: "stockStatusEmun",
          data: [],
        },
        ],
      ]);
      const columns = ref([
@@ -115,11 +98,20 @@
          align: "left",
        },
        {
          field: "materialType",
          title: "物料类型",
          type: "string",
          width: 150,
          align: "left",
          bind: { key: "inventoryMaterialType", data: [] },
        },
        {
          field: "locationCode",
          title: "货位编号",
          type: "string",
          width: 150,
          align: "left",
        },
        {
          field: "isFull",
@@ -130,6 +122,21 @@
          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: "creater",
          title: "创建人",
          type: "string",