盘点明细bug
This commit is contained in:
@@ -33,9 +33,9 @@
|
||||
methods: {
|
||||
handleFocus () {
|
||||
this.focusState = true
|
||||
setTimeout(() => {
|
||||
uni.hideKeyboard()
|
||||
}, 300)
|
||||
// setTimeout(() => {
|
||||
// uni.hideKeyboard()
|
||||
// }, 300)
|
||||
},
|
||||
handleBlur (e) {
|
||||
this.$emit('input', e.target.value)
|
||||
@@ -51,6 +51,9 @@
|
||||
this.$emit('input', e.target.value)
|
||||
if (e.target.value.length) {
|
||||
this.$emit('handleChange', e.target.value)
|
||||
setTimeout(() => {
|
||||
uni.hideKeyboard()
|
||||
}, 300)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -145,7 +145,6 @@
|
||||
onLoad (option) {
|
||||
this.checkCode = option.checkcode
|
||||
this.title = option.title
|
||||
// this._checkQueryDtl()
|
||||
},
|
||||
mounted () {
|
||||
this.$refs.scanChild.handleFocus()
|
||||
@@ -157,7 +156,7 @@
|
||||
})
|
||||
},
|
||||
handleChange (e) {
|
||||
this._checkQueryDtl(e)
|
||||
this._checkQueryDtl(this.checkCode, e)
|
||||
},
|
||||
toRemark (e) {
|
||||
this.val0 = e.remark
|
||||
@@ -182,8 +181,8 @@
|
||||
this.checkArr = this.dataList.filter(i => { return i.checked === true })
|
||||
},
|
||||
/** 初始化查询 */
|
||||
async _checkQueryDtl () {
|
||||
let res = await checkQueryDtl(this.checkCode, this.val1)
|
||||
async _checkQueryDtl (code, e) {
|
||||
let res = await checkQueryDtl(code, e)
|
||||
this.val2 = res.check_num
|
||||
this.val3 = res.uncheck_num
|
||||
res.data.map(el => {
|
||||
|
||||
Reference in New Issue
Block a user