|
|
@ -225,7 +225,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
var $P = pageObject["${pageName}"];
|
|
|
|
var $P = pageObject["${pageName}"];
|
|
|
|
|
|
|
|
|
|
|
|
$P.otptStngMap = {};
|
|
|
|
$P.otptArtclStngMap = {};
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnSave--${pageName}").attr("disabled","disabled");
|
|
|
|
$("#btnSave--${pageName}").attr("disabled","disabled");
|
|
|
|
$("#btnUniqueAdd--${pageName}").attr("disabled","disabled");
|
|
|
|
$("#btnUniqueAdd--${pageName}").attr("disabled","disabled");
|
|
|
@ -255,14 +255,14 @@ $(document).ready(function(){
|
|
|
|
$("#frmEdit--${pageName}").find("[name='paperSeCd']").val(query.paperSeCd);
|
|
|
|
$("#frmEdit--${pageName}").find("[name='paperSeCd']").val(query.paperSeCd);
|
|
|
|
|
|
|
|
|
|
|
|
$("#currentOtpt--${pageName}").text(resp.otptStngTitle);
|
|
|
|
$("#currentOtpt--${pageName}").text(resp.otptStngTitle);
|
|
|
|
$P.otptStngMap = resp.otptStngMap;
|
|
|
|
$P.otptArtclStngMap = resp.otptArtclStngMap;
|
|
|
|
|
|
|
|
|
|
|
|
$P.renderOtptStngGrid("tbodyUnique--${pageName}",
|
|
|
|
$P.renderOtptStngGrid("tbodyUnique--${pageName}",
|
|
|
|
$P.otptStngMap.unique.prototypeList,
|
|
|
|
$P.otptArtclStngMap.unique.prototypeList,
|
|
|
|
$P.otptStngMap.unique.dataList);
|
|
|
|
$P.otptArtclStngMap.unique.dataList);
|
|
|
|
$P.renderOtptStngGrid("tbodyMultiple--${pageName}",
|
|
|
|
$P.renderOtptStngGrid("tbodyMultiple--${pageName}",
|
|
|
|
$P.otptStngMap.multiple.prototypeList,
|
|
|
|
$P.otptArtclStngMap.multiple.prototypeList,
|
|
|
|
$P.otptStngMap.multiple.dataList);
|
|
|
|
$P.otptArtclStngMap.multiple.dataList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -371,7 +371,7 @@ $(document).ready(function(){
|
|
|
|
$P.choiceOtptArtclNm = () => {
|
|
|
|
$P.choiceOtptArtclNm = () => {
|
|
|
|
$("#dropdownUniqueAdd--${pageName}").html("");
|
|
|
|
$("#dropdownUniqueAdd--${pageName}").html("");
|
|
|
|
|
|
|
|
|
|
|
|
var prototypeList = $P.otptStngMap.unique.prototypeList;
|
|
|
|
var prototypeList = $P.otptArtclStngMap.unique.prototypeList;
|
|
|
|
var existArr = [];
|
|
|
|
var existArr = [];
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbodyUnique--sprt01200-main tr").each(function(){
|
|
|
|
$("#tbodyUnique--sprt01200-main tr").each(function(){
|
|
|
@ -405,10 +405,10 @@ $(document).ready(function(){
|
|
|
|
var tbodyId;
|
|
|
|
var tbodyId;
|
|
|
|
|
|
|
|
|
|
|
|
if(otptArtclNm == null || otptArtclNm == ""){
|
|
|
|
if(otptArtclNm == null || otptArtclNm == ""){
|
|
|
|
prototypeList = $P.otptStngMap.multiple.prototypeList;
|
|
|
|
prototypeList = $P.otptArtclStngMap.multiple.prototypeList;
|
|
|
|
tbodyId = "tbodyMultiple--${pageName}";
|
|
|
|
tbodyId = "tbodyMultiple--${pageName}";
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
prototypeList = $P.otptStngMap.unique.prototypeList;
|
|
|
|
prototypeList = $P.otptArtclStngMap.unique.prototypeList;
|
|
|
|
tbodyId = "tbodyUnique--${pageName}";
|
|
|
|
tbodyId = "tbodyUnique--${pageName}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -512,7 +512,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
var otptArtclNm = $(selectElement).val();
|
|
|
|
var otptArtclNm = $(selectElement).val();
|
|
|
|
var tr = $(selectElement).parent().parent()[0];
|
|
|
|
var tr = $(selectElement).parent().parent()[0];
|
|
|
|
var prototypeList = $P.otptStngMap.multiple.prototypeList;
|
|
|
|
var prototypeList = $P.otptArtclStngMap.multiple.prototypeList;
|
|
|
|
|
|
|
|
|
|
|
|
$($P.fnGetElement(tr,"componentType"))
|
|
|
|
$($P.fnGetElement(tr,"componentType"))
|
|
|
|
.val($P.fnGetProto(prototypeList, otptArtclNm, "componentType"));
|
|
|
|
.val($P.fnGetProto(prototypeList, otptArtclNm, "componentType"));
|
|
|
|