Commit 36270255 by LiRui

购汇申请书、结汇申请书界面修改

parent c36c2f97
......@@ -133,7 +133,7 @@
<c-checkbox
v-model="model.recp.vrfpp.acp"
style="margin-left: 10px"
disabled
:disabled="model.bopbut.vrfflg==''"
>确认</c-checkbox
>
</template>
......
......@@ -82,8 +82,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {... CodeTable},
}
},
methods:{
......
......@@ -82,8 +82,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {... CodeTable},
}
},
methods:{
......
......@@ -69,8 +69,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {... CodeTable},
}
},
methods:{
......
<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="请输入收付汇日期"
></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>
<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>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<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>
</div>
</template>
<script>
......
<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>
</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>
<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>
<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>
<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"
@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.regno"
>
<c-input
v-model="model.recgrp.vrf.regno"
maxlength="20"
placeholder="请输入外汇局批件号/备案表号/业务编号"
></c-input>
</el-form-item>
</c-col>
<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">
<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>
<c-col :span="12">
<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>
<!-- 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-select>
</c-col>
</c-col>
<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>
<!-- S0000032 : 交易编码 -->
<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>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbwp.C0000039')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodselSelbut">
{{$t('codsee.C0000003')}}
</c-button>
</c-col>
<!-- S0000034 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000034')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbwp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 案表号/业务编号 -->
<!-- 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>
<c-col :span="24">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox
v-model="model.recp.vrfpp.acp"
disabled
>确认</c-checkbox
>
</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>
<!-- 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>
</c-col>
</c-col>
</div>
</template>
<script>
......
<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-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--dbwp PD000001 外汇账户内购汇-基础信息 -->
<el-tab-pane :label="$t('dbwp.PD000001')" name="basp">
<m-basp :model="model" :codes="codes"/>
<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="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbwp PD000002 外汇账户内购汇-管理信息 -->
<el-tab-pane :label="$t('dbwp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
<!--dbjp PD000001 外汇账户内结汇-基础信息 -->
<el-tab-pane label="外汇账户内结汇-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
<!--dbjp PD000002 外汇账户内结汇-管理信息 -->
<el-tab-pane label=" 外汇账户内结汇-管理信息" name="vrfp">
<c-content>
<m-vrfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -23,6 +50,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbwadd from "~/model/Dbwadd"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Dbwadd/Check"
import Default from "~/model/Dbwadd/Default"
import Pattern from "~/model/Dbwadd/Pattern"
......@@ -43,10 +71,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "selection",
trnName: "dbwadd",
trnType: "",
model: new Dbwadd().data,
......@@ -54,8 +82,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {... CodeTable},
}
},
methods:{
......
<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>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox 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 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>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<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>
</div>
</template>
<script>
......
<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>
</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>
<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>
<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>
<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="model.bopbut.vrfflg==''"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
@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.regno"
>
<c-input
v-model="model.recgrp.vrf.regno"
maxlength="20"
placeholder="请输入外汇局批件号/备案表号/业务编号"
:disabled="model.bopbut.vrfflg==''"
></c-input>
</el-form-item>
</c-col>
<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="model.bopbut.vrfflg==''"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="填报人" prop="recgrp.vrf.crtuser">
<c-input
v-model="model.recgrp.vrf.crtuser"
maxlength="20"
placeholder="请输入填报人"
:disabled="model.bopbut.vrfflg==''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="填报人电话" prop="recgrp.vrf.inptelc">
<c-input
v-model="model.recgrp.vrf.inptelc"
maxlength="20"
placeholder="请输入填报人电话"
:disabled="model.bopbut.vrfflg==''"
></c-input>
</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-select>
</c-col>
</c-col>
<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>
<!-- S0000032 : 交易编码 -->
<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>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbwp.C0000039')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodselSelbut">
{{$t('codsee.C0000003')}}
</c-button>
</c-col>
<!-- S0000034 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000034')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbwp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 案表号/业务编号 -->
<!-- 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>
<c-col :span="24">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox
v-model="model.recp.vrfpp.acp"
:disabled="model.bopbut.vrfflg==''"
>确认</c-checkbox
>
</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>
<!-- 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>
</c-col>
</c-col>
</div>
</template>
<script>
......
<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-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--dbwp PD000001 外汇账户内购汇-基础信息 -->
<el-tab-pane :label="$t('dbwp.PD000001')" name="basp">
<m-basp :model="model" :codes="codes"/>
<div class="eContainer">
<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="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbwp PD000002 外汇账户内购汇-管理信息 -->
<el-tab-pane :label="$t('dbwp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
<!--dbjp PD000001 外汇账户内结汇-基础信息 -->
<el-tab-pane label="外汇账户内结汇-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
<!--dbjp PD000002 外汇账户内结汇-管理信息 -->
<el-tab-pane label=" 外汇账户内结汇-管理信息" name="vrfp">
<c-content>
<m-vrfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -23,6 +50,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbwame from "~/model/Dbwame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Dbwame/Check"
import Default from "~/model/Dbwame/Default"
import Pattern from "~/model/Dbwame/Pattern"
......@@ -43,10 +71,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "selection",
trnName: "dbwame",
trnType: "",
model: new Dbwame().data,
......@@ -54,8 +82,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {... CodeTable},
}
},
methods:{
......
<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>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox 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>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<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>
</div>
</template>
<script>
......
<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>
</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>
<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>
<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>
<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"
@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.regno"
>
<c-input
v-model="model.recgrp.vrf.regno"
maxlength="20"
placeholder="请输入外汇局批件号/备案表号/业务编号"
disabled
></c-input>
</el-form-item>
</c-col>
<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">
<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>
<c-col :span="12">
<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>
<!-- 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-select>
</c-col>
</c-col>
<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"
></c-input>
</el-form-item>
</c-col>
<!-- S0000032 : 交易编码 -->
<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>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbwp.C0000039')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodselSelbut">
{{$t('codsee.C0000003')}}
</c-button>
</c-col>
<!-- S0000034 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000034')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbwp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 案表号/业务编号 -->
<!-- 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>
<c-col :span="24">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox
v-model="model.recp.vrfpp.acp"
disabled
>确认</c-checkbox
>
</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>
<!-- 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>
</c-col>
</c-col>
</div>
</template>
<script>
......
<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-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--dbwp PD000001 外汇账户内购汇-基础信息 -->
<el-tab-pane :label="$t('dbwp.PD000001')" name="basp">
<m-basp :model="model" :codes="codes"/>
<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="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbwp PD000002 外汇账户内购汇-管理信息 -->
<el-tab-pane :label="$t('dbwp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
<!--dbjp PD000001 外汇账户内结汇-基础信息 -->
<el-tab-pane label="外汇账户内结汇-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
<!--dbjp PD000002 外汇账户内结汇-管理信息 -->
<el-tab-pane label=" 外汇账户内结汇-管理信息" name="vrfp" v-if="model.bopbut.vrfflg=='X'">
<c-content>
<m-vrfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -23,6 +50,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbwdel from "~/model/Dbwdel"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Dbwdel/Check"
import Default from "~/model/Dbwdel/Default"
import Pattern from "~/model/Dbwdel/Pattern"
......@@ -43,10 +71,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "selection",
trnName: "dbwdel",
trnType: "",
model: new Dbwdel().data,
......@@ -54,8 +82,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {... CodeTable},
}
},
methods:{
......
<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>
<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>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<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>
</div>
</template>
<script>
......
<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>
</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>
<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>
<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>
<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"
@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.regno"
>
<c-input
v-model="model.recgrp.vrf.regno"
maxlength="20"
placeholder="请输入外汇局批件号/备案表号/业务编号"
disabled
></c-input>
</el-form-item>
</c-col>
<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">
<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>
<c-col :span="12">
<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>
<!-- 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-select>
</c-col>
</c-col>
<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>
<!-- S0000032 : 交易编码 -->
<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>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbwp.C0000039')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodselSelbut">
{{$t('codsee.C0000003')}}
</c-button>
</c-col>
<!-- S0000034 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000034')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbwp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 案表号/业务编号 -->
<!-- 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>
<c-col :span="24">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox
v-model="model.recp.vrfpp.acp"
disabled
>确认</c-checkbox
>
</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>
<!-- 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>
</c-col>
</c-col>
</div>
</template>
<script>
......
<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-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
<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="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbwp PD000001 外汇账户内购汇-基础信息 -->
<el-tab-pane :label="$t('dbwp.PD000001')" name="basp">
<m-basp :model="model" :codes="codes"/>
<!--dbjp PD000001 外汇账户内结汇-基础信息 -->
<el-tab-pane label="外汇账户内结汇-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbwp PD000002 外汇账户内购汇-管理信息 -->
<el-tab-pane :label="$t('dbwp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
<!--dbjp PD000002 外汇账户内结汇-管理信息 -->
<el-tab-pane label=" 外汇账户内结汇-管理信息" name="vrfp">
<c-content>
<m-vrfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -23,6 +50,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbwinf from "~/model/Dbwinf"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Dbwinf/Check"
import Default from "~/model/Dbwinf/Default"
import Pattern from "~/model/Dbwinf/Pattern"
......@@ -43,10 +71,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "selection",
trnName: "dbwinf",
trnType: "",
model: new Dbwinf().data,
......@@ -54,8 +82,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {... CodeTable},
}
},
methods:{
......
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