联调修改
This commit is contained in:
@@ -17,10 +17,9 @@
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">分切设备</span>
|
||||
</view>
|
||||
<view class="zd-col-12 filter_select">
|
||||
<uni-data-select v-model="index" :localdata="options"></uni-data-select>
|
||||
<view class="zd-col-17 filter_select">
|
||||
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
</view>
|
||||
<button class="zd-col-4 button-primary button-primary_s" @tap="_getSlitterNeedShaftPlans">查询</button>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd_wrapper grid-wraper">
|
||||
@@ -105,8 +104,13 @@
|
||||
let res = await getSlitterDeviceBox()
|
||||
this.options = [...res]
|
||||
},
|
||||
async _getSlitterNeedShaftPlans () {
|
||||
let res = await getSlitterNeedShaftPlans(this.val1, this.index)
|
||||
selectChange (e) {
|
||||
if (e) {
|
||||
this._getSlitterNeedShaftPlans(e)
|
||||
}
|
||||
},
|
||||
async _getSlitterNeedShaftPlans (e) {
|
||||
let res = await getSlitterNeedShaftPlans(e)
|
||||
this.dataList = [...res]
|
||||
},
|
||||
async _doSendShaft () {
|
||||
|
||||
Reference in New Issue
Block a user