頁面 打印(訪問該頁面直接打印)

<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
<style>
{padding: 0px;margin: 0px;font-style: normal;list-style-type: none;text-decoration: none;font-family:"Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif,SimSun;border:0 none;outline: 0px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box; }
div,p{word-break:break-all;}
a{cursor: pointer;transition:all .3s; -webkit-transition:all .3s;-moz-transition:all .3s;}
h2,h3,h4,h5,h6{font-weight: normal;font-size: 14px;}
body{clear: both;min-width: 1200px!important;color: #333;line-height: 22px;font-size: 14px; }
input,textarea,button,select{outline: none;resize:none;border:1px solid #ccc;transition:all .5s; -webkit-transition:all .5s;-moz-transition:all .5s;font-size: 14px; }
button,select,input{height: 34px;}
input,textarea{padding: 3px 5px;color: #666;background: #fff;}
button{background: none;cursor: pointer;border:0 none;}
label{line-height: 22px;}
label th,label td{word-break: break-all; word-wrap:break-word;}
table{border-collapse:collapse;border-spacing:0;width: 100%;}
input:-webkit-autofill {-webkit-box-shadow: 0 0 0px 1000px white inset;}/
google瀏覽器黃色背景/
input::-ms-clear,input::-ms-reveal{display:none;}/
ie瀏覽器的眼睛跟叉叉*/
input[type='checkbox'],input[type='radio']{vertical-align: middle;margin-top: -3px;height: 14px;}

    .nv-application{padding: 20px;margin:0 auto;}
    #nvkorbin .head{text-align: center;margin-bottom:20px; }
    #nvkorbin .head h1{line-height: 60px;font-size: 20px;}
    #nvkorbin .head h2{padding: 0px 0;font-size: 16px;}
    .app_date{text-align: right;font-size: 16px;line-height: 40px;}
    .nv-barof{border:1px solid #333;border-right:none;}
    .nv-barof td{border-top: 1px solid #333;border-right: 1px solid #333;}
    .nv-barof caption{text-align: left;font-size: 16px;line-height: 40px;border-bottom: 1px solid #333;padding: 0 10px;border-right: 1px solid #333;}
    .nv-barof th{border-right: 1px solid #333;}
    .nv-barof th,.nv-barof td{padding: 10px;text-align: center;}
    .nv-signature{padding: 20px 0;}
    .nv-signature ul{display: flex;}
    .nv-signature li{flex:1;}
</style>
<script type="text/javascript">
   function doPrint() {
        bdhtml=window.document.body.innerHTML;
        sprnstr="<!--startprint-->";
        eprnstr="<!--endprint-->";
        prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);
        prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));
        window.document.body.innerHTML=prnhtml;
        window.print();
    };
</script>

</head>
<body onload="doPrint()">
<div>
<span onclick="doPrint()">dy</span>
<h1>這塊內(nèi)容不需要打印</h1>

<div class="content">
<div class="nv-application" id="nvkorbin">
<div class="head">
<h1>福 州 輕 工 進 出 口 有 限 公 司</h1>
<h2>電 商 部 門 資 金 借 用 申 請 表</h2>
</div>
<div class="app_date">{{date('Y/m/d')}}</div>
<div class="nv-barof">
<table>
<caption>申請部門:{{finance_info->CustomerInfo->company_name}}</caption> <thead> <tr> <th>合同號</th> <th>關(guān)單金額</th> <th>借款金額(關(guān)單金額*0.8)</th> <th>單據(jù)提交日期</th> <th>借款日期</th> <th>匯率</th> <th>折合人民幣</th> <th>到期還款日(90天)</th> <th>利率(月息)</th> </tr> </thead> <tbody> @foreach(finance_info->customInfo as key=>value)
@if(key==0) <tr> <td>{{value->contract_code }}</td>
<td>{{ array_sum(array_column(json_decode(json_encode(finance_info->customInfo) ,true) ,'amount')) }}</td> <td>(){{ number_format(value->amount*0.8 ,2) }}</td> <td>{{ substr(finance_info->create_time ,0,10) }}</td>
<td>{{ substr(finance_info->start_date ,0,10) }}</td> <td>{{ number_format(finance_info->exchange_rate ,2) }}</td>
<td>(&yen){{ number_format(value->amount*finance_info->exchange_rate ,2) }}</td>
<td>{{ substr(finance_info->end_date ,0,10) }}</td> <td>{{ number_format(finance_info->monthly_interest ,2) }}</td>
</tr>
@else
<tr>
<td></td>
<td></td>
<td>(){{ number_format(value->amount*0.8 ,2) }}</td>
<td></td>
<td></td>
<td></td>
<td>(&yen){{ number_format(value->amount*finance_info->exchange_rate ,2) }}</td>
<td></td>
<td></td>
</tr>
@endif
@endforeach

                </tbody>
            </table>
        </div>
        <div class="nv-signature">
            <ul>
                <li>總經(jīng)理:</li><li>分管領(lǐng)導(dǎo):</li><li>財務(wù)經(jīng)理:</li><li>財務(wù):</li><li>經(jīng)辦:</li><li>業(yè)務(wù)員:</li>
            </ul>
        </div>
    </div>
</div>
<!--endprint-->
<h1>這塊內(nèi)容不需要打印</h1>

</div>
</body>
</html>

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末逆瑞,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子伙单,更是在濱河造成了極大的恐慌获高,老刑警劉巖,帶你破解...
    沈念sama閱讀 219,039評論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件吻育,死亡現(xiàn)場離奇詭異谋减,居然都是意外死亡,警方通過查閱死者的電腦和手機扫沼,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,426評論 3 395
  • 文/潘曉璐 我一進店門出爹,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人缎除,你說我怎么就攤上這事严就。” “怎么了器罐?”我有些...
    開封第一講書人閱讀 165,417評論 0 356
  • 文/不壞的土叔 我叫張陵梢为,是天一觀的道長。 經(jīng)常有香客問我轰坊,道長铸董,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,868評論 1 295
  • 正文 為了忘掉前任肴沫,我火速辦了婚禮粟害,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘颤芬。我一直安慰自己悲幅,他們只是感情好套鹅,可當我...
    茶點故事閱讀 67,892評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著汰具,像睡著了一般卓鹿。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上留荔,一...
    開封第一講書人閱讀 51,692評論 1 305
  • 那天吟孙,我揣著相機與錄音,去河邊找鬼聚蝶。 笑死拔疚,一個胖子當著我的面吹牛,可吹牛的內(nèi)容都是我干的既荚。 我是一名探鬼主播,決...
    沈念sama閱讀 40,416評論 3 419
  • 文/蒼蘭香墨 我猛地睜開眼栋艳,長吁一口氣:“原來是場噩夢啊……” “哼恰聘!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起吸占,我...
    開封第一講書人閱讀 39,326評論 0 276
  • 序言:老撾萬榮一對情侶失蹤晴叨,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后矾屯,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體兼蕊,經(jīng)...
    沈念sama閱讀 45,782評論 1 316
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,957評論 3 337
  • 正文 我和宋清朗相戀三年件蚕,在試婚紗的時候發(fā)現(xiàn)自己被綠了孙技。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 40,102評論 1 350
  • 序言:一個原本活蹦亂跳的男人離奇死亡排作,死狀恐怖牵啦,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情妄痪,我是刑警寧澤哈雏,帶...
    沈念sama閱讀 35,790評論 5 346
  • 正文 年R本政府宣布,位于F島的核電站衫生,受9級特大地震影響裳瘪,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜罪针,卻給世界環(huán)境...
    茶點故事閱讀 41,442評論 3 331
  • 文/蒙蒙 一彭羹、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧泪酱,春花似錦皆怕、人聲如沸毅舆。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,996評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽憋活。三九已至,卻和暖如春虱黄,著一層夾襖步出監(jiān)牢的瞬間悦即,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,113評論 1 272
  • 我被黑心中介騙來泰國打工橱乱, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留辜梳,地道東北人。 一個月前我還...
    沈念sama閱讀 48,332評論 3 373
  • 正文 我出身青樓泳叠,卻偏偏與公主長得像作瞄,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子危纫,可洞房花燭夜當晚...
    茶點故事閱讀 45,044評論 2 355