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
30d3f72d
authored
Dec 27, 2018
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'hcy_pcb_20181221-r' into development
parents
d2332ce1
c8780b82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
app/Model/Pcb/PcbPurchaseModel.php
resources/views/Pcb/PcbOrderDetail.blade.php
app/Model/Pcb/PcbPurchaseModel.php
View file @
30d3f72d
...
...
@@ -83,7 +83,7 @@ class PcbPurchaseModel extends Model
$temp
=
[];
foreach
(
$data
as
$k
=>
$v
){
array_push
(
$temp
,[
'
order_id'
=>
$v
[
'order
_id'
],
'
purchase_id'
=>
$v
[
'purchase
_id'
],
'user_account'
=>
$v
[
'user_account'
]
.
"
\n
"
,
'order_sn'
=>
$v
[
'order_sn'
]
.
"
\n
"
,
'purchase_sn'
=>@
$v
[
'purchase_sn'
]
.
"
\n
"
,
...
...
resources/views/Pcb/PcbOrderDetail.blade.php
View file @
30d3f72d
...
...
@@ -140,6 +140,18 @@
<td>
<?=
@
$orderInvoice
[
"province"
]
.@
$orderInvoice
[
"city"
]
.@
$orderInvoice
[
"district"
]
.@
$orderInvoice
[
'consignee_address'
]
?>
</td>
<td>
<?=
@
$orderInvoice
[
'tax_no'
]
?>
</td>
</tr>
<tr>
<th>
公司电话
</th>
<th>
开户银行
</th>
<th>
银行卡号
</th>
<th></th>
</tr>
<tr>
<td>
<?=
@
$orderInvoice
[
'company_phone'
]
?>
</td>
<td>
<?=
@
$orderInvoice
[
'bank_name'
]
?>
</td>
<td>
<?=
@
$orderInvoice
[
'bank_account'
]
?>
</td>
<td></td>
</tr>
</tbody>
</table>
</td>
...
...
@@ -182,7 +194,7 @@
<th>
过孔
</th>
<th>
字符颜色
</th>
<th>
铜箔厚度
</th>
<th>
飞针测试
</th>
<th>
测试类型
</th>
</tr>
<tr>
<td>
<?=
$orderInfo
[
'thickness'
]
?>
</td>
...
...
@@ -293,7 +305,7 @@
</tbody>
</table>
<!--费用信息end-->
<?
Php
if
(
!
count
(
$purchase
))
{
?>
<?
Php
if
(
!
count
(
$purchase
)
&&
$orderBase
[
'status'
]
==
1
)
{
?>
<div
style=
"margin-top: 10px;margin-bottom: 20px;"
>
<div
style=
""
>
<button
class=
"layui-btn export"
onclick=
"AddPurchase()"
>
发起采购
</button>
...
...
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