| | |
| | | return {1:"否",2:"是"}[value]; |
| | | } |
| | | }, |
| | | |
| | | {title: '是否推广订单', field: 'promotion', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row) { |
| | | return {1:"否",2:"是"}[value]; |
| | |
| | | this.layerIndex = index; |
| | | } |
| | | }; |
| | | TAbnormalOrder.orderDetail1 = function () { |
| | | if (this.check()) { |
| | | let abnormalStatus = TAbnormalOrder.seItem.abnormalStatus |
| | | if(abnormalStatus==2){ |
| | | Feng.info("此异常订单已处理") |
| | | return; |
| | | } |
| | | console.log(abnormalStatus) |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '异常订单详情', |
| | | area: ['100%', '100%'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/abnormal/tOrderPrivateCar_orderDetail1?tOrderPrivateCarId=' + TAbnormalOrder.seItem.id+'&type='+$("#type").val() |
| | | }); |
| | | this.layerIndex = index; |
| | | } |
| | | }; |
| | | |
| | | |
| | | /** |