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

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