123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>{{ title }}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-
- <link rel="stylesheet" href="../static/css/bootstrap.min.css">
- <script src="../static/js/jquery.min.js"></script>
- <script src="../static/js/popper.min.js"></script>
- <script src="../static/js/bootstrap.min.js"></script>
- <link rel="stylesheet" href="../static/css/font-awesome.min.css">
-
- </head>
- <script>
- var PR_Form_number = '{{PR_Form_number}}';
- console.log("PR_Form_number: " + PR_Form_number);
- var RFQ_datas_sn = 0;
- console.log("RFQ_datas_sn: " + RFQ_datas_sn);
- </script>
- <style>
- .input-cond-delete {
- background: #E43030;
- border: 1px solid #CFCFCF;
- box-sizing: border-box;
- border-radius: 5px;
- margin-left: 5px;
- width: 65px;
- height: 33px;
- font-size: 16px;
- text-align: center;
- line-height: 16px;
- color: #FFFFFF;
- }
- .input-cond-add {
- background: #008CBA;
- border: 1px solid #CFCFCF;
- box-sizing: border-box;
- border-radius: 5px;
- margin-left: 5px;
- width: 65px;
- height: 33px;
- font-size: 16px;
- text-align: center;
- line-height: 16px;
- color: #FFFFFF;
- }
- .table_dark_bg {
- background-color: rgb(102, 102, 102);
- color: #FFF;
- font-weight: bold;
- }
- .table_RFQ_title {
- font-weight: bold;
- }
- .table-css {
- border: 1px solid #dee2e6;
- width: 100%;
- }
- .table-css td,th {
- padding: 0.5rem;
- }
- </style>
- <body>
- <table class="table-css table-bordered" style="font-size: 14px; padding: 0.5rem;">
- {% for sup in sup_datas %}
- <tr>
- <td colspan="11" style="text-align: center; font-size: 12px;">
- <img src="../static/img/ALMIGHTY_RAY.jpg" width="90px"><br>
- 瑞智精技股份有限公司<br>
- 台北市南港區南港路一段 287 巷 2 弄 8 號<br>
- service.gitc@gmail.com<br>
- (02) 2788 - 8158<br>
- </td>
- </tr>
- <tr>
- <td colspan="11" class="table_dark_bg" style="text-align: center;">詢價單</td>
- </tr>
- <tr>
- <td colspan="7">
- <span class="table_RFQ_title">僅致 : </span>
- <span id="RFQ_sup_company">{{sup[0]}}</span>
- </td>
- <td colspan="4">
- <span class="table_RFQ_title">統一編號 : </span>
- {% if sup[6] == None %}
- <span></span>
- {% else %}
- <span>{{sup[6]}}</span>
- {% endif %}
- </td>
- </tr>
- <tr>
- <td colspan="7">
- <span class="table_RFQ_title">聯絡人 : </span>
- {% if sup[1] == None %}
- <span></span>
- {% else %}
- <span>{{sup[1]}}</span>
- {% endif %}
- </td>
- <td colspan="4">
- <span class="table_RFQ_title"></span>
- <span id=""></span>
- </td>
- </tr>
-
- <tr>
- <td colspan="7">
- <span class="table_RFQ_title">地址 : </span>
- {% if sup[2] == None %}
- <span></span>
- {% else %}
- <span>{{sup[2]}}</span>
- {% endif %}
- </td>
- <td colspan="4">
- <span class="table_RFQ_title">日期 : </span>
- <span id=""></span>
- </td>
- </tr>
- <tr>
- <td colspan="7">
- <span class="table_RFQ_title">電話 : </span>
- {% if sup[3] == None %}
- <span></span>
- {% else %}
- <span>{{sup[3]}}</span>
- {% endif %}
- </td>
- <td colspan="4">
- <span class="table_RFQ_title">廠商編號 : </span>
- {% if sup[7] == None %}
- <span></span>
- {% else %}
- <span>{{sup[7]}}</span>
- {% endif %}
- </td>
- </tr>
- <tr>
- <td colspan="7">
- <span class="table_RFQ_title">傳真 : </span>
- {% if sup[4] == None %}
- <span></span>
- {% else %}
- <span>{{sup[4]}}</span>
- {% endif %}
- </td>
- <td colspan="4">
- <span class="table_RFQ_title">請購單號 : </span>
- <span id="">請購單號</span>
- </td>
- </tr>
- <tr>
- <td colspan="7">
- <span class="table_RFQ_title">email : </span>
- {% if sup[5] == None %}
- <span></span>
- {% else %}
- <span>{{sup[5]}}</span>
- {% endif %}
- </td>
- <td colspan="4">
- <span class="table_RFQ_title">詢價單號 : </span>
- <span id="">詢價單號</span>
- </td>
- </tr>
- {% endfor %}
- <tr class="table_dark_bg" style="text-align: center;">
- <th>編號</th>
- <th>內部料號</th>
- <th>零件名稱</th>
- <th>原廠料號</th>
- <th>圖號</th>
- <th>幣別</th>
- <th>單價</th>
- <th>數量</th>
- <th>單位</th>
- <th>總價</th>
- <th>備註</th>
- </tr>
- {% for PR in PR_datas %}
- <tr style="text-align: center;">
- <td id="{{PR[0]}}_RFQ_sn">no.</td>
- <td>{{PR[0]}}</td>
- <td>{{PR[1]}}</td>
- <td>{{PR[2]}}</td>
- <td>{{PR[3]}}</td>
- <td></td>
- <td></td>
- <td>{{PR[4]}}</td>
- <td>{{PR[5]}}</td>
- <td></td>
- <td></td>
- </tr>
- <script>
- RFQ_datas_sn = RFQ_datas_sn+1;
- // console.log("[++]RFQ_datas_sn: " + RFQ_datas_sn);
- $("#{{PR[0]}}_RFQ_sn").text(RFQ_datas_sn);
- </script>
- {% endfor %}
- <tr style="text-align: center;">
- <td colspan="7" rowspan="3"></td>
- <td>合計</td>
- <td colspan="3" style="text-align: right;"></td>
- </tr>
- <tr style="text-align: center;">
- <td>稅額</td>
- <td colspan="3" style="text-align: right;"></td>
- </tr>
- <tr style="text-align: center;">
- <td>總計</td>
- <td colspan="3" style="text-align: right;"></td>
- </tr>
- </table>
- </body>
- </html>
|