|
|
@@ -41,15 +41,15 @@
|
|
|
</view>
|
|
|
<view v-else-if="column.custom == 'stock'" @click.stop="goToStockDetail(item.id)" style="color: #333333;">
|
|
|
<text>{{ item.bigNumStock }}扎</text>
|
|
|
- <text>{{ item.smallNumStock }}支</text>
|
|
|
+ <text v-if="Number(item.smallNumStock)>0">{{ item.smallNumStock }}支</text>
|
|
|
</view>
|
|
|
<view v-else-if="column.custom == 'inventory'" @click.stop="goToStockDetail(item.id)" style="color: #333333;">
|
|
|
<text>{{ item.bigNum }}扎</text>
|
|
|
- <text>{{ item.smallNum }}支</text>
|
|
|
+ <text v-if="Number(item.smallNum)>0">{{ item.smallNum }}支</text>
|
|
|
</view>
|
|
|
<view v-else-if="column.custom == 'profit'" @click.stop="goToStockDetail(item.id)" style="color: #333333;">
|
|
|
<text>{{ item.bigNumProfitLoss }}扎</text>
|
|
|
- <text>{{ item.smallNumProfitLoss }}支</text>
|
|
|
+ <text v-if="Number(item.smallNumProfitLoss)>0">{{ item.smallNumProfitLoss }}支</text>
|
|
|
</view>
|
|
|
<view v-else @click.stop="goToStockDetail(item.id)" style="color: #333333;">{{ item[column.dataIndex] || "" }}</view>
|
|
|
</t-td>
|