From 83b274183d88d71bb0faac1fa71120157833a477 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Tue, 12 Aug 2025 13:59:30 +0800 Subject: [PATCH] no message --- root/person/marge.vue | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/root/person/marge.vue b/root/person/marge.vue index 9960879..2300b95 100644 --- a/root/person/marge.vue +++ b/root/person/marge.vue @@ -273,15 +273,25 @@ export default { openApply(){ let that = this; if(that.applysRecord && that.applysRecord.length < 1){ - that.G.Get(that.api.person_getCreatorTel,{},(createRes)=>{ - console.log('创建人手机号:',createRes) - that.createData = { - isShow:true, - code:'', - tel: createRes.tel, - telEncrypt: createRes.telEncrypt - }; + let _result = that.applysRecord.filter(item => { + return item.state == 0; }) + if(_result && _result.length > 1){ + that.G.Get(that.api.person_getCreatorTel,{},(createRes)=>{ + console.log('创建人手机号:',createRes) + that.createData = { + isShow:true, + code:'', + tel: createRes.tel, + telEncrypt: createRes.telEncrypt + }; + }) + }else{ + uni.showToast({ + icon:'none', + title:'只能有一个审核中的合并申请' + }) + } }else{ uni.showToast({ icon:'none',