This commit is contained in:
2022-12-13 17:59:00 +08:00
parent 50aed63ff2
commit 33025181ed
3 changed files with 26 additions and 10 deletions

View File

@@ -93,6 +93,11 @@
title: res.message,
icon: 'none'
})
this.val1 = ''
this.val2 = ''
this.val3 = ''
this.val4 = ''
this.val5 = ''
this.disabled = false
} catch (e) {
this.disabled = false
@@ -110,6 +115,11 @@
title: res.message,
icon: 'none'
})
this.val1 = ''
this.val2 = ''
this.val3 = ''
this.val4 = ''
this.val5 = ''
this.disabled = false
} catch (e) {
this.disabled = false
@@ -127,6 +137,11 @@
title: res.message,
icon: 'none'
})
this.val1 = ''
this.val2 = ''
this.val3 = ''
this.val4 = ''
this.val5 = ''
this.disabled3 = false
} catch (e) {
this.disabled3 = false

View File

@@ -8,11 +8,7 @@
<span class="filter_label">点位</span>
</view>
<view class="filter_input_wraper">
<search-box
v-model="val1"
:seaShow="true"
@toSearch="toSearch"
/>
<search-box v-model="val1" @handleChange="handleChange1"/>
</view>
</view>
<view class="filter_item">
@@ -59,15 +55,15 @@
};
},
methods: {
toSearch (e) {
this._pointStatusQuery()
handleChange1 (e) {
this._pointStatusQuery(e)
},
/** 查询 */
async _pointStatusQuery () {
if (!this.val1) {
async _pointStatusQuery (val1) {
if (!val1) {
return
}
let res = await pointStatusQuery(this.val1)
let res = await pointStatusQuery(val1)
this.val2 = res.data.container_name
this.val3 = res.data.have_goods
},
@@ -83,6 +79,9 @@
title: res.message,
icon: 'none'
})
this.val1 = ''
this.val2 = ''
this.val3 = ''
this.disabled = false
} catch (e) {
this.disabled = false

View File

@@ -59,6 +59,8 @@
title: res.message,
icon: 'none'
})
this.val1 = ''
this.val2 = ''
this.disabled1 = false
} catch (e) {
this.disabled1 = false