...
|
...
|
@@ -128,7 +128,7 @@ function initInfo(basicInfo) { |
|
|
$("#isOutLets2").val(basicInfo.isOutLets);
|
|
|
|
|
|
|
|
|
$(":checkbox[name=seasons]").each(function(){
|
|
|
$(":radio[name=seasons]").each(function(){
|
|
|
if(basicInfo.seasons!=null&&basicInfo.seasons!=undefined&&basicInfo.seasons!=''&&
|
|
|
basicInfo.seasons.indexOf($(this).val())>-1){
|
|
|
$(this).prop("checked",true)
|
...
|
...
|
@@ -208,9 +208,9 @@ common.util.__ajax({ |
|
|
$('#product-ext').html(common.util.__template2($('#productExtBoTemp').html(), productExtBo));
|
|
|
}, true);
|
|
|
|
|
|
$(document).on("change",":checkbox[name=seasons]",function(){
|
|
|
$(document).on("change",":radio[name=seasons]",function(){
|
|
|
var value=$(this).val();
|
|
|
var c=$(":checkbox[name=seasons]");
|
|
|
/*var c=$(":radio[name=seasons]");
|
|
|
if($(this).is(":checked")){
|
|
|
if(value=="seasons"){
|
|
|
c.slice(0,3).prop("checked",false);
|
...
|
...
|
@@ -219,10 +219,10 @@ $(document).on("change",":checkbox[name=seasons]",function(){ |
|
|
}
|
|
|
}
|
|
|
var arr=[];
|
|
|
$(":checked[name=seasons]").each(function(){
|
|
|
$(":radio[name=seasons]").each(function(){
|
|
|
arr.push($(this).val())
|
|
|
});
|
|
|
$("#seasons").val(arr.join(','));
|
|
|
});*/
|
|
|
$("#seasons").val($(this).val());
|
|
|
});
|
|
|
|
|
|
$(document).on("change",":radio[name=isOutLets]",function(){
|
...
|
...
|
|