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
29345d96
authored
Jan 08, 2019
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新pcb后台
parent
79ff3fea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
app/Http/Controllers/WebController.php
resources/views/Pcb/PcbOrderDetail.blade.php
resources/views/Pcb/PcbPurchaseDetail.blade.php
app/Http/Controllers/WebController.php
View file @
29345d96
...
@@ -107,8 +107,8 @@ class WebController extends Controller
...
@@ -107,8 +107,8 @@ class WebController extends Controller
//订单费用明细
//订单费用明细
$orderAuditDetail
=
$con
->
table
(
'order_audit_detail'
)
->
where
([
'order_id'
=>
$order_id
])
->
first
();
$orderAuditDetail
=
$con
->
table
(
'order_audit_detail'
)
->
where
([
'order_id'
=>
$order_id
])
->
first
();
//采购审核意见备注
//采购审核意见备注
$orderAuditReason2
=
$con
->
table
(
'order_audit_reason'
)
->
where
([
'order_id'
=>
$order_id
,
'type'
=>
2
])
->
orderBy
(
"id"
,
"desc"
)
->
first
();
$orderAuditReason2
=
$con
->
table
(
'order_audit_reason'
)
->
where
([
'order_id'
=>
$order_id
,
'type'
=>
2
,
'status'
=>
1
])
->
orderBy
(
"id"
,
"desc"
)
->
first
();
$orderAuditReason1
=
$con
->
table
(
'order_audit_reason'
)
->
where
([
'order_id'
=>
$order_id
,
'type'
=>
1
])
->
orderBy
(
"id"
,
"desc"
)
->
first
();
$orderAuditReason1
=
$con
->
table
(
'order_audit_reason'
)
->
where
([
'order_id'
=>
$order_id
,
'type'
=>
1
,
'status'
=>
1
])
->
orderBy
(
"id"
,
"desc"
)
->
first
();
//订单详细信息
//订单详细信息
$orderInfo
=
$con
->
table
(
'order_info'
)
->
where
([
'order_id'
=>
$order_id
])
->
first
();
$orderInfo
=
$con
->
table
(
'order_info'
)
->
where
([
'order_id'
=>
$order_id
])
->
first
();
...
@@ -221,7 +221,7 @@ class WebController extends Controller
...
@@ -221,7 +221,7 @@ class WebController extends Controller
//物流信息
//物流信息
$shipping
=
$con
->
table
(
'shipping'
)
->
where
([
'relevance_id'
=>
$purchase_id
,
'shipping_type'
=>
3
])
->
first
();
$shipping
=
$con
->
table
(
'shipping'
)
->
where
([
'relevance_id'
=>
$purchase_id
,
'shipping_type'
=>
3
])
->
first
();
//供应商审核结果
//供应商审核结果
$orderAuditReason2
=
$con
->
table
(
'order_audit_reason'
)
->
where
([
'order_id'
=>
$order_id
,
'type'
=>
2
])
->
orderBy
(
"id"
,
"desc"
)
->
first
();
$orderAuditReason2
=
$con
->
table
(
'order_audit_reason'
)
->
where
([
'order_id'
=>
$order_id
,
'type'
=>
2
,
'status'
=>
1
])
->
orderBy
(
"id"
,
"desc"
)
->
first
();
//查询操作日志
//查询操作日志
$actionLog
=
$con
->
table
(
"action_log"
)
->
where
([
"type"
=>
1
,
'oid'
=>
$order_id
])
->
orderBy
(
"id"
,
"desc"
)
->
get
();
$actionLog
=
$con
->
table
(
"action_log"
)
->
where
([
"type"
=>
1
,
'oid'
=>
$order_id
])
->
orderBy
(
"id"
,
"desc"
)
->
get
();
...
...
resources/views/Pcb/PcbOrderDetail.blade.php
View file @
29345d96
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
<th>
会员账号
</th>
<th>
会员账号
</th>
<th>
交易订单编号
</th>
<th>
交易订单编号
</th>
<th>
是否调价
</th>
<th>
是否调价
</th>
<th>
订单金额
</th>
<th>
订单金额
(含税10%)
</th>
<th>
调整后金额
</th>
<th>
调整后金额
(含税10%)
</th>
<th>
订单状态
</th>
<th>
订单状态
</th>
</tr>
</tr>
<tr>
<tr>
...
...
resources/views/Pcb/PcbPurchaseDetail.blade.php
View file @
29345d96
...
@@ -18,8 +18,8 @@
...
@@ -18,8 +18,8 @@
<th>
采购订单编号
</th>
<th>
采购订单编号
</th>
<th>
交易订单编号
</th>
<th>
交易订单编号
</th>
<th>
是否调价
</th>
<th>
是否调价
</th>
<th>
调整前订单金额
</th>
<th>
调整前订单金额
(含税10%)
</th>
<th>
调整后金额
</th>
<th>
调整后金额
(含税10%)
</th>
<th>
订单状态
</th>
<th>
订单状态
</th>
</tr>
</tr>
<tr>
<tr>
...
...
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