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
6832bc6e
authored
Mar 13, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
temp
parent
0f3dc01e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
public/js/order.js
resources/views/detail/content.blade.php
public/js/order.js
View file @
6832bc6e
...
...
@@ -1537,9 +1537,18 @@
changeOrder
:
function
(){
$
(
'.deletegoods'
).
click
(
function
(){
var
thisobj
=
$
(
this
);
var
new_client_price
=
$
(
'#new_client_price'
).
val
();
var
content
=
''
;
if
(
new_client_price
)
{
content
=
'<i class="error">* 该单为新客价订单,如改单将删除整单优惠</i>'
;
}
content
+=
'<div><textarea type="text" class="reason" style="width:300px;height: 100px"></textarea></div><span class="error">请填写删除商品原因,100字以内</span>'
;
layer
.
open
({
title
:
'删除商品'
,
content
:
'<div><textarea type="text" class="reason" style="width:300px;height: 100px"></textarea></div><span class="error">请填写删除商品原因,100字以内</span>'
,
content
:
content
,
btn
:[
'确定'
,
'取消'
]
,
yes
:
function
(
index
,
layero
){
if
(
!
$
(
'.reason'
).
val
()){
...
...
resources/views/detail/content.blade.php
View file @
6832bc6e
...
...
@@ -22,6 +22,7 @@
<input
type=
"hidden"
class=
"action_type"
value=
"{{$action_name}}"
>
<input
type=
"hidden"
id=
"order_id"
name=
"order_id"
value=
"{{$order_info['order_id']}}"
>
<input
type=
"hidden"
id=
"user_id"
name=
"user_id"
value=
"{{$order_info['user_id']}}"
>
<input
type=
"hidden"
id=
"new_client_price"
name=
"new_client_price"
value=
"{{$order_price_info['new_client_price']}}"
>
<div
class=
"tabs-box table-responsive"
>
<table
class=
"table table-bordered order-express"
>
...
...
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