Commit d7dd661c by Wuyuqiu

lttdck交易前后联动

parent a352c5c9
...@@ -2983,6 +2983,22 @@ const CodeTable = { ...@@ -2983,6 +2983,22 @@ const CodeTable = {
{ label: "Documents settled free of payment", value: "J" }, { label: "Documents settled free of payment", value: "J" },
{ label: "Documents have been refused and returned", value: "R" }, { label: "Documents have been refused and returned", value: "R" },
], ],
docsta2: [
{ label: "Goods rel., Advice of Payment received", value: "A" },
{ label: "Goods rel., Advice of Payment + docs rec", value: "B" },
{ label: "Advice of Payment rec., wait for docs", value: "C" },
{ label: "Advice of Payment rec., documents rec.", value: "D" },
{ label: "Adv. of Discrep. received, wait for docs", value: "E" },
{ label: "Adv of Discrepancy rec., document rec.", value: "F" },
{ label: "Documents received", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
{ label: "Documents settled free of payment", value: "N" },
],
doctyp: [ doctyp: [
{ label: "买方单据", value: "BDD" }, { label: "买方单据", value: "BDD" },
{ label: "进口代收", value: "BCD" }, { label: "进口代收", value: "BCD" },
...@@ -4494,6 +4510,11 @@ const CodeTable = { ...@@ -4494,6 +4510,11 @@ const CodeTable = {
{ label: "Beneficiary", value: "BEN" }, { label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" }, { label: "Presenter(PRP)", value: "PRB" },
], ],
docprbrol2: [
{ label: "Adv. Bank Transfer", value: "ADT" },
{ label: "2nd Beneficiary", value: "BE2" },
{ label: "Presenter(PRP)", value: "PRB" },
],
// payrol1:[ // payrol1:[
// {label:"Applicant : TG3131232121",value:"1"}, // {label:"Applicant : TG3131232121",value:"1"},
// {label:"Issuing Bank : CHINA EVERBRIGHT BANK",value:"2"}, // {label:"Issuing Bank : CHINA EVERBRIGHT BANK",value:"2"},
......
...@@ -421,7 +421,7 @@ export default { ...@@ -421,7 +421,7 @@ export default {
], ],
"ledgrp.a2b.pts.adrblk": [ "ledgrp.a2b.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { type: "string",max: 999, message: "长度不能超过35" }
], ],
"ledgrp.a2b.dbfadrblkcn": [ "ledgrp.a2b.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
......
...@@ -182,5 +182,9 @@ export default { ...@@ -182,5 +182,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onSeainf(){},
onBenpDet(){},
onAplpDet(){},
} }
\ No newline at end of file
...@@ -123,9 +123,9 @@ export default { ...@@ -123,9 +123,9 @@ export default {
"btdgrp.cbs.max.amt":[ "btdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"btdgrp.prb.namelc":[ "btdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -133,13 +133,13 @@ export default { ...@@ -133,13 +133,13 @@ export default {
], ],
"btdgrp.cbs.max2.amt":[ "btdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"btdgrp.prb.pts.adrblk":[ "btdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"btdgrp.prb.dbfadrblkcn":[ "btdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -162,34 +162,34 @@ export default { ...@@ -162,34 +162,34 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"btdgrp.blk.matper":[ "btdgrp.blk.matper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"ltdgrp.rec.utlnbr":[ "ltdgrp.rec.utlnbr":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"btdgrp.blk.docdis":[ "btdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} {type: "string",max: 999,message:"长度不能超过50"}
], ],
"btdgrp.blk.intdis":[ "btdgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {type: "string",max: 999,message:"长度不能超过65"}
], ],
"btdgrp.blk.comcon":[ "btdgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {type: "string",max: 999,message:"长度不能超过65"}
], ],
"btdgrp.blk.setinsbt":[ "btdgrp.blk.setinsbt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {type: "string",max: 999,message:"长度不能超过65"}
], ],
......
...@@ -51,6 +51,7 @@ export default class Lttdck { ...@@ -51,6 +51,7 @@ export default class Lttdck {
}, },
ltdgrp: { ltdgrp: {
rec: { rec: {
inr:"",//ltdgrp.rec.inr
ownref: "", // Transfer Reference .ltdgrp.rec.ownref ownref: "", // Transfer Reference .ltdgrp.rec.ownref
nam: "", // Name .ltdgrp.rec.nam nam: "", // Name .ltdgrp.rec.nam
avbby: "", // Available by .ltdgrp.rec.avbby avbby: "", // Available by .ltdgrp.rec.avbby
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-list-search
<c-col :span="24" style="padding: 0 0 10px 0"> @form-reset="handleReset('paramsForm')"
<c-button size="small" type="primary" @click="onInfbutSearow"> @form-search="handleSearch"
Search >
</c-button> <template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="left"
label-width="110px"
size="small"
:model="model"
>
<el-row>
<c-col :span="8">
<el-form-item
label="Own Reference"
prop="infcon.seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入Own Reference"
></c-input>
</el-form-item>
</c-col>
<c-button size="small" type="primary" @click="onInfbutDsp"> <c-col :span="8">
Display <el-form-item
</c-button> label="Opening Date"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
placeholder="请选择Opening between"
value-format="yyyy-MM-dd"
style="width: 100%"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
placeholder="请选择Open Date to"
style="width: 100%"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Name" prop="infcon.nam" style="width: 100%">
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入Name"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</el-row>
<!--<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto">
<c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker>
</el-form-item>
</c-col>-->
<c-button size="small" type="primary" @click="onInfbutUserow"> <el-row v-show="searchSlot.searchToggle">
User <c-col :span="8">
</c-button> <el-form-item label="Party Reference" prop="infcon.searef" style="width: 100%">
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-button size="small" type="primary" @click="onInfbutClr"> <!-- <c-col :span="8">
Clear <el-form-item
</c-button> label="复核状态"
prop="infcon.relflg"
style="width: 100%"
>
<c-select
v-model="model.infcon.relflg"
style="width: 100%"
placeholder="请选择Release Status"
>
<el-option
v-for="item in codes.relflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
<c-button size="small" type="primary" @click="onInfbutButprt"> <!--<c-col :span="12">
导Excel <el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" >
</c-button> <c-select v-model="model.infcon.hndtyp" style="width:100%" placeholder="请选择Handling Type">
<el-option
v-for="item in codes.hndtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>-->
<c-button size="small" type="primary" @click="onInfbutExi"> <c-col :span="8">
Exit <el-form-item label="Select Single Party" prop="infcon.pty.extkey" style="width: 100%">
</c-button> <c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party" ></c-input>
</c-col> </el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Party Name" prop="infcon.pty.nam" style="width: 100%">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role">
<el-option
v-for="item in codes.searol1"
: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="Opening between" prop="infcon.opndatfrom" >
<c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto" >
<c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker>
</el-form-item>
</c-col>-->
<c-col :span="8">
<el-form-item label="Resp.User" disabled prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID" disabled></c-input>
</el-form-item>
</c-col>
<c-col :sapn="24"> <c-col :span="8">
<c-col :span="11"> <el-form-item
<c-col :span="24"> label="Status"
<el-form-item label="Own Reference" prop="infcon.seaownref"> prop="infcon.seasta"
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入Own Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Party Reference" prop="infcon.searef">
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Handling Type" prop="infcon.hndtyp">
<c-select
v-model="model.infcon.hndtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择Handling Type"
> >
<el-option <c-select
v-for="item in codes.hndtyp" v-model="model.infcon.seasta"
:key="item.value" style="width: 100%"
:label="item.label" placeholder="请选择Status"
:value="item.value"
> >
</el-option> <el-option
</c-select> v-for="item in codes.seasta"
</el-form-item> :key="item.value"
</c-col> :label="item.label"
<c-col :span="24"> :value="item.value"
<el-form-item label="External Visible Name" prop="infcon.pty.nam"> >
<c-input </el-option>
v-model="model.infcon.pty.nam" </c-select>
maxlength="40" </el-form-item>
placeholder="请输入External Visible Name" </c-col>
></c-input>
</el-form-item> <c-col :span="8">
</c-col> <el-form-item
<c-col :span="24"> label="Currency"
<el-form-item label="Role" prop="infcon.searol"> prop="infcon.seacur"
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="User ID" prop="infcon.usr.extkey">
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Currency" prop="infcon.seacur">
<c-select
v-model="model.infcon.seacur"
style="width: 100%" style="width: 100%"
placeholder="请选择Currency"
> >
<el-option <c-select
v-for="item in codes.seacur" v-model="model.infcon.seacur"
:key="item.value" style="width: 100%"
:label="item.label" placeholder="请选择Currency"
:value="item.value"
> >
</el-option> <el-option
</c-select> v-for="item in codes.curtxt1"
</el-form-item> :key="item.value"
</c-col> :label="item.label"
<c-col :span="24"> :value="item.value"
<el-form-item label="是否显示查询码" prop="infcon.cxmflg"> >
<c-select </el-option>
v-model="model.infcon.cxmflg" </c-select>
style="width: 100%" </el-form-item>
placeholder="请选择是否显示查询码" </c-col>
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!--右边--> <c-col :span="8">
<el-form-item label="Amount" style="width: 100%">
<c-col :span="11">
<c-input
v-model="model.infcon.seaamtfr"
placeholder="请输入Amount between"
style="width: 100%"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input
v-model="model.infcon.seaamtto"
placeholder="请输入Amount to"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1"> <!-- <c-col :span="8">
<c-col :span="24"> <el-form-item
<el-form-item label="Name" prop="infcon.nam"> label="是否显示查询码"
<c-input prop="infcon.cxmflg"
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Release Status" prop="infcon.relflg">
<c-select
v-model="model.infcon.relflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Release Status"
> >
<el-option <c-select
v-for="item in codes.relflg" v-model="model.infcon.cxmflg"
:key="item.value" style="width: 100%"
:label="item.label" placeholder="请选择是否显示查询码"
:value="item.value"
> >
</el-option> <el-option
</c-select> v-for="item in codes.cxmflg"
</el-form-item> :key="item.value"
</c-col> :label="item.label"
<c-col :span="24"> :value="item.value"
<el-form-item label="Select Single Party" prop="infcon.pty.extkey"> >
<c-input </el-option>
v-model="model.infcon.pty.extkey" </c-select>
maxlength="24" </el-form-item>
placeholder="请输入Select Single Party" </c-col> -->
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Party Name/BIC" prop="infcon.seapty">
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/BIC"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <!-- <c-col :span="8">
<c-col :span="12"> <el-form-item
<el-form-item label="Opening between" prop="infcon.opndatfrom"> label="确认状态"
<c-date-picker prop="seacnfdet"
type="date" style="width: 100%"
v-model="model.infcon.opndatfrom" >
<c-select
v-model="model.seacnfdet"
style="width: 100%" style="width: 100%"
placeholder="请选择Opening between" placeholder="请选择Confirmation Status"
></c-date-picker> >
<el-option
v-for="item in codes.cnfins"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="12">
<!-- <c-col :span="8">
<el-form-item <el-form-item
label="Open Date to" label="信用证类型"
prop="infcon.opndatto" prop="sealcrtyp"
style="align: left" style="width: 100%"
> >
<c-date-picker <c-select
type="date" v-model="model.sealcrtyp"
v-model="model.infcon.opndatto" :code="codes.lcrtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择Open Date to" placeholder="请选择form of L/C"
></c-date-picker> >
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col>
<c-col :span="24"> <!-- <c-col :span="8">
<el-form-item label="Status" prop="infcon.seasta"> <el-form-item
<c-select label="货物种类"
v-model="model.infcon.seasta" prop="seagodcod"
style="width: 100%" style="width: 100%"
placeholder="请选择Status"
> >
<el-option <c-select
v-for="item in codes.seasta" v-model="model.seagodcod"
:key="item.value" style="width: 100%"
:label="item.label" placeholder="请选择Goods Code"
:value="item.value"
> >
</el-option> <el-option
</c-select> v-for="item in codes.godcod"
</el-form-item> :key="item.value"
</c-col> :label="item.label"
<c-col :span="24"> :value="item.value"
<c-col :span="12"> >
<el-form-item label="Amount between" prop="infcon.seaamtfr"> </el-option>
<c-input </c-select>
v-model="model.infcon.seaamtfr"
placeholder="请输入Amount between"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount to" prop="infcon.seaamtto">
<c-input
v-model="model.infcon.seaamtto"
placeholder="请输入Amount to"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </el-row>
<c-col :span="24"> </el-form>
<el-form-item label="Invoice No." prop="infcon.invnum"> </template>
<c-input </c-list-search>
v-model="model.infcon.invnum" <!--<c-col :span="12">
maxlength="16" <el-form-item label="display stream" prop="infbut.dspstm">
placeholder="请输入Invoice No." <c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input>
></c-input> </el-form-item>
</el-form-item> </c-col>-->
</c-col>
</c-col> <!-- <el-col :span="24" style="padding: 20px 16px"> -->
</c-col> <!-- <c-button size="small" type="primary" @click="onInfbutSearow">
Search
<c-istream-table :list="stmData.data" :columns="stmData.columns" prop="infbut.dspstm"> </c-button>
<!--el-table-column prop="op" label="OP" width="100">placeholder="请输入display stream"</el-table-column--> -->
<!-- <c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETNOT"
@click="toLetnot"
>
出口信用证预开立
</c-button>
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETOPN"
@click="toLetopn"
>
出口信用证开立
</c-button>
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETDRW"
@click="toLetdrw"
>
非我行通知及收单行登记
</c-button>
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETRSV"
@click="toLetrsv"
>
出口信用证补通知
</c-button> -->
<!-- <c-button size="small" type="primary" @click="onInfbutDsp">
Display
</c-button> -->
<!-- <c-button size="small" type="primary" @click="onInfbutUserow">
Use
</c-button>-->
<!-- <c-button size="small" type="primary" @click="onInfbutClr">
Clear
</c-button>
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
<c-button size="small" type="primary" @click="onInfbutExi">
Exit
</c-button> -->
<!-- </el-col> -->
<!-- <c-istream-table :list="stmData.data " :columns="stmData.columns" style="padding: 0 16px;">
<el-table-column
prop="display"
label="操作"
width="100">
<template slot-scope="scope">
<c-button size="small" type="primary" @click="getButtons(scope.row['业务编号'])">处理</c-button>
<a href="javascript:void(0)" @click="getButtons(scope.row['业务编号'])">处理</a>
</template>
</el-table-column>
</c-istream-table> -->
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<template slot="header">
<!-- 插槽里放了一个文字 一个按钮 -->
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col>
</template>
<template slot-scope="scope">
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table> </c-istream-table>
</c-row> </c-col>
<!--c-col :span="22">
<el-form-item label="display stream" prop="infbut.dspstm"> <m-busbtn
<c-istream-table :data="stmData.columns" :list="stmData.data" :columns="stmData.columns" prop="infbut.dspstm"> ref="childs"
<el-table-column prop="op" label="OP" width="100">placeholder="请输入display stream"</el-table-column> :ownref="ownref"
</c-istream-table--> trnCode="letsel"
<!--c-input ownrefPath="ltdgrp"
v-model="model.infbut.dspstm" tabIndex="9"
:model="letselModel"
></c-input> @onChoose="onChoose"
</el-form-item> >11</m-busbtn
</c-col--> >
</div> </div>
</template> </template>
<script> <script>
import Utils from "~/utils/index";
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbtd/Event"; import Event from "~/model/Infbtd/Event";
import LetselModel from "~/model/Letsel";
import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
letselModel: new LetselModel().data,
curinr: "",
ownref: "",
dialogTableVisible: false,
trnData: {
columns: [
'0 7 "Trn ID" 56',
'1 1 "Transaction Name" 250',
'2 2 "Entry" 72 4 7',
'3 3 "Status" 80 1 0 1 RELSTA',
'4 4 "Cur." 40',
'5 5 "Relevant Amount" 120 2 8 1 4',
'6 6 "Signed" 60',
// '1 1 "编号" 200',
// '2 2 "交易名称" 120',
// // '3 3 "日期" 200',
// { index: 3, position: 3, width: 110, pattern: "date", label: "日期" },
// // '4 4 "状态" 50',
// {
// index: 4,
// position: 4,
// width: 100,
// pattern: "code",
// label: "状态",
// code: this.codes.relstaEN,
// },
// '5 5 "币种" 80',
// '6 6 "金额" 110',
],
data: [],
},
stmData: { stmData: {
columns: [ columns: [
'1 1 \"Reference\" 275 ', '1 1 \"Reference\" 100',
'6 2 \"Party Number\" 275', '2 2 \"Resp. User\" 100',
'7 2 \"1st Beneficiary\" 275', '3 12 \"Opened\" 500 4 7',
'9 3 \"Party Number\" 275', '4 13 \"Expired\" 500 4 7',
'10 3 \"2nd Beneficiary\" 275', '5 14 \"Closed\" 500 4 7',
// "18 5 \"MT\" 100", '6 3 \"分行名称\" 136',
'3 4 \"Opened\" 275', '7 9 \"PTA NO.\" 100',
'4 4 \"Closed\" 275', '8 4 \"Party Number\" 133',
'11 5 \"Cur\" 275', '9 5 \"1st Beneficiary\" 133',
"13 5 \"Cur\" 275", '10 6 \"1st Beneficary CN\" 191',
"12 6 \"Amt\" 275", '11 7 \"Party Number\" 133',
'14 6 \"Amt\" 275', '12 8 \"2nd Beneficiary\" 133',
'13 10 \"Party Number\" 133',
'14 11 \"Advising Bank\" 133',
'15 15 \"Cur\" 410',
'16 17 \"L/C Amount\" 508 2 8 1 15',
'17 16 \"Cur\" 410',
'18 18 \"Open Amount\" 508 2 8 1 17'
// '1 1 "Reference" 105',
// '2 2 "Resp. User" 105',
// '3 3 "Tenor day" 105 0',
// '4 4 "Party Number" 500 4 7',
// '5 14 "Expired" 500 4 7',
// '6 15 "Closed" 500 4 7',
// '7 11 "Issuing Bank" 136',
// '8 5 "Applicant" 410',
// '9 6 "PTA NO." 136',
// '10 7 "Party Number" 100',
// '11 8 "Beneficiary" 410',
// '12 9 "Beneficiary CN" 136',
// '13 10 "Party Number" 136',
// '14 12 "分行名称" 410',
// '15 13 "Opened" 136',
// '16 16 "cur" 410',
// '17 17 "cur" 508 2 8 1 16',
// '18 18 "L/C Amount" 410',
// '19 19 "Open Amount" 508 2 8 1 18',
// '1 1 \"Reference\" 105',
// '2 2 \"Resp. User\" 105',
// '3 3 \"Tenor day\" 105 0',
// '4 4 \"Party Number\" 500 4 7',
// '5 14 \"Expired\" 500 4 7',
// '6 15 \"Closed\" 500 4 7',
// '7 11 \"Issuing Bank\" 136',
// '8 5 \"Applicant\" 410',
// '9 6 \"PTA NO.\" 136',
// '10 7 \"Party Number\" 100',
// '11 8 \"Beneficiary\" 410',
// '12 9 \"Beneficiary CN\" 136',
// '13 10 \"Party Number\" 136',
// '14 12 \"分行名称\" 410',
// '15 13 \"Opened\" 136',
// '16 16 \"cur\" 410',
// '17 17 \"cur\" 508 2 8 1 16',
// '18 18 \"L/C Amount\" 410',
// '19 19 \"Open Amount\" 508 2 8 1 18',
// '1 1 \"Party Number\" 105',
// '2 2 \"Applicant\" 105',
// '3 3 \"PTA NO.\" 105 0',
// '4 4 \"Party Number\" 500 4 7',
// '5 14 \"Beneficiary\" 500 4 7',
// '6 15 \"Beneficiary CN\" 500 4 7',
// '7 11 \"Issuing Bank\" 136',
// '8 5 \"Cur\" 410',
// '9 6 \"L/C Amount\" 136',
// '10 7 \"Cur\" 100',
// '11 8 \"Open Amount\" 410',
// '12 9 \"???CT000288???\" 136',
// '13 10 \"???CT000296???\" 136',
// '14 12 \"???CT000297???\" 410',
// '15 13 \"???CT000298???\" 136',
// '16 16 \"???CT000299???\" 410',
// '17 18 \"???CT000300???\" 508 2 8 1 16',
// '18 17 \"???CT000301???\" 410',
// '19 19 \"???CT000302???\" 508 2 8 1 18',
// '1 1 "Reference" 120',
// '2 2 "Resp. User" 100',
// '3 3 "Tenor day" 100 ',
// '4 4 "Goods Code" 100 ',
// '5 13 "Opened" 500 4 7',
// '6 14 "Expired" 500 4 7',
// '7 15 "Closed" 500 4 7',
// '8 17 "分行名称" 136',
// '9 16 "PTA NO." 410',
// '10 5 "Party Number" 191',
// '11 8 "Applicant" 191',
// '12 9 "Applicant CN" 191',
// '13 11 "Advising Bank BIC" 165',
// '14 10 "Party Number" 165',
// '15 12 "Beneficiary" 165',
// '16 6 "Cur" 80',
// '17 7 "L/C Amount" 110 2 8 1 16',
// '18 18 "Cur" 410',
// '19 19 "Open Amount" 110 2 8 1 18',
// '1 1 "Reference" 130 200',
// "2 2 \"经办柜员\" 90 80",
// "5 5 \"开立日期\" 180 300",
// "6 6 \"到期日\" 180 250",
// "8 7 \"分行名称\" 150 300",
// "9 8 \"申请人编号\" 150 200",
// "11 9 \"申请人名称\" 150 300",
// "15 10 \"受益人名称\" 150 300",
// "16 3 \"开立币种\" 90 80",
// "17 4 \"开立金额\" 90 80",
], ],
data: [], data: [],
}, },
// columns:[
// ]
}; };
}, },
methods: { ...Event },
methods: {
...Event,
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getLetSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.ledgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
// toLttnot() {
// this.$router.history.push("/business/lttnot");
// },
toLttopn() {
this.$router.history.push("/business/lttopn");
},
// handleReset: function () {
// this.model = {
// instNo: "",
// instName: "",
// };
// },
},
created: function () {}, created: function () {},
}; };
</script> </script>
<style> <style></style>
</style>
<template> <template>
<div class="eContainer"> <c-page title="转让信用证查询">
<el-form <div class="eContainer">
:model="model" <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
:rules="rules" <el-form
ref="modelForm" :model="model"
label-width="150px" :rules="rules"
label-position="left" ref="modelForm"
size="small" label-width="150px"
:validate-on-rule-change="false" label-position="left"
> size="small"
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :validate-on-rule-change="false"
<!--PD000006 --> >
<el-tab-pane label="Selection" name="infsea"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane> <!--PD000006 Selection -->
<el-tab-pane label="转让信用证查询" name="infsea">
<!--PD000003 --> <c-content>
<el-tab-pane label="Docs under Trasfer L/C" name="infconp"> <m-infsea :model="model" :codes="codes"/>
<m-infconp :model="model" :codes="codes" /> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000296 --> </c-tabs>
<el-tab-pane label="Discr./Instr." name="dscinsp"> </el-form>
<m-dscinsp :model="model" :codes="codes" /> </div>
</el-tab-pane> </c-page>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="Transaction" name="trnpan">
<m-trnpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="GEL Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable"
import Infbtd from "~/model/Infbtd"; import Infbtd from "~/model/Infbtd"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infbtd/Check"; import Check from "~/model/Infbtd/Check"
import Default from "~/model/Infbtd/Default"; import Default from "~/model/Infbtd/Default"
import Pattern from "~/model/Infbtd/Pattern"; import Pattern from "~/model/Infbtd/Pattern"
import Infsea from "./Infsea"; import Infsea from "./Infsea"
import Infconp from "./Infconp";
import Dscinsp from "./Dscinsp";
import Coninfp from "./Coninfp";
import Trnpan from "./Trnpan";
import Cbsinfp from "./Cbsinfp";
import Cbeinfp from "./Cbeinfp";
import Fepinfp from "./Fepinfp";
import Sepinfp from "./Sepinfp";
import Gleinfp from "./Gleinfp";
import Smhinfp from "./Smhinfp";
import Peninfp from "./Peninfp";
import Prtpan from "./Prtpan";
export default { export default {
components: { name: "Infbtd",
"m-infsea": Infsea, components:{
"m-infconp": Infconp, "m-infsea" : Infsea,
"m-dscinsp": Dscinsp,
"m-coninfp": Coninfp, },
"m-trnpan": Trnpan, provide() {
"m-cbsinfp": Cbsinfp, return {
"m-cbeinfp": Cbeinfp, root: this
"m-fepinfp": Fepinfp, }
"m-sepinfp": Sepinfp, },
"m-gleinfp": Gleinfp, mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
"m-smhinfp": Smhinfp, data(){
"m-peninfp": Peninfp, return {
"m-prtpan": Prtpan, tabVal: "infsea",
}, trnName: "Infbtd",
provide() { model: new Infbtd().data,
return { checkRules: Check,
root: this, defaultRules: Default,
}; pattern: Pattern,
}, rules: null,
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 codes:{...CodeTable},
data() { }
return { },
tabVal: "infsea", methods:{
trnName: "infbtd", tabClick(){
model: new Infbtd().data, }
checkRules: Check, },
defaultRules: Default, created:async function(){
pattern: Pattern, console.log("进入Infbtd交易");
rules: null, let rtnmsg = await this.init({})
codes: { if(rtnmsg.respCode == SUCCESS)
hndtyp: CodeTable.hndtyp, {
relflg: CodeTable.relflg, //更新数据
seasta: CodeTable.seasta, this.updateModel(rtnmsg.data)
seacur: CodeTable.seacur, // Utils.copyValueFromVO(this.model, rtnmsg.data);
}, if (this.isInDisplay) {
}; this.restoreDisplay();
}, }
methods: { }
tabClick() {}, else
}, {
created: async function () { this.$notify.error({title: '错误',message: '服务请求失败!'});
console.log("进入infbtd交易"); }
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//this.model = Utils.copyValueFromVO(this.model, Response.data)
//this.stmData.data = Response.data.infbut_dspstm.rows;
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
}, }
};
</script> </script>
<style> <style>
</style> </style>
...@@ -123,6 +123,7 @@ ...@@ -123,6 +123,7 @@
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onDrwpDet" @onAplpDet="onDrwpDet"
:disabled="blkDftatFlag" :disabled="blkDftatFlag"
:disabledExtkey="model.ledgrp.rec.avbby=='D'||model.ledgrp.rec.avbby=='M'||model.ledgrp.rec.avbby==''"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
......
...@@ -146,6 +146,7 @@ ...@@ -146,6 +146,7 @@
<c-checkbox <c-checkbox
v-model="model.letp.aamp.aammod.addamtflg" v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px" style="margin-left: 10px"
@change="openAddDetails"
>Add. Amount</c-checkbox >Add. Amount</c-checkbox
> >
</c-col> </c-col>
...@@ -503,6 +504,42 @@ export default { ...@@ -503,6 +504,42 @@ export default {
this.model.ledgrp.rec.apprultxt = ""; this.model.ledgrp.rec.apprultxt = "";
} }
}, },
openAddDetails(val){
if(val ==='' && !( this.model.ledgrp.cbs.max2.amt == '0' && this.model.ledgrp.cbs.opn2.amt == '0'
&&this.model.ledgrp.blk.addamtcov ==='') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.cbs.max2.amt = '0';
this.model.ledgrp.cbs.opn2.amt == '0'
this.model.ledgrp.blk.addamtcov ='';
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
:argadr="{ :argadr="{
title: '2nd Advising Bank', title: '2nd Advising Bank',
grp: 'ledgrp', grp: 'ledgrp',
rol: 'a2b', rol: 'a2b',
}" }"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onA2bpDet" @onAplpDet="onA2bpDet"
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank" placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank"
:code="codes.cnfflg1" :code="codes.cnfflg1"
disabled :disabled="model.ledgrp.a2b.pts.extkey==''"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 --> <!--PD000017 -->
<el-tab-pane label="Overview" name="ovwp"> <el-tab-pane label="Overview" name="ovwp">
<m-ovwp :model="model" :codes="codes" /> <c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
......
...@@ -152,6 +152,29 @@ ...@@ -152,6 +152,29 @@
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item
label="Document Set Status"
prop="btdgrp.rec.docsta"
style="width: 100%"
>
<c-select
v-model="model.btdgrp.rec.docsta"
style="width: 100%"
placeholder="Please select Document Set Status"
disabled
>
<el-option
v-for="item in codes.docsta2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- right --> <!-- right -->
......
...@@ -3,64 +3,70 @@ ...@@ -3,64 +3,70 @@
<!-- left --> <!-- left -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <el-form-item
<el-form-item label="L/C Reference"
label="L/C Reference" prop="ledgrp.rec.ownref"
prop="ledgrp.rec.ownref" style="width: 100%"
style="width: 100%" >
> <c-fullbox>
<c-input <c-input
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
maxlength="16" maxlength="8"
placeholder="请输入L/C Reference" placeholder="Please input L/C Reference"
style="width: 100%" :disabled="true"
disabled
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col> <c-button
<c-col :span="1"> style="margin-left: 10px; padding: 0 12px"
<c-button size="small"
style="margin: 0 10px 0 0; padding: 0 12px" type="primary"
size="small" @click="onSeainf"
type="primary" >
@click="onSeainf" <span
> style="
<span font-size: 15px;
style="font-size: 15px; font-family: '宋体'; font-weight: bold" font-family: '宋体';
>i</span font-weight: bold;
> "
</c-button> >i</span
</c-col> >
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <el-form-item
<el-form-item label="Transfer Reference"
label="Transfer Reference" prop="ltdgrp.rec.ownref"
prop="ltdgrp.rec.ownref" style="width: 100%"
style="width: 100%" >
> <c-fullbox>
<c-input <c-input
v-model="model.ltdgrp.rec.ownref" v-model="model.ltdgrp.rec.ownref"
maxlength="16" maxlength="8"
placeholder="请输入Transfer Reference" placeholder="Please input Transfer Reference"
style="width: 100%" :disabled="true"
disabled
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col> <c-button
<c-col :span="1"> style="margin-left: 10px; padding: 0 12px"
<c-button size="small"
style="margin: 0 10px 0 0; padding: 0 12px" type="primary"
size="small" @click="onSeainf"
type="primary" >
@click="onSeainf" <span
> style="
<span font-size: 15px;
style="font-size: 15px; font-family: '宋体'; font-weight: bold" font-family: '宋体';
>i</span font-weight: bold;
> "
</c-button> >i</span
</c-col> >
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur"> <el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur">
...@@ -227,7 +233,8 @@ ...@@ -227,7 +233,8 @@
}" }"
:enRef="true" :enRef="true"
:enNam="true" :enNam="true"
:disabled="true" :disabled="false"
:disabled1="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -240,7 +247,8 @@ ...@@ -240,7 +247,8 @@
}" }"
:enRef="true" :enRef="true"
:enNam="true" :enNam="true"
:disabled="true" :disabled="false"
:disabled1="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -253,7 +261,8 @@ ...@@ -253,7 +261,8 @@
}" }"
:enRef="true" :enRef="true"
:enNam="true" :enNam="true"
:disabled="true" :disabled="false"
:disabled1="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
</c-col> </c-col>
...@@ -470,7 +479,7 @@ ...@@ -470,7 +479,7 @@
@change="selectOrCheckboxRule('btdgrp.rec.docprbrol')" @change="selectOrCheckboxRule('btdgrp.rec.docprbrol')"
> >
<el-option <el-option
v-for="item in codes.docprbrol0" v-for="item in codes.docprbrol2"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -490,7 +499,7 @@ ...@@ -490,7 +499,7 @@
}" }"
:noRef="true" :noRef="true"
:disabled="!(model.btdgrp.rec.docprbrol == 'PRB')" :disabled="!(model.btdgrp.rec.docprbrol == 'PRB')"
:disabledExtkey="model.btdgrp.rec.docprbrol == 'BEN'" :disabledExtkey="model.btdgrp.rec.docprbrol == 'ADT'||model.btdgrp.rec.docprbrol == 'BE2'"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
> >
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin-left:10px; padding: 0 12px" style="margin-left: 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
...@@ -85,11 +84,11 @@ ...@@ -85,11 +84,11 @@
size="small" size="small"
type="primary" type="primary"
:disabled=" :disabled="
!model.ltdgrp.rec.ownref&&model.ltdgrp.be1.pta.inr !model.ltdgrp.rec.ownref && model.ltdgrp.be1.pta.inr
? false ? false
: true : true
" "
@click="onLttpButgetref" @click="onLttpButgetref"
> >
Get Get
</c-button> </c-button>
...@@ -139,7 +138,7 @@ ...@@ -139,7 +138,7 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin-left:10px; padding: 0 12px" style="margin-left: 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
...@@ -193,8 +192,8 @@ ...@@ -193,8 +192,8 @@
<c-checkbox <c-checkbox
v-model="model.lttp.aamp.aammod.addamtflg" v-model="model.lttp.aamp.aammod.addamtflg"
style="margin-left: 10px" style="margin-left: 10px"
:disabled="model.ltdgrp.cbs.max2.amt==''" :disabled="model.ltdgrp.cbs.max2.amt == ''"
@change="openAddDetails" @change="openAddDetails"
>Add. Amount</c-checkbox >Add. Amount</c-checkbox
> >
</c-col> </c-col>
...@@ -264,28 +263,27 @@ ...@@ -264,28 +263,27 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Issued on" prop="ltdgrp.rec.opndat"> <el-form-item label="Issued on" prop="ltdgrp.rec.opndat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ltdgrp.rec.opndat" v-model="model.ltdgrp.rec.opndat"
style="width: 100%" style="width: 100%"
placeholder="Please select Issued on" placeholder="Please select Issued on"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.shpdat"
style="width: 100%"
placeholder="Please select Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.shpdat"
style="width: 100%"
placeholder="Please select Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Expiring on" prop="ltdgrp.rec.expdat"> <el-form-item label="Expiring on" prop="ltdgrp.rec.expdat">
...@@ -361,10 +359,7 @@ ...@@ -361,10 +359,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="Confirmation Instruct." prop="ltdgrp.rec.cnfins">
label="Confirmation Instruct."
prop="ltdgrp.rec.cnfins"
>
<c-select <c-select
v-model="model.ltdgrp.rec.cnfins" v-model="model.ltdgrp.rec.cnfins"
style="width: 100%" style="width: 100%"
...@@ -374,7 +369,6 @@ ...@@ -374,7 +369,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- right --> <!-- right -->
...@@ -394,8 +388,7 @@ ...@@ -394,8 +388,7 @@
> >
</c-ptap> </c-ptap>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="ltdgrp.be1.pts.nam">
<el-form-item label="" prop="ltdgrp.be1.pts.nam">
<c-input <c-input
v-model="model.ltdgrp.be1.pts.nam" v-model="model.ltdgrp.be1.pts.nam"
maxlength="40" maxlength="40"
...@@ -841,22 +834,35 @@ export default { ...@@ -841,22 +834,35 @@ export default {
this.model.ltdgrp.rec.apprultxt = ""; this.model.ltdgrp.rec.apprultxt = "";
} }
}, },
openAddDetails(val){ openAddDetails(val) {
if(val ==='' && !( this.model.ltdgrp.cbs.max2.amt == '0' && this.model.ltdgrp.cbs.opn2.amt == '0' if (
&&this.model.ltdgrp.blk.addamtcov ==='') ){ val === "" &&
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{ !(
confirmButtonText: 'Yes', this.model.ltdgrp.cbs.max2.amt == "0" &&
cancelButtonText: 'No', this.model.ltdgrp.cbs.opn2.amt == "0" &&
type: 'warning', this.model.ltdgrp.blk.addamtcov === ""
showClose:false )
}).then(() => {//yes的执行在这里写 ) {
this.executeRule('lttp.aamp.aammod.addamtflg').then(res => { this.$confirm(
if (res.respCode == SUCCESS) { "Do you really want to delete the additional amount of this contract?",
this.model.ltdgrp.cbs.max2.amt = '0'; "提示",
this.model.ltdgrp.blk.addamtcov =''; {
this.updateModel(res.data) confirmButtonText: "Yes",
} cancelButtonText: "No",
}) type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.executeRule("lttp.aamp.aammod.addamtflg").then((res) => {
if (res.respCode == SUCCESS) {
this.model.ltdgrp.cbs.max2.amt = "0";
this.model.ltdgrp.cbs.opn2.amt == "0"
this.model.ltdgrp.blk.addamtcov = "";
this.updateModel(res.data);
}
});
// this.model.ledgrp.rec.revtyp =''; // this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0'; // this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat =''; // this.model.ledgrp.rec.revdat ='';
...@@ -867,15 +873,17 @@ export default { ...@@ -867,15 +873,17 @@ export default {
// type: 'success', // type: 'success',
// message: '删除成功!' // message: '删除成功!'
// }); // });
}).catch(() => {//No的功能在这里写 })
this.model.lttp.aamp.aammod.addamtflg ='X' .catch(() => {
// this.$message({ //No的功能在这里写
// type: 'info', this.model.lttp.aamp.aammod.addamtflg = "X";
// message: '已取消' // this.$message({
// }); // type: 'info',
}); // message: '已取消'
} // });
} });
}
},
}, },
created: function () {}, created: function () {},
}; };
......
<template>
<ReviewWrapper>
<Lttdck></Lttdck>
</ReviewWrapper>
</template>
<script>
import Lttdck from "~/views/Business/Lttdck";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLttdck",
components: { ReviewWrapper, Lttdck },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -90,6 +90,7 @@ import ReviewBetamc from "./Business/ReviewBetamc.vue"; ...@@ -90,6 +90,7 @@ import ReviewBetamc from "./Business/ReviewBetamc.vue";
import ReviewCptcan from "./Business/ReviewCptcan.vue"; import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue"; import ReviewCptrep from "./Business/ReviewCptrep.vue";
import ReviewCltdav from "./Business/ReviewCltdav.vue"; import ReviewCltdav from "./Business/ReviewCltdav.vue";
import ReviewLttdck from "./Business/ReviewLttdck.vue";
const ReviewRouter = [ const ReviewRouter = [
...@@ -193,7 +194,7 @@ const ReviewRouter = [ ...@@ -193,7 +194,7 @@ const ReviewRouter = [
{ path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } }, { path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } },
{ path: "lttopn", component: ReviewLttopn, name: "ReviewLttopn", meta: { title: "复核-Lttopn" } }, { path: "lttopn", component: ReviewLttopn, name: "ReviewLttopn", meta: { title: "复核-Lttopn" } },
{ path: "cltdav", component: ReviewCltdav, name: "ReviewCltdav", meta: { title: "复核-Cltdav" } }, { path: "cltdav", component: ReviewCltdav, name: "ReviewCltdav", meta: { title: "复核-Cltdav" } },
{ path: "lttdck", component: ReviewLttdck, name: "ReviewLttdck", meta: { title: "复核-Lttdck" } },
{ path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } }, { path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } },
{ path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } }, { path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } },
{ path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } }, { path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } },
......
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