This commit is contained in:
parent
6239ebefe2
commit
f554cb72af
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue