수정건 수정

This commit is contained in:
USER
2022-08-05 14:05:35 +09:00
parent 8971945e93
commit e67838c044
13 changed files with 101 additions and 32 deletions

View File

@@ -179,7 +179,7 @@ export default {
return false;
}
const hp = this.blckSndrno;
if (!this.isNull(hp) && !this.isMobile(hp)) {
if (!this.isNull(hp) && !this.isSendnum(hp)) {
this.row.title = '발신번호 차단';
this.row.msg1 = '발신번호 형식이 잘못되었습니다. 확인 해주세요.';
this.$parent.alertInsert(this.row)

View File

@@ -129,6 +129,18 @@ const utils_mixin = {
}
},
/** 발신번호 차단 */
isSendnum(phoneNum){
var regExp = /^(01[016789])([0-9]{3,4})([0-9]{4})|((080-[0-9]{3,4}|15(44|66|77|88))[0-9]{4})|(0(2|3[1-3]|4[1-4]|5[1-5]|6[1-4]))(\d{3,4})(\d{4})$/;
var myArray;
if(regExp.test(phoneNum)){
myArray = regExp.exec(phoneNum);
return true;
}else{
return false;
}
},
isNull(obj) {
if (lodash.isNil(obj) || lodash.trim(obj) == '') {
return true;

View File

@@ -65,7 +65,7 @@
<tr>
<th>제출서류</th>
<td class="sender">
<p v-for="(item, idx) in docList" v-if="item.docTpCd !== '06'">{{ item.docTitle }}</p>
<a v-for="(item, idx) in docList" v-if="item.docTpCd !== '06'">{{ item.docTitle }}</a>
</td>
</tr>
<tr>

View File

@@ -471,15 +471,19 @@ export default {
sendNm: this.sendNm,
sendNum: this.sendNum
})
// 등록할 발신 번호
if (this.numberInputs.length > 0) {
this.numberInputs.forEach(element =>
for(var i=0; i<this.numberInputs.length; i++){
if(this.numberInputs[i].sendNm !== '' && this.numberInputs[i].sendNum !== ''){
this.saveSendNums.push({
sendNm: element.sendNm,
sendNum: element.sendNum
sendNm: this.numberInputs[i].sendNm,
sendNum: this.numberInputs[i].sendNum
})
)
}
}
}
if (this.doValidate()) {
if (this.bizrAuthYn !== 'Y') {
if (this.nmineeDivCd === '01') {