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.
82 lines
2.0 KiB
82 lines
2.0 KiB
<template>
|
|
<view class="uni-flex uni-row bot_card">
|
|
<!-- 库位 -->
|
|
<view class="bot_card_item">
|
|
<!-- <text class="icon_bg icon_bg_kw" style="color: white;font-size: 28rpx ;padding: 8rpx; ">库</text> -->
|
|
<label class="icon_bg icon_bg_kw" >
|
|
<!-- 库位 -->
|
|
<text style="display: block; color: white; text-align: center;font-size: 28rpx; ">库</text>
|
|
|
|
<!-- <image class="icon_normal" src="@/static/icons_ui/icon_kw.svg">
|
|
</image>
|
|
-->
|
|
</label>
|
|
<text>{{ dataContent.locationCode }}</text>
|
|
</view>
|
|
<!-- 批次 -->
|
|
<view class="bot_card_item">
|
|
<label class="icon_bg icon_bg_pc">
|
|
<text style=" display: block; color: white;text-align: center;font-size: 28rpx;">批</text>
|
|
<!-- <image class="icon_normal" src="@/static/icons_ui/icon_pc.svg">
|
|
</image> -->
|
|
</label>
|
|
<text >{{dataContent.lot}}</text>
|
|
</view>
|
|
<!-- 状态 -->
|
|
<view class="bot_card_item item_short">
|
|
<!-- <label class="icon_state" :class="dataContent.status | statusStyle"></label> -->
|
|
<text class="state_point" :class="dataContent.status | statusStyle">
|
|
{{ dataContent.status | statusColor}}
|
|
</text>
|
|
</view>
|
|
|
|
<!-- <view class="summary_state">
|
|
<label class="icon_state" :class="item.status | statusStyle"
|
|
style="margin-right: 10rpx;"></label>
|
|
<text class="state_point" :class="item.status | statusStyle"
|
|
style="background-color: transparent;">
|
|
{{ item.status | statusColor}}
|
|
</text>
|
|
</view> -->
|
|
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
getInventoryTypeStyle,
|
|
getInventoryStatusDesc,
|
|
} from '@/common/basic.js';
|
|
|
|
export default {
|
|
name: 'comItemBottom',
|
|
components: {},
|
|
props: {
|
|
dataContent: {
|
|
type: Object,
|
|
default: {}
|
|
}
|
|
},
|
|
data() {
|
|
return {}
|
|
},
|
|
filters: {
|
|
statusStyle: function(val) {
|
|
return getInventoryTypeStyle(val);
|
|
},
|
|
statusColor: function(val) {
|
|
return getInventoryStatusDesc(val);
|
|
},
|
|
},
|
|
created() {
|
|
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|