Commit 0d4acfe9 by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 68b15357 0249ff56
<template>
<c-row>
<div>
<!-- top -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
......@@ -297,7 +297,7 @@
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
......
<template>
<c-row>
<div>
<!-- left -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="22">
<c-form-item label="不符点描述" prop="btdgrp.blk.docdis">
<c-input
......@@ -35,9 +35,43 @@
...
</c-button>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="不符点描述" prop="btdgrp.blk.docdis">
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.docdis"
maxlength="65"
show-word-limit
placeholder="请输入不符点描述"
rows="4"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
style="margin-left: 10px"
class="point"
icon="el-icon-search"
@click="
showGridPromptDialog(
'bttp.docdis.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="22">
<el-form-item label="国内不符点描述" prop="btdgrp.blk.intdis">
<c-input
......@@ -70,9 +104,43 @@
...
</c-button>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="国内不符点描述" prop="btdgrp.blk.intdis">
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.intdis"
maxlength="65"
show-word-limit
placeholder="请输入国内不符点描述"
rows="4"
></c-input>
<template slot="footer">
<c-button
size="small"
class="point"
type="primary"
style="margin-left:10px"
icon="el-icon-search"
@click="
showGridPromptDialog(
'bttp.intdis.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="22">
<el-form-item label="评论和结论" prop="btdgrp.blk.comcon">
<c-input
......@@ -105,8 +173,43 @@
...
</c-button>
</c-col>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="评论和结论" prop="btdgrp.blk.comcon">
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.comcon"
maxlength="65"
show-word-limit
placeholder="请输入评论和结论"
rows="2"
></c-input>
<template slot="footer">
<c-button
size="small"
class="point"
type="primary"
style="margin-left: 10px"
icon="el-icon-search"
@click="
showGridPromptDialog(
'bttp.comcon.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.comcon' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-col :span="22">
<el-form-item
label="本单据结算说明"
......@@ -143,6 +246,43 @@
...
</c-button>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item
label="本单据结算说明"
prop="btdgrp.blk.setinsbt"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.setinsbt"
maxlength="65"
show-word-limit
placeholder="请输入本单据结算说明"
rows="4"
></c-input>
<template slot="footer">
<c-button
size="small"
class="point"
type="primary"
style="margin-left: 10px"
icon="el-icon-search"
@click="
showGridPromptDialog(
'bttp.setins.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.setinsbt' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -157,7 +297,7 @@
></c-docpre>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-docpre
:model="model"
rol="docgrdmbe1"
......@@ -167,15 +307,17 @@
code: 'docpre',
}"
></c-docpre>
</c-col>
</c-col> -->
</c-col>
<!-- right -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox v-model="model.btdgrp.blk.docdisflg" disabled
>不符点描述修改</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -191,13 +333,17 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox v-model="model.btdgrp.rec.approvcod"
>不符点寄单</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox v-model="model.bttp.cre752flg">收到开证行的MT752报文的状态登记</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -226,26 +372,45 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox v-model="model.btdsnd.snd732" disabled
>创建732报文</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-docpre
style="margin-top: 14px"
:model="model"
rol="docgrdmbe1"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
></c-docpre>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox v-model="model.rmbclmlate"
>后期索汇</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="" class="checkbox-left">
<c-checkbox
v-model="model.rmbclmnow"
:disabled="model.rmbclmlate !== ''"
>即期索汇</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
......
......@@ -206,7 +206,7 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="新受益人参考号" prop="btdgrp.blk.benref">
<c-input
type="textarea"
......@@ -217,6 +217,47 @@
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="手续费" prop="btdgrp.rec.lescom">
<c-input
v-model="model.btdgrp.rec.lescom"
placeholder="请输入手续费"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item
label="给第一受益人的指示"
prop="btdgrp.blk.be1ins"
>
<c-input
type="textarea"
v-model="model.btdgrp.blk.be1ins"
maxlength="65"
show-word-limit
placeholder="请输入给第一受益人的指示"
rows="4"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item
label="给第二受益人的指示"
prop="btdgrp.blk.be2ins"
>
<c-input
type="textarea"
v-model="model.btdgrp.blk.be2ins"
maxlength="65"
show-word-limit
placeholder="请输入给第二受益人的指示"
rows="4"
disabled
></c-input>
</c-form-item>
</c-col>
......@@ -261,15 +302,147 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第一受益人参考号" prop="btdgrp.be1.pts.ref">
<c-input
v-model="model.btdgrp.be1.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入第一受益人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam" label-width="120px">
<c-input
v-model="model.btdgrp.be1.pts.nam"
maxlength="40"
style="width: 100%"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第二受益人参考号" prop="btdgrp.be2.pts.ref">
<c-input
v-model="model.btdgrp.be2.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入第二受益人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam" label-width="120px">
<c-input
v-model="model.btdgrp.be2.pts.nam"
maxlength="40"
style="width: 100%"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单行参考号" prop="btdgrp.prb.pts.ref">
<c-input
v-model="model.btdgrp.prb.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入寄单行参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.prb.pts.nam" label-width="120px">
<c-input
v-model="model.btdgrp.prb.pts.nam"
maxlength="40"
style="width: 100%"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="交单行的名称及地址" prop="btdgrp.rec.docprbrol">
<c-select
v-model="model.btdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行的名称及地址"
:code="codes.rolall"
@change="selectOrCheckboxRule('btdgrp.rec.docprbrol')"
>
</c-select>
</c-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'prb',
}"
:disabled1="true"
@onSeainf="onSeainf"
@onAplpDet="onPrbpDet"
>
</c-ptap1>
</c-col>
<c-col :span="24">
<el-form-item label="付款行" prop="btdgrp.rec.payrol">
<c-select
v-model="model.btdgrp.rec.payrol"
style="width: 100%"
placeholder="请选择付款行"
:code="codes.rolall1"
@change="selectOrCheckboxRule('btdgrp.rec.payrol')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'oth',
}"
@onSeainf="onSeainf"
@onAplpDet="onOthpDet"
:disabled1="model.btdgrp.rec.payrol != 'OTH'"
>
</c-ptap1>
</c-col>
</c-col>
<!-- S0000257 : 信用证编号 -->
<c-row>
<c-col :span="12">
<c-col :span="18">
<c-col :span="14">
<!-- <c-row> -->
<!-- <c-col :span="12"> -->
<!-- <c-col :span="18"> -->
<!-- <c-col :span="14">
<el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
<c-select
disabled
......@@ -277,7 +450,7 @@
style="width: 100%"
placeholder="请选择币种"
>
<!--@keyup.enter.native="nom1CurEvent"-->
@keyup.enter.native="nom1CurEvent"
<el-option
v-for="item in codes.cur"
:key="item.value"
......@@ -288,9 +461,9 @@
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="9" :offset="1">
<!-- <c-col :span="9" :offset="1">
<el-form-item
style="text-align: left"
label-width="0"
......@@ -304,14 +477,14 @@
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="5" :offset="1">
</c-col> -->
<!-- <c-col :span="5" :offset="1">
<c-checkbox disabled v-model="model.bttp.aammod.addamtflg"
>附加金额</c-checkbox
>
</c-col>
</c-col>
<c-col :span="11">
</c-col> -->
<!-- <c-col :span="11">
<el-form-item label="第一受益人参考号" prop="btdgrp.be1.pts.ref">
<c-input
v-model="model.btdgrp.be1.pts.ref"
......@@ -321,10 +494,10 @@
disabled
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col> -->
<!-- </c-row> -->
<el-row>
<!-- <el-row>
<c-col :span="12">
<c-col :span="18">
<c-col :span="14">
......@@ -335,7 +508,7 @@
style="width: 100%"
placeholder="请选择币种"
>
<!--@keyup.enter.native="nom1CurEvent"-->
@keyup.enter.native="nom1CurEvent"
<el-option
v-for="item in codes.cur"
:key="item.value"
......@@ -363,8 +536,8 @@
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="11">
</c-col> -->
<!-- <c-col :span="11">
<el-form-item label="" prop="btdgrp.be1.pts.nam">
<c-input
v-model="model.btdgrp.be1.pts.nam"
......@@ -374,10 +547,10 @@
disabled
></c-input>
</el-form-item>
</c-col>
</el-row>
</c-col> -->
<!-- </el-row> -->
<el-row>
<!-- <el-row>
<c-col :span="11">
<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
<c-select
......@@ -389,8 +562,8 @@
disabled
></c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
</c-col> -->
<!-- <c-col :span="11" :offset="1">
<el-form-item label="第二受益人参考号" prop="btdgrp.be2.pts.ref">
<c-input
v-model="model.btdgrp.be2.pts.ref"
......@@ -400,11 +573,11 @@
disabled
></c-input>
</el-form-item>
</c-col>
</el-row>
</c-col> -->
<!-- </el-row> -->
<!-- S0000250 : 单据金额 -->
<el-row>
<!-- <el-row>
<c-col :span="11">
<el-form-item label="到期日" prop="btdgrp.rec.matdat">
<c-date-picker
......@@ -415,8 +588,8 @@
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
</c-col> -->
<!-- <c-col :span="11" :offset="1">
<el-form-item label="" prop="btdgrp.be2.pts.nam">
<c-input
v-model="model.btdgrp.be2.pts.nam"
......@@ -426,10 +599,10 @@
disabled
></c-input>
</el-form-item>
</c-col>
</el-row>
</c-col> -->
<!-- </el-row> -->
<el-row>
<!-- <el-row>
<c-col :span="11">
<el-form-item label="交单日期" prop="btdgrp.rec.predat">
<c-date-picker
......@@ -440,9 +613,9 @@
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="11" :offset="1">
<!-- <c-col :span="11" :offset="1">
<el-form-item label="寄单行参考号" prop="btdgrp.prb.pts.ref">
<c-input
v-model="model.btdgrp.prb.pts.ref"
......@@ -452,11 +625,11 @@
disabled
></c-input>
</el-form-item>
</c-col>
</el-row>
</c-col> -->
<!-- </el-row> -->
<!-- S0000249 : 余额 -->
<el-row>
<!-- <el-row>
<c-col :span="11">
<el-form-item label="单据状态" prop="btdgrp.rec.docsta">
<c-select
......@@ -468,9 +641,9 @@
disabled
></c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="11" :offset="1">
<!-- <c-col :span="11" :offset="1">
<el-form-item label="" prop="btdgrp.prb.pts.nam">
<c-input
v-model="model.btdgrp.prb.pts.nam"
......@@ -480,9 +653,9 @@
disabled
></c-input>
</el-form-item>
</c-col>
</el-row>
<c-row>
</c-col> -->
<!-- </el-row> -->
<!-- <c-row>
<c-col :span="6">
<el-form-item label="交单日期" prop="btdgrp.rec.predat">
<c-date-picker
......@@ -492,11 +665,11 @@
placeholder="请选择交单日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<!-- S0000248 : 第二受益人 -->
<!-- S0000254 : Ref. -->
<c-col :span="6">
<!-- <c-col :span="6">
<el-form-item label="从第一受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker
type="string"
......@@ -505,11 +678,11 @@
placeholder="请输入从第一受益人那收到单据日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<!-- S0000252 : 单据类型 -->
<c-col :span="11">
<!-- <c-col :span="11">
<c-form-item label="交单行的名称及地址" prop="btdgrp.rec.docprbrol">
<c-select
v-model="model.btdgrp.rec.docprbrol"
......@@ -520,16 +693,16 @@
>
</c-select>
</c-form-item>
</c-col>
</c-row>
</c-col> -->
<!-- </c-row> -->
<!--左边-->
<c-col :span="12">
<c-col :span="12" :offset="12">
<!-- <c-col :span="12"> -->
<!-- <c-col :span="12" :offset="12">
</c-col>
</c-col> -->
<c-col :span="11">
<!-- <c-col :span="11">
<c-form-item label="新受益人参考号" prop="btdgrp.blk.benref">
<c-input
type="textarea"
......@@ -548,9 +721,9 @@
placeholder="请输入手续费"
></c-input>
</c-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<!-- <c-col :span="24">
<c-form-item
label="给第一受益人的指示"
prop="btdgrp.blk.be1ins"
......@@ -564,9 +737,9 @@
rows="4"
></c-input>
</c-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<!-- <c-col :span="24">
<c-form-item
label="给第二受益人的指示"
prop="btdgrp.blk.be2ins"
......@@ -581,11 +754,11 @@
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col> -->
<!-- </c-col> -->
<!--右边-->
<c-col :span="12">
<!-- <c-col :span="12">
<c-col :span="24">
<c-ptap1
:model="model"
......@@ -599,9 +772,9 @@
@onAplpDet="onPrbpDet"
>
</c-ptap1>
</c-col>
</c-col> -->
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="付款行" prop="btdgrp.rec.payrol">
<c-select
v-model="model.btdgrp.rec.payrol"
......@@ -612,9 +785,9 @@
>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
......@@ -627,8 +800,8 @@
:disabled1="model.btdgrp.rec.payrol != 'OTH'"
>
</c-ptap1>
</c-col>
</c-col>
</c-col> -->
<!-- </c-col> -->
</div>
</template>
<script>
......
......@@ -66,7 +66,7 @@
v-model="model.gidgrp.rec.delto"
style="width: 100%"
placeholder="请选择交付收款人"
:code="codes.delto"
:code="getValues('gidgrp.rec.delto','delto1')"
>
</c-select>
</el-form-item>
......@@ -222,6 +222,8 @@
</div>
</template>
<script>
import _ from "lodash";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
......@@ -250,6 +252,7 @@ export default {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
......
......@@ -2,14 +2,11 @@
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<!-- 不为swift格式左边 -->
<c-col :span="12" style="padding-right: 20px">
<!--========================== 不为swift格式左边 =========================================-->
<c-col :span="24" v-if="model.gitp.swiftflg != 'Y'">
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="申请人参考号"
prop="gidgrp.apl.pts.ref"
>
<el-form-item label="申请人参考号" prop="gidgrp.apl.pts.ref">
<c-input
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
......@@ -18,11 +15,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="申请人"
prop="gidgrp.apl.pts.extkey"
>
<el-form-item label="申请人" prop="gidgrp.apl.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.apl.pts.extkey"
......@@ -41,7 +34,7 @@
<i class="el-icon-info"></i>
</c-button>
<c-button
:disabled="model.gidgrp.apl.pts.adrblk==''"
:disabled="model.gidgrp.apl.pts.adrblk == ''"
size="small"
type="primary"
@click="onAplpDet"
......@@ -53,11 +46,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="地址名称"
prop="gidgrp.apl.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input
disabled
rows="4"
......@@ -71,11 +60,7 @@
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="保兑行参考号"
prop="gidgrp.con.pts.ref"
>
<el-form-item label="保兑行参考号" prop="gidgrp.con.pts.ref">
<c-input
disabled
v-model="model.gidgrp.con.pts.ref"
......@@ -85,11 +70,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="保兑行"
prop="gidgrp.con.pts.extkey"
>
<el-form-item label="保兑行" prop="gidgrp.con.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.con.pts.extkey"
......@@ -99,6 +80,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.con.pts.extkey`)
"
@change="preperpTab"
></c-input>
<template slot="footer">
<c-button
......@@ -121,11 +103,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="地址名称"
prop="gidgrp.con.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.con.pts.adrblk">
<c-input
disabled
type="textarea"
......@@ -136,18 +114,18 @@
></c-input>
</el-form-item>
</c-col>
<!-- 为swift格式左边 -->
<c-col :span="24">
<el-form-item
</c-col>
<!-- ==========================为swift格式左边============================================ -->
<c-col :span="24" v-if="model.gitp.swiftflg == 'Y'">
<c-col
:span="24"
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISCO' ||
model.gidgrp.rec.purposin == 'ICCO')
model.gidgrp.rec.purposin == 'ISCO' ||
model.gidgrp.rec.purposin == 'ICCO'
"
label="开证行参考号"
prop="gidgrp.apl.pts.ref"
>
<c-col :span="24">
<el-form-item label="开证行参考号" prop="gidgrp.apl.pts.ref">
<c-input
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
......@@ -156,15 +134,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISCO' ||
model.gidgrp.rec.purposin == 'ICCO')
"
label="开证行"
prop="gidgrp.apl.pts.extkey"
>
<el-form-item label="开证行" prop="gidgrp.apl.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.apl.pts.extkey"
......@@ -173,8 +143,8 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
@blur="benBlur"
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
......@@ -196,15 +166,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISCO' ||
model.gidgrp.rec.purposin == 'ICCO')
"
label="地址名称"
prop="gidgrp.apl.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input
disabled
rows="4"
......@@ -218,15 +180,7 @@
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISCO' ||
model.gidgrp.rec.purposin == 'ICCO')
"
label="申请人参考号"
prop="gidgrp.ctr.pts.ref"
>
<el-form-item label="申请人参考号" prop="gidgrp.ctr.pts.ref">
<c-input
v-model="model.gidgrp.ctr.pts.ref"
maxlength="16"
......@@ -235,15 +189,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISCO' ||
model.gidgrp.rec.purposin == 'ICCO')
"
label="申请人"
prop="gidgrp.ctr.pts.extkey"
>
<el-form-item label="申请人" prop="gidgrp.ctr.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.ctr.pts.extkey"
......@@ -252,8 +198,8 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
"
@blur="benBlur"
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
......@@ -270,15 +216,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISCO' ||
model.gidgrp.rec.purposin == 'ICCO')
"
label="地址名称"
prop="gidgrp.ctr.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.ctr.pts.adrblk">
<c-input
:disabeld="model.gidgrp.ctr.pts.adrblk != ''"
rows="4"
......@@ -289,17 +227,17 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
<c-col
:span="24"
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == '')
model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == ''
"
label="申请人参考号"
prop="gidgrp.apl.pts.ref"
>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="gidgrp.apl.pts.ref">
<c-input
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
......@@ -308,15 +246,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == '')
"
label="申请人"
prop="gidgrp.apl.pts.extkey"
>
<el-form-item label="申请人" prop="gidgrp.apl.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.apl.pts.extkey"
......@@ -325,8 +255,8 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
@blur="benBlur"
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
......@@ -348,15 +278,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
(model.gitp.swiftflg == 'Y') &
(model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == '')
"
label="地址名称"
prop="gidgrp.apl.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input
disabled
rows="4"
......@@ -365,20 +287,13 @@
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == '')
"
label="账户/对象参考号"
prop="gidgrp.ctr.pts.ref"
>
<el-form-item label="账户/对象参考号" prop="gidgrp.ctr.pts.ref">
<c-input
v-model="model.gidgrp.ctr.pts.ref"
maxlength="16"
......@@ -387,15 +302,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == '')
"
label="账户/对象"
prop="gidgrp.ctr.pts.extkey"
>
<el-form-item label="账户/对象" prop="gidgrp.ctr.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.ctr.pts.extkey"
......@@ -404,8 +311,8 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
"
@blur="benBlur"
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
......@@ -422,15 +329,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purposin == 'ISSU' ||
model.gidgrp.rec.purposin == '')
"
label="地址名称"
prop="gidgrp.ctr.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.ctr.pts.adrblk">
<c-input
:disabled="model.gidgrp.ctr.pts.adrblk != ''"
rows="4"
......@@ -439,19 +338,19 @@
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<!-- 不为swift格式右边 -->
<c-col :span="12" style="padding-left: 20px">
<!-- ==========================不为swift格式右边=================================== -->
<c-col :span="24" v-if="model.gitp.swiftflg != 'Y'">
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="受益人参考号"
prop="gidgrp.ben.pts.ref"
>
<el-form-item label="受益人参考号" prop="gidgrp.ben.pts.ref">
<c-input
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
......@@ -461,7 +360,6 @@
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="受益人"
prop="gidgrp.ben.pts.extkey"
>
......@@ -495,11 +393,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="地址名称"
prop="gidgrp.ben.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input
:disabled="
model.gidgrp.rec.hndtyp == 'OT' ||
......@@ -518,9 +412,8 @@
<c-col :span="24">
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT') &&
model.gitp.swiftflg != 'Y'
model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT'
"
label="开证行参考号"
prop="gidgrp.iss.pts.ref"
......@@ -535,9 +428,8 @@
<c-col :span="24">
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT') &&
model.gitp.swiftflg != 'Y'
model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT'
"
label="开证行"
prop="gidgrp.iss.pts.extkey"
......@@ -574,9 +466,8 @@
<c-col :span="24">
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT') &&
model.gitp.swiftflg != 'Y'
model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT'
"
label="地址名称"
prop="gidgrp.iss.pts.adrblk"
......@@ -592,15 +483,11 @@
></c-input>
</el-form-item>
</c-col>
<!-- 为swift格式右边 -->
</c-col>
<!-- ============================为swift格式右边================================= -->
<c-col :span="24" v-if="model.gitp.swiftflg == 'Y'">
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="受益人参考号"
prop="gidgrp.ben.pts.ref"
>
<el-form-item label="受益人参考号" prop="gidgrp.ben.pts.ref">
<c-input
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
......@@ -609,11 +496,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="受益人"
prop="gidgrp.ben.pts.extkey"
>
<el-form-item label="受益人" prop="gidgrp.ben.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.ben.pts.extkey"
......@@ -622,8 +505,8 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
@blur="benBlur"
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
......@@ -640,11 +523,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="地址名称"
prop="gidgrp.ben.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input
:disabled="model.gidgrp.ben.pts.adrblk != ''"
rows="4"
......@@ -653,16 +532,13 @@
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="通知行参考号"
prop="gidgrp.atb.pts.ref"
>
<el-form-item label="通知行参考号" prop="gidgrp.atb.pts.ref">
<c-input
v-model="model.gidgrp.atb.pts.ref"
maxlength="16"
......@@ -671,11 +547,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="通知行"
prop="gidgrp.atb.pts.extkey"
>
<el-form-item label="通知行" prop="gidgrp.atb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.atb.pts.extkey"
......@@ -684,8 +556,8 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.atb.pts.extkey`)
"
@blur="benBlur"
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
......@@ -702,11 +574,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="地址名称"
prop="gidgrp.atb.pts.adrblk"
>
<el-form-item label="地址名称" prop="gidgrp.atb.pts.adrblk">
<c-input
:disabled="model.gidgrp.atb.pts.adrblk != ''"
rows="4"
......@@ -715,11 +583,13 @@
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
<c-col :span="24">
......@@ -745,62 +615,88 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Gitopn/Event'
import Ptap from '~/views/Public/Ptap'
import Utils from '~/utils'
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
components: { 'c-ptap': Ptap },
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {
ptsaddg: {
columns: [
{
title: "角色",
width: "120px",
dataIndex: "rol",
show: "select",
title: '角色',
width: '120px',
dataIndex: 'rol',
show: 'select',
},
{
title: "当事人",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
title: '当事人',
width: '180px',
dataIndex: 'ptyextkey',
show: 'input',
},
{
title: "当事人名称",
width: "250px",
dataIndex: "nam",
title: '当事人名称',
width: '250px',
dataIndex: 'nam',
},
{
title: "地址编号",
width: "250px",
dataIndex: "ref",
title: '地址编号',
width: '250px',
dataIndex: 'ref',
},
],
urls: "gitp.ptsaddp.ptsaddg",
urls: 'gitp.ptsaddp.ptsaddg',
},
};
}
},
methods: {
...Event,
async benBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
// async benBlur() {
// let rtnmsg = await this.executeDefault('gidgrp.rec.sndto')
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data)
// }
// },
// 角色改变手动触发default 500 GIDGRP\REC\DELTO
async roleChange(){
let rtnmsg = await this.executeDefault("gidgrp.rec.delto");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
// 切换到演示/交付tab页触发event
async preperpTab() {
let rtnmsg = await this.executeRule('gitp.preperp')
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data)
}
},
watch:{
},
watch: {
"model.gidgrp.apl.pts.adrblk": function() {
this.roleChange()
},
"model.gidgrp.ctr.pts.adrblk": function() {
this.roleChange()
},
"model.gidgrp.ben.pts.adrblk": function() {
this.roleChange()
},
"model.gidgrp.atb.pts.adrblk": function() {
this.roleChange()
},
},
created: function () {},
};
}
</script>
<style>
</style>
<style></style>
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