扫码插入
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
<tbody>
|
||||
<tr v-for="(e, i) in dataList" :key="i" :class="{'checked': e.mid === pkId}">
|
||||
<td @tap="toCheck(e)">{{i+1}}</td>
|
||||
<td><input type="text" class="sin_input" v-model="e.container_code"></td>
|
||||
<td><input type="text" class="sin_input" style="width: 135px;" v-model="e.container_code"></td>
|
||||
<td @tap="toJump(e)">{{e.material_code}}</td>
|
||||
<td>{{e.material_name}}</td>
|
||||
<td><input type="number" class="sin_input" v-model="e.qty" @blur="handleBlur(e)"></td>
|
||||
@@ -171,10 +171,6 @@
|
||||
uni.scanCode({
|
||||
success: (res) => {
|
||||
// console.log('扫码成功:', res.result);
|
||||
// uni.showToast({
|
||||
// title: res.result,
|
||||
// icon: 'none'
|
||||
// })
|
||||
const parts = res.result.split(';')
|
||||
if (parts.length !== 5) {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user