Browse Source

出入库记录 修改页面显示

master
邓宏 2 years ago
parent
commit
169ecd6903
  1. 20
      pages/stock/record.vue

20
pages/stock/record.vue

@ -62,11 +62,13 @@
font-weight: bold;
display:flex;
align-items: center;
&:after{
content:"("attr(data-unit)")";
font-size:20rpx;
color:#999;
margin-left:6rpx;
&.nz{
&:after{
content:"("attr(data-unit)")";
font-size:20rpx;
color:#999;
margin-left:6rpx;
}
}
}
}
@ -95,8 +97,8 @@
<d-search v-model="searchVal.search" @search="clean();search()"/>
<view class="btns shadow bg-white">
<button class="cu-btn bg-white" :class="{active:searchVal.type=='nz'}" @click="trigger('nz')">农资</button>
<button class="cu-btn bg-white" :class="{active:searchVal.type=='ncp'}" @click="trigger('ncp')">农产品</button>
<button class="cu-btn bg-white" :class="{active:searchVal.type=='1'}" @click="trigger('1')">农资</button>
<button class="cu-btn bg-white" :class="{active:searchVal.type=='2'}" @click="trigger('2')">农产品</button>
</view>
<scroll-view scroll-y >
@ -104,7 +106,7 @@
<view class="head">
<text class="plant-rili"/> <text>批次号{{v.inOutBatchNo}}</text> <text>{{v.inOutType}}</text>
</view>
<view class="plant-youbian"> <text :data-unit="v.specDescribe">{{v.substanceName}}</text> </view>
<view class="plant-youbian"> <text :class="{nz:searchVal.type=='1'}" :data-unit="v.specDescribe">{{v.substanceName}}</text> </view>
<view class="company">
<text>{{v.supplier}}</text> <text>{{v.number}}{{v.packgeUnit}}({{v.equivalentAmount}}{{v.unit}})</text>
</view>
@ -123,7 +125,7 @@ export default {
enterpriseId: '',
pageNo:1,
pageSize:6,
type:"nz"
type:"1"//1 2
},
list:[],
total:0,

Loading…
Cancel
Save