查询chagnge
This commit is contained in:
@@ -122,7 +122,7 @@ uni-button:after {
|
|||||||
padding: 0 15rpx;
|
padding: 0 15rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #606266;
|
color: #606266;
|
||||||
border-radius: 14rpx;
|
border-radius: 10rpx;
|
||||||
}
|
}
|
||||||
.filter_input_disabled {
|
.filter_input_disabled {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<search-box
|
<search-box
|
||||||
v-model="val1"
|
v-model="val1"
|
||||||
@input="handleChange1"
|
:seaShow="true"
|
||||||
|
@toSearch="toSearch"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -27,7 +28,7 @@
|
|||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
<view class="filter_label">是否有货</view>
|
<view class="filter_label">是否有货</view>
|
||||||
<view class="filter_input_wraper">
|
<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>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -53,11 +54,12 @@
|
|||||||
val1: '',
|
val1: '',
|
||||||
val2: '',
|
val2: '',
|
||||||
val3: '',
|
val3: '',
|
||||||
|
disabled0: true,
|
||||||
disabled: false
|
disabled: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange1 (e) {
|
toSearch (e) {
|
||||||
this._pointStatusQuery()
|
this._pointStatusQuery()
|
||||||
},
|
},
|
||||||
/** 查询 */
|
/** 查询 */
|
||||||
@@ -66,7 +68,8 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
let res = await pointStatusQuery(this.val1)
|
let res = await pointStatusQuery(this.val1)
|
||||||
this.dataList = [...res.rows]
|
this.val2 = res.content.container_name
|
||||||
|
this.val3 = res.content.have_goods
|
||||||
},
|
},
|
||||||
async _pointOperate () {
|
async _pointOperate () {
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
|
|||||||
@@ -8,7 +8,9 @@
|
|||||||
<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"
|
||||||
|
|
||||||
|
/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
@@ -194,6 +196,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus">
|
<style lang="stylus">
|
||||||
|
.content
|
||||||
|
padding-bottom 154rpx
|
||||||
.slide_new table td:first-child, .slide_new table th:first-child
|
.slide_new table td:first-child, .slide_new table th:first-child
|
||||||
width 92rpx
|
width 92rpx
|
||||||
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
|
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
|
||||||
|
|||||||
Reference in New Issue
Block a user