This commit is contained in:
2025-07-31 10:56:10 +08:00
parent b927c50d05
commit 9206d0d0e4
4 changed files with 51 additions and 113 deletions

View File

@@ -90,7 +90,6 @@
title: '',
val1: '',
val2: '',
// options: [{text:'堆叠托盘', value:'11111111'},{text:'料箱',value: '22222222'},{text:'白色EPH',value: '33333333'}],
options: [],
index: '',
disabled: false,
@@ -151,19 +150,14 @@
}
try {
let res = await confirmIn(this.val1, this.val2, this.index)
if (res.code === '200') {
uni.showToast({
title: res.message,
icon: 'none'
})
if (res.status === '200') {
this.clearUp()
} else {
uni.showToast({
title: res.message,
icon: 'none'
})
this.disabled = false
}
this.disabled = false
uni.showToast({
title: res.message,
icon: 'none'
})
} catch (e) {
this.disabled = false
}