|
|
@@ -375,24 +375,6 @@
|
|
|
html += ' </td>';
|
|
|
html += '</tr>';
|
|
|
}
|
|
|
- if(contentsLoc=='STAB003'){
|
|
|
- html += ' <tr name="tabCateRow">';
|
|
|
- html += ' <th>카테고리</th>';
|
|
|
- html += ' <td colspan="3">카테고리선택';
|
|
|
- html += ' <select name="cate1List">';
|
|
|
- html += ' <option value="">[선택]</option>';
|
|
|
- for(let i=0; i<cate1List.length; i++){
|
|
|
- if(cate1No == cate1List[i].cd){
|
|
|
- html += '<option value="'+cate1List[i].cd+'" selected="selected">['+cate1List[i].cd+'] '+cate1List[i].cdNm+'</option>';
|
|
|
- }else{
|
|
|
- html += '<option value="'+cate1List[i].cd+'">['+cate1List[i].cd+'] '+cate1List[i].cdNm+'</option>';
|
|
|
- }
|
|
|
- }
|
|
|
- html += ' <option value="3000">[3000] 아울렛</option>';
|
|
|
- html += ' </select>';
|
|
|
- html += ' </td>';
|
|
|
- html += ' </tr>';
|
|
|
- }
|
|
|
html += '</thead><tbody>';
|
|
|
if(contentsLoc!='SCM002' && contentsLoc!='SCM003' && contentsLoc!='SMM011' && contentsLoc!='SBM012'){
|
|
|
for(var j=1; j<5; j++){
|
|
|
@@ -740,20 +722,6 @@
|
|
|
html += ' </td>';
|
|
|
html += '</tr>';
|
|
|
}
|
|
|
- if(contentsLoc=='STAB003'){
|
|
|
- html += ' <tr name="tabCateRow">';
|
|
|
- html += ' <th>카테고리</th>';
|
|
|
- html += ' <td colspan="3">카테고리선택';
|
|
|
- html += ' <select name="cate1List">';
|
|
|
- html += ' <option value="">[선택]</option>';
|
|
|
- for(let i=0; i<cate1List.length; i++){
|
|
|
- html += '<option value="'+cate1List[i].cd+'">['+cate1List[i].cd+'] '+cate1List[i].cdNm+'</option>';
|
|
|
- }
|
|
|
- html += ' <option value="3000">[3000] 아울렛</option>';
|
|
|
- html += ' </select>';
|
|
|
- html += ' </td>';
|
|
|
- html += ' </tr>';
|
|
|
- }
|
|
|
html += '</thead><tbody>';
|
|
|
html += '</tbody></table>';
|
|
|
|
|
|
@@ -850,20 +818,6 @@
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- // STAB003 데이터 validation 체크
|
|
|
- function stab003DataValidation(){
|
|
|
- $(".mcTable").each(function(i){
|
|
|
- var cateValue = $(this).find("tr[name=tabCateRow]").find("select[name=cate1List] option:selected").val();
|
|
|
- console.log('cateValue::'+cateValue);
|
|
|
- if(gagajf.isNull(cateValue)){
|
|
|
- mcxDialog.alert('적용할 카테고리를 선택해주세요.');
|
|
|
- return false;
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- return true;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 임시저장
|
|
|
*/
|
|
|
@@ -879,12 +833,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(contentsLoc=='STAB003'){
|
|
|
- if(!stab003DataValidation()){
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
var titleBool = true;
|
|
|
$("#popSortable").find('input[name=title]').each(function(idx, title) {
|
|
|
if ($(title).val()==''){
|
|
|
@@ -1001,11 +949,6 @@
|
|
|
strVar1 = $(this).find("input:radio[name=dispCnt]:checked").val();
|
|
|
}
|
|
|
|
|
|
- if(contentsLoc=='STAB003'){
|
|
|
- var cateValue = $(this).find("tr[name=tabCateRow]").find("select[name=cate1List] option:selected").val();
|
|
|
- contentsType = cateValue;
|
|
|
- }
|
|
|
-
|
|
|
var data = {cateNo : cateNo
|
|
|
, contentsLoc : contentsLoc
|
|
|
, contentsType : contentsType
|