kevin_zhangl 3 éve
szülő
commit
ece5242b71
1 módosított fájl, 11 hozzáadás és 0 törlés
  1. 11 0
      backendApi/modules/v1/models/lists/shop/DecOrderList.php

+ 11 - 0
backendApi/modules/v1/models/lists/shop/DecOrderList.php

@@ -221,6 +221,17 @@ class DecOrderList extends \common\libs\dataList\DataList implements DataListInt
                     },
                     'headerOther' => ['width' => '190'],
                 ],
+                'IS_AUTO' => [
+                    'header' => 'Is Auto', // 是否自动
+                    'value' => function ($row) {
+                        switch ($row['IS_AUTO']) {
+                            case 1:
+                                return 'Yes';
+                            case 0:
+                                return 'No';
+                        }
+                    },
+                ],
             ];
         }
         return $this->columns;