提交成功

pull/1/head
胡锐 2 years ago
parent 842aa16883
commit a1a6241df6
  1. 6
      src/app/admin/gas-class-group/gas-class-group-task/gas-class-group-task.component.ts

@ -318,6 +318,7 @@ export class GasClassGroupTaskComponent implements OnInit {
nzTitle: '提示', nzTitle: '提示',
nzContent: '操作成功', nzContent: '操作成功',
}); });
this.printModal = false;
} }
}); });
} }
@ -370,12 +371,11 @@ export class GasClassGroupTaskComponent implements OnInit {
' <tr><td style="font-size: xx-small;color: black;"></td></tr>' + ' <tr><td style="font-size: xx-small;color: black;"></td></tr>' +
' <tr><td style="font-size: xx-small;color: black;">---------------------收款-------------------</td></tr>\n' + ' <tr><td style="font-size: xx-small;color: black;">---------------------收款-------------------</td></tr>\n' +
' <tr><td style="font-size: xx-small;color: black;">油号&ensp; &ensp; &ensp; &ensp; 金额&ensp; &ensp; &ensp; &ensp; 升数&ensp; &ensp; &ensp; &ensp; 笔数</td></tr>\n'; ' <tr><td style="font-size: xx-small;color: black;">油号&ensp; &ensp; &ensp; 金额(元) &ensp; &ensp; &ensp; 升数&ensp; &ensp; &ensp; &ensp; 笔数</td></tr>\n';
for (let item of data['groupTaskOilCountList']) { for (let item of data['groupTaskOilCountList']) {
newstr += '<tr><td style="font-size: xx-small;color: black;">' + item['oilNo'] +'#&ensp; &ensp; &ensp; &ensp;'+ item['refuelPrice'] +'&ensp; &ensp; &ensp; &ensp;'+ item['refuelLiters'] +'升&ensp; &ensp; &ensp; &ensp;'+ item['refuelNum'] +'</td></tr>\n'; newstr += '<tr><td style="font-size: xx-small;color: black;">' + item['oilNo'] +'#&ensp; &ensp; &ensp; '+ item['refuelPrice'] +'&ensp; &ensp; &ensp; '+ item['refuelLiters'] +'&ensp; &ensp; &ensp;'+ item['refuelNum'] +'</td></tr>\n';
} }
newstr += '<tr><td style="font-size: xx-small;color: black;">===========================================</td></tr>\n' + newstr += '<tr><td style="font-size: xx-small;color: black;">===========================================</td></tr>\n' +
' <tr><td style="float: left;font-size: xx-small;color: black;margin-left: 80px;">' + new Date().toLocaleString() +'</td></tr>\n' + ' <tr><td style="float: left;font-size: xx-small;color: black;margin-left: 80px;">' + new Date().toLocaleString() +'</td></tr>\n' +
' </tbody>\n' + ' </tbody>\n' +

Loading…
Cancel
Save