...
|
...
|
@@ -93,7 +93,7 @@ var g = new common.grid({ |
|
|
}},
|
|
|
{display: '吊牌价', name: 'retail_price'},
|
|
|
{display: '销售价', name: 'sales_price'},
|
|
|
{display: '学生价', name: 'student_price'},
|
|
|
/*{display: '学生价', name: 'student_price'},*/
|
|
|
{display: 'VIP折扣类型', render: function(item) {
|
|
|
return ENUM.vipType[item.vip_discount_type];
|
|
|
}},
|
...
|
...
|
@@ -166,7 +166,6 @@ $(document).on('click', '.modify-btn', function() { |
|
|
|
|
|
var $wrap = parentTr.next('.product-detail'),
|
|
|
$price = $wrap.find('.sale-price'),
|
|
|
$student_price = $wrap.find('.student-price'),
|
|
|
$select = $wrap.find('.discount-select'),
|
|
|
$vipPrice = $wrap.find('.vip-price'),
|
|
|
$vip3Price = $wrap.find('.vip3-price'),
|
...
|
...
|
@@ -195,7 +194,6 @@ $(document).on('click', '.modify-btn', function() { |
|
|
data: {
|
|
|
product_skn: skn,
|
|
|
sales_price: $price.val(),
|
|
|
student_price: $student_price.val(),
|
|
|
vip_discount_type: $select.val(),
|
|
|
vip_price: $vipPrice.val(),
|
|
|
vip1_price: $vip1Price.val(),
|
...
|
...
|
@@ -322,7 +320,7 @@ var p = new common.grid({ |
|
|
}},
|
|
|
|
|
|
|
|
|
{display: '学生价', render: function(item) {
|
|
|
/*{display: '学生价', render: function(item) {
|
|
|
var newPrice = item.newProductPriceBo,
|
|
|
newPriceHtml = '';
|
|
|
if (newPrice.student_price) {
|
...
|
...
|
@@ -340,7 +338,7 @@ var p = new common.grid({ |
|
|
newPriceHtml += '<div>-</div>';
|
|
|
}
|
|
|
return newPriceHtml;
|
|
|
}},
|
|
|
}},*/
|
|
|
|
|
|
{display: 'VIP折扣类型', render: function(item) {
|
|
|
return '<p>'+ENUM.vipType[item.newProductPriceBo.vip_discount_type] + '</p>'+
|
...
|
...
|
|