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.
55 lines
1.1 KiB
55 lines
1.1 KiB
<template>
|
|
<view class="choose_main common_card">
|
|
<com-item-top :dataContent="dataContent"></com-item-top>
|
|
<com-erp-location :erpLocationCode="dataContent.locationErpCode"></com-erp-location>
|
|
<com-item-bottom :dataContent="dataContent"></com-item-bottom>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
getInventoryTypeStyle,
|
|
getInventoryStatusDesc,
|
|
} from '@/common/basic.js';
|
|
import comItemTop from '@/mycomponents/comItem/comItemTop.vue'
|
|
import comErpLocation from '@/mycomponents/comItem/comErpLocation.vue'
|
|
import comItemBottom from '@/mycomponents/comItem/comItemBottom.vue'
|
|
export default {
|
|
name: 'comTransfer',
|
|
components: {
|
|
comItemTop,
|
|
comErpLocation,
|
|
comItemBottom
|
|
},
|
|
props: {
|
|
dataContent: {
|
|
type: Object,
|
|
default: {}
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
filters: {
|
|
statusStyle: function(val) {
|
|
return getInventoryTypeStyle(val);
|
|
},
|
|
statusColor: function(val) {
|
|
return getInventoryStatusDesc(val);
|
|
},
|
|
},
|
|
created() {
|
|
|
|
},
|
|
methods: {
|
|
qtyInput(value, item) {
|
|
this.$emit('qtyInput', value, item)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|