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.

46 lines
956 B

1 year ago
<!--库位组件-->
<template>
<view class="" >
<view class="" style="background-color: #fff;">
<view class="uni-flex space-between" style="padding: 20rpx;">
<view class="" >
<text class="font_xl text_black text_bold">{{locationDetail.code}}</text>
</view>
<view class="">
<location-status :type="locationDetail.type" ></location-status>
</view>
</view>
<location-detail :dataContent="locationDetail"></location-detail>
</view>
</view>
</template>
<script>
import locationDetail from '@/mycomponents/location/locationDetail.vue'
import locationStatus from '@/mycomponents/location/locationStatus.vue'
export default {
name: "comlocation",
components: {
locationDetail,
locationStatus,
},
data() {
return {
};
},
// 此处定义传入的数据
props: {
locationDetail: {
type: Object,
value: null
}
},
methods:{
}
}
</script>
<style scoped lang="scss">
</style>