<template>
	<div>
		<!-- 购汇申报 -->
		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="收付汇日期（生成申报号码时填写）">
					<c-date-picker
						v-model="model.mtabut.paydat"
						type="date"
						placeholder="选择日期">
					</c-date-picker>
				</el-form-item>
			</c-col>
		</c-col>

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

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

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

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

		<c-col :span="24">
			<c-col :span="12">
				<c-col :span="22">
					<el-form-item label="操作类型">
						<c-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>
						</c-select>
					</el-form-item>
				</c-col>
			</c-col>
		</c-col>

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

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

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

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="结/汇申请人主体类型">
					<c-select v-model="model.bopmod.dbemod.dbegrp.bas.cusnam" style="width:100%" placeholder="请选择结/汇申请人主体类型">
						<el-option
							v-for="item in []"
							:key="item.value"
							:label="item.label"
							:value="item.value">
						</el-option>
					</c-select>
				</el-form-item>
			</c-col>
		</c-col>

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

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

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

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

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="人民币/外汇收款人名称">
					<c-input  v-model="model.bopmod.dbemod.dbegrp.bas.corpnam" maxlength="32"  placeholder="请输入人民币/外汇收款人名称"></c-input>
				</el-form-item>
			</c-col>
		</c-col>

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="人民币/外汇户 开户行">
					<c-input  v-model="model.bopmod.dbemod.dbegrp.bas.corbnam" maxlength="32"  placeholder="请输入人民币/外汇户 开户行"></c-input>
				</el-form-item>
			</c-col>
		</c-col>

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

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

		<c-col :span="24">
			<h3>管理信息</h3>
		</c-col>

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="申报号码">
					<c-input  v-model="model.bopmod.dbbmod.dbbgrp.vrf.rptno" maxlength="32"  placeholder="请输入申报号码"></c-input>
				</el-form-item>
			</c-col>
		</c-col>

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

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="操作类型">
					<c-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>
					</c-select>
				</el-form-item>
			</c-col>
		</c-col>

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

			<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="外汇局批件号/备案表号/业务编号">
					<c-select v-model="model.bopmod.dbemod.dbegrp.vrf.regno" style="width:100%" placeholder="请选择外汇局批件号/备案表号/业务编号">
						<el-option
							v-for="item in []"
							:key="item.value"
							:label="item.label"
							:value="item.value">
						</el-option>
					</c-select>
				</el-form-item>
			</c-col>
		</c-col>
	</c-col>

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

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="填报日期">
					<c-input  v-model="model.bopmod.dbemod.dbegrp.vrf.rptdate" maxlength="16"  placeholder="请输入填报日期"></c-input>
				</el-form-item>
			</c-col>
		</c-col>

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="填报人电话">
					<c-input  v-model="model.bopmod.dbemod.dbegrp.vrf.inptelc" maxlength="16"  placeholder="请输入填报人"></c-input>
				</el-form-item>
			</c-col>
		</c-col>
	</div>
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess"

export default {
	inject: ['root'],
	mixins: [CommonProcess],
	props: ['model', 'codes'],
	methods: {
		getOwnref () {
			console.log('获取')
		},
		handleSearch () {
			console.log('搜索')
		},
	}
}
</script>