【津贴模块,津贴申请和我的资料增加开户银行支行字段】不符合条件时,阻断toast提示,触发按钮包括津贴申请列表-未审批【编辑】、津贴申请列表-审批通过【再次申请】、【点击申请】

This commit is contained in:
li.yuetong
2022-08-18 15:12:25 +08:00
parent 2f8b59b220
commit e0bd202350

View File

@@ -375,16 +375,16 @@ export default {
//不符合条件时阻断toast提示触发按钮包括“津贴申请列表-未审批”【编辑】、“津贴申请列表-审批通过”【再次申请】、【点击申请】
async isConditionsFunc(type, order) {
// type 0点击申请 1编辑 2再次申请
// const res = await allowanceCheck({})
// if (res.result == '1') {
// Toast({
// className: 'textLeft',
// duration: 3000, // 持续展示 toast
// forbidClick: true,
// message: res.resultMessage
// })
// return
// }
const res = await allowanceCheck({})
if (res.result == '1') {
Toast({
className: 'textLeft',
duration: 3000, // 持续展示 toast
forbidClick: true,
message: res.resultMessage
})
return
}
if (type == 0) {
this.applicationFunc()