Commit 4d2e04e0 by LiRui

Dbjadd优化、Dbjinf页面添加

parent fee0bb8f
......@@ -177,7 +177,7 @@
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入结汇申请人组织机构代码'"
placeholder="请输入结汇申请人组织机构代码"
></c-input>
<template slot="footer">
<c-checkbox
......
<template>
<div class="eibs-tab">
<!-- S0000017 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('vrfsp.S0000017')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000017')"></c-input>
</c-form-item>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.vrf.rptno">
<c-input
v-model="model.recgrp.vrf.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000029 : 删除原因 -->
<c-col :span="12">
<c-form-item label="删除原因" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'删除原因'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.vrf.actiontype">
<c-select
v-model="model.recgrp.vrf.actiontype"
style="width: 100%"
placeholder="请输入操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000028 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('vrfsp.S0000028')" prop="recgrp.vrf.actiontype">
<c-select v-model="model.recgrp.vrf.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000028')">
<c-col :span="24">
<el-form-item label="交易编码" prop="recgrp.vrf.txcode">
<c-fullbox>
<c-input
v-model="model.recgrp.vrf.txcode"
maxlength="6"
placeholder="请输入交易编码"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCodselSelbut"
>
{{ $t("codsee.C0000003") }}
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结汇用途" prop="recgrp.vrf.usetype">
<c-select
v-model="model.recgrp.vrf.usetype"
style="width: 100%"
placeholder="请输入结汇用途"
:code="codes.usetype"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000044 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbjp.S0000042')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbjp.S0000042')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="结汇详细用途" prop="recgrp.vrf.usedetail">
<c-input
type="textarea"
v-model="model.recgrp.vrf.usedetail"
maxlength="100"
show-word-limit
placeholder="请输入结汇详细用途"
></c-input>
</el-form-item>
</c-col>
<!-- S0000042 : 交易编码 -->
<c-col :span="12">
<c-form-item label="交易编码" prop="recgrp.vrf.txcode">
<c-input v-model="model.recgrp.vrf.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="申报日期" prop="recgrp.vrf.rptdate">
<c-date-picker
type="date"
v-model="model.recgrp.vrf.rptdate"
style="width: 100%"
placeholder="请输入申报日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodselSelbut">
{{$t('codsee.C0000003')}}
</c-button>
<el-form-item label="填报人" prop="recgrp.vrf.crtuser">
<c-input
v-model="model.recgrp.vrf.crtuser"
maxlength="20"
placeholder="请输入填报人"
></c-input>
</el-form-item>
</c-col>
<!-- S0000045 : 案表号/业务编号 -->
<!-- S0000047 : 结汇用途 -->
<c-col :span="12">
<el-form-item :label="$t('dbjp.S0000047')" prop="recgrp.vrf.usetype">
<c-select v-model="model.recgrp.vrf.usetype" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbjp.S0000047')">
</c-select>
<el-form-item label="填报人电话" prop="recgrp.vrf.inptelc">
<c-input
v-model="model.recgrp.vrf.inptelc"
maxlength="20"
placeholder="请输入填报人电话"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbjp.C0000056')}}</c-checkbox>
</c-col>
<!-- S0000052 : 结汇详细用途 -->
<c-col :span="12">
<c-form-item label="结汇详细用途" prop="recgrp.vrf.usedetail">
<c-input type="textarea" v-model="model.recgrp.vrf.usedetail" maxlength="100" show-word-limit :placeholder="$t('other.please_enter')+'结汇详细用途'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfsp.S0000002')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000002')"></c-date-picker>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="删除原因" prop="recgrp.vrf.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.vrf.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入删除原因"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000003 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfsp.S0000003')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000003')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item
label="外汇局批件号/备案表号/业务编号"
prop="recgrp.vrf.regno"
>
<c-fullbox>
<c-input
v-model="model.recgrp.vrf.regno"
maxlength="20"
placeholder="请输入外汇局批件号/备案表号/业务编号"
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.vrfpp.acp"
:checked="true"
style="margin-left: 10px"
disabled
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- S0000005 : 填报人电话 -->
<c-col :span="12">
<c-form-item label="填报人电话" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+'填报人电话'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbjadd/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbjadd/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -52,6 +52,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbjadd from "~/model/Dbjadd"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbjadd/Check"
import Default from "~/model/Dbjadd/Default"
import Pattern from "~/model/Dbjadd/Pattern"
......@@ -72,7 +73,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selection",
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000015')" prop="recgrp.bas.rptno">
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('bassp.S0000015')"></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 删除原因 -->
<c-col :span="12">
<c-form-item label="删除原因" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'删除原因'" ></c-input>
</c-form-item>
<div class="eibs">
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetref">
{{$t('bassp.C0000038')}}
</c-button>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000016 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('bassp.S0000016')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('bassp.S0000016')">
<c-col :span="24">
<el-form-item label="结汇申请人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000039 : 地区机构号 -->
<c-col :span="12">
<el-form-item :label="$t('bassp.S0000039')" prop="recgrp.bas.ownextkey">
<c-select v-model="model.recgrp.bas.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+$t('bassp.S0000039')">
</c-select>
<c-col :span="24">
<el-form-item label="个人身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入个人身份证件号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.baspp.acp">{{$t('bassp.C0000029')}}</c-checkbox>
<c-col :span="24">
<el-form-item label="结汇申请人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000018 : 银行业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000018')" prop="recgrp.bas.buscode">
<c-input v-model="model.recgrp.bas.buscode" maxlength="22" :placeholder="$t('other.please_enter')+$t('bassp.S0000018')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="外汇账户账号" prop="recgrp.bas.fcyacc">
<c-input
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇账户账号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="结汇申请人组织机构代码" prop="recgrp.bas.custcod">
<c-input v-model="model.recgrp.bas.custcod" maxlength="18" :placeholder="$t('other.please_enter')+'结汇申请人组织机构代码'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item
label="人民币账户帐号"
prop="recgrp.bas.lcyacc"
>
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币账户帐号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.cusnam" data-path=".recp.baspp.cusnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="结汇申请人主体类型" prop="recgrp.bas.custype">
<c-select v-model="model.recgrp.bas.custype" style="width:100%" :placeholder="$t('other.please_enter')+'结汇申请人主体类型'">
</c-select>
<c-col :span="24">
<el-form-item label="人民币收款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000027 : 组织机构代码 -->
<!-- S0000026 : 个人身份证件号码 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000026')" prop="recgrp.bas.idcode">
<c-input v-model="model.recgrp.bas.idcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000026')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="人民币帐户开户行" prop="recgrp.bas.oppbank">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppbank"
maxlength="32"
show-word-limit
placeholder="请输入人民币帐户开户行"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
<c-col :span="24">
<c-col :span="12">
<c-col :span="16">
<el-form-item label="结汇币种及金额" prop="recgrp.bas.fcyccy">
<c-select
v-model="model.recgrp.bas.fcyccy"
style="width: 100%"
placeholder="请选择结汇币种及金额"
:code="codes.curtxt"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="结汇申请人名称" prop="recgrp.bas.custnm">
<c-input type="textarea" v-model="model.recgrp.bas.custnm" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'结汇申请人名称'" ></c-input>
</c-form-item>
<c-col :span="8">
<el-form-item
label=""
prop="recgrp.bas.fcyamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入结汇币种及金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.cornam" data-path=".recp.baspp.cornam" > </span>
</c-col>
<!-- S0000034 : 外汇账户账号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000034')" prop="recgrp.bas.fcyacc">
<c-input v-model="model.recgrp.bas.fcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000033 : 人民币账户账号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000033')" prop="recgrp.bas.lcyacc">
<c-input v-model="model.recgrp.bas.lcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000033')"></c-input>
</c-form-item>
<el-form-item label="汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入汇率"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="人民币收款人名称" prop="recgrp.bas.oppuser">
<c-input type="textarea" v-model="model.recgrp.bas.oppuser" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'人民币收款人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.corpnam" data-path=".recp.baspp.corpnam" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.corbnam" data-path=".recp.baspp.corbnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="人民币帐户开户行" prop="recgrp.bas.oppbank">
<c-input type="textarea" v-model="model.recgrp.bas.oppbank" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'人民币帐户开户行'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000050 : 结汇币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('dbjp.S0000050')" prop="recgrp.bas.fcyccy">
<c-select v-model="model.recgrp.bas.fcyccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbjp.S0000050')">
</c-select>
<!----------右边------------>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入结汇申请人组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
:checked="true"
style="margin-left: 10px;"
>确认</c-checkbox
>
</template>
</c-fullbox>
<c-col :span="12">
<c-form-item :label="$t('dbjp.S0000050')" prop="recgrp.bas.fcyamt">
<c-input v-model="model.recgrp.bas.fcyamt" :placeholder="$t('other.please_enter')+$t('dbjp.S0000050')"></c-input>
</c-form-item>
</c-col>
<!-- S0000053 : 汇率 -->
<c-col :span="12">
<c-form-item label="汇率" prop="recgrp.bas.exrate">
<c-input v-model="model.recgrp.bas.exrate" :placeholder="$t('other.please_enter')+'汇率'"></c-input>
</c-form-item>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
<div class="eibs">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请输入收付汇日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox disabled v-model="model.bopbut.basflg" >基础数据</c-checkbox>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="�'�易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'�'�易类型'">
</c-select>
<el-form-item label="" prop="bopbut.vrfflg">
<c-checkbox disabled v-model="model.bopbut.vrfflg" >管理信息</c-checkbox>
</el-form-item>
</c-col> -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请输入款项去向"
disabled
:code="codes.acttyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<!-- S0000017 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('vrfsp.S0000017')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000017')"></c-input>
</c-form-item>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.vrf.rptno">
<c-input
v-model="model.recgrp.vrf.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000029 : 删除原因 -->
<c-col :span="12">
<c-form-item label="删除原因" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'删除原因'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.vrf.actiontype">
<c-select
v-model="model.recgrp.vrf.actiontype"
style="width: 100%"
placeholder="请输入操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000028 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('vrfsp.S0000028')" prop="recgrp.vrf.actiontype">
<c-select v-model="model.recgrp.vrf.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000028')">
<c-col :span="24">
<el-form-item label="交易编码" prop="recgrp.vrf.txcode">
<c-fullbox>
<c-input
v-model="model.recgrp.vrf.txcode"
maxlength="6"
placeholder="请输入交易编码"
disabled
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCodselSelbut"
>
{{ $t("codsee.C0000003") }}
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结汇用途" prop="recgrp.vrf.usetype">
<c-select
v-model="model.recgrp.vrf.usetype"
style="width: 100%"
placeholder="请输入结汇用途"
:code="codes.usetype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000044 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbjp.S0000042')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbjp.S0000042')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="结汇详细用途" prop="recgrp.vrf.usedetail">
<c-input
type="textarea"
v-model="model.recgrp.vrf.usedetail"
maxlength="100"
show-word-limit
placeholder="请输入结汇详细用途"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000042 : 交易编码 -->
<c-col :span="12">
<c-form-item label="交易编码" prop="recgrp.vrf.txcode">
<c-input v-model="model.recgrp.vrf.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="申报日期" prop="recgrp.vrf.rptdate">
<c-date-picker
type="date"
v-model="model.recgrp.vrf.rptdate"
style="width: 100%"
placeholder="请输入申报日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodselSelbut">
{{$t('codsee.C0000003')}}
</c-button>
<el-form-item label="填报人" prop="recgrp.vrf.crtuser">
<c-input
v-model="model.recgrp.vrf.crtuser"
maxlength="20"
placeholder="请输入填报人"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000045 : 案表号/业务编号 -->
<!-- S0000047 : 结汇用途 -->
<c-col :span="12">
<el-form-item :label="$t('dbjp.S0000047')" prop="recgrp.vrf.usetype">
<c-select v-model="model.recgrp.vrf.usetype" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbjp.S0000047')">
</c-select>
<el-form-item label="填报人电话" prop="recgrp.vrf.inptelc">
<c-input
v-model="model.recgrp.vrf.inptelc"
maxlength="20"
placeholder="请输入填报人电话"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbjp.C0000056')}}</c-checkbox>
</c-col>
<!-- S0000052 : 结汇详细用途 -->
<c-col :span="12">
<c-form-item label="结汇详细用途" prop="recgrp.vrf.usedetail">
<c-input type="textarea" v-model="model.recgrp.vrf.usedetail" maxlength="100" show-word-limit :placeholder="$t('other.please_enter')+'结汇详细用途'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfsp.S0000002')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000002')"></c-date-picker>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="删除原因" prop="recgrp.vrf.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.vrf.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入删除原因"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000003 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfsp.S0000003')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000003')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item
label="外汇局批件号/备案表号/业务编号"
prop="recgrp.vrf.regno"
>
<c-fullbox>
<c-input
v-model="model.recgrp.vrf.regno"
maxlength="20"
placeholder="请输入外汇局批件号/备案表号/业务编号"
disabled
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.recp.vrfpp.acp"
:checked="true"
style="margin-left: 10px"
disabled
>确认</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- S0000005 : 填报人电话 -->
<c-col :span="12">
<c-form-item label="填报人电话" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+'填报人电话'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbjinf/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbjinf/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-page title="外汇账户内结汇(查询)">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<!--bopbut PD000000 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbjp PD000001 外汇账户内结汇-基础信息 -->
<el-tab-pane :label="$t('dbjp.PD000001')" name="basp">
<el-tab-pane label="外汇账户内结汇-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbjp PD000002 外汇账户内结汇-管理信息 -->
<el-tab-pane :label="$t('dbjp.PD000002')" name="vrfp">
<el-tab-pane label=" 外汇账户内结汇-管理信息" name="vrfp">
<c-content>
<m-vrfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
......@@ -23,6 +31,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbjinf from "~/model/Dbjinf"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbjinf/Check"
import Default from "~/model/Dbjinf/Default"
import Pattern from "~/model/Dbjinf/Pattern"
......@@ -43,10 +52,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "selection",
trnName: "dbjinf",
trnType: "",
model: new Dbjinf().data,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment