Browse Source

fix: order dropdown

wechat_public_accounts
travis 5 years ago
parent
commit
77a0e0bf8c
  1. 4
      backend/modules/shop/models/ars/Order.php

4
backend/modules/shop/models/ars/Order.php

@ -169,8 +169,8 @@ class Order extends \yii\db\ActiveRecord
*/
public static function dropDown($column, $value = null)
{
$types = ExpressType::find()->asArray()->all();
$data = ArrayHelper::map($types, 'id', 'shipping_name');
// $types = ExpressType::find()->asArray()->all();
// $data = ArrayHelper::map($types, 'id', 'shipping_name');
$data[0] = '无需配送';
$dropDownList = [
'pay_type' => [

Loading…
Cancel
Save