Commit b9b70465 by taojinrui

cptati,cptato修改

parent faf2da8f
......@@ -20,7 +20,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -68,44 +67,14 @@
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
@keyup.enter.native="
defaultFunction('cpdgrp.cbs.nom1.amt',model.cpdgrp.cbs.nom1.amt)
defaultFunction(
'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt
)
"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="是否需要核验" prop="cpdgrp.rec.ischktyp">
<c-select
v-model="model.cpdgrp.rec.ischktyp"
style="width: 100%"
placeholder="请选择是否需要核验"
>
<el-option
v-for="item in codes.ischktyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="预计核验日期" prop="cpdgrp.rec.prechkdat">
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.prechkdat"
style="width: 100%"
placeholder="请选择PRECHKDAT"
:disabled="model.cpdgrp.rec.ischktyp == ''"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
......@@ -167,7 +136,6 @@
style="width: 100%"
placeholder="请选择业务种类"
>
<!-- 使用busflg,bustyp不符 -->
<el-option
v-for="item in codes.busflg"
:key="item.value"
......@@ -202,14 +170,12 @@
filterable
style="width: 100%"
placeholder="付款人常驻国家/地区代码"
@keyup.enter.native="
showGridPromptDialog('attp.country')
"
@keyup.enter.native="showGridPromptDialog('attp.country')"
>
</c-input>
</el-form-item>
</c-col>
<!-- 还有一个按钮 -->
<c-col :span="2">
<c-button
size="small"
......@@ -329,10 +295,9 @@
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
详情
</c-button>
</c-col>
</c-col>
......@@ -352,6 +317,7 @@
</c-col>
</c-col>
</c-col>
<!-- ===============================右边============================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
......@@ -446,7 +412,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="起息日期" prop="attp.opndat">
<el-form-item label="解付日期" prop="attp.opndat">
<c-date-picker
type="date"
v-model="model.attp.opndat"
......@@ -514,9 +480,9 @@
</el-form-item>
</c-col>
<c-col :span="10" offset="2" style="text-align: right">
<c-checkbox
v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox>
<c-checkbox v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox
>
</c-col>
</c-row>
</c-col>
......@@ -528,6 +494,7 @@
v-model="model.attp.resbchnam"
maxlength="42"
placeholder="请输入接收行名称"
disabled
@keyup.enter.native="showGridPromptDialog('attp.resbchnam')"
></c-input>
</el-form-item>
......@@ -572,6 +539,9 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-button type="primary">查询客户号</c-button>
</c-col>
</c-col>
<c-col :span="24">
......@@ -620,6 +590,7 @@
size="small"
type="primary"
style="margin: 0 0"
disabled
@click="onPyepDet"
>
详情
......@@ -1001,39 +972,33 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptati/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
data() {
return {};
},
methods: { ...Event },
created: function () {},
computed: {
flag() {
return this.model.cpdgrp.orc.pts.extkey == "";
},
flag1(){
if(this.model.attp.swftyp == "200"){
flag1() {
if (this.model.attp.swftyp == "200") {
return true;
}
else{
} else {
return false;
}
}
},
}
},
};
</script>
<style>
</style>
......@@ -25,7 +25,7 @@
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
label=""
prop="cpdgrp.ori.pts.extkey"
>
<c-input
......@@ -72,46 +72,10 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="名称" prop="cpdgrp.ori.namelc">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.pyb.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.pyb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址" prop="cpdgrp.ori.adrelc">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
label="Intermediary/Account(Tag56a)"
prop="cpdgrp.med.pts.extkey"
>
<c-input
......@@ -154,6 +118,7 @@
show-word-limit
placeholder="请输入Address Block"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -161,7 +126,7 @@
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
label="Account with Institution/Account(Tag 57a)"
prop="cpdgrp.rmt.pts.extkey"
>
<c-input
......@@ -203,6 +168,7 @@
show-word-limit
placeholder="请输入Address Block"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -229,18 +195,6 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="attp.pybp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.attp.pybp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-fullbox>
<el-form-item
......@@ -264,8 +218,7 @@
icon="el-icon-search"
>
</c-button>
<!-- </c-col> -->
<!-- <c-col :span="12"> -->
<c-button
style="margin: 0 0"
size="small"
......@@ -287,34 +240,12 @@
show-word-limit
placeholder="请输入Address Block"
rows="4"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="名称" prop="cpdgrp.pyb.namelc">
<c-input
type="textarea"
v-model="model.cpdgrp.pyb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Chinese address" prop="cpdgrp.ori.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.cpdgrp.ori.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="附言" prop="attp.commet">
<c-input
type="textarea"
......@@ -323,14 +254,14 @@
show-word-limit
placeholder="请输入附言"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Account with Institution / Account (Tag 57a)"
label="附言72(102)"
prop="attp.com102"
>
<c-input
......@@ -340,6 +271,7 @@
show-word-limit
placeholder="请输入Account with Institution / Account (Tag 57a)"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="11">
<c-col :span="24">
<c-col :span="11">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
<c-select
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
>
<el-option
v-for="item in codes.szflg"
:key="item.value"
......@@ -18,7 +22,11 @@
<c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源">
<c-select
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择款项来源"
>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
......@@ -31,22 +39,40 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<c-select
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
>
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
</c-col>
<c-col :span="15">
<c-col :span="12">
<el-form-item label="国外银行扣费(涉外收入申报专用)" label-width="60%">
<c-select v-model="model.bopmod.outchargeccy" style="width:95%" placeholder="请选择国外银行扣费(涉外收入申报专用)" :disabled="true">
<el-form-item
label="国外银行扣费(涉外收入申报专用)"
label-width="60%"
>
<c-select
v-model="model.bopmod.outchargeccy"
style="width: 95%"
placeholder="请选择国外银行扣费(涉外收入申报专用)"
:disabled="true"
>
<el-option
v-for="item in outchargeccy"
:key="item.value"
......@@ -58,15 +84,22 @@
</c-col>
<c-col :span="12">
<c-input-currency v-model="model.bopmod.outchargeamt"
style="text-align: right;"
<c-input-currency
v-model="model.bopmod.outchargeamt"
style="text-align: right"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
:disabled="!model.bopmod.basflg || model.bopmod.szflg === '2' || model.bopmod.szflg === '3' "
@keyup.enter.native="defaultFunction('bopmod.outchargeamt', model.bopmod.outchargeamt)"
:disabled="
!model.bopmod.basflg ||
model.bopmod.szflg === '2' ||
model.bopmod.szflg === '3'
"
@keyup.enter.native="
defaultFunction('bopmod.outchargeamt', model.bopmod.outchargeamt)
"
></c-input-currency>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)">
......@@ -80,11 +113,6 @@
</el-form-item>
</c-col> -->
<c-col :span="11" offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
<!-- <c-col :span="24">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
......@@ -92,7 +120,7 @@
<c-col :span="24">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col> -->
</c-col>
<!--
<c-col :span="12">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
......@@ -142,26 +170,21 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptati/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -56,7 +56,7 @@
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane
label="外汇款申请书-基础信息"
label="外汇款申请书-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
......
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