<template>
	<view class="fabric-out-scanDetail">
		<view class="fabric-out-scanDetailRow fabric-out-scanDetailRow--2col">
			<text class="fabric-out-scanDetailCell">染整单号：{{ detail.quote_order_no || '-' }}</text>
			<text class="fabric-out-scanDetailCell">缸号：{{ detail.dyelot_number || '-' }}</text>
		</view>
		<view class="fabric-out-scanDetailRow fabric-out-scanDetailRow--2col">
			<text class="fabric-out-scanDetailCell">卷号：{{ detail.volume_number || '-' }}</text>
			<text class="fabric-out-scanDetailCell">成品编号：{{ detail.product_code || '-' }}</text>
		</view>
		<view class="fabric-out-scanDetailRow fabric-out-scanDetailRow--2col">
			<text class="fabric-out-scanDetailCell">成品色号：{{ detail.product_color_code || '-' }}</text>
			<text class="fabric-out-scanDetailCell">本行匹数：{{ detail.item_roll != null ? detail.item_roll : '-' }}</text>
		</view>
		<view class="fabric-out-scanDetailRow fabric-out-scanDetailRow--2col">
			<text class="fabric-out-scanDetailCell">本行数量：{{ detail.item_weight != null ? detail.item_weight : '-' }}</text>
			<text class="fabric-out-scanDetailCell">本单匹数：{{ detail.order_roll != null ? detail.order_roll : '-' }}</text>
		</view>
		<view class="fabric-out-scanDetailRow">
			<text class="fabric-out-scanDetailLabel">本单数量：</text>
			<text class="fabric-out-scanDetailValue">{{ detail.order_weight != null ? detail.order_weight : '-' }}</text>
		</view>
	</view>
</template>

<script>
export default {
	props: {
		detail: { type: Object, default: () => ({}) },
	},
};
</script>

<style scoped lang="scss">
@import '@/pages/storefabric/storeFabricBusinessOutPage.scss';
</style>
