接口
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<!-- <search-box v-model="code" @handleChange="handleChange1" @handleDel="handleDel1" /> -->
|
||||
<input type="text" class="filter_input" v-model="val3" disabled>
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" @tap="toSearch">获取重量</button>
|
||||
<button class="mini-btn" type="primary" size="mini" @tap="_getWeight">获取重量</button>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
@@ -136,9 +136,9 @@
|
||||
try {
|
||||
let res = await regionList()
|
||||
if (res) {
|
||||
this.options = res
|
||||
this.options = res.data
|
||||
} else {
|
||||
this.options =[]
|
||||
this.options = []
|
||||
}
|
||||
} catch (e) {
|
||||
this.options = []
|
||||
@@ -148,9 +148,9 @@
|
||||
try {
|
||||
let res = await pointList(e)
|
||||
if (res) {
|
||||
this.options2 = res
|
||||
this.options2 = res.data
|
||||
} else {
|
||||
this.options2 =[]
|
||||
this.options2 = []
|
||||
}
|
||||
} catch (e) {
|
||||
this.options2 = []
|
||||
@@ -219,6 +219,7 @@
|
||||
}
|
||||
let res = await getWeight(this.index2, this.pkId)
|
||||
if (res.code === '200') {
|
||||
console.log(11111)
|
||||
this.val3 = res.data.weight
|
||||
this.flag = res.data.flag
|
||||
}
|
||||
|
||||
@@ -115,9 +115,9 @@
|
||||
try {
|
||||
let res = await regionList()
|
||||
if (res) {
|
||||
this.options = res
|
||||
this.options = res.data
|
||||
} else {
|
||||
this.options =[]
|
||||
this.options = []
|
||||
}
|
||||
} catch (e) {
|
||||
this.options = []
|
||||
@@ -127,9 +127,9 @@
|
||||
try {
|
||||
let res = await pointList(e)
|
||||
if (res) {
|
||||
this.options2 = res
|
||||
this.options2 = res.data
|
||||
} else {
|
||||
this.options2 =[]
|
||||
this.options2 = []
|
||||
}
|
||||
} catch (e) {
|
||||
this.options2 = []
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
try {
|
||||
let res = await regionList()
|
||||
if (res) {
|
||||
this.options = res
|
||||
this.options = res.data
|
||||
} else {
|
||||
this.options =[]
|
||||
this.options = []
|
||||
}
|
||||
} catch (e) {
|
||||
this.options = []
|
||||
@@ -118,9 +118,9 @@
|
||||
try {
|
||||
let res = await pointList(e)
|
||||
if (res) {
|
||||
this.options2 = res
|
||||
this.options2 = res.data
|
||||
} else {
|
||||
this.options2 =[]
|
||||
this.options2 = []
|
||||
}
|
||||
} catch (e) {
|
||||
this.options2 = []
|
||||
|
||||
Reference in New Issue
Block a user