|
@@ -207,13 +207,14 @@
|
|
|
var uploadGoodsUrl = [[${@environment.getProperty('domain.image')}]];
|
|
var uploadGoodsUrl = [[${@environment.getProperty('domain.image')}]];
|
|
|
var callBackBrandGroup = function (result) {
|
|
var callBackBrandGroup = function (result) {
|
|
|
var html = '';
|
|
var html = '';
|
|
|
|
|
+ brandCdIdx = $("#tabTable" + tabTableRow + " #brandListTd" + callbackBrandTr + " >ul").size()
|
|
|
|
|
|
|
|
for (let i = 0; i < result.length; i++) {
|
|
for (let i = 0; i < result.length; i++) {
|
|
|
- html += '<ul id="brandUl' + brandCdIdx + '" class="item ui-state-default brandClass" style="min-height:130px;">';
|
|
|
|
|
|
|
+ html += '<ul id="brandUl' + brandCdIdx + '" class="item ui-state-default brandClass" style="min-height:80px;">';
|
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + result[i].brandGroupNo + '">';
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + result[i].brandGroupNo + '">';
|
|
|
html += ' <input type="hidden" name="imgPath1" value="' + result[i].logoFileNm + '">';
|
|
html += ' <input type="hidden" name="imgPath1" value="' + result[i].logoFileNm + '">';
|
|
|
html += ' <li class="img">';
|
|
html += ' <li class="img">';
|
|
|
- html += ' <img src="' + uploadGoodsUrl + "/" + result[i].logoFileNm + '" onerror="this.src=\'/image/no.gif\';"/>';
|
|
|
|
|
|
|
+ html += ' <img style="height:100%;" src="' + uploadGoodsUrl + "/" + result[i].logoFileNm + '" onerror="this.src=\'/image/no.gif\';"/>';
|
|
|
html += ' </li>';
|
|
html += ' </li>';
|
|
|
html += ' <li class="cont">';
|
|
html += ' <li class="cont">';
|
|
|
html += ' <ul>';
|
|
html += ' <ul>';
|
|
@@ -302,11 +303,14 @@
|
|
|
|
|
|
|
|
if(contentsLoc=='STAB001'){
|
|
if(contentsLoc=='STAB001'){
|
|
|
strTitle3 = $(".tabTable").find("input[name=tableIdx]").val();
|
|
strTitle3 = $(".tabTable").find("input[name=tableIdx]").val();
|
|
|
|
|
+ console.log('dispStdt::'+$(this).find("input[name=dispStdt]").val());
|
|
|
|
|
+ var dispStdt = $(this).find("input[name=dispStdt]").val().replace(/[^0-9]/g, '')+$(this).find("[name=stTimeHour]").val().replace('시', '')+$(this).find("[name=stTimeMin]").val().replace('분', '')+'00';
|
|
|
|
|
+ var dispEddt = $(this).find("input[name=dispEddt]").val().replace(/[^0-9]/g, '')+$(this).find("[name=edTimeHour]").val().replace('시', '')+$(this).find("[name=edTimeMin]").val().replace('분', '')+'59';
|
|
|
|
|
+
|
|
|
$(this).find(".brandClass").each(function (){
|
|
$(this).find(".brandClass").each(function (){
|
|
|
var idx = $(this).closest('div').attr('data-id');
|
|
var idx = $(this).closest('div').attr('data-id');
|
|
|
strTitle1 = $(".groupTr").find("input[id=bTitle"+idx+"]").val();
|
|
strTitle1 = $(".groupTr").find("input[id=bTitle"+idx+"]").val();
|
|
|
- var dispStdt = $(this).find("input[name=dispStdt]").val().replace(/[^0-9]/g, '')+$(this).find("[name=stTimeHour]").val().replace('시', '')+$(this).find("[name=stTimeMin]").val().replace('분', '')+'00';
|
|
|
|
|
- var dispEddt = $(this).find("input[name=dispEddt]").val().replace(/[^0-9]/g, '')+$(this).find("[name=edTimeHour]").val().replace('시', '')+$(this).find("[name=edTimeMin]").val().replace('분', '')+'59';
|
|
|
|
|
|
|
+
|
|
|
var dispOrd = $(this).find("[name=dispOrd]").val();
|
|
var dispOrd = $(this).find("[name=dispOrd]").val();
|
|
|
strVar1 = $(this).find("input[name=brandGroupNo]").val();
|
|
strVar1 = $(this).find("input[name=brandGroupNo]").val();
|
|
|
imgPath1 = $(this).find("input[name=imgPath1]").val();
|
|
imgPath1 = $(this).find("input[name=imgPath1]").val();
|
|
@@ -471,10 +475,10 @@
|
|
|
html += ' <div class="sortableWrap" data-unit="7" style="overflow-y:scroll;">';
|
|
html += ' <div class="sortableWrap" data-unit="7" style="overflow-y:scroll;">';
|
|
|
html += ' <div class="itemWrap ui-sortable" id="brandListTd1" data-id="1">';
|
|
html += ' <div class="itemWrap ui-sortable" id="brandListTd1" data-id="1">';
|
|
|
for(let k=0; k<g1cdArr.length; k++){
|
|
for(let k=0; k<g1cdArr.length; k++){
|
|
|
- html += '<ul id="brandUl' + k + '" class="item ui-state-default brandClass" style="min-height:130px;">';
|
|
|
|
|
|
|
+ html += '<ul id="brandUl' + k + '" class="item ui-state-default brandClass" style="min-height:80px;">';
|
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g1cdArr[k] + '">';
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g1cdArr[k] + '">';
|
|
|
html += ' <li class="img">';
|
|
html += ' <li class="img">';
|
|
|
- html += ' <img src="' + uploadGoodsUrl + "/" + g1imgArr[k] + '" onerror="this.src=\'/image/no.gif\';"/>';
|
|
|
|
|
|
|
+ html += ' <img style="height:100%;" src="' + uploadGoodsUrl + "/" + g1imgArr[k] + '" onerror="this.src=\'/image/no.gif\';"/>';
|
|
|
html += ' </li>';
|
|
html += ' </li>';
|
|
|
html += ' <li class="cont">';
|
|
html += ' <li class="cont">';
|
|
|
html += ' <ul>';
|
|
html += ' <ul>';
|
|
@@ -498,10 +502,10 @@
|
|
|
html += ' <div class="sortableWrap" data-unit="7" style="overflow-y:scroll;">';
|
|
html += ' <div class="sortableWrap" data-unit="7" style="overflow-y:scroll;">';
|
|
|
html += ' <div class="itemWrap ui-sortable" id="brandListTd2" data-id="2">';
|
|
html += ' <div class="itemWrap ui-sortable" id="brandListTd2" data-id="2">';
|
|
|
for(let m=0; m<g2cdArr.length; m++){
|
|
for(let m=0; m<g2cdArr.length; m++){
|
|
|
- html += '<ul id="brandUl' + m + '" class="item ui-state-default brandClass" style="min-height:130px;">';
|
|
|
|
|
|
|
+ html += '<ul id="brandUl' + m + '" class="item ui-state-default brandClass" style="min-height:80px;">';
|
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g2cdArr[m] + '">';
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g2cdArr[m] + '">';
|
|
|
html += ' <li class="img">';
|
|
html += ' <li class="img">';
|
|
|
- html += ' <img src="' + uploadGoodsUrl + "/" + g2imgArr[m] + '" onerror="this.src=\'/image/no.gif\';"/>';
|
|
|
|
|
|
|
+ html += ' <img style="height:100%;" src="' + uploadGoodsUrl + "/" + g2imgArr[m] + '" onerror="this.src=\'/image/no.gif\';"/>';
|
|
|
html += ' </li>';
|
|
html += ' </li>';
|
|
|
html += ' <li class="cont">';
|
|
html += ' <li class="cont">';
|
|
|
html += ' <ul>';
|
|
html += ' <ul>';
|
|
@@ -525,10 +529,10 @@
|
|
|
html += ' <div class="sortableWrap" data-unit="7" style="overflow-y:scroll;">';
|
|
html += ' <div class="sortableWrap" data-unit="7" style="overflow-y:scroll;">';
|
|
|
html += ' <div class="itemWrap ui-sortable" id="brandListTd3" data-id="3">';
|
|
html += ' <div class="itemWrap ui-sortable" id="brandListTd3" data-id="3">';
|
|
|
for(let n=0; n<g3cdArr.length; n++){
|
|
for(let n=0; n<g3cdArr.length; n++){
|
|
|
- html += '<ul id="brandUl' + n + '" class="item ui-state-default brandClass" style="min-height:130px;">';
|
|
|
|
|
|
|
+ html += '<ul id="brandUl' + n + '" class="item ui-state-default brandClass" style="min-height:80px;">';
|
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g3cdArr[n] + '">';
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g3cdArr[n] + '">';
|
|
|
html += ' <li class="img">';
|
|
html += ' <li class="img">';
|
|
|
- html += ' <img src="' + uploadGoodsUrl + "/" + g3imgArr[n] + '" onerror="this.src=\'/image/no.gif\';"/>';
|
|
|
|
|
|
|
+ html += ' <img style="height:100%;" src="' + uploadGoodsUrl + "/" + g3imgArr[n] + '" onerror="this.src=\'/image/no.gif\';"/>';
|
|
|
html += ' </li>';
|
|
html += ' </li>';
|
|
|
html += ' <li class="cont">';
|
|
html += ' <li class="cont">';
|
|
|
html += ' <ul>';
|
|
html += ' <ul>';
|