kevin_zhangl il y a 3 ans
Parent
commit
a8c451cfdd
1 fichiers modifiés avec 6 ajouts et 7 suppressions
  1. 6 7
      backendApi/modules/v1/models/lists/shop/OrderList.php

+ 6 - 7
backendApi/modules/v1/models/lists/shop/OrderList.php

@@ -204,13 +204,6 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
                         }
                     },
                 ],
-//                'IS_AUTO' => [
-//                    'header' => 'Is Auto', // 是否自动
-//                    'headerOther' => ['width' => '120'],
-//                    'value' => function ($row) {
-//                        return $row['IS_AUTO'] == 1 ? 'Yes' : 'No';
-//                    },
-//                ],
 //                'WAREHOUSE' => [
 //                    'header' => 'Delivery warehouse',//发货仓
 //                ],
@@ -355,6 +348,12 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
                         return \Yii::$app->params['deliveryStatus'][$row['DELIVERY_STATUS']]['label'] ?? '';
                     },
                 ],
+                'IS_AUTO' => [
+                    'header' => 'Is Auto', // 是否自动
+                    'value' => function ($row) {
+                        return $row['IS_AUTO'] == 1 ? 'Yes' : 'No';
+                    },
+                ],
             ];
         }
         return $this->columns;