修改扫码
This commit is contained in:
@@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user