...
|
...
|
@@ -6,9 +6,9 @@ new common.dropDown({el:"#brandId",ajax:"queryBrandByShopId",params:function(){ |
|
|
return {status:1}
|
|
|
}});
|
|
|
|
|
|
new common.dropDown({el:"#shopId",ajax:"sortbybrand",params:function(){
|
|
|
return {brandId:$("#brandId").val()}
|
|
|
}});
|
|
|
// new common.dropDown({el:"#shopId",ajax:"sortbybrand",params:function(){
|
|
|
// return {brandId:$("#brandId").val()}
|
|
|
// }});
|
|
|
|
|
|
new common.dropDown({el:"#supplierId",ajax:"getjitSup",params:function(){
|
|
|
return {brandId:$("#brandId").val()}
|
...
|
...
|
@@ -25,17 +25,17 @@ function batchExport(el, type) { |
|
|
params: {
|
|
|
type: type,
|
|
|
brandId:common.util.__input("brandId"),
|
|
|
shopId:common.util.__input("shopId"),
|
|
|
shopsId:common.util.__input("shopId"),
|
|
|
supplierId:common.util.__input("supplierId"),
|
|
|
__type: "batch-import"
|
|
|
},
|
|
|
onStart: function(params) {
|
|
|
params.brandId=common.util.__input("brandId");
|
|
|
params.shopId=common.util.__input("shopId");
|
|
|
params.shopsId=common.util.__input("shopId");
|
|
|
params.supplierId=common.util.__input("supplierId");
|
|
|
|
|
|
params.brandName=params.brandId?$("#brandId").find("option[value="+$("#brandId").val()+"]").text():"";
|
|
|
params.shopsName=params.shopId?$("#shopId").find("option[value="+$("#shopId").val()+"]").text():"";
|
|
|
params.shopsName=common.util.__input("shopName");
|
|
|
params.supplierName=params.supplierId?$("#supplierId").find("option[value="+$("#supplierId").val()+"]").text():"";
|
|
|
|
|
|
console.log("params",params);
|
...
|
...
|
|