Commit ccc7159f by sheyinchen

bttsnd交易修改

parent e5c3065c
......@@ -5412,6 +5412,10 @@ const CodeTable = {
{ label: "Seller", value: "SEL" },
{ label: "Ordering Institution", value: "ORI" },
],
rolall1: [
{ label: "Is suing Bank", value: "ISS" },
{ label: "Further Party", value: "OTH" },
],
gitopn_rolall:[
{label:"Appliant",value:"APL"},
{label:"1st Adv.thr.Bank",value:"ATB"},
......
......@@ -194,5 +194,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-row>
<c-col :span="12">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" style="width: 50%" placeholder="请输入Transfer Reference"></c-input>
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-row>
<c-col :span="10">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" style="width: 95%"
placeholder="请输入Transfer Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" style="width: 50%" placeholder="请输入L/C Reference"></c-input>
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
</el-form-item>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
</el-row>
<el-divider class="el-divider--horizontal" ></el-divider>
<el-row>
<c-col :span="12">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" style="width: 50%" placeholder="请输入Doc. Set Reference"></c-input>
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-col :span="10" :offset="1">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" style="width: 95%"
placeholder="请输入L/C Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="btdgrp.rec.nam">
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
</c-row>
<el-divider class="el-divider--horizontal"></el-divider>
<c-row>
<c-col :span="10">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" style="width: 95%"
placeholder="请输入Doc. Set Reference"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-divider class="el-divider--horizontal" ></el-divider>
<el-row>
<c-col :span="5">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select disabled v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="5">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount"
></c-input-currency>
<c-col :span="10" :offset="1">
<el-form-item label="" prop="btdgrp.rec.nam" style="width: 100%">
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" style="width: 95%"
placeholder="请输入Name of Bill Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-checkbox v-model="model.bttp.aammod.addamtflg">Add. Amount</c-checkbox>
</c-row>
<el-divider class="el-divider--horizontal"></el-divider>
<c-row>
<c-col :span="12">
<c-col :span="18">
<c-col :span="14">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select disabled v-model="model.btdgrp.cbs.max.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="9" :offset="1">
<el-form-item style="text-align: left" label-width="0" prop="btdgrp.cbs.max.amt">
<c-input-currency v-model="model.btdgrp.cbs.max.amt" style="text-align: left; width: 100%"
placeholder="Document Amount"></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="5" :offset="1">
<c-checkbox v-model="model.bttp.aammod.addamtflg">Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="10" offset="1">
<c-col :span="11">
<el-form-item label="1st Beneficiary Ref." prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary"></c-input>
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" style="width: 95%"
placeholder="请输入1st Beneficiary"></c-input>
</el-form-item>
</c-col>
</el-row>
</c-row>
<el-row>
<c-col :span="5">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-select disabled v-model="model.btdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
<c-col :span="12">
<c-col :span="18">
<c-col :span="14">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-select disabled v-model="model.btdgrp.cbs.opn1.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.btdgrp.cbs.opn1.am"
style="text-align: left; width: 100%"
placeholder="Balance Amount"
></c-input-currency>
</c-col>
<c-col :span="9" :offset="1">
<el-form-item style="text-align: left" label-width="0px" prop="btdgrp.cbs.opn1.amt">
<c-input-currency v-model="model.btdgrp.cbs.opn1.am" style="text-align: left; width: 100%"
placeholder="Balance Amount"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12" offset="2">
</c-col>
</c-col>
<c-col :span="11" >
<el-form-item label="" prop="btdgrp.be1.pts.nam">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" style="width: 95%"
placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="10">
<c-col :span="11">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" placeholder="请输入Document Type"></c-input>
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" style="width: 95%"
placeholder="请输入Document Type"></c-input>
</el-form-item>
</c-col>
<c-col :span="10" offset="2">
<c-col :span="11" :offset="1">
<el-form-item label="2nd Beneficiary Ref." prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary"></c-input>
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" style="width: 95%"
placeholder="请输入2nd Beneficiary"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="8">
<c-col :span="11">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:95%"
placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12" offset="4">
<c-col :span="11" :offset="1">
<el-form-item label="" prop="btdgrp.be2.pts.nam">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" style="width:95%"
placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="8">
<c-col :span="11">
<el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker>
<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:95%"
placeholder="请选择Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10" offset="4">
<c-col :span="11" :offset="1">
<el-form-item label="Presenting Bank Ref." prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank"></c-input>
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" style="width:95%"
placeholder="请输入Presenting Bank"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<c-col :span="11">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input>
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" style="width:95%"
placeholder="请输入Document Set Status"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="11" :offset="1">
<el-form-item label="" prop="btdgrp.prb.pts.nam">
<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" placeholder="Name of Presenting Bank"></c-input>
<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" style="width:95%"
placeholder="Name of Presenting Bank"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-divider class="el-divider--horizontal" ></el-divider>
<el-divider class="el-divider--horizontal"></el-divider>
<el-row>
<c-col :span="9">
<c-col :span="11">
<el-form-item label="Document Set Number" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Document Set Number"></c-input>
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" style="width:95%"
placeholder="请输入Document Set Number"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" offset="3">
<c-col :span="11" :offset="1">
<el-form-item label="" prop="btdgrp.rec.nam">
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" style="width:95%"
placeholder="请输入Name of Bill Contract"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-divider class="el-divider--horizontal" ></el-divider>
<el-divider class="el-divider--horizontal"></el-divider>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="12">
<c-col :span="11">
<el-form-item label="1st Ben Document Amount" prop="btdgrp.cbs.max.cur">
<c-select disabled v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
<c-select disabled v-model="model.btdgrp.cbs.max.cur" style="width: 100%" placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">7
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount"
></c-input-currency>
<el-form-item style="text-align: left" label-width="20px" prop="btdgrp.cbs.max.amt">
<c-input-currency v-model="model.btdgrp.cbs.max.amt" style="text-align: left; width: 100%"
placeholder="Document Amount"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Additional Amount" prop="btdgrp.cbs.max2.cur">
<c-select disabled v-model="model.btdgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
<c-select disabled v-model="model.btdgrp.cbs.max2.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max2.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="Additional Amount"
></c-input-currency>
<el-form-item style="text-align: left" label-width="20px" prop="btdgrp.cbs.max2.amt">
<c-input-currency v-model="model.btdgrp.cbs.max2.amt" style="text-align: left; width: 100%"
placeholder="Additional Amount"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="2nd Ben Document Amount" prop="btdgrp.cbs.opnbe1amt.cur">
<c-select disabled v-model="model.btdgrp.cbs.opnbe1amt.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
<c-select disabled v-model="model.btdgrp.cbs.opnbe1amt.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.be2amt">
<c-input-currency
v-model="model.btdgrp.be2amt"
style="text-align: left; width: 100%"
placeholder="Additional Amount"
></c-input-currency>
<el-form-item style="text-align: left" label-width="20px" prop="btdgrp.be2amt">
<c-input-currency v-model="model.btdgrp.be2amt" style="text-align: left; width: 100%"
placeholder="Additional Amount"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Additional Amount" prop="btdgrp.cbs.opnbe1amt2.cur">
<c-select disabled v-model="model.btdgrp.cbs.opnbe1amt2.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
<c-select disabled v-model="model.btdgrp.cbs.opnbe1amt2.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.be2amt2">
<c-input-currency
v-model="model.btdgrp.be2amt2"
style="text-align: left; width: 100%"
placeholder="Additional Amount"
></c-input-currency>
<el-form-item style="text-align: left" label-width="20px" prop="btdgrp.be2amt2">
<c-input-currency v-model="model.btdgrp.be2amt2" style="text-align: left; width: 100%"
placeholder="Additional Amount"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="DIFF. 1st BEN Document" prop="btdgrp.cbs.opnbe1amt.cur">
<c-select disabled v-model="model.btdgrp.cbs.opnbe1amt.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
<c-select disabled v-model="model.btdgrp.cbs.opnbe1amt.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.opnbe1amt.amt">
<c-input-currency
v-model="model.btdgrp.cbs.opnbe1amt.amt"
style="text-align: left; width: 100%"
placeholder="Additional Amount"
></c-input-currency>
<el-form-item style="text-align: left" label-width="20px" prop="btdgrp.cbs.opnbe1amt.amt">
<c-input-currency v-model="model.btdgrp.cbs.opnbe1amt.amt" style="text-align: left; width: 100%"
placeholder="Additional Amount"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Additional Amount" prop="btdgrp.cbs.opnbe1amt2.cur">
<c-select disabled v-model="model.btdgrp.cbs.opnbe1amt2.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
<c-select disabled v-model="model.btdgrp.cbs.opnbe1amt2.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.opnbe1amt2.amt">
<c-input-currency
v-model="model.btdgrp.cbs.opnbe1amt2.amt"
style="text-align: left; width: 100%"
placeholder="Additional Amount"
></c-input-currency>
<el-form-item style="text-align: left" label-width="20px" prop="btdgrp.cbs.opnbe1amt2.amt">
<c-input-currency v-model="model.btdgrp.cbs.opnbe1amt2.amt" style="text-align: left; width: 100%"
placeholder="Additional Amount"></c-input-currency>
</el-form-item>
</c-col>
</c-col>>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="18">
<c-col :span="11" >
<c-col :span="24">
<el-form-item label="Date of Receipt (1st Ben.)" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" placeholder="请选择Date of Receipt (1st Ben.)"></c-date-picker>
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:95%"
placeholder="请选择Date of Receipt (1st Ben.)"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="18">
<c-col :span="24">
<el-form-item label="Order Date (1st Ben.)" prop="btdgrp.rec.orddatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe1" style="width:100%" placeholder="请选择Order Date (1st Ben.)"></c-date-picker>
<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe1" style="width:95%"
placeholder="请选择Order Date (1st Ben.)"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="17" :offset="10">
<c-col :span="24" :offset="7">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-ptap5
:model="model"
:argadr="{
fieldtit: 'Payee for',
title: '1st Ben-Side',
grp: 'btdgrp',
rol: 'prp',
field: 'docprbrolbe1',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap5>
<!-- <c-ptap1 :model="model" :argadr="{
fieldtit: 'Payee for',
title: '1st Ben-Side',
grp: 'btdgrp',
rol: 'prp',
field: 'docprbrolbe1',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap1>
</c-col> -->
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdck/Event"
import Ptap5 from "~/views/Public/PtapWithRole";
export default {
components: { "c-ptap5": Ptap5 },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdck/Event"
//import c-ptap1 from "~/views/Public/Ptap1";
export default {
// components: { "c-ptap1": c-ptap1 },
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
.el-divider--horizontal{
.el-divider--horizontal {
margin-top: 3px;
margin-bottom: 8px;
}
margin-top: 3px;
margin-bottom: 8px;
}
.rule-input >>> .el-form-item__label {
font-size: 15px;
text-align: left;
color: #303133;
padding: 0;
}
.el-form-item__label {
white-space: pre-wrap;
text-align: center;
label-position: top;
}
.rule-input>>>.el-form-item__label {
font-size: 15px;
text-align: left;
color: #303133;
padding: 0;
}
.el-form-item__label {
white-space: pre-wrap;
text-align: center;
label-position: top;
}
</style>
<template>
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form :label-position="top" :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000003 -->
......@@ -59,29 +81,37 @@
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bttdck from "~/model/Bttdck"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bttdck/Check"
import Default from "~/model/Bttdck/Default"
import Pattern from "~/model/Bttdck/Pattern"
import Drv from "./Drv"
import Dscinsp from "./Dscinsp"
import Mt750p from "./Mt750p"
import Mt754p from "./Mt754p"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bttdck from "~/model/Bttdck";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bttdck/Check";
import Default from "~/model/Bttdck/Default";
import Pattern from "~/model/Bttdck/Pattern";
import Drv from "./Drv";
import Dscinsp from "./Dscinsp";
import Mt750p from "./Mt750p";
import Mt754p from "./Mt754p";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp"
import Coninfp from "~/views/Public/Coninfp"
import Engp from "~/views/Public/Engp";
import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre";
export default {
components:{
......@@ -94,13 +124,15 @@ export default {
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-Glepan" : Glepan,
"m-doctre" : Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
//mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "drv",
......@@ -120,14 +152,15 @@ export default {
},
created:async function(){
console.log("进入bttdck交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
}
else
//let rtnmsg = await this.init({})
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.newamt">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="reserve amount based percent" prop="liaall.liaccv.pctresamt">
<c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaccvAdd">
Add
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="金额总和" prop="liaall.liaccv.totcovamt">
<c-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information " prop="liaall.liaccv.addinf">
<c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit placeholder="请输入Additional Information " ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttsnd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -4,6 +4,20 @@
<c-col :span="11">
<c-col :span="24">
<c-col :span="22">
<c-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50"
show-word-limit placeholder="请输入Discrepancies" rows="4" ></c-input>
</c-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onIntdisButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies"
rows="4"></c-input>
......@@ -44,32 +58,22 @@
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies"
rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onDocdisButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Further Identification" prop="bttp.furide">
......@@ -83,11 +87,16 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bttp.cre752flg">Receive MT 752</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bttp.cre752flg">Create 752</c-checkbox>
</c-col>
<el-form-item label="Further Identification" prop="btdgrp.rec.furide">
<c-select v-model="model.btdgrp.rec.furide" style="width:100%"
placeholder="请选择Further Identification" :code="codes.furide">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Date of Advise" prop="btdgrp.rec.disdat">
......@@ -101,6 +110,10 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.rmbclmnow">Claim Reimbursement late</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.rmbclmnow">Claim Reimbursement now</c-checkbox>
</c-col>
......@@ -115,8 +128,10 @@
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttsnd/Event"
//import Docpre from "~/views/Public/Docpre";
export default {
//components: { "c-docpre": Docpre },
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
......
<template>
<c-row>
<c-col :span="24">
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bttp.ltdget.sdamod.dadsnd">
<c-input v-model="model.bttp.ltdget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bttp.ledget.sdamod.dadsnd">
<c-input v-model="model.bttp.ledget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="11">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入Transfer Reference" style="width: 100%"
disabled>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="bttp.ltdget.sdamod.seainf">
<c-input v-model="model.bttp.ltdget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="11" :offset="1">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入L/C Reference" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Doc. Set Reference" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bttp.recget.sdamod.seainf">
<c-input v-model="model.bttp.recget.sdamod.seainf" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount币种" disabled>
<el-option v-for="item in codes.cur" :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="" label-width="65px" prop="btdgrp.cbs.max.amt">
<c-input v-model="model.btdgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.bttp.aammod.addamtflg" disabled>Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Open Amount币种" disabled>
<el-option v-for="item in codes.cur" :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="" label-width="65px" prop="btdgrp.cbs.opn1.cur">
<c-input v-model="model.btdgrp.cbs.opn1.cur" placeholder="请输入Open Amount" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" placeholder="请输入Document Type" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Rec. Date 1st Ben." style="margin-left: 35px;" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%;margin-left: -35px;"
placeholder="请选择Rec. Date 1st Ben."></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Less comm." prop="btdgrp.rec.lescom">
<c-input v-model="model.btdgrp.rec.lescom" placeholder="请输入Less comm."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Rec. Date 2nd Ben." style="margin-left: 35px;" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%;margin-left: -35px;"
placeholder="请选择Rec. Date 2nd Ben."></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label-width="160px">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Instructions 1st Beneficiary" prop="btdgrp.blk.be1ins">
<c-input type="textarea" v-model="model.btdgrp.blk.be1ins" maxlength="65" show-word-limit placeholder="请输入Instructions 1st Beneficiary"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Instructions 2nd Beneficiary" prop="btdgrp.blk.be2ins">
<c-input type="textarea" v-model="model.btdgrp.blk.be2ins" maxlength="65" show-word-limit placeholder="请输入Instructions 2nd Beneficiary"
disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presenting Bank" prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.prb.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presented by" prop="btdgrp.rec.docprbrol">
<c-select v-model="model.btdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="btdgrp.prb.pts.extkey" label-width="0px">
<c-input v-model="model.btdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align: right">
<c-button style="margin:0 0" class="detailsButton" size="small" type="primary" @click="onAplpDet">
{{ $t('buttons.details') }}
</c-button>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.prb.pts.adrblk" label-width="0px">
<c-input type="textarea" v-model="model.btdgrp.prb.pts.adrblk" maxlength="35" show-word-limit rows="2"
placeholder="请输入Address Block" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payer" prop="btdgrp.rec.payrol">
<c-select v-model="model.btdgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="btdgrp.oth.pts.extkey" label-width="0px">
<c-input v-model="model.btdgrp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align: right">
<c-button style="margin:0 0" class="detailsButton" size="small" type="primary" @click="onAplpDet">
{{ $t('buttons.details') }}
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.oth.pts.adrblk" label-width="0px">
<c-input type="textarea" v-model="model.btdgrp.oth.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block"
disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="bttp.ledget.sdamod.seainf">
<c-input v-model="model.bttp.ledget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bttp.recget.sdamod.dadsnd">
<c-input v-model="model.bttp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
</c-col> -->
<!-- <c-col :span="12">
</c-col> -->
<!-- <c-col :span="12">
</c-col> -->
</c-row>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttopn/Event";
import Ptap from "~/views/Public/Ptap";
export default {
components: {
"c-ptap": Ptap
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event
},
created: function() {},
};
</script>
<style>
.centerLable {
margin-left: 0px;
height: 32px;
line-height: 32px;
}
.marginLable {
padding-left: 150px;
}
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="10">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" style="width: 95%"
placeholder="请输入Transfer Reference" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="10" :offset="1">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" style="width: 95%"
placeholder="请输入L/C Reference" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
</c-row>
<!-- S0000256 : Transfer Reference -->
<c-row>
<c-col :span="10">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" style="width: 95%"
placeholder="请输入Doc. Set Reference" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="10" :offset="1">
<el-form-item label="" prop="btdgrp.rec.nam" style="width: 100%">
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" style="width: 95%"
placeholder="请输入Name of Bill Contract" disabled ></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- S0000257 : L/C Reference -->
<c-row>
<c-col :span="12">
<c-col :span="18">
<c-col :span="14">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select disabled v-model="model.btdgrp.cbs.max.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label"
:value="item.value" disabled>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="9" :offset="1">
<el-form-item style="text-align: left" label-width="0" prop="btdgrp.cbs.max.amt">
<c-input-currency v-model="model.btdgrp.cbs.max.amt" style="text-align: left; width: 100%"
placeholder="Document Amount" disabled></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="5" :offset="1">
<c-checkbox disabled v-model="model.bttp.aammod.addamtflg" >Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label="1st Beneficiary Ref." prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" style="width: 95%"
placeholder="请输入1st Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
</c-row>
<el-row>
<c-col :span="12">
<c-col :span="18">
<c-col :span="14">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-select disabled v-model="model.btdgrp.cbs.opn1.cur" style="width: 100%"
placeholder="请选择Currency">
<!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="9" :offset="1">
<el-form-item style="text-align: left" label-width="0px" prop="btdgrp.cbs.opn1.amt">
<c-input-currency v-model="model.btdgrp.cbs.opn1.am" style="text-align: left; width: 100%"
placeholder="Balance Amount" disabled></c-input-currency>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="11" >
<el-form-item label="" prop="btdgrp.be1.pts.nam">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" style="width: 95%"
placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="11">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" style="width: 95%"
placeholder="请输入Document Type" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="2nd Beneficiary Ref." prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" style="width: 95%"
placeholder="请输入2nd Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
</el-row>
<!-- S0000250 : Document Amount -->
<el-row>
<c-col :span="11">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:95%"
placeholder="请选择Maturity Date" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="" prop="btdgrp.be2.pts.nam">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" style="width:95%"
placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="11">
<el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:95%"
placeholder="请选择Presentation Date" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Presenting Bank Ref." prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" style="width:95%"
placeholder="请输入Presenting Bank" disabled></c-input>
</el-form-item>
</c-col>
</el-row>
<!-- S0000249 : Open Amount -->
<el-row>
<c-col :span="11">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" style="width:95%"
placeholder="请输入Document Set Status" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="" prop="btdgrp.prb.pts.nam">
<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" style="width:95%"
placeholder="Name of Presenting Bank" disabled></c-input>
</el-form-item>
</c-col>
</el-row>
<c-row>
<c-col :span="6">
<el-form-item label="Presentation Date" prop="btdgrp.be1.pts.nam">
<c-date-picker v-model="model.btdgrp.be1.pts.nam" maxlength="40" style="width:100%"
placeholder="请选择Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000248 : 2nd Beneficiary -->
<!-- S0000254 : Ref. -->
<c-col :span="6">
<el-form-item label="Rec.Date 1st Ben." prop="btdgrp.be2.pts.ref">
<c-date-picker v-model="model.btdgrp.be2.pts.ref" maxlength="16"
style="width:100%" placeholder="请输入Rec.Date 1st Ben."></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000252 : Document Type -->
<c-col :span="11">
<c-form-item label="Presented by" prop="btdgrp.rec.rolall">
<c-select v-model="model.btdgrp.rec.rolall"
style="width:95%" placeholder="请选择Presented by" :code="codes.rolall"
@change="executeDefault('btdgrp.rec.rolall')"></c-select>
</c-form-item>
</c-col>
</c-row>
<!--左边-->
<c-col :span="12">
<c-col :span="12" :offset="12">
<el-form-item label="Rec.Date 2st Ben." prop="btdgrp.be2.pts.ref">
<c-date-picker v-model="model.btdgrp.be2.pts.ref" maxlength="16"
style="width:100%" placeholder="请输入Rec.Date 2st Ben."></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="New Benificiary Ref." prop="btdgrp.blk.benref">
<c-input type="textarea" v-model="model.btdgrp.blk.benref" maxlength="16"
show-word-limit placeholder="请输入New Benificiary Ref." ></c-input>
</c-form-item>
</c-col>
<c-col :span="12" :offset="1">
<c-form-item label="Less comm." prop="btdgrp.rec.lescom">
<c-input v-model="model.btdgrp.rec.lescom" placeholder="请输入Less comm."></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Instructions (1st Beneficiary)" prop="btdgrp.blk.be1ins">
<c-input type="textarea" v-model="model.btdgrp.blk.be1ins" maxlength="65"
show-word-limit placeholder="请输入Instructions (1st Beneficiary)" rows="4" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Instructions (2nd Beneficiary)" prop="btdgrp.blk.be2ins">
<c-input type="textarea" v-model="model.btdgrp.blk.be2ins"
maxlength="65" show-word-limit placeholder="请输入Instructions (2nd Beneficiary)" rows="4" disabled ></c-input>
</c-form-item>
</c-col>
</c-col>
<!--右边-->
<c-col :span="12">
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'prb',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onOthpDet"
>
</c-ptap1>
</c-col>
<c-col :span="24">
<el-form-item label="Payer" prop="btdgrp.rec.payrol">
<c-select v-model="model.btdgrp.rec.payrol" style="width:100%"
placeholder="请选择Payer" :code="codes.rolall1" @change="executeDefault('btdgrp.rec.payrol')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'oth',
}"
@onSeainf="onSeainf"
@onAplpDet="onOthpDet"
:disabled1="model.btdgrp.rec.payrol!='OTH'"
@change="console.log(123)"
>
</c-ptap1>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bttsnd/Event";
import Ptap1 from "~/views/Public/Ptap1";
export default {
components: { "c-ptap1": Ptap1 },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -18,44 +18,70 @@
:model="model"
:rules="rules"
ref="modelForm"
label-width="160px"
label-width="150px"
size="small"
label-position="left"
label-position="right"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000032 -->
<el-tab-pane label="Send Documents" name="payp">
<c-content>
<m-payp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000067 -->
<el-tab-pane label="instr./Discrep." name="dscins">
<c-content>
<m-dscins :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外" name="engp">
<el-tab-pane label="liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />.
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="跨境人民币申报" name="cnyp">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -67,11 +93,13 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bttsnd from "~/model/Bttsnd"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Bttsnd/Check"
import Default from "~/model/Bttsnd/Default"
import Pattern from "~/model/Bttsnd/Pattern"
import Payp from "./Payp"
import Dscins from "./Dscins"
import cnyp from "./Cnyp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Ccvpan from "./Ccvpan"
......@@ -79,9 +107,10 @@ import Dscins from "./Dscins"
// import Coninfp from "./Coninfp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Ccvpan from "~/views/Public/Ccvpan";
import Glepan from "~/views/Public/Glepan";
import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre";
export default {
components:{
......@@ -89,16 +118,18 @@ export default {
"m-dscins" : Dscins,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-ccvpan" : Ccvpan,
"m-glepan" : Glepan,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-coninfp" : Coninfp,
"m-doctre" : Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
//mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "payp",
......@@ -108,7 +139,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {...CodeTable
},
}
},
......@@ -118,10 +149,14 @@ export default {
},
created:async function(){
console.log("进入bttsnd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
//let rtnmsg = await this.init({})
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment