123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- <!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">
- <script>
- var PR_Form_number = '{{PR_Form_number}}';
- console.log("PR_Form_number: " + PR_Form_number);
- var PR_datas_sn = 0;
- console.log("PR_datas_sn: " + PR_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;">
- <tr>
- <td colspan="8" style="text-align: center; font-size: 12px;">
- {% if PR_Form_number[PR_Form_number.find('T'):] == 'T02' %}
- <img src="../static/img/ALMIGHTY_RAY.jpg" width="90px"><br>
- 瑞智精技股份有限公司<br>
- 台北市南港區南港路一段 287 巷 2 弄 8 號<br>
- service.gitc@gmail.com<br>
- (02) 2788 - 8158<br>
- {% else %}
- <img src="../static/img/SKYAI.jpg" width="120px"><br>
- 金子進科技股份有限公司<br>
- 台北市南港區南港路一段 287 巷 2 弄 8 號 1 樓<br>
- fu@aisky.com.tw<br>
- (02) 2788 - 8598<br>
- 傳真 02 - 2788 - 8158<br>
- {% endif %}
- </td>
- </tr>
- <tr>
- <td colspan="8" class="table_dark_bg" style="text-align: center;">請購單</td>
- </tr>
- <tr>
- <td colspan="8">
- 日期 :
- <span></span>
- </td>
- </tr>
- <tr>
- <td colspan="8">
- 請購單號 : {{PR_Form_number}}
- <span></span>
- </td>
- </tr>
- <tr>
- <td colspan="8">
- 用途 : {{form_purpose}}
- <span></span>
- </td>
- </tr>
- <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>
- </tr>
- {% for PR in PR_datas %}
- <tr style="text-align: center;">
- <td id="{{PR[0]}}_PR_sn">no.</td>
- <td>{{PR[0]}}</td>
- <td>{{PR[1]}}</td>
- <td>{{PR[2]}}</td>
- <td>{{PR[3]}}</td>
- <td>{{PR[4]}}</td>
- <td>{{PR[5]}}</td>
- <td>{{PR[6]}}</td>
- </tr>
- <script>
- PR_datas_sn = PR_datas_sn+1;
- // console.log("[++]PR_datas_sn: " + PR_datas_sn);
- $("#{{PR[0]}}_PR_sn").text(PR_datas_sn);
- </script>
- {% endfor %}
- <tr style="text-align: center;">
- <td colspan="8">
- 採購主管 :
- <span id="PR_PO_manager" style="margin: 0px 120px 0px 0px">{{form_RFQ_manager}}</span>
- 採購 :
- <span id="PR_PO_staff" style="margin: 0px 120px 0px 0px">{{form_RFQ_user}}</span>
- 請購主管 :
- <span id="PR_PR_manager" style="margin: 0px 120px 0px 0px">{{form_PR_manager}}</span>
- 請購 :
- <span id="PR_PR_staff" style="margin: 0px 0px 0px 0px">{{form_PR_user}}</span>
- </td>
- </tr>
- </table>
- </body>
- </html>
|