|
|
@@ -377,10 +377,10 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
return $this->getDeliveryStatus()[$row['DELIVERY_STATUS']]['label'] ?? '';
|
|
|
},
|
|
|
],
|
|
|
- 'IS_AUTO' => [
|
|
|
- 'header' => \Yii::t('ctx', 'shopOrderListIsAuto'), // 是否自动
|
|
|
+ 'AUTO_MAINTENANCE' => [
|
|
|
+ 'header' => \Yii::t('ctx', 'shopListAutoMaintenance'),
|
|
|
'value' => function ($row) {
|
|
|
- return $row['IS_AUTO'] == 1 ? \Yii::t('ctx', 'shopOrderListIsAutoYes') : \Yii::t('ctx', 'shopOrderListIsAutoNo');
|
|
|
+ return $row['AUTO_MAINTENANCE'] == 1 ? \Yii::t('ctx', 'yes') : \Yii::t('ctx', 'no');
|
|
|
},
|
|
|
],
|
|
|
];
|
|
|
@@ -423,12 +423,12 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
['id' => $this->getOrderStatus()['failPaid']['value'], 'name' => $this->getOrderStatus()['failPaid']['label']]
|
|
|
]
|
|
|
],
|
|
|
- 'IS_AUTO' => [
|
|
|
- 'name'=>\Yii::t('ctx', 'shopOrderListIsAuto'),
|
|
|
+ 'AUTO_MAINTENANCE' => [
|
|
|
+ 'name'=>\Yii::t('ctx', 'shopListAutoMaintenance'),
|
|
|
'other'=> 'select',
|
|
|
'selectData'=> [
|
|
|
- ['id'=>1, 'name'=>\Yii::t('ctx', 'shopOrderListIsAutoYes')],
|
|
|
- ['id'=>0, 'name'=>\Yii::t('ctx', 'shopOrderListIsAutoNo')],
|
|
|
+ ['id'=>1, 'name'=>\Yii::t('ctx', 'yes')],
|
|
|
+ ['id'=>0, 'name'=>\Yii::t('ctx', 'no')],
|
|
|
]
|
|
|
]
|
|
|
];
|