This commit is contained in:
2025-10-14 17:23:04 +08:00
parent 734fe88f14
commit 677ed122da
8 changed files with 61 additions and 149 deletions

View File

@@ -137,18 +137,11 @@
this.disabled = true
try {
let res = await loading(this.pointCode, this.val1, this.currentData.material_code, this.val2)
if (res.code === '200') {
uni.showToast({
title: res.message,
icon: 'none'
})
this.clearUp()
} else {
uni.showToast({
title: res.message,
icon: 'none'
})
}
uni.showToast({
title: res.message,
icon: 'none'
})
this.clearUp()
this.disabled = false
} catch (e) {
this.disabled = false