联调修改

This commit is contained in:
蔡玲
2024-09-13 15:31:19 +08:00
parent ecd0ab12d8
commit 390c223a01
11 changed files with 185 additions and 137 deletions

View File

@@ -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 () {