This commit is contained in:
2022-10-13 17:03:44 +08:00
2 changed files with 15 additions and 4 deletions

View File

@@ -8,7 +8,10 @@
<span class="filter_label">点位</span> <span class="filter_label">点位</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<search-box v-model="val1" /> <search-box
v-model="val1"
@input="handleChange1"
/>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
@@ -16,7 +19,10 @@
<span class="filter_label">空轴/母卷</span> <span class="filter_label">空轴/母卷</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<search-box v-model="val2" /> <search-box
v-model="val2"
@input="handleChange2"
/>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
@@ -52,8 +58,13 @@
}; };
}, },
methods: { methods: {
handleChange (e) { handleChange1 (e) {
console.log(e) console.log(e)
// this._pointStatusQuery()
},
handleChange2 (e) {
console.log(e)
// this._pointStatusQuery()
}, },
/** 查询 */ /** 查询 */
async _pointStatusQuery () { async _pointStatusQuery () {

View File

@@ -56,7 +56,7 @@
</view> </view>
</view> </view>
<view class="submit-bar"> <view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2 || !index}" @tap="_queryRawFoil">查询</button> <button class="submit-button" @tap="_queryRawFoil">查询</button>
</view> </view>
</view> </view>
</template> </template>