<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 {

			}
		},
		created() {

		},
		methods: {
			qtyInput(value, item) {
				this.$emit('qtyInput', value, item)
			},
			statusStyle: function(val) {
				return getInventoryTypeStyle(val);
			},
			statusColor: function(val) {
				return getInventoryStatusDesc(val);
			},
		}
	}
</script>

<style>
</style>
