Commit cbea8fa7 authored by wanghao's avatar wanghao

1 料架号和物料维护调整

2 货架位置显示 料架号调整
parent 3b8ad115
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
</el-button> </el-button>
<div class="location-operate"> <div class="location-operate">
<div class="scanner-input">
<span>料架号:</span>
<el-input disabled v-model="fShelf" clearable/>
</div>
<div class="scanner-input"> <div class="scanner-input">
<span>料盘码:</span> <span>料盘码:</span>
<el-input ref="barCode" placeholder="扫描料盘条形码..." v-model="barCode" clearable/> <el-input ref="barCode" placeholder="扫描料盘条形码..." v-model="barCode" clearable/>
...@@ -133,7 +137,8 @@ ...@@ -133,7 +137,8 @@
materialCode: null, materialCode: null,
materialName: null, materialName: null,
materialSpecifications: null, materialSpecifications: null,
materialId: null materialId: null,
shelf: this.$route.query.shelf
}, },
open: false, open: false,
// 表单校验 // 表单校验
...@@ -142,11 +147,14 @@ ...@@ -142,11 +147,14 @@
{ required: true, message: "物料代码不能为空", trigger: "blur" } { required: true, message: "物料代码不能为空", trigger: "blur" }
], ],
}, },
materialInfoList: [] materialInfoList: [],
// 料盘号
fShelf: null
} }
}, },
created(){ created(){
this.queryParams.shelfId = this.$route.query.shelfId; this.queryParams.shelfId = this.$route.query.shelfId;
this.fShelf = this.$route.query.shelf;
this.getList(); this.getList();
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.barCode.focus(); this.$refs.barCode.focus();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment