物料组盘
This commit is contained in:
@@ -4,6 +4,14 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">设备区域</span>
|
||||
</view>
|
||||
<view class="zd-col-24 filter_select">
|
||||
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">设备点位</span>
|
||||
@@ -103,6 +111,8 @@
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
options: [],
|
||||
index: '',
|
||||
options2: [],
|
||||
index2: '',
|
||||
id: '',
|
||||
@@ -180,6 +190,18 @@
|
||||
// })
|
||||
}
|
||||
},
|
||||
async _regionList () {
|
||||
try {
|
||||
let res = await regionList()
|
||||
if (res) {
|
||||
this.options = res.data
|
||||
} else {
|
||||
this.options = []
|
||||
}
|
||||
} catch (e) {
|
||||
this.options = []
|
||||
}
|
||||
},
|
||||
async _pointList (e) {
|
||||
try {
|
||||
let res = await pointList(e)
|
||||
@@ -192,6 +214,10 @@
|
||||
this.options2 = []
|
||||
}
|
||||
},
|
||||
selectChange (e) {
|
||||
this.index = e
|
||||
this._pointList(e)
|
||||
},
|
||||
selectChange2 (e) {
|
||||
this.index2 = e
|
||||
this._jbGetVehicleCode()
|
||||
@@ -271,7 +297,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.val3 = res.data.weight
|
||||
this.val3 = res.data.org_weight
|
||||
this.flag = res.data.flag
|
||||
this.dupWeight = res.data.weight
|
||||
this.orgWeight = res.data.org_weight
|
||||
|
||||
Reference in New Issue
Block a user