This commit is contained in:
2025-09-18 17:41:27 +08:00
parent b52206d721
commit 6bdb34a86e
7 changed files with 18 additions and 40 deletions

View File

@@ -161,7 +161,7 @@
try {
this.pkObj.material_qty = this.qty
let res = await materialInConfirm(this.fobj.bill_type, this.fobj.struct_code, this.fobj.storagevehicle_code, this.tableData, this.pkObj)
if (res.code === '200') {
if (res) {
uni.showToast({
title: res.message,
icon: 'none'
@@ -172,13 +172,8 @@
uni.navigateTo({
url: '/pages/Material/mater-in-store?title=物料入库'
})
} else {
uni.showToast({
title: res.message,
icon: 'none'
})
this.disabled = false
}
this.disabled = false
} catch (e) {
this.disabled = false
}