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.
 
 
 
 

62 lines
1.1 KiB

<template>
<view class="uni-row uni-flex center" style="font-size: 30rpx;">
<status :status='fromInventoryStatus' :showDesc="true"></status>
<view class="uni-flex uni-row center"
v-if='showToInventoryStatus && toInventoryStatus!="" && toInventoryStatus!=fromInventoryStatus'>
<text style="color:#909399 ; ">
>
</text>
<status :status='toInventoryStatus' :showDesc="true"></status>
</view>
</view>
</template>
<script>
import {
getInventoryStatusStyle,
getInventoryStatusName
} from '@/common/directory.js';
import status from '@/mycomponents/status/status.vue'
export default {
components: {
status
},
data() {
return {
}
},
props: {
fromInventoryStatus: {
type: String,
default: ''
},
toInventoryStatus: {
type: String,
default: ''
},
showToInventoryStatus: {
type: Boolean,
default: false
},
},
watch: {
},
methods: {
statusStyle(value) {
return getInventoryStatusStyle(value);
},
statusDesc(value) {
return getInventoryStatusName(value)
}
}
}
</script>
<style>
</style>