This commit is contained in:
2025-11-05 09:31:22 +08:00
parent 2fcd78360e
commit 0bcbc2b449
3 changed files with 33 additions and 127 deletions

View File

@@ -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,