<script language="javascript" src="/js/LodopFuncs.js"></script>
<object  id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
    <embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0></embed>
</object>
<table style="width:100%;">
    <tr>
        <td>
            <div>
                <div id="print_data">
                    <table border="1" cellspacing="0" align="center" style="text-align: left; width: 750px;margin:auto" cellpadding="2" >
                        <tr>
                            <td colspan="6" style="border-right:0px; text-align:center;"><h1 style="margin-top: 15px;">诚合（北京）汽车服务有限公司维修结算单</h1>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6" style="border-right:0px;"><h3 style="margin-top: 15px;">车辆信息</h3>
                            </td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>结算单号</td>
                            <td>110055523</td>
                            <td>工单号</td>
                            <td>1751156</td>
                            <td>结算类型</td>
                            <td>微信</td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>维修类型</td>
                            <td>钣金</td>
                            <td>车牌号</td>
                            <td><?= $fixcar->car_no ?></td>
                            <td>发动机号</td>
                            <td><?= $fixcar->engine_no ?></td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>车架号</td>
                            <td><?= $fixcar->car_frame_no ?></td>
                            <td>车主姓名</td>
                            <td><?= $fixcar->id_man ?></td>
                            <td>联系电话</td>
                            <td><?= $fixcar->id_phone ?></td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>送修人</td>
                            <td>15500</td>
                            <td>进厂日期</td>
                            <td><?= $fixcar->receive_date ?></td>
                            <td>出厂日期</td>
                            <td>2017-8-19</td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>业务员</td>
                            <td>0001</td>
                            <td>接待员</td>
                            <td>0002</td>
                            <td></td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td colspan="6" style="border-right:0px;"><h3 style="margin-top: 15px;">材料清单</h3>
                            </td>
                        </tr>
                        <tr style="text-align: center;">
                            <td><strong>序号</strong></td>
                            <td><strong>名称</strong></td>
                            <td><strong>金额</strong></td>
                            <td colspan="3"><strong>备注</strong></td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>1</td>
                            <td>叶子板</td>
                            <td>100</td>
                            <td colspan="3">减免金额20.5</td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>2</td>
                            <td>大灯</td>
                            <td>20</td>
                            <td colspan="3">无优惠</td>
                        </tr>
                        <tr style="text-align: center;">
                            <td><strong>合计</strong></td>
                            <td></td>
                            <td>120</td>
                            <td colspan="3"></td>
                        </tr>
                        <tr>
                            <td colspan="6" style="border-right:0px;"><h3 style="margin-top: 15px;">工时费</h3>
                            </td>
                        </tr>
                        <tr style="text-align: center;">
                            <td><strong>序号</strong></td>
                            <td><strong>维修项目</strong></td>
                            <td><strong>工时</strong></td>
                            <td><strong>优惠</strong></td>
                            <td><strong>金额</strong></td>
                            <td><strong>备注</strong></td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>1</td>
                            <td>左前叶子板喷漆</td>
                            <td>1</td>
                            <td>10</td>
                            <td>100.3</td>
                            <td>无</td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>2</td>
                            <td>钣金</td>
                            <td>2</td>
                            <td>5</td>
                            <td>95</td>
                            <td>优惠5元</td>
                        </tr>
                        <tr style="text-align: center;">
                            <td><strong><strong>合计</strong></strong></td>
                            <td></td>
                            <td>3</td>
                            <td>15</td>
                            <td>195.3</td>
                            <td></td>
                        </tr>
                        <tr>
                            <td colspan="6" style="border-right:0px;"><h3 style="margin-top: 15px;">附加项</h3>
                            </td>
                        </tr>
                        <tr style="text-align: center;">
                            <td><strong>序号</strong></td>
                            <td><strong>项目名称</strong></td>
                            <td><strong>金额</strong></td>
                            <td><strong>优惠</strong></td>
                            <td colspan="2"><strong>备注</strong></td>
                        </tr>
                        <tr style="text-align: center;">
                            <td>1</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td colspan="2">&nbsp;</td>
                        </tr>
                        <tr>
                            <td colspan="6" style="border-right:0px;">&nbsp;
                            </td>
                        </tr>
                        <tr style="text-align: center;height:50px;">
                            <td>质检员</td>
                            <td>&nbsp;</td>
                            <td>客户签名</td>
                            <td colspan="4">&nbsp;</td>
                        </tr>
                        <tr style="text-align: center;height:50px;">
                            <td>客户电话</td>
                            <td>&nbsp;</td>
                            <td>日期</td>
                            <td colspan="4">&nbsp;</td>
                        </tr>
                        <tr style="text-align: center;height:50px;">
                            <td>地址</td>
                            <td colspan="11">&nbsp;</td>
                        </tr>
                    </table>
                </div>
            </div>
        </td>
    </tr>
</table>
<script language="javascript" type="text/javascript">
    function CheckIsInstall() {
        try{
            var LODOP=getLodop();
        }catch(err){
        }
    };
    CheckIsInstall();
    function CreateFullBill() {
        LODOP=getLodop();
        LODOP.PRINT_INIT("打印控件_Lodop功能_车务系统");
        LODOP.ADD_PRINT_HTML(40,-18,800,340,document.getElementById("print_data").innerHTML);
    };
    function Design1() {
        CreateFullBill();
//		LODOP.SET_SHOW_MODE("HIDE_ITEM_LIST",true);//设置对象列表默认处于关闭状态
//		LODOP.SET_SHOW_MODE("TEXT_SHOW_BORDER",1); //设置字符编辑框默认为single
        LODOP.PRINT_DESIGN();
    };
    //    Design1();
</script>