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.

56 lines
1.1 KiB

2 years ago
<template>
<view>
<win-label :dataContent="label"></win-label>
<view class="uni-flex uni-row">
<win-inventory-status :status="dataContent.status"></win-inventory-status>|
<win-location-code :dataContent="dataContent.location"></win-location-code>
</view>
</view>
</template>
<script>
import winLabel from '@/mycomponents/wincom/basicCom/winLabel.vue'
import winLocationCode from '@/mycomponents/wincom/unitCom/winLocationCode.vue'
import winInventoryStatus from '@/mycomponents/wincom/unitCom/winInventoryStatus.vue'
export default {
components: {
winLabel,
winLocationCode,
winInventoryStatus
},
data() {
return {
}
},
props: {
dataContent: {
type: Object,
default: {}
},
label: {
type: Object,
default: {}
}
},
methods: {
openJobDetail() {
uni.showToast({
title: '打开任务详情页'
})
this.$emit("openJobDetail");
},
// jobStatusStyle: function(val) {
// return getJobStatuStyle(val);
// },
// jobStatusColor: function(val) {
// return getJobStatuDesc(val);
// }
}
}
</script>
<style>
</style>