Authored by weiqingting

提交

... ... @@ -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];
... ...
... ... @@ -54,7 +54,6 @@ tabTree.prototype= {
init: function(datas) {
var g = this,
p = this.options;
// g.element.html('');
g.element.addClass("citySelect");
g.dom = g.dom || g._dom();
g.selected = [], g.records = [], g.rows = [];
... ... @@ -207,7 +206,7 @@ tabTree.prototype= {
$.each(g.selected, function(count, item) {
arr.push(item.sortName);
});
g.dom["cityboxbtn"].html(arr.join(' > '));
g.dom["cityboxbtn"].html(arr.join(' > ')||'请选择类目');
p.datas.length = 0;
$.each(g.selected, function(count, item) {
p.datas.push(item)
... ... @@ -243,6 +242,7 @@ tabTree.prototype= {
}
return _html
};
// g.dom["chooseArea"].html('');
//g.dom["cityboxbtn"].append(_tempfun1(_count, items, isdisable));
g.dom["chooseArea"].append(_tempfun2(_count, items, isdisable))
}
... ...
... ... @@ -13,7 +13,7 @@ var config = {
redis: null,
apiKey: 'sd4H1ecAqlp',
domain: 'http://192.168.102.214:8088/platform',
domain: 'http://172.16.6.227:8088/platform',
loggers: {
api: {
level: 'verbose',
... ...
// exports.domain =require('../config/common.js').domain;
exports.domain =require('../config/common.js').domain;
// exports.domain="http://172.16.6.240:8088/platform";
exports.domain = "http://172.16.6.227:8088/platform";
// exports.domain = "http://172.16.6.227:8088/platform";
exports.res = [
{//基础商品列表
route:'/supplier/baseproduct/index',
... ...