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.
57 lines
837 B
57 lines
837 B
1 year ago
|
<template>
|
||
|
<view class="uni-inline-item" style="font-size: 30rpx;">
|
||
|
<view :class="statusStyle(fromInventoryStatus)">
|
||
|
•
|
||
|
{{statusDesc(fromInventoryStatus)}}
|
||
|
</view>
|
||
|
->
|
||
|
<view :class="statusStyle(toInventoryStatus)">
|
||
|
•
|
||
|
{{statusDesc(toInventoryStatus)}}
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import {
|
||
|
getInventoryStatusStyle,
|
||
|
getInventoryStatusName
|
||
|
} from '@/common/directory.js';
|
||
|
export default {
|
||
|
components: {},
|
||
|
|
||
|
data() {
|
||
|
return {
|
||
|
|
||
|
}
|
||
|
},
|
||
|
|
||
|
props: {
|
||
|
fromInventoryStatus: {
|
||
|
type: String,
|
||
|
default: ''
|
||
|
},
|
||
|
toInventoryStatus: {
|
||
|
type: String,
|
||
|
default: ''
|
||
|
},
|
||
|
},
|
||
|
watch: {
|
||
|
|
||
|
},
|
||
|
methods: {
|
||
|
statusStyle(value) {
|
||
|
return getInventoryStatusStyle(value);
|
||
|
},
|
||
|
statusDesc(value) {
|
||
|
return getInventoryStatusName(value)
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
</style>
|