diff --git a/src/api/Inventory/Inboundscanning.js b/src/api/Inventory/Inboundscanning.js index f60553b3..211ac2eb 100644 --- a/src/api/Inventory/Inboundscanning.js +++ b/src/api/Inventory/Inboundscanning.js @@ -7,7 +7,7 @@ export function searchTable(partnumber) { data: { type: '1', name: 'MES_机加工MES_库存管理_入库模块_零件基础信息查询_根据零件图号', - param: '零件图号=' + partnumber + '=string' + param: '工艺计划流水号=' + partnumber + '=string' } }) } diff --git a/src/views/Inventory/Inboundscanning/index.vue b/src/views/Inventory/Inboundscanning/index.vue index b4fa8df1..be81e77b 100644 --- a/src/views/Inventory/Inboundscanning/index.vue +++ b/src/views/Inventory/Inboundscanning/index.vue @@ -161,7 +161,9 @@ export default { }, websocketonmessage(msg) { // 数据接收 this.partNumber = msg.data.split('|')[3] - this.getscantable() + this.partNumber = this.partNumber.slice(1) + console.log() + this.getscantable(this.partNumber, 3333) }, websocketclose() { // 关闭 console.log('WebSocket关闭') diff --git a/src/views/Inventory/InventoryCheck/index.vue b/src/views/Inventory/InventoryCheck/index.vue index 341c31d5..670d88f0 100644 --- a/src/views/Inventory/InventoryCheck/index.vue +++ b/src/views/Inventory/InventoryCheck/index.vue @@ -539,6 +539,11 @@ {{ scope.row.类型名称 }} + + +