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',