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
4595791e
authored
Dec 26, 2018
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新pcb后台
parent
ad518aa0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 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 @
4595791e
...
@@ -205,7 +205,6 @@ class WebController extends Controller
...
@@ -205,7 +205,6 @@ class WebController extends Controller
if
(
!
$purchase
){
if
(
!
$purchase
){
$orderBase
[
'tiaojia'
]
=
$purchase
[
'purchase_amount'
]
!=
$purchase
[
'order_amount'
]
?
"是"
:
"否"
;
//是否调价、
$orderBase
[
'tiaojia'
]
=
$purchase
[
'purchase_amount'
]
!=
$purchase
[
'order_amount'
]
?
"是"
:
"否"
;
//是否调价、
}
}
$orderBase
[
'order_pay_type'
]
=
PcbOrderMap
::
$order_pay_type
[
$orderBase
[
'order_pay_type'
]];
$orderBase
[
'order_type'
]
=
PcbOrderMap
::
$order_type
[
$orderBase
[
'order_type'
]];
$orderBase
[
'order_type'
]
=
PcbOrderMap
::
$order_type
[
$orderBase
[
'order_type'
]];
$orderBase
[
'status_name'
]
=
PcbOrderMap
::
$status
[
$orderBase
[
'status'
]];
$orderBase
[
'status_name'
]
=
PcbOrderMap
::
$status
[
$orderBase
[
'status'
]];
$orderBase
[
'create_time'
]
=
$orderBase
[
'create_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$orderBase
[
'create_time'
])
:
""
;
$orderBase
[
'create_time'
]
=
$orderBase
[
'create_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$orderBase
[
'create_time'
])
:
""
;
...
@@ -218,6 +217,7 @@ class WebController extends Controller
...
@@ -218,6 +217,7 @@ class WebController extends Controller
if
(
$purchase
){
if
(
$purchase
){
$purchase
=
objectToArray
(
$purchase
);
$purchase
=
objectToArray
(
$purchase
);
$purchase
[
'shipping_time'
]
=
$purchase
[
'shipping_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$purchase
[
'shipping_time'
])
:
""
;
$purchase
[
'shipping_time'
]
=
$purchase
[
'shipping_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$purchase
[
'shipping_time'
])
:
""
;
$purchase
[
'order_pay_type'
]
=
PcbOrderMap
::
$order_pay_type
[
$purchase
[
'order_pay_type'
]];
}
}
//拼接订单详细信息
//拼接订单详细信息
$orderInfo
=
objectToArray
(
$orderInfo
);
$orderInfo
=
objectToArray
(
$orderInfo
);
...
...
resources/views/Pcb/PcbOrderDetail.blade.php
View file @
4595791e
...
@@ -204,7 +204,7 @@
...
@@ -204,7 +204,7 @@
<td>
<?=
@
$orderInfo
[
'surface'
]
?>
</td>
<td>
<?=
@
$orderInfo
[
'surface'
]
?>
</td>
<td>
<?=
$orderInfo
[
'via_process'
]
?>
</td>
<td>
<?=
$orderInfo
[
'via_process'
]
?>
</td>
<td>
<?=
$orderInfo
[
'copper_thickness'
]
?>
</td>
<td>
<?=
$orderInfo
[
'copper_thickness'
]
?>
</td>
<td>
<?=
@
$order
Info
[
'days'
]
.
'天'
?>
</td>
<td>
<?=
@
$order
AuditDetail
[
'text'
]
?>
</td>
<td>
<?=
$purchase
[
'finish_time'
]
?>
</td>
<td>
<?=
$purchase
[
'finish_time'
]
?>
</td>
<td></td>
<td></td>
</tr>
</tr>
...
...
resources/views/Pcb/PcbPurchaseDetail.blade.php
View file @
4595791e
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<td>
<?=
@
$orderBase
[
'order_type'
]
?>
</td>
<td>
<?=
@
$orderBase
[
'order_type'
]
?>
</td>
<td>
<?=
@
$orderBase
[
'create_time'
]
?>
</td>
<td>
<?=
@
$orderBase
[
'create_time'
]
?>
</td>
<td>
<?=
@
$orderBase
[
'pay_time'
]
?>
</td>
<td>
<?=
@
$orderBase
[
'pay_time'
]
?>
</td>
<td>
<?=
@
$
orderB
ase
[
'order_pay_type'
]
?>
</td>
<td>
<?=
@
$
purch
ase
[
'order_pay_type'
]
?>
</td>
<td></td>
<td></td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
<td>
<?=
@
$orderInfo
[
'surface'
]
?>
</td>
<td>
<?=
@
$orderInfo
[
'surface'
]
?>
</td>
<td>
<?=
$orderInfo
[
'via_process'
]
?>
</td>
<td>
<?=
$orderInfo
[
'via_process'
]
?>
</td>
<td>
<?=
$orderInfo
[
'copper_thickness'
]
?>
</td>
<td>
<?=
$orderInfo
[
'copper_thickness'
]
?>
</td>
<td>
<?=
@
$order
Info
[
'finish_time
'
]
?>
</td>
<td>
<?=
@
$order
AuditDetail
[
'text
'
]
?>
</td>
<td>
<?=
$purchase
[
'finish_time'
]
?>
</td>
<td>
<?=
$purchase
[
'finish_time'
]
?>
</td>
<td></td>
<td></td>
</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