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.类型名称 }}
+
+
+ {{ scope.row.安全库存量 }}
+
+
选择
@@ -674,19 +679,14 @@
align="center"
type="index"
width="50"/>
-
+
{{ scope.row.物料名称 }}
-
+
- {{ scope.row.物料规格 }}
-
-
-
-
- {{ scope.row.物料型号 }}
+ {{ scope.row.零件图号 }}
@@ -1273,6 +1273,7 @@ export default {
changesafeAmount(row) {
this.dialogFormVisible2 = true
this.teamPartNumber = row.组件零件流水号
+ this.form.safeNumber = row.安全库存量
},
// 修改安全库存量
edeitsafeAmount() {
@@ -1280,6 +1281,7 @@ export default {
this.dialogFormVisible2 = false
if (response.data[0].result === '1') {
this.$message.success('添加成功')
+ this.searchStandardPartinfo()
} else {
this.$message.error('添加失败')
}