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
79ff3fea
authored
Jan 08, 2019
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新pcb后台
parent
98a5b7ef
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
21 deletions
app/Http/Controllers/WebController.php
resources/views/Pcb/PcbOrderDetail.blade.php
resources/views/Pcb/PcbOrderList.blade.php
resources/views/Pcb/PcbPurchaseDetail.blade.php
resources/views/Pcb/PcbPurchaseList.blade.php
app/Http/Controllers/WebController.php
View file @
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
(
$order
AuditDetail
);
$data
[
'
purchaseAuditDetail'
]
=
objectToArray
(
$purchase
AuditDetail
);
$data
[
'orderAuditReason2'
]
=
objectToArray
(
$orderAuditReason2
);
$data
[
'orderAuditReason2'
]
=
objectToArray
(
$orderAuditReason2
);
$data
[
'orderInfo'
]
=
objectToArray
(
$orderInfo
);
$data
[
'orderInfo'
]
=
objectToArray
(
$orderInfo
);
$data
[
'orderInvoice'
]
=
$orderInvoice
;
$data
[
'orderInvoice'
]
=
$orderInvoice
;
...
...
resources/views/Pcb/PcbOrderDetail.blade.php
View file @
79ff3fea
...
@@ -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>
<?=
$order
AuditDetail
[
'pcb_sf_net'
]
?>
</td>
<td>
<?=
$order
Base
[
'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>
...
...
resources/views/Pcb/PcbOrderList.blade.php
View file @
79ff3fea
...
@@ -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>
...
...
resources/views/Pcb/PcbPurchaseDetail.blade.php
View file @
79ff3fea
...
@@ -220,12 +220,12 @@
...
@@ -220,12 +220,12 @@
<th>
颜色费
</th>
<th>
颜色费
</th>
</tr>
</tr>
<tr>
<tr>
<td>
<?=
$
order
AuditDetail
[
'pcb_gcf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pcb_gcf_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pcb_pinban_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pcb_pinban_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pcb_bf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pcb_bf_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pcb_flf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pcb_flf_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pdf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pdf_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pcb_ysf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'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>
<?=
$
order
AuditDetail
[
'pcb_ccf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pcb_ccf_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pcb_jjf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pcb_jjf_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pcb_sf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pcb_sf_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pcb_kdf_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'pcb_kdf_net'
]
?>
</td>
<td>
<?=
$
order
AuditDetail
[
'pcb_other_net'
]
?>
</td>
<td>
<?=
$
purchase
AuditDetail
[
'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>
...
...
resources/views/Pcb/PcbPurchaseList.blade.php
View file @
79ff3fea
...
@@ -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>
...
...
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