You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

67 lines
1.5 KiB

<style lang="scss">
.container{
min-height: 100%;
background:#f6f6f6;
padding:30rpx 0;
.card{
margin-top:0;
.item{
display:flex;
color:#777;
justify-content: space-between;
height:80rpx;
align-items: center;
border-top:2rpx solid rgba(216, 216, 216, 0.5);
}
}
}
</style>
<template>
<view class="container">
<view class="card">
<view class="title">基本信息</view>
<view class="item">
<text>批次号</text> <text>{{detail.inOutBatchNo}}</text>
</view>
<view class="item">
<text>操作类型</text> <text>{{detail.inOutType}}</text>
</view>
<view class="item">
<text>农资名称</text> <text>{{detail.substanceName}}</text>
</view>
<view class="item">
<text>规格</text> <text>{{detail.specDescribe}}</text>
</view>
<view class="item">
<text>操作数量</text> <text>{{detail.number}}{{detail.packgeUnit}}({{detail.equivalentAmount}}{{detail.unit}})</text>
</view>
<view class="item">
<text>供销商</text> <text>{{detail.supplier}}</text>
</view>
<view class="item">
<text>操作人</text> <text>{{detail.operateUser}}</text>
</view>
<view class="item">
<text>操作日期</text> <text>{{detail.operateTime}}</text>
</view>
</view>
</view>
</template>
<script>
export default {
data(){
return{
detail:{}
}
},
onLoad(){
var eventChannel = this.getOpenerEventChannel();
eventChannel.on('detail', data=>{
this.detail=data
})
},
}
</script>