| | |
| | | var checkStatus = table.checkStatus(id); |
| | | if(event === 'confirmOrder'){ |
| | | let uniqueCodeValue = $searchForm.find("select[name='uniqueCode']").val(); |
| | | if(uniqueCodeValue == '' || uniqueCodeValue == null){ |
| | | febs.alert.warn('请选择团长'); |
| | | return; |
| | | } |
| | | // if(uniqueCodeValue == '' || uniqueCodeValue == null){ |
| | | // febs.alert.warn('请选择团长'); |
| | | // return; |
| | | // } |
| | | var data = checkStatus.data; |
| | | let ids = ""; |
| | | for(let i = 0;i < data.length;i++){ |
| | |
| | | cols: [[ |
| | | {type: 'checkbox', fixed: 'left'}, |
| | | {field: 'orderNo', title: '订单编号', minWidth: 200,align:'left'}, |
| | | {field: 'memberName', title: '购买人', minWidth: 120,align:'left'}, |
| | | {field: 'memberName', title: '购买人', minWidth: 100,align:'left'}, |
| | | {field: 'memberPhone', title: '联系方式', minWidth: 120,align:'left'}, |
| | | // {field: 'memberBindPhone', title: '联系方式', minWidth: 120,align:'left'}, |
| | | {field: 'goodsName', title: '商品', minWidth: 120,align:'left'}, |
| | | {field: 'amount', title: '订单金额', minWidth: 120,align:'left'}, |
| | | {field: 'goodsName', title: '商品', minWidth: 160,align:'left'}, |
| | | {field: 'amount', title: '订单金额', minWidth: 80,align:'left'}, |
| | | {field: 'leaderName', title: '团长', minWidth: 120,align:'left'}, |
| | | {field: 'orderTime', title: '下单时间', minWidth: 200,align:'left'}, |
| | | {field: 'isHome', title: '配送方式', |
| | |
| | | }else{ |
| | | return '' |
| | | } |
| | | }, minWidth: 120,align:'center'}, |
| | | }, minWidth: 100,align:'center'}, |
| | | {field: 'status', title: '状态', |
| | | templet: function (d) { |
| | | if (d.status === 1) { |
| | |
| | | }else{ |
| | | return '' |
| | | } |
| | | }, minWidth: 120,align:'center'}, |
| | | {field: 'payMethod', title: '支付方式', minWidth: 120,align:'left'}, |
| | | {field: 'payTime', title: '支付时间', minWidth: 200,align:'left'}, |
| | | {field: 'wxOrderNo', title: '支付订单号', minWidth: 200,align:'left'}, |
| | | }, minWidth: 80,align:'center'}, |
| | | {field: 'payMethod', title: '支付方式', minWidth: 100,align:'left'}, |
| | | {field: 'payTime', title: '支付时间', minWidth: 120,align:'left'}, |
| | | {field: 'wxOrderNo', title: '支付订单号', minWidth: 120,align:'left'}, |
| | | {title: '操作', |
| | | templet: function (d) { |
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="seeOrder" shiro:hasPermission="user:update">详情</button>' |