Commit c4121f4b authored by 王波's avatar 王波

库存展示优化

parent 9d3caf16
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</view> </view>
</table-column> </table-column>
<table-column title="奖品数量(件)" dataIndex="stock"> <table-column title="奖品数量(件)" dataIndex="stock">
<view slot-scope="x">{{x.value || x.value === 0 ? x.value : '-'}}</view> <view slot-scope="x">{{x.value || x.record.switchStock === 1 ? x.value : '-'}}</view>
</table-column> </table-column>
<table-column a:if="{{type==='probability'}}" title="中奖概率(%)" dataIndex="probability"> <table-column a:if="{{type==='probability'}}" title="中奖概率(%)" dataIndex="probability">
<view slot-scope="x">{{x.value}}</view> <view slot-scope="x">{{x.value}}</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment