xiazhengtongxue
2026-03-27 d24121c2267e892e4fea2fad777e42c51c805c88
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue
@@ -27,29 +27,33 @@
        sortName: "id",
      });
      const editFormFields = ref({
        deviceCode: "",
        deviceName: "",
        deviceType: "",
        deviceStatus: "",
        deviceIp: "",
        devicePort: "",
        devicePlcType: "",
        deviceRemark: "",
        palletCode: "",
        locationCode: "",
        stockStatus: "",
        palletType: "",
        warehouseId: "",
        roadway: "",
      });
      const editFormOptions = ref([
       [
        {field:'palletCode',title:'托盘编号',type:'string'},
        {field:'locationCode',title:'货位编号',type:'string'},
        {field: "stockStatus",title:'库存状态',type:'select',dataKey:'stockStatusEmun',data:[]}
       ]
      ]);
      const searchFormFields = ref({
        palletCode: "",
        locationCode: "",
        roadway: "",
        warehouseId: "",
      });
      const searchFormOptions = ref([
        [
          { title: "托盘编号", field: "palletCode" },
          { title: "货位编号", field: "locationCode" },
          { title: "托盘编号", field: "palletCode" ,type:'like'},
          { title: "货位编号", field: "locationCode",type:'like' },
          { title: "巷道编号", field: "roadway",type:'string' },
          { title: "仓库", field: "warehouseId",type:'select', dataKey: "warehousetype", data: [] }
        ],
      ]);
      const columns = ref([
@@ -62,7 +66,14 @@
          readonly: true,
          require: true,
          align: "left",
        },
        },{
        field: "warehouseId",
        title: "仓库编号",
        type: "int",
        width: 80,
        align: "left",
        bind: { key: "warehouseEnum", data: [] },
      },
        {
          field: "palletCode",
          title: "托盘编号",
@@ -70,6 +81,13 @@
          width: 90,
          align: "left",
        },{
        field: "roadway",
        title: "巷道号",
        type: "string",
        width: 70,
        align: "left",
      },
        {
          field: "locationCode",
          title: "货位编号",
          type: "string",
@@ -81,9 +99,15 @@
          title: "托盘类型",
          type: "string",
          width: 150,
          align: "left",
          align: "center",
          sort:true,
          bind: { key: "palltype", data: [] },
        formatter: (row) => {
          if (row.warehouseId === 2) {
            return "成品";
          } else {
            return row.palletType == 1 ? "布料" : "松布料";
          }
        }
        },{
          field: "stockStatus",
          title: "库存状态",