<template>
	<div>
		<!-- 境内汇款申请书 -->
		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="收付汇日期">
					<el-date-picker
						v-model="model.mtabut.paydat"
						type="date"
						placeholder="选择日期">
					</el-date-picker>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-checkbox v-model="model.mtabut.basflg">基础信息</el-checkbox>
				<el-checkbox v-model="model.mtabut.dclflg">申报信息</el-checkbox>
				<el-checkbox v-model="model.mtabut.vrfflg">管理信息</el-checkbox>
			</el-col>
		</el-col>

		<!-- 基础信息 -->
		<el-col :span="24">
			<h3>基础信息</h3>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="申报号码">
					<el-col :span="24" class="m-inputbtn">
						<el-col class="m-inputbtn-input">
							<el-input  v-model="model.bopmod.dbemod.dbegrp.bas.rptno" maxlength="16"  placeholder="请输入申报号码"></el-input>
						</el-col>
						<el-button type="primary" class="m-inputbtn-btn" @click="getOwnref">获取</el-button>
					</el-col>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="修改/删除原因">
					<el-input
						type="textarea"
						:rows="3"
						placeholder="请输入原因"
						v-model="model.bopmod.dbemod.dbegrp.bas.actiondesc">
					</el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="24">
			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="操作类型">
						<el-select v-model="model.bopmod.dbemod.dbegrp.bas.actiontype" style="width:100%" placeholder="请选择操作类型">
							<el-option
								v-for="item in codes.actiontype"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</el-form-item>
				</el-col>
			</el-col>
		</el-col>

		<el-col :span="24">
			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="地区机构">
						<el-select v-model="model.bopmod.dbemod.dbegrp.bas.ownextkey" style="width:100%" placeholder="请选择地区机构">
							<el-option
								v-for="item in codes.actiontype"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</el-form-item>
				</el-col>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="汇款人类型">
					<el-select v-model="model.bopmod.dbbmod.dbbp.baspp.cusnam" style="width:100%" placeholder="请选择汇款人类型">
						<el-option
							v-for="item in codes.bopcustype"
							:key="item.value"
							:label="item.label"
							:value="item.value">
						</el-option>
					</el-select>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="结算方式">
					<el-select v-model="model.bopmod.dbemod.dbegrp.bas.method" style="width:100%" placeholder="请选择结算方式">
						<el-option
							v-for="item in codes.bopcustype"
							:key="item.value"
							:label="item.label"
							:value="item.value">
						</el-option>
					</el-select>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="身份证件号码">
					<el-input  v-model="model.bopmod.dbemod.dbegrp.bas.idcode" maxlength="32"  placeholder="请输入身份证件号码"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="组织机构代码">
					<el-input  v-model="model.bopmod.dbemod.dbegrp.bas.custcod" maxlength="32"  placeholder="请输入组织机构代码"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="汇款人">
					<el-input  v-model="model.bopmod.dbemod.dbegrp.bas.custnm" maxlength="32"  placeholder="请输入汇款人"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="收款人">
					<el-input  v-model="model.bopmod.dbemod.dbegrp.bas.oppuser" maxlength="32"  placeholder="请输入收款人"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="银行业务编号">
					<el-input  v-model="model.bopmod.dbemod.dbegrp.bas.buscode" maxlength="32"  placeholder="请输入银行业务编号"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="购汇汇率">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.bas.exrate"
						v-bind:disabled="this.model.bopmod.dbemod.dbegrp.bas.lcyamt<=0"
						maxlength="32"  placeholder="请输入购汇汇率"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="购汇金额">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.bas.lcyamt"
						maxlength="32"  placeholder="请输入购汇金额"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="人民币账号">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.bas.lcyacc"
						maxlength="32"  placeholder="请输入人民币账号"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="现汇金额">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.bas.fcyamt"
						maxlength="32"  placeholder="请输入现汇金额"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="外汇账号/卡号">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.bas.fcyacc"
						maxlength="32"  placeholder="请输入外汇账号/卡号"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="其他金额">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.bas.othamt"
						maxlength="32"  placeholder="请输入其他金额"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="其他账号/卡号">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.bas.othacc"
						maxlength="32"  placeholder="请输入其他账号/卡号"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="汇款金额">
					<el-col :span="24">
						<el-col :span="12" class="m-cur-select">
							<el-select v-model="model.bopmod.dbemod.dbegrp.bas.txccy" style="width:100%" placeholder="请选择汇款金额币种">
								<el-option
									v-for="item in codes.curtxt"
									:key="item.value"
									:label="item.label"
									:value="item.value">
								</el-option>
							</el-select>
						</el-col>
						<el-col :span="12">
							<el-input  v-model="model.bopmod.dbemod.dbegrp.bas.txamt" maxlength="32"  placeholder="请输入汇款金额"></el-input>
						</el-col>
					</el-col>
				</el-form-item>
			</el-col>
		</el-col>

		<!-- 申报信息 -->
		<el-col :span="24">
			<h3>申报信息</h3>
		</el-col>
		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="申报号码">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.rptno"
						maxlength="32"  placeholder="请输入申报号码"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="修改/删除原因">
					<el-input
						type="textarea"
						:rows="3"
						placeholder="请输入原因"
						v-model="model.bopmod.dbemod.dbegrp.vrf.actiondesc">
					</el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="24">
			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="操作类型">
						<el-select v-model="model.bopmod.dbemod.dbegrp.vrf.actiontype" style="width:100%" placeholder="请选择操作类型">
							<el-option
								v-for="item in codes.actiontype"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</el-form-item>
				</el-col>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="申报日期">
					<el-date-picker
						v-model="model.bopmod.dbemod.dbegrp.vrf.rptdate"
						type="date"
						placeholder="选择日期">
					</el-date-picker>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="交易编码1">
					<el-col :span="24" class="m-inputbtn">
						<el-col class="m-inputbtn-input">
							<el-input
								v-model="model.bopmod.dbemod.dbegrp.vrf.txcode"
								maxlength="32"  placeholder="请输入交易编码1" disabled></el-input>
							<el-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch"></el-button>
						</el-col>
					</el-col>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="付款类型">
					<el-select v-model="model.bopmod.dbemod.dbegrp.vrf.paytype" style="width:100%" placeholder="请选择付款类型">
						<el-option
							v-for="item in codes.boppaytype"
							:key="item.value"
							:label="item.label"
							:value="item.value">
						</el-option>
					</el-select>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="相应金额1">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.tc1amt"
						maxlength="32"  placeholder="请输入相应金额1"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="收款人常驻国家/地区代码">
				<el-col :span="24" class="m-inputbtn">
					<el-col class="m-inputbtn-input">
						<el-input
							v-model="model.bopmod.dbemod.dbegrp.vrf.country"
							maxlength="32"  placeholder="请输入收款人常驻国家/地区代码"></el-input>
						<el-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch"></el-button>
						</el-col>
					</el-col>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="交易附言1">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.txrem"
						maxlength="32"  placeholder="请输入交易附言1"></el-input>
				</el-form-item>
			</el-col>
		</el-col>
		<el-col :span="24">
			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="是否保税货物项下付款">
						<el-select v-model="model.bopmod.dbemod.dbegrp.vrf.isref" style="width:100%" placeholder="请选择是否保税货物项下付款">
							<el-option
								v-for="item in codes.bopyesno"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</el-form-item>
				</el-col>
			</el-col>

			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="交易编码2">
						<el-col :span="24" class="m-inputbtn">
							<el-col class="m-inputbtn-input">
								<el-input
									v-model="model.bopmod.dbemod.dbegrp.vrf.txcode2"
									maxlength="32"  placeholder="请输入交易编码2" disabled></el-input>
								<el-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch"></el-button>
							</el-col>
						</el-col>
					</el-form-item>
				</el-col>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="申请人">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.crtuser"
						maxlength="32"  placeholder="请输入申请人"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="相应金额2">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.tc2amt"
						maxlength="32"  placeholder="请输入相应金额2"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="申请人电话">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.inptelc"
						maxlength="32"  placeholder="请输入申请人电话"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="交易附言2">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.tx2rem"
						maxlength="32"  placeholder="请输入交易附言2"></el-input>
				</el-form-item>
			</el-col>
		</el-col>

		<el-col :span="12">
			<el-col :span="22">
				<el-form-item label="外汇局批件号">
					<el-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.regno"
						maxlength="32"  placeholder="请输入外汇局批件号"></el-input>
				</el-form-item>
			</el-col>
		</el-col>
	</div>
</template>
<script>
export default {
	props: ['model', 'codes'],
	methods: {
		getOwnref () {
			console.log('获取')
		},
		handleSearch () {
			console.log('搜索')
		},
	}
}
</script>