Browse Source

库存管理 修改页面显示

master
邓宏 2 years ago
parent
commit
35d2aeab97
  1. 21
      pages/stock/mana.vue

21
pages/stock/mana.vue

@ -40,6 +40,7 @@
margin-bottom:20rpx;
text{
&:first-child{
flex-shrink: 0;
color:#fff;
background:#10C176;
height:40rpx;
@ -50,16 +51,15 @@
margin-right:10rpx;
padding:0 6rpx;
}
&:nth-child(2){
&:after{
content:"("attr(data-unit)")";
color:#999;
font-size:20rpx;
line-height: 40rpx;
margin-left:6rpx;
}
}
&:nth-child(3){
flex-shrink: 0;
color:#999;
font-size:20rpx;
line-height: 40rpx;
margin-left:6rpx;
}
&:nth-child(4){
flex-shrink: 0;
margin-left:auto;
color:#F34848;
font-size:24rpx;
@ -132,7 +132,8 @@
<view class="card item" v-for="(v,k) in list" :key="k">
<view class="info">
<text>{{v.agriculturalGoods}}</text>
<text :data-unit="v.specDescribe">{{v.substanceName}}</text>
<text class="over">{{v.substanceName}}</text>
<text v-if="searchVal.substanceType=='nz'">({{v.specDescribe}})</text>
<text v-if="v.replenishment">补货量{{v.replenishment}}{{v.unit}}</text>
</view>
<view class="company">

Loading…
Cancel
Save