Commit 60b07c12 by 杨树贤

型号展示问题

parent 95f74965
......@@ -68,6 +68,8 @@ class SkuService
if (empty($sku['goods_name']) && !empty($spu)) {
$sku['goods_name'] = $spu['spu_name'];
}
$sku['spu_name'] = $spu['spu_name'];
$sku['encap'] = array_get($spu, 'encap', '');
//制造商处理
if (empty($sku['brand_name']) && !empty($spu)) {
......
......@@ -64,9 +64,9 @@
{field: 'encoded_user_name', title: '线上采购员', align: 'center', width: 100},
{field: 'original_goods_name', title: '商品名称', align: 'center', width: 150},
{
field: 'goods_name', title: '型号', align: 'center', width: 200, templet: function (data) {
field: 'spu_name', title: '型号', align: 'center', width: 200, templet: function (data) {
return "<a href='{{config('website.FootstoneUrl')}}/web/sku/saveSku?goods_id=" + data.goods_id + "' style='color:blue' target='_blank'>"
+ data.goods_name + "</href>"
+ data.spu_name + "</href>"
}
},
{
......
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