<template>
	<u-cell-group>
		<!-- 售后对象信息 -->
		<u-cell title="需求编码" arrow-direction="down">
			<view slot="value" style="display: flex;align-items: center;width: 100%;">
				<u--input readonly style="flex:1" border="surround" v-model="demandForm.code">
				</u--input>
			</view>
		</u-cell>
		<u-cell title="需求名称" arrow-direction="down">
			<view slot="value" style="display: flex;align-items: center;width: 100%;">
				<u--input style="flex:1" readonly placeholder="请输入" border="surround" v-model="demandForm.name">
				</u--input>
			</view>
		</u-cell>
		<u-cell title="客户名称" arrow-direction="down">
			<view slot="value" style="display: flex;align-items: center;width: 100%;">
				<u--input style="flex:1" readonly placeholder="请选择" border="surround" v-model="demandForm.contactName">
				</u--input>
			</view>
		</u-cell>
		<u-cell v-if="demandForm.associationType==1||demandForm.associationType==2" :title="demandForm.associationType==1?'发货单':demandForm.associationType==2?'销售订单':''" arrow-direction="down">
			<view slot="value" style="display: flex;align-items: center;width: 100%;">
				<u--input style="flex:1" readonly placeholder="请选择" border="surround" v-model="demandForm.orderCode">
				</u--input>
			</view>
		</u-cell>
		<u-cell title="报修地址" arrow-direction="down">
			<view slot="value" style="display: flex;align-items: center;width: 100%;">
				<u--input style="flex:1" readonly placeholder="请输入" border="surround" v-model="demandForm.contactAddress">
				</u--input>
			</view>
		</u-cell>
		<u-cell title="故障等级" arrow-direction="down">
	<view slot="value" style="display: flex;align-items: center;width: 100%;">
		<u--input style="flex:1" readonly placeholder="请输入" border="surround" v-model="demandForm.fault_level">
		</u--input>
	</view>
		</u-cell>
		<u-cell title="期望解决时间" arrow-direction="down">
			<uni-datetime-picker disabled type="date" slot="value" v-model="demandForm.expectedTime">
			</uni-datetime-picker>
		</u-cell>
		<u-cell title="报修人" arrow-direction="down">
			<view slot="value" style="display: flex;align-items: center;width: 100%;">
				<u--input style="flex:1" placeholder="请输入" readonly border="surround"
					v-model="demandForm.createUserName">
				</u--input>
			</view>
		</u-cell>
	</u-cell-group>
</template>

<script>
	export default {
		props: {
			demandForm: {
				type: Object,
				default: () => {}
			}
		},
		data() {
			return {

			}
		},

	}
</script>

<style>
</style>