|
|
@@ -76,27 +76,27 @@ class GoodsList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
- 'CATEGORY_TYPE' => [
|
|
|
- 'header' => \Yii::t('ctx', 'shopListProductCategory'), // 商品分类
|
|
|
- 'value' => function($row) {
|
|
|
- $categoryType = array_column($this->getCategoryType(), NULL, 'id'); //array_column(ShopGoods::CATEGORY_TYPE, NULL, 'id');
|
|
|
- return $categoryType[$row['CATEGORY_TYPE']]['name'] ?? '';
|
|
|
- },
|
|
|
- 'headerOther' => ['width' => '150'],
|
|
|
- ],
|
|
|
- 'SELL_TYPE' => [
|
|
|
- 'header' => \Yii::t('ctx', 'shopListPaymentMode'), // 购买方式
|
|
|
- 'value' => function($row){
|
|
|
- $sellType = $this->getSaleType(); //ShopGoods::SALE_TYPE;
|
|
|
- $sel = explode(',',$row['SELL_TYPE']);
|
|
|
- $value = '';
|
|
|
- foreach ($sel as $v){
|
|
|
- $value.= $sellType[$v]['name'].',';
|
|
|
- }
|
|
|
- return $value;
|
|
|
- },
|
|
|
- 'headerOther' => ['width' => '150'],
|
|
|
- ],
|
|
|
+// 'CATEGORY_TYPE' => [
|
|
|
+// 'header' => \Yii::t('ctx', 'shopListProductCategory'), // 商品分类
|
|
|
+// 'value' => function($row) {
|
|
|
+// $categoryType = array_column($this->getCategoryType(), NULL, 'id'); //array_column(ShopGoods::CATEGORY_TYPE, NULL, 'id');
|
|
|
+// return $categoryType[$row['CATEGORY_TYPE']]['name'] ?? '';
|
|
|
+// },
|
|
|
+// 'headerOther' => ['width' => '150'],
|
|
|
+// ],
|
|
|
+// 'SELL_TYPE' => [
|
|
|
+// 'header' => \Yii::t('ctx', 'shopListPaymentMode'), // 购买方式
|
|
|
+// 'value' => function($row){
|
|
|
+// $sellType = $this->getSaleType(); //ShopGoods::SALE_TYPE;
|
|
|
+// $sel = explode(',',$row['SELL_TYPE']);
|
|
|
+// $value = '';
|
|
|
+// foreach ($sel as $v){
|
|
|
+// $value.= $sellType[$v]['name'].',';
|
|
|
+// }
|
|
|
+// return $value;
|
|
|
+// },
|
|
|
+// 'headerOther' => ['width' => '150'],
|
|
|
+// ],
|
|
|
'SELL_PRICE_STANDARD' => [
|
|
|
'header' => \Yii::t('ctx', 'shopListPriceStandard'), // 标准价格($)
|
|
|
'headerOther' => [
|