| | |
| | | renderRecordList(); |
| | | } else { |
| | | renderRecordList(); |
| | | mui.alert(result.msg, '提示', ["确定"], function() {}, "div"); |
| | | mui.toast(result.msg, '提示', ["确定"], function() {}, "div"); |
| | | } |
| | | }, |
| | | error: function() { |
| | |
| | | "depotName": "人离它军题" |
| | | } |
| | | ] |
| | | |
| | | |
| | | } |
| | | |
| | | function renderRecordList() { |
| | |
| | | html += '<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"><p>有效开始时间: <span>' + item.startTime + '</span></p><p>有效结束时间: <span>' + |
| | | item.endTime + '</span></p></div>'; |
| | | }) |
| | |
| | | } |
| | | |
| | | mui('.mui-scroll-wrapper').scroll({ |
| | | indicators: false, //是否显示滚动条 |
| | | indicators: true, //是否显示滚动条 |
| | | deceleration: 0.0006, //阻尼系数,系数越小滑动越灵敏 |
| | | bounce: false, //是否启用回弹 |
| | | deceleration: 0.0005 //flick 减速系数,系数越大,滚动速度越慢,滚动距离越小,默认值0.0006 |