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