<!--pages/ticketScan/detail.wxml-->
<view class="divide"></view>
<view class="formArea noMargin">
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small"><text class="star">*</text>发票抬头</view>
			<view class="content">
				<input bindinput="getcustomerName" value="{{buyer.customerName}}" class="input" placeholder="请输入购方名称" placeholder-class="placeholderStyle"></input>
			</view>
			<button bindtap="toSearch" class="searchBtn">查询</button>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small"><text class="star">*</text>税号</view>
			<view class="content">
				<input bindinput="getentTaxId" value="{{buyer.entTaxId}}" class="input" placeholder="请输入税号" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small"><text class="star">*</text>邮箱</view>
			<view class="content">
				<input bindinput="getemail" value="{{buyer.email}}" class="input" placeholder="请输入您的邮箱" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small"><text class="star">*</text>手机号码</view>
			<view class="content">
				<input bindinput="getcustomerMobile" value="{{buyer.customerMobile}}" class="input" type="number" maxlength="11" placeholder="请输入您的手机号码" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small">企业地址</view>
			<view class="content">
				<input bindinput="getaddress" value="{{buyer.address}}" class="input" placeholder="请输入企业地址" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small">联系电话</view>
			<view class="content">
				<input bindinput="getcontactPhone" value="{{buyer.contactPhone}}" class="input" placeholder="请输入企业联系电话" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small">银行开户地址</view>
			<view class="content">
				<input bindinput="getbankName" value="{{bankName}}" class="input" placeholder="请输入银行开户地址" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small">银行账号</view>
			<view class="content">
				<input bindinput="getbankAccount" value="{{buyer.bankAccount}}" class="input" placeholder="请输入银行账号" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small">备注说明</view>
			<view class="content">
				<input bindinput="getremark" class="input" value="{{remark}}" placeholder="请输入备注说明" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
</view>
<view class="formTitle">
	<text class="label">接收方式</text>
</view>
<view class="formArea">
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label small"><text class="star">*</text>电子邮件</view>
			<view class="content">
				<input bindinput="getinteractTypeDetail" value="{{interactTypeDetail}}" class="input" placeholder="用于向用户发送电子发票" placeholder-class="placeholderStyle"></input>
			</view>
		</view>
	</view>
</view>
<view class="formArea receiveType">
	<view bindtap="selectType" data-index="{{index}}" wx:for="{{cardList}}" wx:key="index" class="lineBox">
		<text>{{item.text}}</text>
		<i wx:if="{{item.selected}}" class="iconfont icon-right"></i>
	</view>
</view>
<view class="placeholderBtn"></view>
<customer-bottom>
	<view class="fixedBottom">
		<button bindtap="submitData" class="btn">确定</button>
	</view>
</customer-bottom>