<!--发料任务卡片-->
<template>
	<view class="detail-content">
		<view class="ljh_box">
			<view class="uni-flex uni-row space-between">
				<view>
					<view class="tit_ljh">{{dataContent.code}}</view>
					<view class="ljh_left desc_ljh">
						<view class="font_xs text_lightblue">{{dataContent.name}}</view>
						<view class="font_xs text_lightblue">{{dataContent.desc2}}</view>
					</view>
				</view>
				<view class="ljh_right uni-flex uni-row">
					<view class="tnum">
						<uni-easyinput v-if='editQty' class="num_edit" v-model="dataContent.qty.qty" type="number"
							maxlength='8'>
						</uni-easyinput>
						<view v-else class="num_edit">{{dataContent.qty.qty}}</view>
					</view>
					<view class="tunit margin_xs_top">{{dataContent.basicUom}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "comReplen",
		data() {
			return {};
		},
		// 此处定义传入的数据
		props: {
			dataContent: {
				type: Object,
				value: null
			},
			editQty: {
				type: Boolean,
				value: false
			}
		},
		methods: {}
	}
</script>

<style scoped lang="scss">

</style>
