Commit a84aaa6a by liyixun

代码优化

parent 9c9804d9
......@@ -214,11 +214,27 @@
label="付款人常驻国家(地区)代码"
prop="cnybop.cnyinc.spayercountrycode"
>
<c-fullbox>
<c-input
v-model="model.cnybop.cnyinc.spayercountrycode"
maxlength="3"
placeholder="请输入付款人常驻国家(地区)代码"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyinc.spayercountrycode`)
"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onIncctySelbut1"
>
?
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<c-col :span="24">
......
......@@ -44,7 +44,7 @@
</c-content>
</el-tab-pane>
<el-tab-pane v-if="this.flag" label="Bookings" name="glepan">
<el-tab-pane label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
......@@ -104,6 +104,12 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......
......@@ -734,10 +734,6 @@
>Close Claim</c-checkbox
>
</c-col>
<!-- <c-col :span="6" :offset="6" >
<c-checkbox v-if="model.gitp.swiftflg=='N'" v-model="model.gitamep.plateflg" @change="plateflgChange">保函修改面函模板</c-checkbox>
</c-col> -->
</c-col>
<!-- 右边为swift格式 -->
......@@ -859,9 +855,6 @@
>Create Amendment Message</c-checkbox
>
</c-col>
<!-- <c-col :span="4" :offset="4">
<c-checkbox v-model="model.gitamep.prtflg">Choose full Text</c-checkbox>
</c-col> -->
</c-col>
<c-col :span="24">
<c-col :span="6" :offset="6">
......@@ -919,13 +912,6 @@ export default {
},
methods: {
...Event,
// async plateflgChange() {
// let rtnmsg = await this.executeRule("gitamep.plateflg")
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// }
// },
async reqChange() {
let rtnmsg = await this.executeRule("gitamep.ametxt");
if (rtnmsg.respCode == SUCCESS) {
......
......@@ -64,7 +64,6 @@
>跨境人民币保函</c-checkbox
>
</c-col>
<!-- <c-checkbox v-if="model.gidgrp.rec.fingua=='Y'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> -->
</c-col>
</div>
</template>
......
......@@ -190,20 +190,6 @@
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='N'"
:model="model"
:argadr="{
title: 'Confirming Bank',
grp: 'gidgrp',
rol: 'con',
}"
:disabled="true"
@onAplpDet="onConpDet"
>
</c-ptap>
</c-col> -->
</c-col>
<c-col :span="11" :offset="1">
......
......@@ -57,7 +57,9 @@
</el-tab-pane>
<!--gitp PD000389 Details -->
<el-tab-pane label="Details" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane
......
......@@ -61,39 +61,6 @@
</c-col>
</c-col>
</c-row>
<!-- SF000004 : Additional Amount -->
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000004')" prop="gidgrp.cbs.mac2.cur">
<c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000004')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="gidgrp.cbs.mac2.amt">
<c-input v-model="model.gidgrp.cbs.mac2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000008 : Open Add. Amount -->
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000008')" prop="gidgrp.cbs.opc2.cur">
<c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000008')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="gidgrp.cbs.opc2.amt">
<c-input v-model="model.gidgrp.cbs.opc2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000009 : Covered -->
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000009')" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('aacp.SF000009')" ></c-input>
</c-form-item>
</c-col> -->
</div>
</template>
<script>
......
......@@ -304,130 +304,6 @@
<c-col :span="11" :offset="1"> </c-col>
</c-col>
</c-row>
<!-- SF001031 : Confirmation Status -->
<!-- SF000895 : Received Confirmation Instructions: -->
<!--
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000888')" prop="gidgrp.rec.cnfsta">
<c-select v-model="model.gidgrp.rec.cnfsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000888')">
</c-select>
</el-form-item>
</c-col> -->
<!-- SF000894 : Outgoing Confirmation Instructions: -->
<!-- SF001030 : Confirmation Amount -->
<!-- SF000896 : Confirm. Instr. -->
<!--
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000896')" prop="gidgrp.rec.reccnfdet">
<c-select v-model="model.gidgrp.rec.reccnfdet" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000896')">
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000890')" prop="gidgrp.cbs.cnf.cur">
<c-input v-model="model.gidgrp.cbs.cnf.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitp.SF000890')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="gidgrp.cbs.cnf.amt">
<c-input v-model="model.gidgrp.cbs.cnf.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col> -->
<!-- SF001032 : or -->
<!-- <c-col :span="12">
<c-form-item label="Partial Confirmation" prop="gidgrp.rec.partcon">
<c-input v-model="model.gidgrp.rec.partcon" :placeholder="$t('other.please_enter')+'Partial Confirmation'"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000729 : Confirm. Instr. -->
<!-- SF001033 : % -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000729')" prop="gidgrp.rec.cnfdet">
<c-select v-model="model.gidgrp.rec.cnfdet" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000729')">
</c-select>
</el-form-item>
</c-col> -->
<!-- SF001034 : Confirmed on -->
<!-- SF001077 : Confirm. Bank Ref. -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000889')" prop="gidgrp.rec.cnfdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.cnfdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000889')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF001077')" prop="gidgrp.cnr.pts.ref">
<c-input v-model="model.gidgrp.cnr.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001077')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF001078 : Confirm. Bank Ref. -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF001078')" prop="gidgrp.con.pts.ref">
<c-input v-model="model.gidgrp.con.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001078')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000898 : Confirming Bank -->
<!-- <c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="gitp.cnrp.ptsget.sdamod.dadsnd">
<c-input v-model="model.gitp.cnrp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="gidgrp.cnr.pts.extkey">
<c-input v-model="model.gidgrp.cnr.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-form-item label="" prop="gitp.cnrp.ptsget.sdamod.seainf">
<c-input v-model="model.gitp.cnrp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCnrpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col> -->
<!-- SF000730 : Confirming Bank -->
<!-- <c-col :span="12">
<c-form-item label="名称" prop="gidgrp.cnr.namelc">
<c-input type="textarea" v-model="model.gidgrp.cnr.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="gidgrp.cnr.pts.adrblk">
<c-input type="textarea" v-model="model.gidgrp.cnr.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="gidgrp.cnr.dbfadrblkcn">
<c-input type="textarea" v-model="model.gidgrp.cnr.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="gidgrp.cnr.adrelc">
<c-input type="textarea" v-model="model.gidgrp.cnr.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col> -->
<!-- SF000887 : Own confirmation details: -->
<!-- SF000888 : Confirmation Status -->
<!-- SF000890 : Confirmation Amount -->
<!-- SF000892 : or -->
<!-- SF000893 : % -->
<!-- SF000889 : Confirmation Date -->
</div>
</template>
<script>
......
......@@ -271,147 +271,6 @@
</c-col>
</c-col>
</c-row>
<!-- SF000840 : Contract Reference -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000840')" prop="gidgrp.rec.orcrefc">
<c-input v-model="model.gidgrp.rec.orcrefc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000840')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date from Original Contract - Local Undertaking Seq. C" prop="gidgrp.rec.orcdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" :placeholder="$t('other.please_enter')+'Date from Original Contract - Local Undertaking Seq. C'"></c-date-picker>
</el-form-item>
</c-col> -->
<!-- SF000845 : Closing Date -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000845')" prop="gidgrp.rec.tenclsdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000845')"></c-date-picker>
</el-form-item>
</c-col> -->
<!-- SF000846 : Underly. Transact. Det. -->
<!-- <c-col :span="12">
<c-form-item label="Object of Contract - Local Undertaking Seq. C" prop="gidgrp.blk.covgodsrvc">
<c-input type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Object of Contract - Local Undertaking Seq. C'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000846')" prop="gidgrp.blk.atxcovgodsrvc">
<c-input type="textarea" v-model="model.gidgrp.blk.atxcovgodsrvc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000846')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.covgodsrvcmodflg">{{$t('gitp.CF001217')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifcovgodsrvc">
{{$t('gitp.CF001218')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.covgodc.chkast">{{$t('gitp.CF001088')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhiscovgodsrvc">
{{$t('gitp.CF001219')}}
</c-button>
</c-col> -->
<!-- SF000841 : Original Perc./ Rate -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000841')" prop="gidgrp.rec.orcratc">
<c-input v-model="model.gidgrp.rec.orcratc" :placeholder="$t('other.please_enter')+$t('gitp.SF000841')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000842 : Contract Amount -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000842')" prop="gidgrp.rec.orccurc">
<c-select v-model="model.gidgrp.rec.orccurc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000842')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000842')" prop="gidgrp.rec.orcamtc">
<c-input v-model="model.gidgrp.rec.orcamtc" :placeholder="$t('other.please_enter')+$t('gitp.SF000842')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000843 : Original Contract Place -->
<!-- <c-col :span="12">
<c-form-item label="Original Contract Place - Local Undertaking Seq. C" prop="gidgrp.blk.orcplcc">
<c-input type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Original Contract Place - Local Undertaking Seq. C'" ></c-input>
</c-form-item>
</c-col> -->
<!-- SF000850 : A/c Adv. Paym. Guar. -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000850')" prop="gidgrp.rec.accc">
<c-input v-model="model.gidgrp.rec.accc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000850')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000844 : Governing Law -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000844')" prop="gidgrp.rec.jurlawc">
<c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000844')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000844')" prop="gidgrp.rec.jurlawtxtc">
<c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" :placeholder="$t('other.please_enter')+$t('gitp.SF000844')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000851 : Place of Jurisdiction -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000851')" prop="gidgrp.rec.jurplcc">
<c-input v-model="model.gidgrp.rec.jurplcc" maxlength="65" :placeholder="$t('other.please_enter')+$t('gitp.SF000851')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000847 : Tender Reference -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000847')" prop="gidgrp.rec.tenrefc">
<c-input v-model="model.gidgrp.rec.tenrefc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000847')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000848 : Tender Date -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000848')" prop="gidgrp.rec.tendatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000848')"></c-date-picker>
</el-form-item>
</c-col> -->
<!-- SF000849 : Latest Transmission -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000849')" prop="gidgrp.rec.trmdatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000849')"></c-date-picker>
</el-form-item>
</c-col> -->
<!-- SF001231 : Additional Text -->
<!-- <c-col :span="12">
<c-form-item label="Additional Info - Local Undertaking Seq. C" prop="gidgrp.blk.addinfc">
<c-input type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Info - Local Undertaking Seq. C'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.gitp.labaddinfc" data-path=".gitp.labaddinfc" > </span>
</c-col> -->
</div>
</template>
<script>
......
......@@ -120,51 +120,6 @@
</c-col>
</c-col>
</c-row>
<!-- SF000350 : Text of Undertaking -->
<!--
<c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Guarantee Text" prop="gidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text with Variables'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxt">{{$t('gitp.CF001173')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdif">
{{$t('gitp.CF000348')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhis">
{{$t('gitp.CF000351')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxt">
{{$t('gitp.CF000384')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmod">
{{$t('gitp.CG000442')}}
</c-button>
</c-col> -->
</div>
</template>
<script>
......
......@@ -120,57 +120,6 @@
</c-col>
</c-col>
</c-row>
<!-- SF000792 : Undertaking Text -->
<!-- <c-col :span="12">
<c-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text local undertaking'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="1" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text with Variables - Counter Undertaking'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButgetrefc">
{{$t('gitp.CF000787')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflgc">{{$t('gitp.CF000786')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxtc">{{$t('gitp.CF001176')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifc">
{{$t('gitp.CF000788')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhisc">
{{$t('gitp.CF000789')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxtc">
{{$t('gitp.CF000852')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmodc">
{{$t('gitp.CG001303')}}
</c-button>
</c-col> -->
</div>
</template>
<script>
......
......@@ -66,34 +66,6 @@
</c-col>
<!-- <c-checkbox v-if="model.gidgrp.rec.fingua=='Y'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> -->
</c-col>
<!-- SG001294 : 是否SWIFT格式 -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SG001294')" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SG001294')">
</c-select>
</el-form-item>
</c-col> -->
<!-- S0001304 : 是否对外担保 -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.S0001256')" prop="gidgrp.rec.fingua">
<c-select v-model="model.gidgrp.rec.fingua" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001256')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" :placeholder="$t('other.please_enter')+'对外担保类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">{{$t('gitp.CG001233')}}</c-checkbox>
</c-col> -->
<!-- S0001305 : 担保类型 -->
</div>
</template>
<script>
......
......@@ -149,24 +149,6 @@
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Type of Request" prop="gidgrp.rec.drpreflg">
<c-select
v-model="model.gidgrp.rec.drpreflg"
style="width: 100%"
placeholder="请选择Type of Request"
>
<el-option
v-for="item in codes.drpreflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item
v-show="model.gitp.swiftflg == 'Y'"
......
......@@ -259,102 +259,6 @@
</c-col>
</c-col>
</c-row>
<!-- SF000750 : Requested Issue Date -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000750')" prop="gidgrp.rec.opndatc">
<c-date-picker type="date" v-model="model.gidgrp.rec.opndatc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000750')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.autrnwflgc">{{$t('gitp.CF000898')}}</c-checkbox>
</c-col> -->
<!-- SF000778 : Guarantee Amount -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000778')" prop="gidgrp.cbs.mac.cur">
<c-select v-model="model.gidgrp.cbs.mac.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000778')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000778')" prop="gidgrp.cbs.mac.amt">
<c-input v-model="model.gidgrp.cbs.mac.amt" :placeholder="$t('other.please_enter')+$t('gitp.SF000778')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg">{{$t('gitp.CF000780')}}</c-checkbox>
</c-col> -->
<!-- SF000754 : Undertaking Type -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000754')" prop="gidgrp.rec.gartypc">
<c-select v-model="model.gidgrp.rec.gartypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000754')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000754')" prop="gidgrp.blk.gartyptxtc">
<c-input v-model="model.gidgrp.blk.gartyptxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000754')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000751 : Form of Undertaking -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000751')" prop="gidgrp.rec.legfrmc">
<c-select v-model="model.gidgrp.rec.legfrmc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000751')">
</c-select>
</el-form-item>
</c-col> -->
<!-- SF000883 : Demand Indicator -->
<!--
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000883')" prop="gidgrp.rec.demandc">
<c-select v-model="model.gidgrp.rec.demandc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000883')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.stdwrdc">{{$t('gitp.CF000762')}}</c-checkbox>
</c-col> -->
<!-- SF000884 : Requested Language -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000884')" prop="gidgrp.rec.stdwrduilc">
<c-select v-model="model.gidgrp.rec.stdwrduilc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000884')">
</c-select>
</el-form-item>
</c-col> -->
<!-- SF000852 : Choice of Text -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000852')" prop="gidgrp.rec.gtxinrc">
<c-select v-model="model.gidgrp.rec.gtxinrc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000852')">
</c-select>
</el-form-item>
</c-col> -->
<!-- SF000752 : Applicable Rules -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000752')" prop="gidgrp.blk.apprulc">
<c-select v-model="model.gidgrp.blk.apprulc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000752')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000752')" prop="gidgrp.blk.apprultxtc">
<c-input v-model="model.gidgrp.blk.apprultxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000752')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF001085 : Expiry Type -->
<!-- SF001086 : Expiry Date -->
<!-- SF001087 : Expiry Condition/ Evt. -->
</div>
</template>
<script>
......
......@@ -175,97 +175,6 @@
</c-col>
</c-col>
</c-row>
<!-- SF000875 : Delivery of Undertak. -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloric">
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloritxtc">
<c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000872 : Charges -->
<!-- <c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
{{$t('gitp.CF000878')}}
</c-button>
</c-col> -->
<!-- SF000878 : Deli. To/Collection By -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000878')" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000878')">
</c-select>
</el-form-item>
</c-col> -->
<!-- SF000879 : Delivery to Address -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000879')" prop="gidgrp.blk.deltoadrc">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000879')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chargic.chkast">{{$t('gitp.CF000879')}}</c-checkbox>
</c-col> -->
<!-- SF000877 : Presentation Instr. -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.preperc">
<c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.atxpreperc">
<c-input type="textarea" v-model="model.gidgrp.blk.atxpreperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.prepercmodflg">{{$t('gitp.CF001195')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkpreperc">{{$t('gitp.CF001196')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifpreperc">
{{$t('gitp.CF001197')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhispreperc">
{{$t('gitp.CF001198')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transferc">{{$t('gitp.CF000877')}}</c-checkbox>
</c-col> -->
<!-- SF000880 : Transfer Conditions -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000880')" prop="gidgrp.blk.trfcondc">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000880')" ></c-input>
</c-form-item>
</c-col> -->
</div>
</template>
<script>
......
......@@ -43,7 +43,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apc.pts.adrblk">
<c-input
:disabled="model.gidgrp.apc.pts.abrblk!=''"
:disabled="model.gidgrp.apc.pts.abrblk != ''"
rows="4"
type="textarea"
v-model="model.gidgrp.apc.pts.adrblk"
......@@ -190,7 +190,7 @@
>
</c-button>
<c-button
:disabled="model.gidgrp.iss.pts.adrblk==''"
:disabled="model.gidgrp.iss.pts.adrblk == ''"
size="small"
type="primary"
@click="onIsspDet"
......@@ -253,7 +253,7 @@
>
</c-button>
<c-button
:disabled="model.gidgrp.ben.pts.adrblk==''"
:disabled="model.gidgrp.ben.pts.adrblk == ''"
size="small"
type="primary"
@click="onBenpDet"
......
......@@ -165,10 +165,7 @@
<m-aacp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--gitp PD000409 Confirmation Details -->
<!-- <el-tab-pane :label="$t('gitp.PD000409')" name="confp">
<m-confp :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
......@@ -267,8 +264,8 @@ export default {
if (name === "setpan") {
this.flag = true;
}
if(name === "ptypc") {
rulePath="gitp.ptypc";
if (name === "ptypc") {
rulePath = "gitp.ptypc";
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
......
......@@ -4,7 +4,13 @@
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select disabled :code="codes.cnyflg" v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择">
<c-select
disabled
:code="codes.cnyflg"
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
......@@ -12,7 +18,13 @@
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select disabled :code="codes.traflg" v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择">
<c-select
disabled
:code="codes.traflg"
v-model="model.cnybop.traflg"
style="width: 100%"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
......@@ -20,7 +32,13 @@
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select disabled :code="codes.outflg" v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择">
<c-select
disabled
:code="codes.outflg"
v-model="model.cnybop.outflg"
style="width: 100%"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
......@@ -28,7 +46,13 @@
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select disabled :code="codes.libflg" v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择">
<c-select
disabled
:code="codes.libflg"
v-model="model.cnybop.libflg"
style="width: 100%"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
......@@ -36,33 +60,34 @@
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select disabled :code="codes.vouflg" v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择">
<c-select
disabled
:code="codes.vouflg"
v-model="model.cnybop.vouflg"
style="width: 100%"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
</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/Getset/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getset/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>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
<c-input
v-model="model.trnmod.trndoc.filrecv"
placeholder="请输入File Receiver"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
<c-input
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入Document tree"
></c-input>
</el-form-item>
</c-col>
......@@ -44,15 +49,23 @@
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
<span
v-text="model.trnmod.trndoc.doclbl"
data-path=".trnmod.trndoc.doclbl"
>
</span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
<c-checkbox v-model="model.trnmod.trndoc.shwinc"
>Show Incoming Messages</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
<c-checkbox v-model="model.trnmod.trndoc.shwout"
>Show Outgoing Messages</c-checkbox
>
</c-col>
<c-col :span="12">
......@@ -63,38 +76,39 @@
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
<c-input
v-model="model.trnmod.trndoc.condocstm"
placeholder="请输入Connected Documents"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
<c-input
v-model="model.trnmod.trndoc.rcvatt.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</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/Getset/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getset/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>
......@@ -15,99 +15,119 @@
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<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">
<!--getset PD000027 Claim Payment -->
<el-tab-pane label="Claim Payment" name="gitsetp1">
<c-content>
<m-gitsetp1 :model="model" :codes="codes"/>
<m-gitsetp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="liability">
<c-content>
<m-engp :model="model" :codes="codes"/>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane v-if="this.flag" label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="Completion">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Messages" name="Messages">
<m-docpan :model="model" :codes="codes"/>
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Attachments" name="Attachments">
<c-content>
<m-doctre :model="model" :codes="codes"/>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane label="收账通知" name="docpan1">
<m-docpan1 :model="model" :codes="codes"/>
<m-docpan1 :model="model" :codes="codes" />
</el-tab-pane>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane label="外管信息" name="wg">
<m-wg :model="model" :codes="codes"/>
<m-wg :model="model" :codes="codes" />
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane v-if="model.bopmod.szflg=='1' && model.bopmod.basflg=='X'" label="涉外收入申报单-基础信息" name="basp">
<el-tab-pane
v-if="model.bopmod.szflg == '1' && model.bopmod.basflg == 'X'"
label="涉外收入申报单-基础信息"
name="basp"
>
<c-content>
<m-basp :model="model" :codes="codes"/>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.bopmod.szflg=='2' && model.bopmod.basflg=='X'" label="境内收入申报单-基础信息" name="basp1">
<el-tab-pane
v-if="model.bopmod.szflg == '2' && model.bopmod.basflg == 'X'"
label="境内收入申报单-基础信息"
name="basp1"
>
<c-content>
<m-basp :model="model" :codes="codes"/>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
<m-cnyp :model="model" :codes="codes" />
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
<m-shisuan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Utils from "~/utils";
import Getset from "~/model/Getset"
import commonProcess from "~/mixin/commonProcess"
import Getset from "~/model/Getset";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Getset/Check"
import Default from "~/model/Getset/Default"
import Pattern from "~/model/Getset/Pattern"
import Gitsetp1 from "./Gitsetp1"
import Docpan1 from "./Docpan"
import Wg from "./Wg"
import Basp from "./Basp"
import Cnyp from "./Cnyp"
import Check from "~/model/Getset/Check";
import Default from "~/model/Getset/Default";
import Pattern from "~/model/Getset/Pattern";
import Gitsetp1 from "./Gitsetp1";
import Docpan1 from "./Docpan";
import Wg from "./Wg";
import Basp from "./Basp";
import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan";
import Engp from "~/views/Public/Engp";
......@@ -118,32 +138,31 @@ import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "./Limitbody";
export default {
name: "Getset",
components:{
"m-gitsetp1" : Gitsetp1,
"m-docpan1" : Docpan1,
"m-wg" : Wg,
"m-basp" : Basp,
"m-cnyp" : Cnyp,
"m-shisuan" : Shisuan,
components: {
"m-gitsetp1": Gitsetp1,
"m-docpan1": Docpan1,
"m-wg": Wg,
"m-basp": Basp,
"m-cnyp": Cnyp,
"m-shisuan": Shisuan,
"m-engp" :Engp,
"m-setpan" : Setpan,
"m-glepan" :Glepan,
"m-coninfp" :Coninfp,
"m-docpan" :Docpan,
"m-doctre" :Doctre,
"m-limitbody" : Limitbody,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "gitsetp1",
trnName: "getset",
......@@ -156,54 +175,50 @@ export default {
codes: {
...CodeTable,
},
flag:false,
}
flag: false,
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
let name = tab.name
let name = tab.name;
let rulePath;
let rulePath1;
if (name === "basp") {
rulePath = "bopmod.dbap.basp";
}
if(name === "basp1"){
if (name === "basp1") {
rulePath = "bopmod.dbdp.basp";
}
if(name==="setpan"){
this.flag=true;
if (name === "setpan") {
this.flag = true;
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
this.updateModel(res.data);
}
});
}
},
created:async function(){
},
created: async function () {
console.log("进入getset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
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: "服务请求失败!" });
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
},
};
</script>
<style>
</style>
......@@ -34,19 +34,7 @@
</c-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<!-- <c-col :span="24">
<el-form-item label="以下两个选项二选一" prop="addbcb.bccls4">
<c-select
:code="codes.bccls8"
v-model="model.addbcb.bccls4"
style="width: 100%"
placeholder="以下两个选项二选一"
>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="11" :offset="1"> </c-col>
</c-col>
</c-row>
</div>
......
......@@ -252,13 +252,11 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
};
return {};
},
methods: {
...Event,
async exptxtBlur() {
let rtnmsg = await this.executeDefault("gidgrp.blk.exptxt");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
......
......@@ -30,129 +30,6 @@
></c-input>
</c-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
{{$t('mtabut.CF000174')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrcon">
{{$t('mtabut.CG000224')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitame.SF050038')" prop="oldgidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050038')" ></c-input>
</c-form-item>
</c-col> -->
<!-- SF050038 : Guarantee Text -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
{{$t('mtabut.CF000175')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrchk">
{{$t('mtabut.CG000225')}}
</c-button>
</c-col> -->
<!-- SF050111 : before this -->
<!-- SF050112 : Amendment -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
{{$t('mtabut.CF000176')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDiasel">
{{$t('mtabut.CF000190')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInc">
{{$t('mtabut.CF000188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onNotmap">
{{$t('mtabut.CF000189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFrmbut">
{{$t('mtabut.CF000208')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOrd">
{{$t('mtabut.CF000213')}}
</c-button>
</c-col> -->
<!-- SF050039 : Amendments so Far -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitame.SF050039')" prop="gidgrp.blk.gidtxtame">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtame" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050039')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIncben">
{{$t('mtabut.CG000239')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodImage">
{{$t('mtabut.CG000240')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewimg">
{{$t('mtabut.CG000232')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewhisimg">
{{$t('mtabut.CG000233')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodElcimage">
{{$t('mtabut.CG000241')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEntmodEntbut">
{{$t('mtabut.CG000242')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPen">
{{$t('mtabut.CF000178')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
{{$t('mtabut.CF000179')}}
</c-button>
</c-col> -->
</div>
</template>
<script>
......
......@@ -26,22 +26,6 @@
></c-input>
</c-form-item>
</c-col>
<!-- SF050116 : Guarantee Text -->
<!-- <c-col :span="12">
<c-form-item :label="$t('gitame.SF050116')" prop="oldgidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050116')" ></c-input>
</c-form-item>
</c-col> -->
<!-- SF050117 : before this -->
<!-- SF050118 : Amendment -->
<!-- SF050119 : Amendments so Far -->
<!--
<c-col :span="12">
<c-form-item :label="$t('gitame.SF050119')" prop="oldgidgrp.blk.gidtxtamec">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxtamec" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050119')" ></c-input>
</c-form-item>
</c-col> -->
</div>
</template>
<script>
......
......@@ -289,13 +289,6 @@
placeholder="请输入Purpose of amend."
:code="getValues('trnmod.swiadd.purposame')"
>
<!-- <el-option
v-for="item in codes.purposame"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> -->
</c-select>
</el-form-item>
</c-col>
......@@ -484,8 +477,8 @@
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.hndtyp == 'FA' ||
model.gidgrp.rec.hndtyp == 'FI'||
model.gidgrp.rec.hndtyp=='OL')
model.gidgrp.rec.hndtyp == 'FI' ||
model.gidgrp.rec.hndtyp == 'OL')
"
label="Send Amendment to"
prop="gitamep.ramrol"
......@@ -867,7 +860,6 @@
:disabled="model.trnmod.swiadd.addamtflg == ''"
v-model="model.trnmod.swiadd.addamt"
@blur="addamtBlur"
placeholder="请输入Additional Amount"
></c-input>
</c-form-item>
......
<template>
<div class="eibs-tab">
<!-- SF001031 : Confirmation Status -->
<!-- SF000895 : Received Confirmation Instructions: -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000888')" prop="gidgrp.rec.cnfsta">
<c-select
v-model="model.gidgrp.rec.cnfsta"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('gitp.SF000888')"
>
</c-select>
</el-form-item>
</c-col>
<!-- SF000894 : Outgoing Confirmation Instructions: -->
<!-- SF001030 : Confirmation Amount -->
<!-- SF000896 : Confirm. Instr. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000896')" prop="gidgrp.rec.reccnfdet">
<c-select
v-model="model.gidgrp.rec.reccnfdet"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('gitp.SF000896')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000890')" prop="gidgrp.cbs.cnf.cur">
<c-input
v-model="model.gidgrp.cbs.cnf.cur"
maxlength="3"
:placeholder="$t('other.please_enter') + $t('gitp.SF000890')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="gidgrp.cbs.cnf.amt">
<c-input
v-model="model.gidgrp.cbs.cnf.amt"
:placeholder="$t('other.please_enter') + 'Balance'"
></c-input>
</c-form-item>
</c-col>
<!-- SF001032 : or -->
<c-col :span="12">
<c-form-item label="Partial Confirmation" prop="gidgrp.rec.partcon">
<c-input
v-model="model.gidgrp.rec.partcon"
:placeholder="$t('other.please_enter') + 'Partial Confirmation'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000729 : Confirm. Instr. -->
<!-- SF001033 : % -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000729')" prop="gidgrp.rec.cnfdet">
<c-select
v-model="model.gidgrp.rec.cnfdet"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('gitp.SF000729')"
>
</c-select>
</el-form-item>
</c-col>
<!-- SF001034 : Confirmed on -->
<!-- SF001077 : Confirm. Bank Ref. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000889')" prop="gidgrp.rec.cnfdat">
<c-date-picker
type="date"
v-model="model.gidgrp.rec.cnfdat"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('gitp.SF000889')"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF001077')" prop="gidgrp.cnr.pts.ref">
<c-input
v-model="model.gidgrp.cnr.pts.ref"
maxlength="16"
:placeholder="$t('other.please_enter') + $t('gitp.SF001077')"
></c-input>
</c-form-item>
</c-col>
<!-- SF001078 : Confirm. Bank Ref. -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF001078')" prop="gidgrp.con.pts.ref">
<c-input
v-model="model.gidgrp.con.pts.ref"
maxlength="16"
:placeholder="$t('other.please_enter') + $t('gitp.SF001078')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000898 : Confirming Bank -->
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="gitp.cnrp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.gitp.cnrp.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="gidgrp.cnr.pts.extkey">
<c-input
v-model="model.gidgrp.cnr.pts.extkey"
maxlength="16"
:placeholder="$t('other.please_enter') + 'External Key of Address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="gitp.cnrp.ptsget.sdamod.seainf">
<c-input
v-model="model.gitp.cnrp.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCnrpDet">
{{ $t("ptsp.CF000081") }}
</c-button>
</c-col>
<!-- SF000730 : Confirming Bank -->
<c-col :span="12">
<c-form-item label="名称" prop="gidgrp.cnr.namelc">
<c-input
type="textarea"
v-model="model.gidgrp.cnr.namelc"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + '名称'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="gidgrp.cnr.pts.adrblk">
<c-input
type="textarea"
v-model="model.gidgrp.cnr.pts.adrblk"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Address Block'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="gidgrp.cnr.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.gidgrp.cnr.dbfadrblkcn"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Chinese address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="gidgrp.cnr.adrelc">
<c-input
type="textarea"
v-model="model.gidgrp.cnr.adrelc"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + '地址'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000887 : Own confirmation details: -->
<!-- SF000888 : Confirmation Status -->
<!-- SF000890 : Confirmation Amount -->
<!-- SF000892 : or -->
<!-- SF000893 : % -->
<!-- SF000889 : Confirmation Date -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -276,7 +276,6 @@
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="12">
......@@ -598,8 +597,10 @@
prop="gidgrp.apl.pts.adrblk"
>
<c-input
:disabled="model.gidgrp.rec.hndtyp != 'OT' ||
model.gidgrp.apl.pts.adrblk != ''"
:disabled="
model.gidgrp.rec.hndtyp != 'OT' ||
model.gidgrp.apl.pts.adrblk != ''
"
rows="4"
type="textarea"
v-model="model.gidgrp.apl.pts.adrblk"
......@@ -827,8 +828,10 @@
prop="gidgrp.ben.pts.adrblk"
>
<c-input
:disabled="model.gidgrp.rec.hndtyp == 'OT' ||
model.gidgrp.ben.pts.adrblk != ''"
:disabled="
model.gidgrp.rec.hndtyp == 'OT' ||
model.gidgrp.ben.pts.adrblk != ''
"
rows="4"
type="textarea"
v-model="model.gidgrp.ben.pts.adrblk"
......
......@@ -85,7 +85,10 @@
prop="gidgrp.blk.deltoadr"
>
<c-input
:disabled="model.gidgrp.rec.delto == '' || model.gidgrp.rec.delto != 'OTHR'"
:disabled="
model.gidgrp.rec.delto == '' ||
model.gidgrp.rec.delto != 'OTHR'
"
type="textarea"
rows="4"
v-model="model.gidgrp.blk.deltoadr"
......
......@@ -261,86 +261,6 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT') &&
model.gitp.swiftflg != 'Y'
"
label="Issuing Bank"
prop="gidgrp.iss.pts.ref"
>
<c-input
v-model="model.gidgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Issuing Bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT') &&
model.gitp.swiftflg != 'Y'
"
label="Issuing Bank"
prop="gidgrp.iss.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button
disabled
size="small"
type="primary"
@click="onIsspDet"
>
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'OT') &&
model.gitp.swiftflg != 'Y'
"
label="地址名称"
prop="gidgrp.iss.pts.adrblk"
>
<c-input
:disabled="model.gidgrp.iss.pts.adrblk != ''"
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
......
......@@ -148,7 +148,10 @@
v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
" label="Seq. C: History" name="amephisc">
"
label="Seq. C: History"
name="amephisc"
>
<m-amephisc :model="model" :codes="codes" />
</el-tab-pane>
......@@ -210,10 +213,12 @@
</el-tab-pane>
<el-tab-pane
v-if="model.gitp.swiftflg == 'Y' &&
v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA') &&
model.trnmod.swiadd.addamtflgc == 'X'"
model.trnmod.swiadd.addamtflgc == 'X'
"
label="Seq. C: Add. Amounts"
name="aacp"
>
......@@ -221,10 +226,12 @@
</el-tab-pane>
<el-tab-pane
v-if="model.gitp.swiftflg == 'Y' &&
v-if="
model.gitp.swiftflg == 'Y' &&
model.trnmod.swiadd.purposame == 'ISUA' &&
model.trnmod.swiadd.addamtflg == 'X' &&
model.gidgrp.rec.purpos != 'ISSU'"
model.gidgrp.rec.purpos != 'ISSU'
"
label="Seq. C: Add. Amounts"
name="aamp20"
>
......@@ -265,7 +272,6 @@ import Amephis from "./Amephis";
import Addbcb from "./Addbcb";
import Amecp from "./Amecp";
import Gidtxtp from "./Gidtxtp";
import Confp from "./Confp";
import Ovwpc from "./Ovwpc";
import Ptypc from "./Ptypc";
import Preperpc from "./Preperpc";
......@@ -298,7 +304,6 @@ export default {
"m-addbcb": Addbcb,
"m-amecp": Amecp,
"m-gidtxtp": Gidtxtp,
"m-confp": Confp,
"m-ovwpc": Ovwpc,
"m-ptypc": Ptypc,
"m-preperpc": Preperpc,
......
......@@ -96,18 +96,11 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
};
return {};
},
methods: { ...Event },
created: function () {},
watch:{
// "model.cfagit.recp.dclp.wabachandate":function(){
// if(this.model.cfagit.recp.dclp.wabachandate==''){
// this.model.cfagit.recp.dclp.wabachandate=cfagit.recp.dclp.wabachandate[0].data;
// }
// }
}
watch: {},
};
</script>
<style></style>
......@@ -56,14 +56,7 @@
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col> -->
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col> -->
</div>
</template>
<script>
......
......@@ -321,8 +321,8 @@ export default {
this.tabClick(tab);
let name = tab.name;
let rulePath;
if (name === "ptypc"){
rulePath = "gitp.ptypc"
if (name === "ptypc") {
rulePath = "gitp.ptypc";
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
......
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