This commit is contained in:
2025-03-25 08:38:48 +08:00
parent 401e4c01fe
commit 6f3dd892d7
5 changed files with 30 additions and 8 deletions

View File

@@ -23,6 +23,7 @@
<search-box
v-model="val2"
@handleChange="handleChange2"
@handleDel="handleDel2"
/>
</view>
</view>
@@ -131,10 +132,17 @@
}
},
handleChange2 (e) {
if (e && e.charAt(0).toUpperCase() === 'T') {
this.index ='FStockPallet'
if (e) {
if (e.charAt(0).toUpperCase() === 'T') {
this.index ='FStockPallet'
} else {
this.index ='FStockId'
}
}
},
handleDel2 () {
this.index = ''
},
toEmpty () {
this.val1 = ''
this.val2 = ''