|
|
@@ -52,24 +52,18 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-else-if="column.custom == 'stock'">
|
|
|
- <text >{{ `${item.bigNum}/` }}</text>
|
|
|
- <text>{{ item.smallNum }}</text>
|
|
|
+ <text>{{ `${item.bigNumStock}/` }}</text>
|
|
|
+ <text>{{ item.smallNumStock }}</text>
|
|
|
</view>
|
|
|
<view v-else-if="column.custom == 'inventory'">
|
|
|
- <text >{{ `${item.bigNumStock}/` }}</text>
|
|
|
- <text>{{ item.smallNumStock }}</text>
|
|
|
+ <text>{{ `${item.bigNum}/` }}</text>
|
|
|
+ <text>{{ item.smallNum }}</text>
|
|
|
</view>
|
|
|
<view v-else-if="column.custom == 'profit'">
|
|
|
- <text v-if="item.bigNumProfitLoss > 0">
|
|
|
- {{ `${item.bigNumProfitLoss}/` }}
|
|
|
- </text>
|
|
|
- <text>
|
|
|
- {{ item.smallNumProfitLoss }}
|
|
|
- </text>
|
|
|
- </view>
|
|
|
- <view v-else>
|
|
|
- {{ item[column.dataIndex] || "" }}
|
|
|
+ <text>{{ `${item.bigNumProfitLoss}/` }}</text>
|
|
|
+ <text>{{ item.smallNumProfitLoss }}</text>
|
|
|
</view>
|
|
|
+ <view v-else>{{ item[column.dataIndex] || "" }}</view>
|
|
|
</t-td>
|
|
|
</t-tr>
|
|
|
</t-table>
|
|
|
@@ -79,12 +73,8 @@
|
|
|
<view class="info-view">
|
|
|
盈亏合计:
|
|
|
<text class="price-item"> {{ sumCount }}扎 </text>
|
|
|
- <text class="price-item red">
|
|
|
- ¥{{ dataInfo.price >= 0 ? dataInfo.price : "" }}
|
|
|
- </text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <kd-entrance></kd-entrance>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|