Authored by zhaoqing

商品VIP设置

@@ -143,7 +143,7 @@ var g = new common.grid({ @@ -143,7 +143,7 @@ var g = new common.grid({
143 display: "品牌", 143 display: "品牌",
144 name: "brandName" 144 name: "brandName"
145 }, { 145 }, {
146 - display: "状态", 146 + display: "VIP状态",
147 render: function (item) { 147 render: function (item) {
148 var HtmArr = []; 148 var HtmArr = [];
149 if(item.productVipStatus == 1){ 149 if(item.productVipStatus == 1){
@@ -154,6 +154,17 @@ var g = new common.grid({ @@ -154,6 +154,17 @@ var g = new common.grid({
154 return HtmArr.join(''); 154 return HtmArr.join('');
155 } 155 }
156 }, { 156 }, {
  157 + display: "跟随店铺",
  158 + render: function (item) {
  159 + var HtmArr = [];
  160 + if(item.isFlowShop == 0){
  161 + HtmArr.push('<label>是</label>');
  162 + }else{
  163 + HtmArr.push('<label>否</label>');
  164 + }
  165 + return HtmArr.join('');
  166 + }
  167 + }, {
157 display: '操作', 168 display: '操作',
158 render: function (item) { 169 render: function (item) {
159 var HtmArr = []; 170 var HtmArr = [];