Commit 6abe0249 by 杨树贤

跳转链接

parent b6ad507d
......@@ -14,6 +14,7 @@ return [
'data' => env('DATA_DOMAIN', 'scm.liexin.net'),
"domain" => env('DOMAIN'),
"FootstoneUrl" => env('FOOTSTONE_URL'),
'webTitle' => env('WEB_NAME', '供应商系统'),
'UploadUrl' => env('API_DOMAIN') . '/oss/upload',
......
......@@ -36,7 +36,12 @@
});
let cols = [
{type: 'checkbox'},
{field: 'goods_name', title: '型号', align: 'center', width: 200},
{
field: 'goods_name', title: '型号', align: 'center', width: 200, templet: function (data) {
return "<a href='{{config('website.FootstoneUrl')}}/footstone/addsku?sku_id=" + data.goods_id + "' style='color:blue' target='_blank'>"
+ data.goods_name + "</href>"
}
},
{
field: 'brand_name', title: '品牌', align: 'center', width: 120
},
......@@ -251,7 +256,7 @@
});
}
});
}else{
} else {
layer.confirm('确定要下架选中的商品吗', function (index) {
$.ajax({
type: 'post',
......@@ -271,7 +276,7 @@
curr: currentPage
},
});
}else{
} else {
layer.msg(res.err_msg, {icon: 5});
return false;
}
......
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