Commit e2cf5ded by 朱继来

调整

parent 5dd7bc37
...@@ -332,7 +332,7 @@ function getOrderPurPrice($xls_sn) ...@@ -332,7 +332,7 @@ function getOrderPurPrice($xls_sn)
if (!$data) return false; if (!$data) return false;
return '税率:'.$data['rate'].',采购单价:'.$data['pur_price'].',币别:'.$data['pur_currency'].',采购汇率:'.$data['pur_rate']; return $data;
} }
......
...@@ -141,7 +141,13 @@ ...@@ -141,7 +141,13 @@
<?php if ($username == 'vpadmin@ichunt.com' && $order_info['xls_sn']) { ?> <?php if ($username == 'vpadmin@ichunt.com' && $order_info['xls_sn']) { ?>
<tr> <tr>
<td>订单采购明细:</td> <td>订单采购明细:</td>
<td colspan="18"><?= App\Http\Controllers\getOrderPurPrice($order_info['xls_sn']) ?></td> <td colspan="18">
<?php
$data = App\Http\Controllers\getOrderPurPrice($order_info['xls_sn']);
echo '税率:'.$data['rate'].',采购单价:'.$data['pur_price'].',采购数量:'.$order_items_info[0]['goods_number'].',币别:'.$data['pur_currency'].',采购汇率:'.$data['pur_rate'];
?>
</td>
</tr> </tr>
<?php } ?> <?php } ?>
......
...@@ -32,10 +32,17 @@ ...@@ -32,10 +32,17 @@
</dd> </dd>
</dl> </dl>
<dl> <dl>
@if ($username != 'vpadmin@ichunt.com')
<dt>ERP订单号:</dt> <dt>ERP订单号:</dt>
<dd> <dd>
<input type="text" name="erp_sn" value="{{$condition['erp_sn']}}" placeholder="请输入ERP订单号"> <input type="text" name="erp_sn" value="{{$condition['erp_sn']}}" placeholder="请输入ERP订单号">
</dd> </dd>
@else
<dt>内部编码:</dt>
<dd>
<input type="text" name="erp_sn" value="{{$condition['erp_sn']}}" placeholder="请输入内部编码">
</dd>
@endif
</dl> </dl>
@if ($username != 'vpadmin@ichunt.com') @if ($username != 'vpadmin@ichunt.com')
......
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