Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e2cf5ded
authored
Nov 20, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整
parent
5dd7bc37
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
app/Http/Controllers/OrderController.php
resources/views/detail/detail_items_info.php
resources/views/orderlist/content.blade.php
app/Http/Controllers/OrderController.php
View file @
e2cf5ded
...
...
@@ -332,7 +332,7 @@ function getOrderPurPrice($xls_sn)
if
(
!
$data
)
return
false
;
return
'税率:'
.
$data
[
'rate'
]
.
',采购单价:'
.
$data
[
'pur_price'
]
.
',币别:'
.
$data
[
'pur_currency'
]
.
',采购汇率:'
.
$data
[
'pur_rate'
]
;
return
$data
;
}
...
...
resources/views/detail/detail_items_info.php
View file @
e2cf5ded
...
...
@@ -141,7 +141,13 @@
<?php
if
(
$username
==
'vpadmin@ichunt.com'
&&
$order_info
[
'xls_sn'
])
{
?>
<tr>
<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>
<?php
}
?>
...
...
resources/views/orderlist/content.blade.php
View file @
e2cf5ded
...
...
@@ -32,10 +32,17 @@
</dd>
</dl>
<dl>
@if ($username != 'vpadmin@ichunt.com')
<dt>
ERP订单号:
</dt>
<dd>
<input
type=
"text"
name=
"erp_sn"
value=
"{{$condition['erp_sn']}}"
placeholder=
"请输入ERP订单号"
>
</dd>
@else
<dt>
内部编码:
</dt>
<dd>
<input
type=
"text"
name=
"erp_sn"
value=
"{{$condition['erp_sn']}}"
placeholder=
"请输入内部编码"
>
</dd>
@endif
</dl>
@if ($username != 'vpadmin@ichunt.com')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment