팩스전송 주소록 등록 관련
This commit is contained in:
parent
720ad951ab
commit
c9415b7ba4
@ -70,7 +70,7 @@ function excelExport(event){
|
||||
|
||||
if(data != null){
|
||||
$.each(data, function(i, item){
|
||||
if(checkHpNum(item.phone)){
|
||||
if(checkFaxNum(item.phone)){
|
||||
excelAddr.push({phone: item.phone, name: item.name});
|
||||
}
|
||||
});
|
||||
|
||||
@ -137,7 +137,6 @@ $(document).ready(function (){
|
||||
|
||||
//받는사람 목록에 복사/붙여넣기 기능 처리
|
||||
$('.callList_box').on('paste', function (e) {
|
||||
|
||||
var element = e.originalEvent.clipboardData.getData('text'); // 클립보드에 복사한 데이터 가져오기
|
||||
|
||||
var elmSplit= [];
|
||||
@ -148,10 +147,8 @@ $(document).ready(function (){
|
||||
|
||||
|
||||
if(elmLen < 0){
|
||||
|
||||
alert("붙여넣을 연락처를 복사해주세요.");
|
||||
return false;
|
||||
|
||||
}else{
|
||||
tableErrorData.length = 0; // 오류 번호 배열 초기화
|
||||
|
||||
@ -180,7 +177,7 @@ $(document).ready(function (){
|
||||
}else if(splitData.length == 1){// 데이터가 탭으로 구분이 없는 경우
|
||||
|
||||
for(var j=0; j < splitData.length; j++){
|
||||
if(checkHpNum(splitData[j].trim())){//핸드폰 양식이 맞는지 확인
|
||||
if(checkFaxNum(splitData[j].trim())){//핸드폰 양식이 맞는지 확인
|
||||
//배열 끝에 데이터 추가해 주기
|
||||
realPhone.push({phone: removeDash(splitData[j].trim()), name: ""});
|
||||
}
|
||||
@ -210,7 +207,7 @@ $(document).ready(function (){
|
||||
|
||||
if(j == 1){
|
||||
|
||||
if(checkHpNum(splitData[j].trim())){//핸드폰 양식이 맞는지 확인
|
||||
if(checkFaxNum(splitData[j].trim())){//핸드폰 양식이 맞는지 확인
|
||||
phone = removeDash(splitData[j].trim());
|
||||
isPhoneValid = true;
|
||||
}else{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user