This commit is contained in:
wangweidong 2026-01-23 15:43:33 +08:00
parent 6239ebefe2
commit f554cb72af
1 changed files with 13 additions and 0 deletions

View File

@ -336,10 +336,23 @@
uni.reLaunch({ uni.reLaunch({
url: `/pages/addsupplier/successpush` url: `/pages/addsupplier/successpush`
}); });
}else if(res.code == 500){
uni.showToast({
title:res.message,
icon:'none'
})
return
} }
}) })
} else { } else {
addSuppliers(form).then((res) => { addSuppliers(form).then((res) => {
if(res.code == 500){
uni.showToast({
title:res.message,
icon:'none'
})
return
}
let data = { let data = {
orgCode: uni.getStorageSync('nostaffmessage'), orgCode: uni.getStorageSync('nostaffmessage'),
openId: uni.getStorageSync('openid') openId: uni.getStorageSync('openid')