<!--pages/ticketWaiting/detail.wxml-->
<view class="divide" />
<!-- 发票种类 -->
<view class="formArea">
	<view class="lineGroup gray">
		<view class="lineInner">
			<view class="label small">发票抬头</view>
			<view class="content">
				<view class="diyInput left">{{buyer.customerName}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup gray">
		<view class="lineInner">
			<view class="label small">税号</view>
			<view class="content">
				<view class="diyInput left">{{buyer.customerEntTaxId}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup gray">
		<view class="lineInner">
			<view class="label small">地址和电话</view>
			<view class="content">
				<view class="diyInput left">{{buyer.address === null ? '' : buyer.address}} {{buyer.contactPhone === null ? '' : buyer.contactPhone}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup gray">
		<view class="lineInner">
			<view class="label small">开户行及账号</view>
			<view class="content">
				<view class="diyInput left">{{buyer.bankName === null ? '' : buyer.bankName}} {{buyer.bankAccountNo === null ? '' : buyer.bankAccountNo}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small">备注说明</view>
			<view class="content">
				<input
				 bindtap="getremark"
				 class="input padding"
				 value="{{buyer.remark}}"
				 type="text"
				 placeholder="请填写备注"
				 placeholder-class="placeholderStyle"
				/>
			</view>
		</view>
	</view>
	<picker
	 bindchange="setPayees"
	 value="{{payeesIndex}}"
	 range="{{payees}}"
	 class="lineGroup"
	>
		<view class="lineInner">
			<view class="label middle">
				<text class="star">*</text>
				收款人
			</view>
			<view class="content">
				<view class="diyInput nopadding left">
					<text wx:if="{{payeesIndex!==''}}">{{payees[payeesIndex]}}</text>
					<text wx:else class="placeholderStyle">请选择收款人</text>
				</view>
			</view>
		</view>
	</picker>
	<view wx:if="{{payeesIndex===0}}" class="lineGroup">
		<view class="lineInner">
			<view class="label middle" />
			<view class="content">
				<input
				 bindinput="getPayees"
				 value="{{payeesText}}"
				 class="input"
				 maxlength="8"
				 placeholder="请输入收款人"
				 placeholder-class="placeholderStyle"
				/>
			</view>
		</view>
	</view>
	<picker
	 bindchange="setReviewers"
	 value="{{reviewersIndex}}"
	 range="{{reviewers}}"
	 class="lineGroup"
	>
		<view class="lineInner">
			<view class="label middle">
				<text class="star">*</text>
				复核人
			</view>
			<view class="content">
				<view class="diyInput nopadding left">
					<text wx:if="{{reviewersIndex!==''}}">{{reviewers[reviewersIndex]}}</text>
					<text wx:else class="placeholderStyle">请选择复核人</text>
				</view>
			</view>
		</view>
	</picker>
	<view wx:if="{{reviewersIndex===0}}" class="lineGroup">
		<view class="lineInner">
			<view class="label middle" />
			<view class="content">
				<input
				 bindinput="getReviewers"
				 value="{{reviewersText}}"
				 class="input"
				 maxlength="8"
				 placeholder="请输入复核人"
				 placeholder-class="placeholderStyle"
				/>
			</view>
		</view>
	</view>
	<picker
	 bindchange="setDrawers"
	 value="{{drawersIndex}}"
	 range="{{drawers}}"
	 class="lineGroup"
	>
		<view class="lineInner">
			<view class="label middle">
				<text class="star">*</text>
				开票人
			</view>
			<view class="content">
				<view class="diyInput nopadding left">
					<text wx:if="{{drawersIndex!==''}}">{{drawers[drawersIndex]}}</text>
					<text wx:else class="placeholderStyle">请选择开票人</text>
				</view>
			</view>
		</view>
	</picker>
	<view wx:if="{{drawersIndex===0}}" class="lineGroup">
		<view class="lineInner">
			<view class="label middle" />
			<view class="content">
				<input
				 bindinput="getDrawers"
				 value="{{drawersText}}"
				 class="input"
				 maxlength="8"
				 placeholder="请输入开票人"
				 placeholder-class="placeholderStyle"
				/>
			</view>
		</view>
	</view>
</view>
<view class="formArea noMargin">
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">总金额</view>
			<view class="totalMoney">
				<text class="orange">{{cmdParamObject.REQUEST_COMMON_FPKJ.HJJE}}</text>
				<text>元</text>
			</view>
			<view class="content">
				<view bindtap="toDetail" class="diyInput right hasArrow">
					<text wx:if="{{cmdParamObject.REQUEST_COMMON_FPKJ.COMMON_FPKJ_XMXXS.COMMON_FPKJ_XMXX.length===1}}" class="grayText">查看详情</text>
					<text wx:if="{{cmdParamObject.REQUEST_COMMON_FPKJ.COMMON_FPKJ_XMXXS.COMMON_FPKJ_XMXX.length>1}}" class="grayText">共{{cmdParamObject.REQUEST_COMMON_FPKJ.COMMON_FPKJ_XMXXS.COMMON_FPKJ_XMXX.length}}张，查看详情</text>
					<i class="iconfont icon-arrowr arrow" />
				</view>
			</view>
		</view>
	</view>
</view>
<!-- 接收方式 -->
<view class="formTitle">
	<text class="label">接收方式</text>
</view>
<receive bindselect="selectType" />
<view class="formArea">
	<view wx:if="{{curValue===1}}" class="lineGroup">
		<view class="lineInner">
			<view class="label mr">
				<text class="star">*</text>
				邮箱
			</view>
			<view class="content">
				<input
				 bindinput="getDetail"
				 value="{{interactTypeDetail}}"
				 class="input"
				 maxlength="-1"
				 placeholder="请填写邮箱"
				 placeholder-class="placeholderStyle"
				/>
			</view>
		</view>
	</view>
	<view wx:if="{{curValue===2}}" class="lineGroup">
		<view class="lineInner">
			<view class="label mr">
				<text class="star">*</text>
				手机号码
			</view>
			<view class="content">
				<input
				 bindinput="getDetail"
				 value="{{interactTypeDetail}}"
				 class="input"
				 maxlength="-1"
				 placeholder="请填写手机号码"
				 placeholder-class="placeholderStyle"
				/>
			</view>
		</view>
	</view>
</view>
<view class="placeholderBtn" />
<customer-bottom>
	<view class="fixedBottom">
		<button bindtap="submitData" class="btn">确定</button>
	</view>
</customer-bottom>

