|
@@ -30,7 +30,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'id', title: __('Id')},
|
|
|
{field: 'order_no', title: __('Order_no')},
|
|
|
{field: 'status', title: __('Status'),formatter(status,order,index){
|
|
|
- if(status===0 && order.voucher && voucher.status===0){
|
|
|
+ if(status===0 && order.voucher && order.voucher.status===0){
|
|
|
return `<span class="label label-default">待审核</span>`
|
|
|
}
|
|
|
return Table.api.formatter.label.call(this,status,order,index)
|