修改
This commit is contained in:
@@ -8,25 +8,25 @@
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">站点信息</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<view class="zd-col-12">
|
||||
<search-box
|
||||
v-model="val2"
|
||||
:seaShow="true"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_getVehicleMaterial(val2)">查询</button>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">载具编码</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<view class="zd-col-12">
|
||||
<search-box
|
||||
v-model="val1"
|
||||
:seaShow="true"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_getVehicleMaterial(val1)">查询</button>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
@@ -119,6 +119,9 @@
|
||||
},
|
||||
selectChange (e) {
|
||||
this.index = e
|
||||
if (e) {
|
||||
this._getVehicleMaterial(e)
|
||||
}
|
||||
},
|
||||
handleChange (e) {
|
||||
if (e) {
|
||||
@@ -127,7 +130,7 @@
|
||||
},
|
||||
async _getVehicleMaterial (e) {
|
||||
try {
|
||||
let res = await getVehicleMaterial(this.val1, this.val2, this.index)
|
||||
let res = await getVehicleMaterial(e)
|
||||
if (res) {
|
||||
this.currentData = res
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user