http://www.xueh188.top/index.php/archives/41/

{field: 'status', title: __('Status'),operate:false,formatter:function(value,row,index){
                                if (row.status === -2)
                                {
                                    return '用户取消';
                                }else if (row.status === -1)
                                {
                                    return '不同意';
                                }else if (row.status === 0) {
                                    return '待审核';
                                }
                                else if (row.status === 1) {
                                    return '通过';
                                }
                                else if (row.status === 2) {
                                    return '买家已发货';
                                }
                                else if (row.status === 3) {
                                    return '商家已收货';
                                }
                                else if (row.status === 4) {
                                    return '已重新发货';
                                }
                                else if (row.status === 5) {
                                    return '退款完成';
                                }
                                else if (row.status === 6) {
                                    return '已完成';
                                }
                            }},

你可能感兴趣的:(http://www.xueh188.top/index.php/archives/41/)