AngularJSng-repeat表格嵌套循环<tr ng-repeat = "item in tableData">
<td ng-class="{'no-border-top': $index != 0}" width="20"></td>
<td>{{item.buyDate *1000 | date: 'yyyy-MM-dd HH:mm:ss' || '-'}}</td>
<td>
<span ng-if="!item.detailList">-</span>
<span ng-repeat="list in item.detailList">{{list.name + '('+unt+')'}}<br></span>
</td>
<td>
<span ng-if="!item.detailList">-</span>
<span ng-repeat="list in item.detailList">{{list.approval || '-'}}<br></span>
</td>
<td>
<span ng-if="!item.payMoney">-</span>
<span>{{'¥'+item.payMoney || '-'}}<br></span>
</td>
<td>
<span>{{item.storeNo || '-'}}<br></span>
</td>
<td >
<span>{{item.storeUserNo || '-'}}<br></span>
angular和angularjs
</td>
<td ng-class="{'no-border-top': $index != 0}" width="20"></td>
</tr>

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。