<template>
  <div>
    <c-col :span="24">
      <el-form-item label="申报号码">
        <c-col :span="24" class="m-inputbtn">
          <c-col class="m-inputbtn-input">
            <!-- v-model="model.bopmod.dbemod.dbegrp.bas.rptno" -->
            <c-input
              maxlength="16"
              placeholder="请输入申报号码"
              style="width: 30%"
            ></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 :span="11">
      <c-col :span="24">
        <el-form-item label="操作类型">
          <!-- v-model="model.bopmod.dbemod.dbegrp.bas.actiontype" -->
          <c-input
            style="width: 70%"
            placeholder="请选择操作类型"
          >
            <!-- <el-option
              v-for="item in data"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option> -->
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="地区机构号">
          <!-- v-model="model.bopmod.dbemod.dbegrp.bas.ownextkey" -->
          <c-input style="width: 50%" placeholder="请选择地区机构">
            <!-- <el-option
              v-for="item in data"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option> -->
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item style="width: 85%" label="银行业务编号">
          <!-- v-model="model.bopmod.dbemod.dbegrp.bas.buscode" -->
          <c-input maxlength="32" placeholder="请输入银行业务编号"></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="汇款人类型">
          <!-- v-model="model.bopmod.dbbmod.dbbp.baspp.cusnam" -->
          <c-input style="width: 60%" placeholder="请选择汇款人类型">
            <!-- <el-option
              v-for="item in data"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option> -->
          </c-input>
        </el-form-item>
      </c-col>
    </c-col>

    <c-col :span="11" :offset="1">
      <c-col :span="22">
        <el-form-item label="修改/删除原因">
          <!-- v-model="model.bopmod.dbemod.dbegrp.bas.actiondesc" -->
          <c-input type="textarea" :rows="3" placeholder="请输入原因">
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="结算方式">
          <!-- v-model="model.bopmod.dbemod.dbegrp.bas.method" -->
          <c-input style="width: 50%" placeholder="请选择结算方式">
            <!-- <el-option
              v-for="item in data"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option> -->
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="组织机构代码">
          <!-- v-model="model.bopmod.dbemod.dbegrp.bas.custcod" -->
          <c-input style="width: 60%" maxlength="32" placeholder="请输入组织机构代码"></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <c-col :span="20">
      <el-form-item label="汇款人名称">
        <!-- v-model="model.bopmod.dbemod.dbegrp.bas.custnm" -->
        <c-input style="width: 70%" maxlength="32" placeholder="请输入汇款人"></c-input>
      </el-form-item>
    </c-col>
    <c-col :span="20">
      <el-form-item label="收款人名称">
        <!-- v-model="model.bopmod.dbemod.dbegrp.bas.oppuser" -->
        <c-input style="width: 70%" maxlength="32" placeholder="请输入收款人"></c-input>
      </el-form-item>
    </c-col>
	<c-col :span="2" :offset="2">
		确认
		<c-checkbox v-model="temp" disabled></c-checkbox>
	</c-col>

	<c-col :span="11">
		<c-col :span="24">
				<el-form-item label="身份证件号码">
					<!-- v-model="model.bopmod.dbemod.dbegrp.bas.idcode" -->
					<c-input  maxlength="32"  placeholder="请输入身份证件号码"></c-input>
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="购汇金额">
					<!-- v-model="model.bopmod.dbemod.dbegrp.bas.lcyamt" -->
					<c-input
						style="width: 80%"
						maxlength="32"  placeholder="请输入购汇金额"></c-input>
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="现汇金额">
					<!-- v-model="model.bopmod.dbemod.dbegrp.bas.fcyamt" -->
					<c-input
						style="width: 80%"
						maxlength="32"  placeholder="请输入现汇金额"></c-input>
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="其他金额">
					<!-- v-model="model.bopmod.dbemod.dbegrp.bas.othamt" -->
					<c-input
						style="width: 80%"
						maxlength="32"  placeholder="请输入其他金额"></c-input>
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="汇款币种和金额">
					<c-col :span="24">
						<c-col :span="8" class="m-cur-select">
							<!-- v-model="model.bopmod.dbemod.dbegrp.bas.txccy" -->
							<c-input  style="width:100%" placeholder="请选择汇款金额币种">
								<el-option
									v-for="item in data"
									:key="item.value"
									:label="item.label"
									:value="item.value">
								</el-option>
							</c-input>
						</c-col>
						<c-col :span="15" :offset="1">
							<!-- v-model="model.bopmod.dbemod.dbegrp.bas.txamt" -->
							<c-input   maxlength="32"  placeholder="请输入汇款金额"></c-input>
						</c-col>
					</c-col>
				</el-form-item>
			</c-col>
	</c-col>

	<c-col :span="11" :offset="1">
		<c-col :span="24">
				<el-form-item label="购汇汇率">
					<!-- v-model="model.bopmod.dbemod.dbegrp.bas.exrate" -->
					<!-- v-bind:disabled="this.model.bopmod.dbemod.dbegrp.bas.lcyamt<=0" -->
					<c-input
						
						style="width: 70%"
						maxlength="32"  placeholder="请输入购汇汇率"></c-input>
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="人民币账号/银行卡号">
					<!-- v-model="model.bopmod.dbemod.dbegrp.bas.lcyacc" -->
					<c-input
						
						maxlength="32"  placeholder="请输入人民币账号"></c-input>
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="外汇账号//银行卡号">
				<!-- v-model="model.bopmod.dbemod.dbegrp.bas.fcyacc" -->
					<c-input
						
						maxlength="32"  placeholder="请输入外汇账号/卡号"></c-input>
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="其他账号//银行卡号">
				<!-- v-model="model.bopmod.dbemod.dbegrp.bas.othacc" -->
					<c-input
						
						maxlength="32"  placeholder="请输入其他账号/卡号"></c-input>
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="收款人账号">
					<c-input></c-input>
				</el-form-item>
			</c-col>
	</c-col>

    <!-- 境内汇款申请书 -->
    <!-- <c-col :span="12">
			<c-col :span="22">
				<el-form-item label="收付汇日期">
					<el-date-picker
						v-model="model.mtabut.paydat"
						type="date"
						placeholder="选择日期">
					</el-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="24">
			<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.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-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>
					</c-select>
				</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.method" style="width:100%" placeholder="请选择结算方式">
						<el-option
							v-for="item in codes.bopcustype"
							: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.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.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-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.oppuser" 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.buscode" 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.exrate"
						v-bind:disabled="this.model.bopmod.dbemod.dbegrp.bas.lcyamt<=0"
						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.lcyamt"
						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.fcyamt"
						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.othamt"
						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.othacc"
						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-col :span="24">
						<c-col :span="12" class="m-cur-select">
							<c-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>
							</c-select>
						</c-col>
						<c-col :span="12">
							<c-input  v-model="model.bopmod.dbemod.dbegrp.bas.txamt" maxlength="32"  placeholder="请输入汇款金额"></c-input>
						</c-col>
					</c-col>
				</el-form-item>
			</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.dbemod.dbegrp.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.dbemod.dbegrp.vrf.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.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>

		<c-col :span="12">
			<c-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>
			</c-col>
		</c-col>

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="交易编码1">
					<c-col :span="24" class="m-inputbtn">
						<c-col class="m-inputbtn-input">
							<c-input
								v-model="model.bopmod.dbemod.dbegrp.vrf.txcode"
								maxlength="32"  placeholder="请输入交易编码1" disabled></c-input>
							<c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch"></c-button>
						</c-col>
					</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.paytype" style="width:100%" placeholder="请选择付款类型">
						<el-option
							v-for="item in codes.boppaytype"
							: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="相应金额1">
					<c-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.tc1amt"
						maxlength="32"  placeholder="请输入相应金额1"></c-input>
				</el-form-item>
			</c-col>
		</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.vrf.country"
							maxlength="32"  placeholder="请输入收款人常驻国家/地区代码"></c-input>
						<c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch"></c-button>
						</c-col>
					</c-col>
				</el-form-item>
			</c-col>
		</c-col>

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="交易附言1">
					<c-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.txrem"
						maxlength="32"  placeholder="请输入交易附言1"></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.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>
						</c-select>
					</el-form-item>
				</c-col>
			</c-col>

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

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="相应金额2">
					<c-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.tc2amt"
						maxlength="32"  placeholder="请输入相应金额2"></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="32"  placeholder="请输入申请人电话"></c-input>
				</el-form-item>
			</c-col>
		</c-col>

		<c-col :span="12">
			<c-col :span="22">
				<el-form-item label="交易附言2">
					<c-input
						v-model="model.bopmod.dbemod.dbegrp.vrf.tx2rem"
						maxlength="32"  placeholder="请输入交易附言2"></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.regno"
						maxlength="32"  placeholder="请输入外汇局批件号"></c-input>
				</el-form-item>
			</c-col>
		</c-col> -->
  </div>
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";

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