<template>
	<view class="card_view" v-if="ShowPackingNumber || isShowPackingNumberProps">
		<text class="card_packing_code ">{{title}}</text>
		<text class="card_content ">{{packingCode}}</text>
	</view>
</template>

<script> 
import {
		getSwitchInfoByCode
	} from '@/common/basic.js';
	export default {
		components: {
		},

		data() {
			return {
				ShowPackingNumber:true
			};
		},
		props: {
			packingCode: {
				type: String,
				default: ''
			},
			title:{
				type:String,
				default: '包装'
			},
			// 采购订单单独显示的包装号
			isShowPackingNumberProps:{
				type:Boolean,
				default:false
			}
		},
		mounted() {
			this.ShowPackingNumber=getSwitchInfoByCode('ShowPackingNumber')
		},
		methods: {
			 
		}
	}
</script>

<style>
</style>
