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
48257c6b
authored
Mar 05, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整js
parent
ccb75cb3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
public/js/order.js
public/js/order.js
View file @
48257c6b
...
...
@@ -1748,7 +1748,7 @@
})
// 根据供应商调整附加费
$
(
'.extend-fee-table input'
).
on
(
'
blur
'
,
function
(){
$
(
'.extend-fee-table input'
).
on
(
'
keyup
'
,
function
(){
var
table
=
$
(
'.extend-fee-table'
);
var
goods_total
=
parseFloat
(
$
(
'.goods_total'
).
text
());
var
freight_fee
=
$
(
'input[name="freight_fee"]'
).
val
()
?
parseFloat
(
$
(
'input[name="freight_fee"]'
).
val
())
:
0
;
// 运费
...
...
@@ -1769,7 +1769,7 @@
})
// 调整运费
$
(
'.freight_fee'
).
on
(
'
blur
'
,
function
()
{
$
(
'.freight_fee'
).
on
(
'
keyup
'
,
function
()
{
var
freight_fee
=
parseFloat
(
$
(
this
).
val
());
if
(
!
freight_fee
)
freight_fee
=
0
;
...
...
@@ -1881,7 +1881,7 @@
// })
// 设置折扣
$
(
'.set_goods_price'
).
off
().
on
(
'
blur
'
,
function
(){
$
(
'.set_goods_price'
).
off
().
on
(
'
keyup
'
,
function
(){
var
val
=
$
(
this
).
val
();
if
(
!
val
)
{
...
...
@@ -1986,7 +1986,6 @@
return
false
;
}
// 预付款
if
(
pay_type
==
2
)
{
var
deposit_amount
=
$
(
'input[name=deposit_amount]'
).
val
();
...
...
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