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
7ba2d9a1
authored
Mar 14, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
生成订单添加弹层
parent
08a1ea85
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
public/js/add_order.js
resources/views/addOffline/js.blade.php
resources/views/orderlist/js.blade.php
public/js/add_order.js
View file @
7ba2d9a1
...
@@ -668,7 +668,7 @@
...
@@ -668,7 +668,7 @@
datax
.
user_coupon_id
=
user_coupon_id
;
datax
.
user_coupon_id
=
user_coupon_id
;
}
}
self
.
attr
(
'disabled'
,
true
).
css
(
'pointer-events'
,
'none'
);
// 成功生成订单后禁用按钮,防止重复提交
//
self.attr('disabled', true).css('pointer-events', 'none'); // 成功生成订单后禁用按钮,防止重复提交
// 自营线上
// 自营线上
if
(
type
==
2
&&
is_online
==
1
)
{
if
(
type
==
2
&&
is_online
==
1
)
{
...
@@ -706,7 +706,7 @@
...
@@ -706,7 +706,7 @@
btn
:
[],
btn
:
[],
});
});
self
.
removeAttr
(
'disabled'
).
css
(
'pointer-events'
,
'auto'
);
//
self.removeAttr('disabled').css('pointer-events', 'auto');
return
false
;
return
false
;
}
}
...
@@ -731,6 +731,12 @@
...
@@ -731,6 +731,12 @@
layer
.
alert
(
resp
.
errmsg
);
layer
.
alert
(
resp
.
errmsg
);
},
},
})
})
layer
.
msg
(
'订单生成中...'
,
{
icon
:
16
,
time
:
0
,
shade
:
0.3
});
}
}
}
else
{
}
else
{
layer
.
msg
(
'请先添加商品'
);
layer
.
msg
(
'请先添加商品'
);
...
...
resources/views/addOffline/js.blade.php
View file @
7ba2d9a1
...
@@ -7,5 +7,5 @@
...
@@ -7,5 +7,5 @@
<script
src=
"/js/inspinia.min.js"
></script>
<script
src=
"/js/inspinia.min.js"
></script>
<script
src=
"/js/common.js"
></script>
<script
src=
"/js/common.js"
></script>
<script
src=
"/js/add_order.js"
></script>
<script
src=
"/js/add_order.js
?v=
<?=
time
()
?>
"
></script>
<script
src=
"/js/plugins/DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/plugins/DatePicker/WdatePicker.js"
></script>
resources/views/orderlist/js.blade.php
View file @
7ba2d9a1
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<script
src=
"/js/inspinia.min.js"
></script>
<script
src=
"/js/inspinia.min.js"
></script>
<script
src=
"/js/common.js"
></script>
<script
src=
"/js/common.js"
></script>
<script
src=
"/js/order.js?
t
=
<?=
time
()
?>
"
></script>
<script
src=
"/js/order.js?
v
=
<?=
time
()
?>
"
></script>
<script
src=
"/js/orderamount.js"
></script>
<script
src=
"/js/orderamount.js"
></script>
<script
src=
"/js/plugins/DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/plugins/DatePicker/WdatePicker.js"
></script>
<script
src=
"/js/refund.js"
></script>
<script
src=
"/js/refund.js"
></script>
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