|
@@ -152,16 +152,16 @@ $(function () {
|
|
// {label: '快递公司', name: 'shippingName', index: 'shipping_name', width: 80},
|
|
// {label: '快递公司', name: 'shippingName', index: 'shipping_name', width: 80},
|
|
// {label: '配送单号', name: 'shippingNo', index: 'shipping_No', width: 80},
|
|
// {label: '配送单号', name: 'shippingNo', index: 'shipping_No', width: 80},
|
|
// {label: '快递费用', name: 'shippingFee', index: 'shipping_fee', width: 80},
|
|
// {label: '快递费用', name: 'shippingFee', index: 'shipping_fee', width: 80},
|
|
- {
|
|
|
|
- label: '操作', width: 180, sortable: false,align: 'center',
|
|
|
|
- formatter: function (value, col, row) {
|
|
|
|
- let htmlStr = '<button class="btn btn-outline btn-info" onclick="vm.lookDetail(' + row.id + ')"><i class="fa fa-info-circle"></i>详情</button> ';
|
|
|
|
- if (row.orderStatus == 201 && (row.orderBizType == '11')) {
|
|
|
|
- htmlStr += '<button class="btn btn-outline btn-primary" onclick="vm.printDetail(' + row.id + ')"><i class="fa fa-print"></i>打印</button> ';
|
|
|
|
- }
|
|
|
|
- if (row.orderStatus == 0) {
|
|
|
|
- htmlStr += '<button class="btn btn-outline btn-danger" onclick="vm.cancelUpdate(' + row.id + ')"><i class="fa fa-times-circle-o"></i> 取消</button> ';
|
|
|
|
- }
|
|
|
|
|
|
+ // {
|
|
|
|
+ // label: '操作', width: 180, sortable: false,align: 'center',
|
|
|
|
+ // formatter: function (value, col, row) {
|
|
|
|
+ // let htmlStr = '<button class="btn btn-outline btn-info" onclick="vm.lookDetail(' + row.id + ')"><i class="fa fa-info-circle"></i>详情</button> ';
|
|
|
|
+ // if (row.orderStatus == 201 && (row.orderBizType == '11')) {
|
|
|
|
+ // htmlStr += '<button class="btn btn-outline btn-primary" onclick="vm.printDetail(' + row.id + ')"><i class="fa fa-print"></i>打印</button> ';
|
|
|
|
+ // }
|
|
|
|
+ // if (row.orderStatus == 0) {
|
|
|
|
+ // htmlStr += '<button class="btn btn-outline btn-danger" onclick="vm.cancelUpdate(' + row.id + ')"><i class="fa fa-times-circle-o"></i> 取消</button> ';
|
|
|
|
+ // }
|
|
// if (row.orderStatus == 201) {
|
|
// if (row.orderStatus == 201) {
|
|
// htmlStr += '<button class="btn btn-outline btn-danger" onclick="vm.refundUpdate(' + row.id + ')"><i class="fa fa-times-circle-o"></i> 退款</button> ';
|
|
// htmlStr += '<button class="btn btn-outline btn-danger" onclick="vm.refundUpdate(' + row.id + ')"><i class="fa fa-times-circle-o"></i> 退款</button> ';
|
|
// }
|
|
// }
|