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
84b5420f
authored
May 11, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整再次调价,添加优惠金额展示,优化审核
parent
c9ee2511
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
app/Http/Controllers/OrderController.php
public/js/order.js
resources/views/detail/changeOrder.blade.php
app/Http/Controllers/OrderController.php
View file @
84b5420f
...
@@ -863,8 +863,9 @@ Class OrderController extends Controller
...
@@ -863,8 +863,9 @@ Class OrderController extends Controller
}
}
$data
[
'confirm_time'
]
=
0
;
$data
[
'confirm_time'
]
=
0
;
$data
[
'pay_time'
]
=
0
;
$data
[
'status'
]
=
1
;
$data
[
'status'
]
=
1
;
$data
[
'sale_id'
]
=
0
;
// 再次调价调整sale_id
//
$data['sale_id'] = 0; // 再次调价调整sale_id
$update
=
DB
::
connection
(
'order'
)
$update
=
DB
::
connection
(
'order'
)
->
table
(
'lie_order'
)
->
table
(
'lie_order'
)
...
...
public/js/order.js
View file @
84b5420f
...
@@ -1288,6 +1288,7 @@
...
@@ -1288,6 +1288,7 @@
var
order_amount
=
currencySign
+
$
(
'input[name=order_amount]'
).
val
();
var
order_amount
=
currencySign
+
$
(
'input[name=order_amount]'
).
val
();
var
extra_fee
=
$
(
'input[name=extra_fee]'
).
val
()
==
''
?
''
:
currencySign
+
$
(
'input[name=extra_fee]'
).
val
();
var
extra_fee
=
$
(
'input[name=extra_fee]'
).
val
()
==
''
?
''
:
currencySign
+
$
(
'input[name=extra_fee]'
).
val
();
if
(
!
is_manager
)
{
// 设置默认值false
// 设置默认值false
$
(
'input[name=check_failed]'
).
val
(
0
);
$
(
'input[name=check_failed]'
).
val
(
0
);
...
@@ -1303,6 +1304,7 @@
...
@@ -1303,6 +1304,7 @@
$
(
'input[name=check_failed]'
).
val
(
1
);
$
(
'input[name=check_failed]'
).
val
(
1
);
}
}
});
});
}
// 弹出提示
// 弹出提示
layer
.
open
({
layer
.
open
({
...
...
resources/views/detail/changeOrder.blade.php
View file @
84b5420f
...
@@ -266,8 +266,13 @@
...
@@ -266,8 +266,13 @@
</tr>
</tr>
<tr>
<tr>
<th>
优惠金额:
</th>
<td>
{{$order_price_info['discount_amount']}}
</td>
</tr>
<tr>
<th>
订单总额:
</th>
<th>
订单总额:
</th>
<td>
{{$order_info['order_temp_info']['goods_amount'] + $order_info['order_temp_info']['extra_fee']}}
</td>
<td>
{{$order_info['order_temp_info']['goods_amount'] + $order_info['order_temp_info']['extra_fee']
+ $order_price_info['discount_amount']
}}
</td>
</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