修改
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom" v-if="index === '3'">
|
||||
<view class="zd-row border-bottom" v-if="index === '2' || index === '3'">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">托盘编码</span>
|
||||
</view>
|
||||
@@ -79,7 +79,8 @@
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await pickUp(this.val1, this.index, this.val2)
|
||||
const val2 = this.index === '2' || this.index === '3' ? this.val2 : null
|
||||
let res = await pickUp(this.val1, this.index, val2)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user