<template name="cm-parameters">
	<!-- 二手商品参数-->
	<view class="content">
		<view class="content-tr">
			<view class="content-td">品牌</view>
			<view class="content-th">{{product.brandName == null? '其他' : product.brandName}}</view>
		</view>
		<view class="content-tr">
			<view class="content-td">分类</view> 
			<view class="content-th">{{product.typeStr}}</view>
		</view>
		<view class="content-tr">
			<view class="content-td">商品成色</view> 
			<view class="content-th">{{product.productQuality}}</view>
		</view>
		<view class="content-tr" v-if="product.fixedYears!=''&& product.fixedYears!=null">
			<view class="content-td">出厂日期</view> 
			<view class="content-th">{{product.fixedYears}}</view>
		</view>
		<view class="content-tr" v-if="product.contactName!=''&& product.contactName!=null">
			<view class="content-td">联系人</view> 
			<view class="content-th">{{product.contactName}}</view>
		</view>
		<view class="content-tr" v-if="product.contactMobile!=''&&product.contactMobile!=null">
			<view class="content-td">联系方式</view> 
			<view class="content-th">{{product.contactMobile}}</view>
		</view>
		<view class="content-tr" v-if="product.productType!=null||product.productType!=''">
			<view class="content-td">商品类型</view> 
			<view class="content-th" v-if="product.productType==1">医美</view>
			<view class="content-th" v-else>非医美</view>
		</view>
		<view class="content-tr" v-if="product.secondHandType==2">
			<view class="content-td">市场价</view>
			<view class="content-th">{{product.normalPriceStr}}</view>
		</view>
		<view class="content-tr" v-if="product.secondHandType==2">
			<view class="content-td">采购价/原价</view>
			<view class="content-th">{{product.originalPriceStr}}</view>
		</view>
		<view class="content-tr" v-if="product.secondHandType==2">
			<view class="content-td">产品到期日</view>
			<view class="content-th">{{product.maturityYears}}</view>
		</view>
		<view class="content-tr" v-if="product.secondHandType==2">
			<view class="content-td">数量</view>
			<view class="content-th">{{product.stock}}</view>
		</view>
		<view class="content-tr">
			<view class="content-td">所在地</view>
			<view class="content-th">{{product.provinceCityDistrict}}</view>
		</view>
	</view>
</template>

<script>
	export default{
		name:'cm-parameters',
		props:{
			product:{
				type:Object,
				default: {}
			},
			goodsData:{
				type:Object,
				default: {}
			},
		},
		data() {
			return{
				
			}
		},
		created() {
			
		},
		methods:{
		},
		
	}
</script>

<style>
</style>
