a7b50485 by yangjianbin

init

1 parent 7d5fc342
......@@ -58,7 +58,7 @@
<li><a href="#">退至【等待放款-移交】阶段</a></li>*/
var subMenu = '';
$('[name=status]').find('option').each(function () {
subMenu += '<li><a href="#">退至 '+$(this).text()+'阶段</a></li>';
subMenu += '<li><a href="javascript:;" onclick="rollback('+data+','+$(this).val()+','+full+')">退至 '+$(this).text()+'阶段</a></li>';
})
return '<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont">&#xe6d5;</i></button>\
......@@ -108,7 +108,8 @@
});
}
function rollback(id) {
function rollback(id, curr, all) {
console.log(id, curr, all);
layer.prompt({title: '输入驳回理由', formType: 1}, function(pass, index){
layer.close(index);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!