修改扫码

This commit is contained in:
x
2026-06-03 13:05:15 +08:00
parent 19801f44a6
commit b60645131e
11 changed files with 233 additions and 125 deletions

View File

@@ -19,8 +19,10 @@
<view class="zd-col-17">
<search-box
v-model="val2"
@handleInput="handleInput"
@handleChange="handleChange"
/>
<!-- <search-box v-model="val2" @handleInput="handleInput" /> -->
</view>
</view>
<view v-if="Object.prototype.toString.call(currentData) === '[object Object]' ">
@@ -129,7 +131,7 @@
this.title = options.title
},
created () {
this._structList()
// this._structList()
},
methods: {
async _structList () {
@@ -163,8 +165,15 @@
this.index = ''
this.disabled3 = false
},
handleChange (e) {
handleInput (e) {
if (e) {
this.val2 = e.slice(-4)
}
},
handleChange () {
this.val2 = this.val2.slice(-4)
if (this.val2) {
this.currentData = {}
this._jbGetLtInfo()
}
},