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
549db8b1
authored
Jan 15, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整取消原因弹框
parent
94da1bdf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
30 deletions
public/css/order.css
public/js/order.js
public/css/order.css
View file @
549db8b1
...
...
@@ -319,4 +319,6 @@ input[type="color"],
.bs-deselect-all
{
float
:
right
;
width
:
50%
!important
;}
.bootstrap-select
.btn
{
padding
:
4px
12px
;}
.list-item-table
.caption
th
{
background
:
#fff
;
}
\ No newline at end of file
.list-item-table
.caption
th
{
background
:
#fff
;
}
.input-radio
input
{
margin-left
:
-15px
!important
;
}
\ No newline at end of file
public/js/order.js
View file @
549db8b1
...
...
@@ -561,50 +561,58 @@
var
content
=
'<div class="form-group">'
+
'<label>网站数据不准: </label>'
+
'<div class="input-radio">'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="价格不准">价格不准</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="库存数量不准">库存数量不准</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="批次不准(或者没有)">批次不准(或者没有)</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="货期不准">货期不准</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="价格不准">价格不准</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="库存数量不准">库存数量不准</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="批次不准(或者没有)">批次不准(或者没有)</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="货期不准">货期不准</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="起订量不准">起订量不准</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="品牌不准">品牌不准</label>'
+
'</div>'
+
'</div>'
+
'<div class="form-group">'
+
'<label>更改订单信息: </label>'
+
'<div class="input-radio">'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="更改发票信息">更改发票信息</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="更改收票地址">更改收票地址</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="增删改型号/数量">增删改型号/数量</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="需使用或更改优惠券">需使用或更改优惠券</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="更改付款方式">更改付款方式</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="更改发票信息">更改发票信息</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="更改收票地址">更改收票地址</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="更改收货地址">更改收货地址</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="增删改型号/数量">增删改型号/数量</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="需使用或更改优惠券">需使用或更改优惠券</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="更改付款方式">更改付款方式</label>'
+
'</div>'
+
'</div>'
+
'<div class="form-group">'
+
'<label>额外附加费: </label>'
+
'<div class="input-radio">'
+
'<label class="radio-inline"><input type="
checkbox
" name="cancel_reason" value="产地税">产地税</label>'
+
'<label class="radio-inline"><input type="
checkbox
" name="cancel_reason" value="关税">关税</label>'
+
'<label class="radio-inline"><input type="
checkbox
" name="cancel_reason" value="3C商检">3C商检</label>'
+
'<label class="radio-inline"><input type="
checkbox
" name="cancel_reason" value="运费">运费</label>'
+
'<label class="radio-inline"><input type="
radio
" name="cancel_reason" value="产地税">产地税</label>'
+
'<label class="radio-inline"><input type="
radio
" name="cancel_reason" value="关税">关税</label>'
+
'<label class="radio-inline"><input type="
radio
" name="cancel_reason" value="3C商检">3C商检</label>'
+
'<label class="radio-inline"><input type="
radio
" name="cancel_reason" value="运费">运费</label>'
+
'</div>'
+
'</div>'
+
'<div class="form-group">'
+
'<label>客户需求变动: </label>'
+
'<div class="input-radio">'
+
'<label class="radio-inline"><input type="
checkbox
" name="cancel_reason" value="客户找到更优渠道">客户找到更优渠道</label>'
+
'<label class="radio-inline"><input type="
checkbox
" name="cancel_reason" value="客户上游取消需求">客户上游取消需求</label>'
+
'<label class="radio-inline"><input type="
radio
" name="cancel_reason" value="客户找到更优渠道">客户找到更优渠道</label>'
+
'<label class="radio-inline"><input type="
radio
" name="cancel_reason" value="客户上游取消需求">客户上游取消需求</label>'
+
'</div>'
+
'</div>'
+
'<div class="form-group">'
+
'<label>其他问题: </label>'
+
'<div class="input-radio">'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="采购漏下单">采购漏下单</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="订单处理时间较长,供应商库存不足">订单处理时间较长,供应商库存不足</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="管制、禁运物料">管制、禁运物料</label>'
+
'<label class="radio-inline"><input type="checkbox" name="cancel_reason" value="商品报关无法归类">商品报关无法归类</label>'
+
'<label class="radio-inline" style="margin-left:0px"><input type="checkbox" name="cancel_reason" value="客户测试下单">客户测试下单</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="采购漏下单">采购漏下单</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="订单处理时间较长,供应商库存不足">订单处理时间较长,供应商库存不足</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="管制、禁运物料">管制、禁运物料</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="商品报关无法归类">商品报关无法归类</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="客户测试下单">客户测试下单</label>'
+
'<label class="radio-inline"><input type="radio" name="cancel_reason" value="1">其他</label>'
+
'</div>'
+
'<div class="input-other-reason" style="display:none;">'
+
'<textarea class="form-control" name="input-other-reason" placeholder="请填写其他原因"></textarea>'
+
'</div>'
+
'</div>'
;
...
...
@@ -614,17 +622,16 @@
content
:
content
,
btn
:[
'确认'
,
'取消'
],
btn1
:
function
(
index
){
var
cancel_reason
=
$
(
'input[name=cancel_reason]:checked'
).
val
();
// var cancel_reason = $('input[name=cancel_reason]:checked').val();
$select
=
new
Array
();
// $select = new Array();
$
(
'input[name=cancel_reason]:checked'
).
each
(
function
(
data
,
select_check
){
//
$('input[name=cancel_reason]:checked').each(function(data,select_check){
$select
[
data
]
=
(
$
(
select_check
).
val
());
})
//
$select[data] = ($(select_check).val());
//
})
cancel_reason
=
$select
.
join
(
', '
);
//
cancel_reason = $select.join(', ');
var
other_reason
=
$
(
'textarea[name=input-other-reason]'
).
val
();
...
...
@@ -684,7 +691,7 @@
if
(
cancel_reason
==
1
)
{
$
(
'.input-other-reason'
).
show
();
$
(
'.layui-layer-content'
).
css
(
'height'
,
'
310px
'
);
$
(
'.layui-layer-content'
).
css
(
'height'
,
'
auto
'
);
}
else
{
$
(
'.input-other-reason'
).
hide
();
$
(
'.layui-layer-content'
).
css
(
'height'
,
'auto'
);
...
...
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