耗材样式
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<view style="padding:32rpx 16rpx;">
|
||||
<view @tap="getNewdata('addCountNumber')">
|
||||
增加数量 <text
|
||||
style="color: #76ACF0;font-weight: bold;">{{datas.countList?datas.countList.addCountNumber:''}}</text>
|
||||
style="color: #76ACF0;font-weight: bold;">{{datas.countList.addCountNumber?datas.countList.addCountNumber:'0'}}</text>
|
||||
</view>
|
||||
<view class="df viewdf">
|
||||
<view @tap="getNewdata('stockInNumber')"
|
||||
@@ -29,7 +29,7 @@
|
||||
入库
|
||||
</view>
|
||||
<view class="">
|
||||
{{datas.countList?datas.countList.stockInNumber:''}}
|
||||
{{datas.countList.stockInNumber?datas.countList.stockInNumber:0}}
|
||||
</view>
|
||||
</view>
|
||||
<view @tap="getNewdata('addNumber')" style="font-size: 24rpx;width: 178rpx;text-align: center;">
|
||||
@@ -37,7 +37,7 @@
|
||||
手动增加
|
||||
</view>
|
||||
<view class="">
|
||||
{{datas.countList?datas.countList.addNumber:''}}
|
||||
{{datas.countList.addNumber?datas.countList.addNumber:'0'}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -45,7 +45,7 @@
|
||||
<view style="padding:32rpx 16rpx;">
|
||||
<view class="" @tap="getNewdata('subCountNumber')">
|
||||
减少数量 <text
|
||||
style="color: #52BDA4;font-weight: bold;">{{datas.countList?datas.countList.subCountNumber:0}}</text>
|
||||
style="color: #52BDA4;font-weight: bold;">{{datas.countList.subCountNumber?datas.countList.subCountNumber:0}}</text>
|
||||
</view>
|
||||
<view class="df viewdf">
|
||||
<view @tap="getNewdata('subNumber')"
|
||||
@@ -54,7 +54,7 @@
|
||||
手动减少
|
||||
</view>
|
||||
<view class="">
|
||||
{{datas.countList?datas.countList.subNumber:0}}
|
||||
{{datas.countList.subNumber?datas.countList.subNumber:0}}
|
||||
</view>
|
||||
</view>
|
||||
<view @tap="getNewdata('stockOutNumber')"
|
||||
@@ -63,7 +63,7 @@
|
||||
出库
|
||||
</view>
|
||||
<view class="">
|
||||
{{datas.countList?datas.countList.stockOutNumber:0}}
|
||||
{{datas.countList.stockOutNumber?datas.countList.stockOutNumber:0}}
|
||||
</view>
|
||||
</view>
|
||||
<view @tap="getNewdata('saleNumber')" style="font-size: 24rpx;width: 112rpx;text-align: center;">
|
||||
@@ -71,7 +71,7 @@
|
||||
商品消耗
|
||||
</view>
|
||||
<view class="">
|
||||
{{datas.countList?datas.countList.saleNumber:0}}
|
||||
{{datas.countList.saleNumber?datas.countList.saleNumber:0}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -91,7 +91,7 @@
|
||||
<view class="">
|
||||
<view style="font-size: 24rpx;color: #666666;">
|
||||
库存 {{ inventory(item.balance,item.bizType,item.amount)}} <text
|
||||
:style="{color:item.bizType=='+'?'#1bca72':'red'}"> - {{ item.amount|0 }}</text>
|
||||
:style="{color:item.bizType=='+'?'#1bca72':'red'}"> → {{ item.amount|0 }}</text>
|
||||
</view>
|
||||
<view style="font-size: 24rpx;color: #666666;">
|
||||
剩余库存 {{item.balance}}
|
||||
|
||||
Reference in New Issue
Block a user