|
|
@@ -46,8 +46,8 @@
|
|
|
</view>
|
|
|
<view v-else-if="column.custom == 'inventory'" @click.stop="goToStockDetail(item)"
|
|
|
:class="[ item.bigNumProfitLoss == 0 ? 'normal-show' : 'error-show']">
|
|
|
- <text>{{ item.bigNum }}扎</text>
|
|
|
- <text v-if="Number(item.smallNum)>0">{{ item.smallNum }}支</text>
|
|
|
+ <text>{{ item.bigNum?parseFloat(item.bigNum):0 }}扎</text>
|
|
|
+ <text v-if="Number(item.smallNum)>0">{{ item.smallNum?parseFloat(item.smallNum):0 }}支</text>
|
|
|
</view>
|
|
|
<view v-else-if="column.custom == 'profit'" @click.stop="goToStockDetail(item)"
|
|
|
:class="[ item.bigNumProfitLoss == 0 ? 'normal-show' : 'error-show']">
|
|
|
@@ -158,6 +158,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ init(){
|
|
|
+
|
|
|
+ },
|
|
|
goToStockDetail(item){
|
|
|
this.$util.pageTo({url: "/pagesStorehouse/stockWarn/detailed?id="+item.id+'&name='+item.itemName})
|
|
|
},
|