子卷套管

This commit is contained in:
2022-11-01 14:42:52 +08:00
parent b95f5bedf5
commit cdc86356f2
2 changed files with 27 additions and 3 deletions

View File

@@ -29,6 +29,26 @@
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">设备</span>
</view>
<view class="filter_input_wraper">
<search-box
v-model="val3"
/>
</view>
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">子卷号</span>
</view>
<view class="filter_input_wraper">
<search-box
v-model="val4"
/>
</view>
</view>
</view>
<view class="zd_wrapper grid-wraper">
<view class="slide_new">
@@ -95,6 +115,8 @@
return {
val1: '',
val2: '',
val3: '',
val4: '',
options: [],
index: '',
qty: '',
@@ -119,7 +141,7 @@
},
/** 初始化查询 */
async _queryMaterialInfo () {
let res = await queryMaterialInfo2(this.val1, this.index)
let res = await queryMaterialInfo2(this.val1, this.index, this.val3, this.val4)
res.data.map(el => {
this.$set(el, 'checked', false)
})