Commit ff4b5e97 by 施宇

23213213

parent 30a3061d
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
上传商品 上传商品
</div> </div>
<div class="xz fr boxsiz btn btn_border"> <div class="xz fr boxsiz btn btn_border">
<a href="__PUBLIC__/ic_templet.xls">下载商品模板</a> 下载商品模板
</div> </div>
<div class="plsc fr btn btn_green"> <div class="plsc fr btn btn_green">
<span class="icon iconfont iconjuxing16 "></span> <span class="icon iconfont iconjuxing16 "></span>
......
$(function () { $(function () {
var bulkuploadObj = { var bulkuploadObj = {
init: function () { init: function () {
this.isIe() this.isIe();
this.bindFun();
}, },
uploadFun: function () { uploadFun: function () {
layui.upload.render({ layui.upload.render({
...@@ -108,6 +109,11 @@ $(function () { ...@@ -108,6 +109,11 @@ $(function () {
} }
} }
},
bindFun:function(){
$('.xz').on('click',function(){
window.location.href="http://icsales-files-2019.oss-cn-shenzhen.aliyuncs.com/files/templates/ic_templet.xls"
})
} }
}; };
bulkuploadObj.init(); bulkuploadObj.init();
......
...@@ -136,6 +136,7 @@ ...@@ -136,6 +136,7 @@
opt.render(this, params, 1) opt.render(this, params, 1)
}); });
//上架 //上架
$('#listData').on('click', '.fb', function (e) { $('#listData').on('click', '.fb', function (e) {
e.stopPropagation(); e.stopPropagation();
...@@ -158,6 +159,13 @@ ...@@ -158,6 +159,13 @@
} }
}); });
$('.xz').on('click',function(){
window.location.href="http://icsales-files-2019.oss-cn-shenzhen.aliyuncs.com/files/templates/ic_templet.xls"
})
$('#listData').on('click', '.data_item', function (e) {
var goodId = $(this).attr('goodid');
window.location.href="/gooddetail?id="+goodId
});
return this; return this;
......
...@@ -185,7 +185,7 @@ $(function () { ...@@ -185,7 +185,7 @@ $(function () {
$('.inquiry_data').on('click', '.more_btn', function () { $('.inquiry_data').on('click', '.more_btn', function () {
var userid = $(this).parents('.data_item').attr('userid'); var userid = $(this).parents('.data_item').attr('userid');
window.location.href = "/inquirydetail?id=" + userid window.location.href = "/inquirydetail?id=" + userid
}) });
} }
}; };
inquiry.init() inquiry.init()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment