Commit 808b3210 by Wuyuqiu

dbcame、dbcdel、bddame、dbddel交易页面布局

parent 020a633c
...@@ -11,6 +11,9 @@ export default class Dbcdel{ ...@@ -11,6 +11,9 @@ export default class Dbcdel{
wrkdbl:{ wrkdbl:{
trdtyp:"", // �'�易类型 .bopbut.ctlmod.wrkdbl.trdtyp trdtyp:"", // �'�易类型 .bopbut.ctlmod.wrkdbl.trdtyp
}, },
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
}, },
basflg:"", // 基'⌒畔 .bopbut.basflg basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg dclflg:"", // 申报信息 .bopbut.dclflg
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:code="codes.ownextkey3" :code="codes.ownextkey3"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -51,6 +52,7 @@ ...@@ -51,6 +52,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择类型" placeholder="请选择类型"
:code="codes.custype" :code="codes.custype"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -85,6 +87,7 @@ ...@@ -85,6 +87,7 @@
v-model="model.recgrp.bas.idcode" v-model="model.recgrp.bas.idcode"
maxlength="32" maxlength="32"
placeholder="请输入身份证件号码" placeholder="请输入身份证件号码"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -163,7 +166,6 @@ ...@@ -163,7 +166,6 @@
v-model="model.recgrp.bas.issdate" v-model="model.recgrp.bas.issdate"
style="width: 100%" style="width: 100%"
placeholder="请选择开证日期" placeholder="请选择开证日期"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -174,7 +176,6 @@ ...@@ -174,7 +176,6 @@
v-model="model.recgrp.bas.lcbgno" v-model="model.recgrp.bas.lcbgno"
maxlength="20" maxlength="20"
placeholder="请输入信用证/保函编号" placeholder="请输入信用证/保函编号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -192,7 +193,6 @@ ...@@ -192,7 +193,6 @@
show-word-limit show-word-limit
placeholder="请输入操作类型" placeholder="请输入操作类型"
:rows="7" :rows="7"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -219,7 +219,6 @@ ...@@ -219,7 +219,6 @@
<template slot="footer"> <template slot="footer">
<c-checkbox <c-checkbox
v-model="model.recp.baspp.acp" v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;" style="margin-left: 10px;"
>确认</c-checkbox >确认</c-checkbox
> >
...@@ -297,7 +296,6 @@ ...@@ -297,7 +296,6 @@
<c-input <c-input
v-model="model.recgrp.bas.tenor" v-model="model.recgrp.bas.tenor"
placeholder="请输入期限" placeholder="请输入期限"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000015 : 收付汇日期 --> <!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat"> <el-form-item label="收付汇日期" 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> <c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span> <c-checkbox
</c-col> disabled :checked="true"
v-model="model.bopbut.basflg"
<c-col :span="12"> >基础数据</c-checkbox
<el-form-item label="款项标志" prop="bopbut.acttyp"> >
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <!-- ======================= 右边 ========================= -->
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp"> <c-col :span="12" style="padding-left: 20px">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'"> <c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </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>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eContainer"> <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="对外付款/承兑通知书(修改)">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <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 接口数据 --> <!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection"> <el-tab-pane label="接口数据" name="selection">
<m-selection :model="model" :codes="codes"/> <c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 --> <!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane :label="$t('dbcp.PD000000')" name="basp"> <el-tab-pane label="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopbut.basflg">
<m-basp :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-basp :model="model" :codes="codes" />
<!--dbcp PD000001 对外付款/承兑通知书-申报信息 --> </c-content>
<el-tab-pane :label="$t('dbcp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000002 对外付款/承兑通知书-核销信息 -->
<el-tab-pane :label="$t('dbcp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Dbcame from "~/model/Dbcame" import Dbcame from "~/model/Dbcame";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Dbcame/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Dbcame/Default" import Check from "~/model/Dbcame/Check";
import Pattern from "~/model/Dbcame/Pattern" import Default from "~/model/Dbcame/Default";
import Selection from "./Selection" import Pattern from "~/model/Dbcame/Pattern";
import Basp from "./Basp" import Selection from "./Selection";
import Dclp from "./Dclp" import Basp from "./Basp";
import Vrfp from "./Vrfp" import Dclp from "./Dclp";
import Vrfp from "./Vrfp";
export default { export default {
name: "Dbcame", name: "Dbcame",
components:{ components: {
"m-selection" : Selection, "m-selection": Selection,
"m-basp" : Basp, "m-basp": Basp,
"m-dclp" : Dclp, "m-dclp": Dclp,
"m-vrfp" : Vrfp, "m-vrfp": Vrfp,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "selection",
trnName: "dbcame", trnName: "dbcame",
trnType: "",
model: new Dbcame().data, model: new Dbcame().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入dbcame交易"); console.log("进入dbcame交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
} this.restoreDisplay();
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000015 : 收付汇日期 --> <!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('bopbut.S0000015')" prop="bopbut.paydat"> <el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.bopbut.paydat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker> <c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span> <c-checkbox
</c-col> disabled :checked="true"
v-model="model.bopbut.basflg"
<c-col :span="12"> >基础数据</c-checkbox
<el-form-item label="款项标志" prop="bopbut.acttyp"> >
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <!-- ======================= 右边 ========================= -->
<el-form-item label="易类型" prop="bopbut.ctlmod.wrkdbl.trdtyp"> <c-col :span="12" style="padding-left: 20px">
<c-select v-model="model.bopbut.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'"> <c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onButpDel">
{{$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="onButpExi">
{{$t('butp.CG000004')}}
</c-button>
</c-col> </c-col>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eContainer"> <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="对外付款/承兑通知书(删除)">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <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 接口数据 --> <!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection"> <el-tab-pane label="接口数据" name="selection">
<m-selection :model="model" :codes="codes"/> <c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 --> <!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane :label="$t('dbcp.PD000000')" name="basp"> <el-tab-pane
<m-basp :model="model" :codes="codes"/> label="对外付款/承兑通知书-基础信息"
</el-tab-pane> name="basp"
<!--dbcp PD000001 对外付款/承兑通知书-申报信息 --> v-if="model.bopbut.basflg"
<el-tab-pane :label="$t('dbcp.PD000001')" name="dclp"> >
<m-dclp :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-basp :model="model" :codes="codes" />
<!--dbcp PD000002 对外付款/承兑通知书-核销信息 --> </c-content>
<el-tab-pane :label="$t('dbcp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Dbcdel from "~/model/Dbcdel" import Dbcdel from "~/model/Dbcdel";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Dbcdel/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Dbcdel/Default" import Check from "~/model/Dbcdel/Check";
import Pattern from "~/model/Dbcdel/Pattern" import Default from "~/model/Dbcdel/Default";
import Selection from "./Selection" import Pattern from "~/model/Dbcdel/Pattern";
import Basp from "./Basp" import Selection from "./Selection";
import Dclp from "./Dclp" import Basp from "./Basp";
import Vrfp from "./Vrfp" import Dclp from "./Dclp";
import Vrfp from "./Vrfp";
export default { export default {
name: "Dbcdel", name: "Dbcdel",
components:{ components: {
"m-selection" : Selection, "m-selection": Selection,
"m-basp" : Basp, "m-basp": Basp,
"m-dclp" : Dclp, "m-dclp": Dclp,
"m-vrfp" : Vrfp, "m-vrfp": Vrfp,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "selection",
trnName: "dbcdel", trnName: "dbcdel",
trnType: "",
model: new Dbcdel().data, model: new Dbcdel().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入dbcdel交易"); console.log("进入dbcdel交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
} this.restoreDisplay();
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -4,12 +4,23 @@ ...@@ -4,12 +4,23 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno"> <el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-fullbox>
<c-input <c-input
v-model="model.recgrp.bas.rptno" v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码" placeholder="请输入申报号码"
disabled disabled
></c-input> ></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
:disabled="model.recgrp.bas.rptno!=''"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -30,7 +41,7 @@ ...@@ -30,7 +41,7 @@
v-model="model.recgrp.bas.ownextkey" v-model="model.recgrp.bas.ownextkey"
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:code="codes.ownextkey3" :code="codes.ownextkey"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -45,7 +56,7 @@ ...@@ -45,7 +56,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人类型" prop="recgrp.bas.custype"> <el-form-item label="款人类型" prop="recgrp.bas.custype">
<c-select <c-select
v-model="model.recgrp.bas.custype" v-model="model.recgrp.bas.custype"
style="width: 100%" style="width: 100%"
...@@ -56,25 +67,25 @@ ...@@ -56,25 +67,25 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.custnm"> <el-form-item label="款人名称" prop="recgrp.bas.custnm">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.recgrp.bas.custnm" v-model="model.recgrp.bas.custnm"
maxlength="63" maxlength="63"
show-word-limit show-word-limit
placeholder="请输入款人名称" placeholder="请输入款人名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser"> <el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.recgrp.bas.oppuser" v-model="model.recgrp.bas.oppuser"
maxlength="63" maxlength="63"
show-word-limit show-word-limit
placeholder="请输入款人名称" placeholder="请输入款人名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -114,43 +125,56 @@ ...@@ -114,43 +125,56 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="款币种及金额" prop="recgrp.bas.txccy"> <el-form-item label="收入款币种及金额" prop="recgrp.bas.txccy">
<c-select <c-select
v-model="model.recgrp.bas.txccy" v-model="model.recgrp.bas.txccy"
style="width: 100%" style="width: 100%"
placeholder="请选择款币种及金额" placeholder="请选择收入款币种及金额"
:code="codes.curtxt1" :code="codes.curtxt1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px"> <el-form-item
label=""
prop="recgrp.bas.txamt"
label-width="5px"
>
<c-input <c-input
v-model="model.recgrp.bas.txamt" v-model="model.recgrp.bas.txamt"
placeholder="请输入款币种及金额" placeholder="请输入收入款币种及金额"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy"> <el-form-item
label="实付款币种及金额"
prop="recgrp.bas.actuccy"
>
<c-select <c-select
v-model="model.recgrp.bas.actuccy" v-model="model.recgrp.bas.actuccy"
style="width: 100%" style="width: 100%"
placeholder="请选择实际付款币种及金额" placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px"> <el-form-item
label=""
prop="recgrp.bas.actuamt"
label-width="5px"
>
<c-input <c-input
v-model="model.recgrp.bas.actuamt" v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额" placeholder="请输入实际付款币种及金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -178,7 +202,7 @@ ...@@ -178,7 +202,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col> -->
</c-col> </c-col>
<!----------右边------------> <!----------右边------------>
...@@ -214,7 +238,6 @@ ...@@ -214,7 +238,6 @@
v-model="model.recgrp.bas.custcod" v-model="model.recgrp.bas.custcod"
maxlength="18" maxlength="18"
placeholder="请输入组织机构代码" placeholder="请输入组织机构代码"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-checkbox <c-checkbox
...@@ -230,15 +253,18 @@ ...@@ -230,15 +253,18 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate"> <el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<c-input <c-input
v-model="model.recgrp.bas.exrate" v-model="model.recgrp.bas.exrate"
placeholder="请输入汇汇率" placeholder="请输入汇汇率"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc"> <el-form-item
label="人民币帐号/银行卡号"
prop="recgrp.bas.lcyacc"
>
<c-input <c-input
v-model="model.recgrp.bas.lcyacc" v-model="model.recgrp.bas.lcyacc"
maxlength="32" maxlength="32"
...@@ -267,11 +293,14 @@ ...@@ -267,11 +293,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy"> <el-form-item
label="国内银行扣费"
prop="recgrp.bas.inchargeccy"
>
<c-select <c-select
v-model="model.recgrp.bas.outchargeccy" v-model="model.recgrp.bas.inchargeccy"
style="width: 100%" style="width: 100%"
placeholder="请选择扣费币种及金额" placeholder="请选择国内银行扣费"
:code="codes.curtxt1" :code="codes.curtxt1"
> >
</c-select> </c-select>
...@@ -281,18 +310,18 @@ ...@@ -281,18 +310,18 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
label="" label=""
prop="recgrp.bas.outchargeamt" prop="recgrp.bas.inchargeamt"
label-width="5px" label-width="5px"
> >
<c-input <c-input
v-model="model.recgrp.bas.outchargeamt" v-model="model.recgrp.bas.inchargeamt"
placeholder="请输入扣费币种及金额" placeholder="请输入扣费币种及金额"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor"> <el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input <c-input
v-model="model.recgrp.bas.tenor" v-model="model.recgrp.bas.tenor"
...@@ -300,7 +329,7 @@ ...@@ -300,7 +329,7 @@
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000015 : 收付汇日期 --> <!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat"> <el-form-item label="收付汇日期" 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> <c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span> <c-checkbox
</c-col> disabled :checked="true"
v-model="model.bopbut.basflg"
<c-col :span="12"> >基础数据</c-checkbox
<el-form-item label="款项标志" prop="bopbut.acttyp"> >
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <!-- ======================= 右边 ========================= -->
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp"> <c-col :span="12" style="padding-left: 20px">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'"> <c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </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>
</div> </div>
</template> </template>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</el-tab-pane> </el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 --> <!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane <el-tab-pane
label="对外付款/承兑通知书-基础信息" label="境内收入申报单-基础信息"
name="basp" name="basp"
v-if="model.bopbut.basflg" v-if="model.bopbut.basflg"
> >
...@@ -48,6 +48,7 @@ import Api from "~/service/Api"; ...@@ -48,6 +48,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Dbdadd from "~/model/Dbdadd"; import Dbdadd from "~/model/Dbdadd";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbdadd/Check"; import Check from "~/model/Dbdadd/Check";
import Default from "~/model/Dbdadd/Default"; import Default from "~/model/Dbdadd/Default";
import Pattern from "~/model/Dbdadd/Pattern"; import Pattern from "~/model/Dbdadd/Pattern";
...@@ -67,7 +68,7 @@ export default { ...@@ -67,7 +68,7 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "selection", tabVal: "selection",
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<el-form-item label="申报号码" prop="recgrp.bas.rptno"> <el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input <c-input
v-model="model.recgrp.bas.rptno" v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码" placeholder="请输入申报号码"
disabled disabled
></c-input> ></c-input>
...@@ -30,7 +29,7 @@ ...@@ -30,7 +29,7 @@
v-model="model.recgrp.bas.ownextkey" v-model="model.recgrp.bas.ownextkey"
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:code="codes.ownextkey3" disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -45,36 +44,37 @@ ...@@ -45,36 +44,37 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人类型" prop="recgrp.bas.custype"> <el-form-item label="款人类型" prop="recgrp.bas.custype">
<c-select <c-select
v-model="model.recgrp.bas.custype" v-model="model.recgrp.bas.custype"
style="width: 100%" style="width: 100%"
placeholder="请选择类型" placeholder="请选择类型"
:code="codes.custype" :code="codes.custype"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.custnm"> <el-form-item label="款人名称" prop="recgrp.bas.custnm">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.recgrp.bas.custnm" v-model="model.recgrp.bas.custnm"
maxlength="63" maxlength="63"
show-word-limit show-word-limit
placeholder="请输入款人名称" placeholder="请输入款人名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser"> <el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.recgrp.bas.oppuser" v-model="model.recgrp.bas.oppuser"
maxlength="63" maxlength="63"
show-word-limit show-word-limit
placeholder="请输入款人名称" placeholder="请输入款人名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -85,6 +85,7 @@ ...@@ -85,6 +85,7 @@
v-model="model.recgrp.bas.idcode" v-model="model.recgrp.bas.idcode"
maxlength="32" maxlength="32"
placeholder="请输入身份证件号码" placeholder="请输入身份证件号码"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -114,43 +115,56 @@ ...@@ -114,43 +115,56 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="款币种及金额" prop="recgrp.bas.txccy"> <el-form-item label="收入款币种及金额" prop="recgrp.bas.txccy">
<c-select <c-select
v-model="model.recgrp.bas.txccy" v-model="model.recgrp.bas.txccy"
style="width: 100%" style="width: 100%"
placeholder="请选择款币种及金额" placeholder="请选择收入款币种及金额"
:code="codes.curtxt1" :code="codes.curtxt1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px"> <el-form-item
label=""
prop="recgrp.bas.txamt"
label-width="5px"
>
<c-input <c-input
v-model="model.recgrp.bas.txamt" v-model="model.recgrp.bas.txamt"
placeholder="请输入款币种及金额" placeholder="请输入收入款币种及金额"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy"> <el-form-item
label="实付款币种及金额"
prop="recgrp.bas.actuccy"
>
<c-select <c-select
v-model="model.recgrp.bas.actuccy" v-model="model.recgrp.bas.actuccy"
style="width: 100%" style="width: 100%"
placeholder="请选择实际付款币种及金额" placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px"> <el-form-item
label=""
prop="recgrp.bas.actuamt"
label-width="5px"
>
<c-input <c-input
v-model="model.recgrp.bas.actuamt" v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额" placeholder="请输入实际付款币种及金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -178,7 +192,7 @@ ...@@ -178,7 +192,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col> -->
</c-col> </c-col>
<!----------右边------------> <!----------右边------------>
...@@ -192,7 +206,6 @@ ...@@ -192,7 +206,6 @@
show-word-limit show-word-limit
placeholder="请输入操作类型" placeholder="请输入操作类型"
:rows="7" :rows="7"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -219,7 +232,6 @@ ...@@ -219,7 +232,6 @@
<template slot="footer"> <template slot="footer">
<c-checkbox <c-checkbox
v-model="model.recp.baspp.acp" v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;" style="margin-left: 10px;"
>确认</c-checkbox >确认</c-checkbox
> >
...@@ -230,15 +242,18 @@ ...@@ -230,15 +242,18 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate"> <el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<c-input <c-input
v-model="model.recgrp.bas.exrate" v-model="model.recgrp.bas.exrate"
placeholder="请输入汇汇率" placeholder="请输入汇汇率"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc"> <el-form-item
label="人民币帐号/银行卡号"
prop="recgrp.bas.lcyacc"
>
<c-input <c-input
v-model="model.recgrp.bas.lcyacc" v-model="model.recgrp.bas.lcyacc"
maxlength="32" maxlength="32"
...@@ -267,11 +282,14 @@ ...@@ -267,11 +282,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy"> <el-form-item
label="国内银行扣费"
prop="recgrp.bas.inchargeccy"
>
<c-select <c-select
v-model="model.recgrp.bas.outchargeccy" v-model="model.recgrp.bas.inchargeccy"
style="width: 100%" style="width: 100%"
placeholder="请选择扣费币种及金额" placeholder="请选择国内银行扣费"
:code="codes.curtxt1" :code="codes.curtxt1"
> >
</c-select> </c-select>
...@@ -281,18 +299,18 @@ ...@@ -281,18 +299,18 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
label="" label=""
prop="recgrp.bas.outchargeamt" prop="recgrp.bas.inchargeamt"
label-width="5px" label-width="5px"
> >
<c-input <c-input
v-model="model.recgrp.bas.outchargeamt" v-model="model.recgrp.bas.inchargeamt"
placeholder="请输入扣费币种及金额" placeholder="请输入扣费币种及金额"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor"> <el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input <c-input
v-model="model.recgrp.bas.tenor" v-model="model.recgrp.bas.tenor"
...@@ -300,7 +318,7 @@ ...@@ -300,7 +318,7 @@
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000015 : 收付汇日期 --> <!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat"> <el-form-item label="收付汇日期" 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> <c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span> <c-checkbox
</c-col> disabled :checked="true"
v-model="model.bopbut.basflg"
<c-col :span="12"> >基础数据</c-checkbox
<el-form-item label="款项标志" prop="bopbut.acttyp"> >
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <!-- ======================= 右边 ========================= -->
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp"> <c-col :span="12" style="padding-left: 20px">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'"> <c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </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>
</div> </div>
</template> </template>
...@@ -119,3 +64,4 @@ export default { ...@@ -119,3 +64,4 @@ export default {
<style> <style>
</style> </style>
\ No newline at end of file
<template> <template>
<div class="eContainer"> <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="境内收入申报单(删除)">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-form
<!--dbdp PD000000 境内收入申报单-基础信息 --> :model="model"
<el-tab-pane :label="$t('dbdp.PD000000')" name="basp"> :rules="rules"
<m-basp :model="model" :codes="codes"/> ref="modelForm"
</el-tab-pane> label-width="120px"
<!--dbdp PD000002 境内收入申报单-管理信息 --> label-position="right"
<el-tab-pane :label="$t('dbdp.PD000002')" name="vrfp"> size="small"
<m-vrfp :model="model" :codes="codes"/> :validate-on-rule-change="false"
</el-tab-pane> >
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 --> <!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection"> <el-tab-pane label="接口数据" name="selection">
<m-selection :model="model" :codes="codes"/> <c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane
label="境内收入申报单-基础信息"
name="basp"
v-if="model.bopbut.basflg"
>
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Dbdame from "~/model/Dbdame" import Dbdame from "~/model/Dbdame";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Dbdame/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Dbdame/Default" import Check from "~/model/Dbdame/Check";
import Pattern from "~/model/Dbdame/Pattern" import Default from "~/model/Dbdame/Default";
import Basp from "./Basp" import Pattern from "~/model/Dbdame/Pattern";
import Vrfp from "./Vrfp" import Basp from "./Basp";
import Selection from "./Selection" import Vrfp from "./Vrfp";
import Selection from "./Selection";
export default { export default {
name: "Dbdame", name: "Dbdame",
components:{ components: {
"m-basp" : Basp, "m-basp": Basp,
"m-vrfp" : Vrfp, "m-vrfp": Vrfp,
"m-selection" : Selection, "m-selection": Selection,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "selection",
trnName: "dbdame", trnName: "dbdame",
trnType: "",
model: new Dbdame().data, model: new Dbdame().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入dbdame交易"); console.log("进入dbdame交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
} }
else } else {
{ this.$notify.error({ title: "错误", message: "服务请求失败!" });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} };
</script> </script>
<style> <style>
</style> </style>
...@@ -4,12 +4,23 @@ ...@@ -4,12 +4,23 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno"> <el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-fullbox>
<c-input <c-input
v-model="model.recgrp.bas.rptno" v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码" placeholder="请输入申报号码"
disabled disabled
></c-input> ></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
:disabled="model.recgrp.bas.rptno!=''"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -30,7 +41,7 @@ ...@@ -30,7 +41,7 @@
v-model="model.recgrp.bas.ownextkey" v-model="model.recgrp.bas.ownextkey"
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:code="codes.ownextkey3" disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -41,40 +52,44 @@ ...@@ -41,40 +52,44 @@
v-model="model.recgrp.bas.buscode" v-model="model.recgrp.bas.buscode"
maxlength="22" maxlength="22"
placeholder="请输入银行业务编号" placeholder="请输入银行业务编号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人类型" prop="recgrp.bas.custype"> <el-form-item label="款人类型" prop="recgrp.bas.custype">
<c-select <c-select
v-model="model.recgrp.bas.custype" v-model="model.recgrp.bas.custype"
style="width: 100%" style="width: 100%"
placeholder="请选择类型" placeholder="请选择类型"
:code="codes.custype" :code="codes.custype"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.custnm"> <el-form-item label="款人名称" prop="recgrp.bas.custnm">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.recgrp.bas.custnm" v-model="model.recgrp.bas.custnm"
maxlength="63" maxlength="63"
show-word-limit show-word-limit
placeholder="请输入付款人名称" placeholder="请输入收款人名称"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser"> <el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.recgrp.bas.oppuser" v-model="model.recgrp.bas.oppuser"
maxlength="63" maxlength="63"
show-word-limit show-word-limit
placeholder="请输入收款人名称" placeholder="请输入付款人名称"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -85,6 +100,7 @@ ...@@ -85,6 +100,7 @@
v-model="model.recgrp.bas.idcode" v-model="model.recgrp.bas.idcode"
maxlength="32" maxlength="32"
placeholder="请输入身份证件号码" placeholder="请输入身份证件号码"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -93,6 +109,7 @@ ...@@ -93,6 +109,7 @@
<c-input <c-input
v-model="model.recgrp.bas.lcyamt" v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额" placeholder="请输入购汇金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -101,6 +118,7 @@ ...@@ -101,6 +118,7 @@
<c-input <c-input
v-model="model.recgrp.bas.fcyamt" v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额" placeholder="请输入现汇金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -109,48 +127,64 @@ ...@@ -109,48 +127,64 @@
<c-input <c-input
v-model="model.recgrp.bas.othamt" v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额" placeholder="请输入其它金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="款币种及金额" prop="recgrp.bas.txccy"> <el-form-item label="收入款币种及金额" prop="recgrp.bas.txccy">
<c-select <c-select
v-model="model.recgrp.bas.txccy" v-model="model.recgrp.bas.txccy"
style="width: 100%" style="width: 100%"
placeholder="请选择款币种及金额" placeholder="请选择收入款币种及金额"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px"> <el-form-item
label=""
prop="recgrp.bas.txamt"
label-width="5px"
>
<c-input <c-input
v-model="model.recgrp.bas.txamt" v-model="model.recgrp.bas.txamt"
placeholder="请输入付款币种及金额" placeholder="请输入收入款币种及金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy"> <el-form-item
label="实付款币种及金额"
prop="recgrp.bas.actuccy"
>
<c-select <c-select
v-model="model.recgrp.bas.actuccy" v-model="model.recgrp.bas.actuccy"
style="width: 100%" style="width: 100%"
placeholder="请选择实际付款币种及金额" placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px"> <el-form-item
label=""
prop="recgrp.bas.actuamt"
label-width="5px"
>
<c-input <c-input
v-model="model.recgrp.bas.actuamt" v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额" placeholder="请输入实际付款币种及金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -178,7 +212,7 @@ ...@@ -178,7 +212,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col> -->
</c-col> </c-col>
<!----------右边------------> <!----------右边------------>
...@@ -192,7 +226,6 @@ ...@@ -192,7 +226,6 @@
show-word-limit show-word-limit
placeholder="请输入操作类型" placeholder="请输入操作类型"
:rows="7" :rows="7"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -203,6 +236,7 @@ ...@@ -203,6 +236,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.methods"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -230,19 +264,24 @@ ...@@ -230,19 +264,24 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate"> <el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<c-input <c-input
v-model="model.recgrp.bas.exrate" v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率" placeholder="请输入结汇汇率"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc"> <el-form-item
label="人民币帐号/银行卡号"
prop="recgrp.bas.lcyacc"
>
<c-input <c-input
v-model="model.recgrp.bas.lcyacc" v-model="model.recgrp.bas.lcyacc"
maxlength="32" maxlength="32"
placeholder="请输入人民币帐号/银行卡号" placeholder="请输入人民币帐号/银行卡号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -252,6 +291,7 @@ ...@@ -252,6 +291,7 @@
v-model="model.recgrp.bas.fcyacc" v-model="model.recgrp.bas.fcyacc"
maxlength="32" maxlength="32"
placeholder="请输入外汇帐号/银行卡号" placeholder="请输入外汇帐号/银行卡号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -261,18 +301,23 @@ ...@@ -261,18 +301,23 @@
v-model="model.recgrp.bas.othacc" v-model="model.recgrp.bas.othacc"
maxlength="32" maxlength="32"
placeholder="请输入其它帐号/银行卡号" placeholder="请输入其它帐号/银行卡号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy"> <el-form-item
label="国内银行扣费"
prop="recgrp.bas.inchargeccy"
>
<c-select <c-select
v-model="model.recgrp.bas.outchargeccy" v-model="model.recgrp.bas.inchargeccy"
style="width: 100%" style="width: 100%"
placeholder="请选择扣费币种及金额" placeholder="请选择国内银行扣费"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -281,18 +326,19 @@ ...@@ -281,18 +326,19 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
label="" label=""
prop="recgrp.bas.outchargeamt" prop="recgrp.bas.inchargeamt"
label-width="5px" label-width="5px"
> >
<c-input <c-input
v-model="model.recgrp.bas.outchargeamt" v-model="model.recgrp.bas.inchargeamt"
placeholder="请输入扣费币种及金额" placeholder="请输入扣费币种及金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor"> <el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input <c-input
v-model="model.recgrp.bas.tenor" v-model="model.recgrp.bas.tenor"
...@@ -300,7 +346,7 @@ ...@@ -300,7 +346,7 @@
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000015 : 收付汇日期 --> <!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat"> <el-form-item label="收付汇日期" 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> <c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span> <c-checkbox
</c-col> disabled :checked="true"
v-model="model.bopbut.basflg"
<c-col :span="12"> >基础数据</c-checkbox
<el-form-item label="款项标志" prop="bopbut.acttyp"> >
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <!-- ======================= 右边 ========================= -->
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp"> <c-col :span="12" style="padding-left: 20px">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'"> <c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </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>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eContainer"> <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="境内收入申报单(删除)">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-form
<!--dbdp PD000000 境内收入申报单-基础信息 --> :model="model"
<el-tab-pane :label="$t('dbdp.PD000000')" name="basp"> :rules="rules"
<m-basp :model="model" :codes="codes"/> ref="modelForm"
</el-tab-pane> label-width="120px"
<!--dbdp PD000002 境内收入申报单-管理信息 --> label-position="right"
<el-tab-pane :label="$t('dbdp.PD000002')" name="vrfp"> size="small"
<m-vrfp :model="model" :codes="codes"/> :validate-on-rule-change="false"
</el-tab-pane> >
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 --> <!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection"> <el-tab-pane label="接口数据" name="selection">
<m-selection :model="model" :codes="codes"/> <c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane
label="境内收入申报单-基础信息"
name="basp"
v-if="model.bopbut.basflg"
>
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
...@@ -23,6 +48,7 @@ import Api from "~/service/Api" ...@@ -23,6 +48,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Dbddel from "~/model/Dbddel" import Dbddel from "~/model/Dbddel"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbddel/Check" import Check from "~/model/Dbddel/Check"
import Default from "~/model/Dbddel/Default" import Default from "~/model/Dbddel/Default"
import Pattern from "~/model/Dbddel/Pattern" import Pattern from "~/model/Dbddel/Pattern"
...@@ -43,18 +69,18 @@ export default { ...@@ -43,18 +69,18 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "selection",
trnName: "dbddel", trnName: "dbddel",
trnType: "",
model: new Dbddel().data, model: new Dbddel().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable
}, },
} }
}, },
...@@ -72,7 +98,11 @@ export default { ...@@ -72,7 +98,11 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑、
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人类型" prop="recgrp.bas.custype"> <el-form-item label="款人类型" prop="recgrp.bas.custype">
<c-select <c-select
v-model="model.recgrp.bas.custype" v-model="model.recgrp.bas.custype"
style="width: 100%" style="width: 100%"
...@@ -69,26 +69,26 @@ ...@@ -69,26 +69,26 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.custnm"> <el-form-item label="款人名称" prop="recgrp.bas.custnm">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.recgrp.bas.custnm" v-model="model.recgrp.bas.custnm"
maxlength="63" maxlength="63"
show-word-limit show-word-limit
placeholder="请输入款人名称" placeholder="请输入款人名称"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser"> <el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.recgrp.bas.oppuser" v-model="model.recgrp.bas.oppuser"
maxlength="63" maxlength="63"
show-word-limit show-word-limit
placeholder="请输入款人名称" placeholder="请输入款人名称"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -133,11 +133,11 @@ ...@@ -133,11 +133,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="款币种及金额" prop="recgrp.bas.txccy"> <el-form-item label="收入款币种及金额" prop="recgrp.bas.txccy">
<c-select <c-select
v-model="model.recgrp.bas.txccy" v-model="model.recgrp.bas.txccy"
style="width: 100%" style="width: 100%"
placeholder="请选择款币种及金额" placeholder="请选择收入款币种及金额"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled disabled
> >
...@@ -152,13 +152,13 @@ ...@@ -152,13 +152,13 @@
> >
<c-input <c-input
v-model="model.recgrp.bas.txamt" v-model="model.recgrp.bas.txamt"
placeholder="请输入款币种及金额" placeholder="请输入收入款币种及金额"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item <el-form-item
label="实付款币种及金额" label="实付款币种及金额"
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col> -->
</c-col> </c-col>
<!----------右边------------> <!----------右边------------>
...@@ -265,10 +265,10 @@ ...@@ -265,10 +265,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate"> <el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<c-input <c-input
v-model="model.recgrp.bas.exrate" v-model="model.recgrp.bas.exrate"
placeholder="请输入汇汇率" placeholder="请输入汇汇率"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -310,13 +310,13 @@ ...@@ -310,13 +310,13 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item <el-form-item
label="扣费币种及金额" label="国内银行扣费"
prop="recgrp.bas.outchargeccy" prop="recgrp.bas.inchargeccy"
> >
<c-select <c-select
v-model="model.recgrp.bas.outchargeccy" v-model="model.recgrp.bas.inchargeccy"
style="width: 100%" style="width: 100%"
placeholder="请选择扣费币种及金额" placeholder="请选择国内银行扣费"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled disabled
> >
...@@ -327,11 +327,11 @@ ...@@ -327,11 +327,11 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
label="" label=""
prop="recgrp.bas.outchargeamt" prop="recgrp.bas.inchargeamt"
label-width="5px" label-width="5px"
> >
<c-input <c-input
v-model="model.recgrp.bas.outchargeamt" v-model="model.recgrp.bas.inchargeamt"
placeholder="请输入扣费币种及金额" placeholder="请输入扣费币种及金额"
disabled disabled
></c-input> ></c-input>
...@@ -339,7 +339,7 @@ ...@@ -339,7 +339,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor"> <el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input <c-input
v-model="model.recgrp.bas.tenor" v-model="model.recgrp.bas.tenor"
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
</div> </div>
</template> </template>
......
...@@ -35,6 +35,7 @@ import Api from "~/service/Api" ...@@ -35,6 +35,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Dbdinf from "~/model/Dbdinf" import Dbdinf from "~/model/Dbdinf"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbdinf/Check" import Check from "~/model/Dbdinf/Check"
import Default from "~/model/Dbdinf/Default" import Default from "~/model/Dbdinf/Default"
import Pattern from "~/model/Dbdinf/Pattern" import Pattern from "~/model/Dbdinf/Pattern"
...@@ -55,7 +56,7 @@ export default { ...@@ -55,7 +56,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "selection", tabVal: "selection",
...@@ -85,6 +86,9 @@ export default { ...@@ -85,6 +86,9 @@ export default {
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else
......
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