Merge branch 'hcy_pcb_20181221-r' into development

parents 7e50ce9b 79ff3fea
...@@ -212,8 +212,8 @@ class WebController extends Controller ...@@ -212,8 +212,8 @@ class WebController extends Controller
} }
//采购信息 //采购信息
$purchase = $con->table('purchase')->where(['order_id' => $order_id])->first(); $purchase = $con->table('purchase')->where(['order_id' => $order_id])->first();
//订单费用明细 //采购费用明细
$orderAuditDetail = $con->table('order_audit_detail')->where(['order_id' => $order_id])->first(); $purchaseAuditDetail = $con->table('purchase_audit_detail')->where(['purchase_id' => $purchase_id])->first();
//订单详细信息 //订单详细信息
$orderInfo = $con->table('order_info')->where(['order_id' => $order_id])->first(); $orderInfo = $con->table('order_info')->where(['order_id' => $order_id])->first();
//订单发票信息 //订单发票信息
...@@ -258,7 +258,7 @@ class WebController extends Controller ...@@ -258,7 +258,7 @@ class WebController extends Controller
$data['orderBase'] = $orderBase; $data['orderBase'] = $orderBase;
$data['purchase'] = $purchase; $data['purchase'] = $purchase;
$data['liexinInfo'] = config("params.liexin_info"); $data['liexinInfo'] = config("params.liexin_info");
$data['orderAuditDetail'] = objectToArray($orderAuditDetail); $data['purchaseAuditDetail'] = objectToArray($purchaseAuditDetail);
$data['orderAuditReason2'] = objectToArray($orderAuditReason2); $data['orderAuditReason2'] = objectToArray($orderAuditReason2);
$data['orderInfo'] = objectToArray($orderInfo); $data['orderInfo'] = objectToArray($orderInfo);
$data['orderInvoice'] = $orderInvoice; $data['orderInvoice'] = $orderInvoice;
......
...@@ -292,13 +292,13 @@ ...@@ -292,13 +292,13 @@
<tr> <tr>
<td><?= $orderAuditDetail['pcb_ccf_net'] ?></td> <td><?= $orderAuditDetail['pcb_ccf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_jjf_net'] ?></td> <td><?= $orderAuditDetail['pcb_jjf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_sf_net'] ?></td> <td><?= $orderBase['invoice_type'] > 0 ? $orderAuditDetail['price']*0.1 : 0; ?></td>
<td><?= $orderAuditDetail['pcb_kdf_net'] ?></td> <td><?= $orderAuditDetail['pcb_kdf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_other_net'] ?></td> <td><?= $orderAuditDetail['pcb_other_net'] ?></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<th class="c2">总计</th> <th class="c2">总计(含税10%)</th>
<th colspan="2"><?= $orderBase['order_amount'] ?></th> <th colspan="2"><?= $orderBase['order_amount'] ?></th>
<th class="c2">获得积分</th> <th class="c2">获得积分</th>
<th colspan="2"><?= $orderBase['integral'] ?></th> <th colspan="2"><?= $orderBase['integral'] ?></th>
......
...@@ -98,8 +98,8 @@ ...@@ -98,8 +98,8 @@
<th class="pl30" style="background-color: #f2f2f2">交易订单编号</th> <th class="pl30" style="background-color: #f2f2f2">交易订单编号</th>
<th class="pl30" style="background-color: #f2f2f2">采购订单编号</th> <th class="pl30" style="background-color: #f2f2f2">采购订单编号</th>
<th class="pl30" style="background-color: #f2f2f2">是否调价</th> <th class="pl30" style="background-color: #f2f2f2">是否调价</th>
<th class="pl30" style="background-color: #f2f2f2">订单金额</th> <th class="pl30" style="background-color: #f2f2f2">订单金额(含税10%)</th>
<th class="pl30" style="background-color: #f2f2f2">调整后订单金额</th> <th class="pl30" style="background-color: #f2f2f2">调整后订单金额(含税10%)</th>
<th class="pl30" style="background-color: #f2f2f2">订单状态</th> <th class="pl30" style="background-color: #f2f2f2">订单状态</th>
<th class="pl30" style="background-color: #f2f2f2">订单类型</th> <th class="pl30" style="background-color: #f2f2f2">订单类型</th>
<th class="pl30" style="background-color: #f2f2f2">支付方式</th> <th class="pl30" style="background-color: #f2f2f2">支付方式</th>
......
...@@ -220,12 +220,12 @@ ...@@ -220,12 +220,12 @@
<th>颜色费</th> <th>颜色费</th>
</tr> </tr>
<tr> <tr>
<td><?= $orderAuditDetail['pcb_gcf_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_gcf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_pinban_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_pinban_net'] ?></td>
<td><?= $orderAuditDetail['pcb_bf_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_bf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_flf_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_flf_net'] ?></td>
<td><?= $orderAuditDetail['pdf_net'] ?></td> <td><?= $purchaseAuditDetail['pdf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_ysf_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_ysf_net'] ?></td>
</tr> </tr>
<tr> <tr>
<th class="c2">测试费</th> <th class="c2">测试费</th>
...@@ -236,16 +236,16 @@ ...@@ -236,16 +236,16 @@
<th></th> <th></th>
</tr> </tr>
<tr> <tr>
<td><?= $orderAuditDetail['pcb_ccf_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_ccf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_jjf_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_jjf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_sf_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_sf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_kdf_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_kdf_net'] ?></td>
<td><?= $orderAuditDetail['pcb_other_net'] ?></td> <td><?= $purchaseAuditDetail['pcb_other_net'] ?></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<th class="c2">总计</th> <th class="c2">总计</th>
<th colspan="2"><?= $orderBase['order_amount'] ?></th> <th colspan="2"><?= $purchaseAuditDetail['price'] ?></th>
<th class="c2">获得积分</th> <th class="c2">获得积分</th>
<th colspan="2"><?= $orderBase['integral'] ?></th> <th colspan="2"><?= $orderBase['integral'] ?></th>
</tr> </tr>
......
...@@ -76,8 +76,8 @@ ...@@ -76,8 +76,8 @@
<th class="pl30" style="background-color: #f2f2f2">交易订单编号</th> <th class="pl30" style="background-color: #f2f2f2">交易订单编号</th>
<th class="pl30" style="background-color: #f2f2f2">采购订单编号</th> <th class="pl30" style="background-color: #f2f2f2">采购订单编号</th>
<th class="pl30" style="background-color: #f2f2f2">是否调价</th> <th class="pl30" style="background-color: #f2f2f2">是否调价</th>
<th class="pl30" style="background-color: #f2f2f2">订单金额</th> <th class="pl30" style="background-color: #f2f2f2">订单金额(含税10%)</th>
<th class="pl30" style="background-color: #f2f2f2">调整后订单金额</th> <th class="pl30" style="background-color: #f2f2f2">调整后订单金额(含税10%)</th>
<th class="pl30" style="background-color: #f2f2f2">订单状态</th> <th class="pl30" style="background-color: #f2f2f2">订单状态</th>
<th class="pl30" style="background-color: #f2f2f2">订单类型</th> <th class="pl30" style="background-color: #f2f2f2">订单类型</th>
<th class="pl30" style="background-color: #f2f2f2">支付方式</th> <th class="pl30" style="background-color: #f2f2f2">支付方式</th>
......
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