修改
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user