|  |  |  | 
|---|
|  |  |  | printSelect(checkStatus.data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | let statisticIds = 0; | 
|---|
|  |  |  | if(event === 'goodsStatistics'){ | 
|---|
|  |  |  | var data = checkStatus.data; | 
|---|
|  |  |  | let statistics = 0; | 
|---|
|  |  |  | for(let i = 0;i < data.length;i++){ | 
|---|
|  |  |  | statistics = statistics+ "," + data[i].id; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | console.log(statistics); | 
|---|
|  |  |  | if(statistics == null || statistics == ""){ | 
|---|
|  |  |  | febs.alert.warn('请选择需要统计的订单'); | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | let statisticIds = statistics; | 
|---|
|  |  |  | statisticIds = statistics; | 
|---|
|  |  |  | console.log(statisticIds); | 
|---|
|  |  |  | febs.modal.open( '商品数量统计', 'modules/order/goodsStatistics/'+statisticIds, { | 
|---|
|  |  |  | maxmin: true, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | 
|---|
|  |  |  | {field: 'orderNo', title: '订单编号', minWidth: 200,align:'left' ,totalRowText:"合计"}, | 
|---|
|  |  |  | {field: 'memberName', title: '购买人', minWidth: 100,align:'left'}, | 
|---|
|  |  |  | {field: 'memberPhone', title: '联系方式', minWidth: 120,align:'left'}, | 
|---|
|  |  |  | {field: 'refererName', title: '推荐人', minWidth: 100,align:'left'}, | 
|---|
|  |  |  | {field: 'goodsName', title: '商品', minWidth: 160,align:'left'}, | 
|---|
|  |  |  | {field: 'remark', title: '备注', minWidth: 160,align:'left'}, | 
|---|
|  |  |  | {field: 'goodsAmount', title: '价格', minWidth: 80,align:'left', totalRow:true}, | 
|---|