a7b50485 by yangjianbin

init

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