Commit 808b3210 by Wuyuqiu

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

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