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

View File

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

View File

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