| | |
| | | if (auditList && auditList.length > 0) { |
| | | $.each(auditList, function(index, item) { |
| | | html += '<li><div class="con"><div class="top"><div class="left">'; |
| | | html += '<div class="line"><div class="t">申请人: </div><div class="v">' + item.applyUserName + |
| | | '</div></div>'; |
| | | html += '<div class="line"><div class="t">所属分库:</div><div class="v">' + (item.deptName == null ? |
| | | "" : item.deptName) + '</div></div></div>'; |
| | | html += '<div class="right"><div class="icon" info="' + item.info + |
| | | '"><img src="images/icons/g-i26.png" alt=""></div></div></div>'; |
| | | html += '<div class="line"><div class="t">申请人: </div><div class="v">' + item.applyUserName +'</div></div></div>'; |
| | | html += '<div class="right"><div class="icon" info="' + item.info + '"><img src="images/icons/g-i26.png" alt=""></div></div></div>'; |
| | | html += |
| | | '<div class="box"><ul class="gd-list"><li><a href="" class="con" style="background-image: url(images/icons/a-bg12.png);">'; |
| | | html += '<div class="tit">业务类型:</div><div class="name">' + item.type + '</div></a></li>'; |
| | | html += '<li><a href="" class="con" style="background-image: url(images/icons/a-bg13.png);">'; |
| | | html += '<div class="tit">关联仓库:</div><div class="name">' + (item.depotName == null ? "--" : item |
| | | .depotName) + '</div></a></li></ul>'; |
| | | html += '<div class="tit">关联仓库:</div><div class="name">' + (item.depotName == null ? "--" : item.depotName) + '</div></a></li></ul>'; |
| | | html += '<div class="time">有效期: ' + item.startTime + '至' + item.endTime + ' </div>'; |
| | | html += '<div class="btns"><a href="" id = "' + item.id + |
| | | '" class="btn refuse">拒绝</a><a href="" id = "' + item.id + '" class="btn adopt">通过</a></div>'; |
| | |
| | | } |
| | | |
| | | mui('.mui-scroll-wrapper').scroll({ |
| | | indicators: false, //是否显示滚动条 |
| | | indicators: true, //是否显示滚动条 |
| | | deceleration: 0.0006, //阻尼系数,系数越小滑动越灵敏 |
| | | bounce: false, //是否启用回弹 |
| | | deceleration: 0.0005 //flick 减速系数,系数越大,滚动速度越慢,滚动距离越小,默认值0.0006 |