|
@ -55,7 +55,6 @@ class AfterSaleSearch extends AfterSale |
|
|
], |
|
|
], |
|
|
'id', |
|
|
'id', |
|
|
'after_sale_sn', |
|
|
'after_sale_sn', |
|
|
'operator_id', |
|
|
|
|
|
[ |
|
|
[ |
|
|
'attribute' => 'order_goods_id', |
|
|
'attribute' => 'order_goods_id', |
|
|
'value' => function ($model) { |
|
|
'value' => function ($model) { |
|
@ -65,11 +64,16 @@ class AfterSaleSearch extends AfterSale |
|
|
[ |
|
|
[ |
|
|
'attribute' => 'order_pay_amount', |
|
|
'attribute' => 'order_pay_amount', |
|
|
'value' => function ($model) { |
|
|
'value' => function ($model) { |
|
|
return $model->goods->order->payment_amount; |
|
|
|
|
|
|
|
|
return sprintf("%1\$.2f", $model->goods->order->payment_amount); |
|
|
}, |
|
|
}, |
|
|
'label' => '订单支付金额' |
|
|
'label' => '订单支付金额' |
|
|
], |
|
|
], |
|
|
'amount', |
|
|
|
|
|
|
|
|
[ |
|
|
|
|
|
'attribute' => 'amount', |
|
|
|
|
|
'value' => function ($model) { |
|
|
|
|
|
return sprintf("%1\$.2f", $model->amount); |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
[ |
|
|
[ |
|
|
'attribute' => 'status', |
|
|
'attribute' => 'status', |
|
|
'value' => function ($model) { |
|
|
'value' => function ($model) { |
|
|