...
|
...
|
@@ -85,7 +85,7 @@ var SORTDATA={ |
|
|
{id:RESPONSEDATA.sortId,sortName:RESPONSEDATA.sortName}
|
|
|
],
|
|
|
otherParam:function(){
|
|
|
return {brandId:928}
|
|
|
return {brandId:$("#brandId").val()}//928
|
|
|
},
|
|
|
complete:function(data){
|
|
|
if(data.length>2){
|
...
|
...
|
@@ -113,8 +113,8 @@ var SORTDATA={ |
|
|
|
|
|
|
|
|
var tabTree=new common.tabTree("#tree",SORTDATA);
|
|
|
|
|
|
// tabTree.isfeeze=true;
|
|
|
tabTree.init(SORTDATA.datas);
|
|
|
tabTree.isfeeze=true;
|
|
|
|
|
|
var ENUM={
|
|
|
/*
|
...
|
...
|
@@ -151,10 +151,6 @@ if(RESPONSEDATA.isAuditing!=200){ |
|
|
new common.dropDown({el:"#supplierId",ajax:"getjitSup",params:function(){
|
|
|
return {brandId:$("#brandId").val()}
|
|
|
}});
|
|
|
}else{
|
|
|
if(tabTree){
|
|
|
tabTree.isfeeze=true;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//attributeTable
|
...
|
...
|
@@ -267,7 +263,7 @@ $(document).on("change","#brandId",function(){ |
|
|
var id=$(this).val();
|
|
|
Bll.productNameArr[0]=$(this).find("option[value='"+id+"']").text();
|
|
|
Bll.setProductName();
|
|
|
tabTree.init();
|
|
|
tabTree.isfeeze=false;
|
|
|
});
|
|
|
$(document).on("change",":radio[name=gender]",function(){
|
|
|
Bll.productNameArr[1]=["男","女","通用"][+$(this).val()-1];
|
...
|
...
|
|