You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

22 lines
787 B

<view class="table">
<view class="tr bg-w">
<view class="th">存货名称</view>
<view class="th">存货数量</view>
<view class="th ">单价</view>
<view class="th ">金额</view>
</view>
<block wx:for="{{list}}" wx:key="{{code}}">
<view class="tr bg-g" wx:if="{{index % 2 == 0}}">
<view class="td">{{item.Goods_Name}}</view>
<view class="td">{{item.Number}}</view>
<view class="td">¥{{item.Price}}</view>
<view class="td">¥{{item.Money}}</view>
</view>
<view class="tr" wx:else>
<view class="td">{{item.Goods_Name}}</view>
<view class="td">{{item.Number}}</view>
<view class="td">¥{{item.Price}}</view>
<view class="td">¥{{item.Money}}</view>
</view>
</block>
</view>