查询chagnge
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
<view class="filter_input_wraper">
|
||||
<search-box
|
||||
v-model="val1"
|
||||
@input="handleChange1"
|
||||
:seaShow="true"
|
||||
@toSearch="toSearch"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
@@ -27,7 +28,7 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">是否有货</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="text" class="filter_input" v-model="val3" disabled>
|
||||
<input type="text" class="filter_input" v-model="val3" :class="{'filter_input_disabled': disabled0}" :disabled="disabled0">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -53,11 +54,12 @@
|
||||
val1: '',
|
||||
val2: '',
|
||||
val3: '',
|
||||
disabled0: true,
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
handleChange1 (e) {
|
||||
toSearch (e) {
|
||||
this._pointStatusQuery()
|
||||
},
|
||||
/** 查询 */
|
||||
@@ -66,7 +68,8 @@
|
||||
return
|
||||
}
|
||||
let res = await pointStatusQuery(this.val1)
|
||||
this.dataList = [...res.rows]
|
||||
this.val2 = res.content.container_name
|
||||
this.val3 = res.content.have_goods
|
||||
},
|
||||
async _pointOperate () {
|
||||
this.disabled = true
|
||||
|
||||
Reference in New Issue
Block a user