Commit edc1fb39 by 张立顺

fix bug

1 parent 6b0abe71
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<block wx:if="{{ mainSelected.length }}"> <block wx:if="{{ mainSelected.length }}">
<view class="techic-value text-hide"> <view class="techic-value text-hide">
{{mainSelected[0] && mainSelected[0].staffName}} {{mainSelected[0] && mainSelected[0].staffName}}
<text class="text" wx:if="{{ mainSelected[0] && mainSelected[0].shareRatio !== '' }}">{{mainSelected[0].shareRatio}}%</text> <text class="text" wx:if="{{ deputySelected.length && mainSelected[0] && mainSelected[0].shareRatio !== '' && mainSelected[0].shareRatio !== undefined && mainSelected[0].shareRatio !== null }}">{{mainSelected[0].shareRatio}}%</text>
</view> </view>
</block> </block>
</gl-cell> </gl-cell>
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<block wx:if="{{ mainSelected.length }}"> <block wx:if="{{ mainSelected.length }}">
<view class="techic-value text-hide"> <view class="techic-value text-hide">
{{mainSelected[0] && mainSelected[0].staffName}} {{mainSelected[0] && mainSelected[0].staffName}}
<text class="text" wx:if="{{ mainSelected[0] && mainSelected[0].shareRatio !== '' && mainSelected[0].shareRatio !== undefined && mainSelected[0].shareRatio !== null }}">{{mainSelected[0].shareRatio}}%</text> <text class="text" wx:if="{{ deputySelected.length && mainSelected[0] && mainSelected[0].shareRatio !== '' && mainSelected[0].shareRatio !== undefined && mainSelected[0].shareRatio !== null }}">{{mainSelected[0].shareRatio}}%</text>
</view> </view>
</block> </block>
<view wx:else class="value">-</view> <view wx:else class="value">-</view>
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<block wx:if="{{ mainSelected.length }}"> <block wx:if="{{ mainSelected.length }}">
<view class="techic-value text-hide"> <view class="techic-value text-hide">
{{mainSelected[0] && mainSelected[0].staffName}} {{mainSelected[0] && mainSelected[0].staffName}}
<text class="text" wx:if="{{ mainSelected[0] && mainSelected[0].shareRatio !== '' && mainSelected[0].shareRatio !== undefined && mainSelected[0].shareRatio !== null }}">{{mainSelected[0].shareRatio}}%</text> <text class="text" wx:if="{{ deputySelected.length && mainSelected[0] && mainSelected[0].shareRatio !== '' && mainSelected[0].shareRatio !== undefined && mainSelected[0].shareRatio !== null }}">{{mainSelected[0].shareRatio}}%</text>
</view> </view>
</block> </block>
</gl-cell> </gl-cell>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!