Commit 6f1500da by 肖康

x

parent 72ad0d02
...@@ -121,7 +121,7 @@ class ApiController extends Controller ...@@ -121,7 +121,7 @@ class ApiController extends Controller
Export((new InquiryModel())->editInquiry($input)); Export((new InquiryModel())->editInquiry($input));
} }
//生成报价/销售 询价单 //生成报价/销售 询价单
private function ApiAddInquiryReport($input, $id){ private function ApiAddInquiryReport($input, $id){
$InquiryItemsReportModel = new InquiryItemsReportModel(); $InquiryItemsReportModel = new InquiryItemsReportModel();
if (@$_REQUEST["debug"] != 100){ if (@$_REQUEST["debug"] != 100){
$data = $InquiryItemsReportModel->addOffer($input); $data = $InquiryItemsReportModel->addOffer($input);
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
<style type="text/css" media="screen"> <style type="text/css" media="screen">
*{ font-family: "simsun"; font-weight: normal;margin:0px;padding:0px; } *{ font-family: "simsun"; font-weight: normal;margin:0px;padding:0px; }
/*.pdf-box{margin:0 auto;font-size: 14px;color:#333;width:900px;padding:50px;}*/ /*.pdf-box{margin:0 auto;font-size: 14px;color:#333;width:900px;padding:50px;}*/
.pdf-box{margin:0 auto;font-size: 14px;color:#333;width:900px;padding:50px;box-sizing: border-box;} .pdf-box{margin:0 auto;font-size: 14px;color:#333;padding:10px;box-sizing: border-box;}
.header{ text-align: center;font-size: 28px;color:#000; position: relative;} .header{ text-align: center;font-size: 28px;color:#000; position: relative;}
.header img{width:120px;position: absolute;left:60px;top:10px;} .header img{width:120px;position: absolute;left:60px;top:10px;}
.bjdx{background: #ccffff;font-size: 28px;color:#0000DA;text-align: center;} .bjdx{background: #ccffff;font-size: 28px;color:#0000DA;text-align: center;}
table{width:100%;border-collapse: collapse;} table{width:100%;border-collapse: collapse; table-layout: fixed;}
table, th, td{border: 1px solid #000;} table, th, td{border: 1px solid #000; }
table td{padding:10px;} table td{padding:10px;}
table td b,.table-tips b,.footer b{font-weight: bold;} table td b,.table-tips b,.footer b{font-weight: bold;}
.table-tips{font-weight: bold;padding:20px 0;font-weight: normal;} .table-tips{font-weight: bold;padding:20px 0;font-weight: normal;}
...@@ -20,6 +20,11 @@ ...@@ -20,6 +20,11 @@
.footer .pr30{position: relative;left:80px;} .footer .pr30{position: relative;left:80px;}
.footer .pr60{position: relative;left:107px;} .footer .pr60{position: relative;left:107px;}
.footer img{position: absolute;left: 731px;top: 40px;} .footer img{position: absolute;left: 731px;top: 40px;}
.table2 td{height:auto;
overflow:hidden;
white-space:normal;
word-break:break-all;}
</style> </style>
</head> </head>
<body> <body>
...@@ -60,9 +65,9 @@ ...@@ -60,9 +65,9 @@
<div class="table2"> <div class="table2">
<table> <table>
<tr> <tr>
<td>客户型号 Cust PartNo</td> <td width="18%">客户型号 Cust PartNo</td>
<td>原厂型号 Mfr PartNo</td> <td width="18%">原厂型号 Mfr PartNo</td>
<td>品牌 Mfr Name</td> <td width="18%">品牌 Mfr Name</td>
<td>报价(RMB含税)Quoted Price (RMB with 13%VAT,freight fee to factory and import fee )</td> <td>报价(RMB含税)Quoted Price (RMB with 13%VAT,freight fee to factory and import fee )</td>
<td>报价(美金)QuotedPrice In USD</td> <td>报价(美金)QuotedPrice In USD</td>
<td>数量 Quantity</td> <td>数量 Quantity</td>
...@@ -74,7 +79,7 @@ ...@@ -74,7 +79,7 @@
@if(!empty($itemsArr) && is_array($itemsArr)) @if(!empty($itemsArr) && is_array($itemsArr))
@foreach($itemsArr as $k=>$v) @foreach($itemsArr as $k=>$v)
<tr> <tr>
<td>{{ @$v["goods_name"] }}</td> <td >{{ @$v["goods_name"] }}</td>
<td>{{ @$v["goods_name_pro"] }}</td> <td>{{ @$v["goods_name_pro"] }}</td>
<td>{{ @$v["brand_name"] }}</td> <td>{{ @$v["brand_name"] }}</td>
<td>{{ @$v["price_rmb"] }}</td> <td>{{ @$v["price_rmb"] }}</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment