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
310e1932
authored
Jun 26, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
允许全部退货
parent
e226498f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
public/js/refund.js
public/js/refund.js
View file @
310e1932
...
...
@@ -412,7 +412,7 @@
$
(
'.returnApply'
).
click
(
function
()
{
var
return_way
=
$
(
'.return_way:checked'
).
val
();
var
goods_count
=
0
;
// 商品数量
var
return_eq_true
=
[];
// 退货数量与出库数量相等
//
var return_eq_true = []; // 退货数量与出库数量相等
var
return_empty
=
[];
// 退货数量为空
// 判断是否选择退货方式
...
...
@@ -430,7 +430,7 @@
if
(
!
num
)
return_empty
.
push
(
0
);
// 数量等于出库数量标记
if
(
num
==
removal_number
)
return_eq_true
.
push
(
1
);
//
if (num == removal_number) return_eq_true.push(1);
goods_count
++
;
});
...
...
@@ -440,10 +440,10 @@
return
false
;
}
if
(
return_eq_true
.
length
==
goods_count
)
{
layer
.
msg
(
'不能选择全部退货数量,请检查数量'
);
return
false
;
}
//
if (return_eq_true.length == goods_count) {
//
layer.msg('不能选择全部退货数量,请检查数量');
//
return false;
//
}
var
order_id
=
$
(
'input[name=order_id]'
).
val
();
var
refund_reason
=
$
(
'.refund_reason'
).
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