Commit c290d1d2 by 潘际乾
parents e4be50b7 280c507b
......@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.conno":[
......
......@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -246,7 +246,7 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.adv.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.bankno":[
......@@ -254,7 +254,7 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.adv.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.jigomc":[
......@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.conno":[
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
<c-fullbox>
<c-input
type="textarea"
v-model="model.brdgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="请输入Discrepancies"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
@click="onDocdisButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
<el-form-item>
<c-checkbox v-model="model.brdgrp.blk.docdisflg"
>discrepancies modified</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.brtp.docgrdm.docdsclab" class="messageLabel"> </el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="table1"
:paginationShow="false"
:border="true"
>
<el-table-column label="1st" prop="cmail1" width="auto"></el-table-column>
<el-table-column label="2nd" prop="cmail2" width="auto"></el-table-column>
<el-table-column label="Document" width="auto">
<template>
<c-select
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtdcr/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
}
table1:[
{
cmail1:"",
cmail2:"",
docnam:"10"
},
methods:{...Event},
created:function(){
}
}
{
cmail1:"",
cmail2:"",
docnam:"20"
},
{
cmail1:"",
cmail2:"",
docnam:"17"
},
],
codeTable:[
{ label: "Airway Bills", value: "1" },
{ label: "Beneficiary's Declaration", value: "2" },
{ label: "Bill of Lading Copies", value: "3" },
{ label: "Bill of Lading Originals", value: "4" },
{ label: "Certificate", value: "5" },
{ label: "Certificate of Analysis", value: "6" },
{ label: "Certificate of Origin", value: "7" },
{ label: "Certificate of Quality", value: "8" },
{ label: "Certificate of Quantity", value: "9" },
{ label: "Commercial Invoice", value: "10" },
{ label: "Courier Receipt", value: "11" },
{ label: "Draft", value: "12" },
{ label: "Export Licence", value: "13" },
{ label: "Fax Report", value: "14" },
{ label: "Inspection Cert", value: "15" },
{ label: "Insurance Policy", value: "16" },
{ label: "Packing List", value: "17" },
{ label: "Shipment Advice", value: "18" },
{ label: "Weight List", value: "19" },
{ label: "Original Bills of Lading", value: "20" },
]
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入信用证编号"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
style="
margin: 0 10px 0 10px;
padding: 0 12px;
"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
<span
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin:0 0"
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
......@@ -32,17 +44,30 @@
<c-col :span="24">
<el-form-item label="单据参考号" prop="brdgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input>
<c-input
v-model="model.brdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据参考号"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
style="
margin: 0 10px 0 10px;
padding: 0 12px;
"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
<span
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin:0 0"
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
......@@ -56,7 +81,12 @@
<c-col :span="24">
<el-form-item label="Expiry" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择Date of Expiry"></c-date-picker>
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date of Expiry"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
......@@ -75,11 +105,27 @@
</c-col>
<c-col :span="24">
<el-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
<el-form-item
label="Drag Drop Sender"
prop="brtp.lidget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.lidget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Order Date" prop="brdgrp.rec.orddat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.orddat"
style="width: 100%"
placeholder="请选择Order Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
......@@ -104,195 +150,420 @@
trans: 'apl',
},
]"
:isAdvdat="true"
:isMattxtlab="true"
:isTenmaxday="true"
>
</c-litTemp>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input v-model="model.brtp.lidget.sdamod.seainf" placeholder="请输入"></c-input>
<c-col :span="24">
<el-form-item
label="Presented by"
prop="brdgrp.rec.docprbrol"
>
<c-select
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: 'Presented by',
grp: 'brdgrp',
rol: 'prb',
}"
:disabled="true"
:isAdrblk="false"
>
</c-ptap1>
</c-col>
<c-col :span="24">
<el-form-item label="Payer" prop="brdgrp.rec.payrol">
<c-select
v-model="model.brdgrp.rec.payrol"
style="width: 100%"
placeholder="请选择Payer"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: 'Payer',
grp: 'brtp',
rol: 'oth',
}"
:disabled="true"
:isAdrblk="false"
>
</c-ptap1>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="SWIFT message dated" prop="swtdat">
<c-date-picker
type="date"
v-model="model.swtdat"
style="width: 100%"
placeholder="请选择SWIFT message dated"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Disposal of Documents"
prop="brdgrp.blk.disdoc"
>
<c-input
type="textarea"
v-model="model.brdgrp.blk.disdoc"
maxlength="35"
show-word-limit
placeholder="请输入Disposal of Documents"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input>
<c-checkbox v-model="model.advrefflg"
>Advice of Refusal MT734</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.refdocflg"
>Refund Document Amount</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.advdocflg"
>Return of Documents</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.advdisflg"
>Advice of Discrepancy MT750</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.disdocflg"
>Defaulted content of Disposal of Documents</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.rejpenins"
>Rejection pending instructions</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-col :span="12">
<c-checkbox v-model="model.mtabut.clsflg"
>Close Flag</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.recget.sdamod.dadsnd">
<c-input v-model="model.brtp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
<el-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input
v-model="model.brtp.lidget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur">
<c-input
v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入Currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="brtp.recget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.recget.sdamod.seainf">
<c-input v-model="model.brtp.recget.sdamod.seainf" placeholder="请输入"></c-input>
<c-input
v-model="model.brtp.recget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额">
<c-select
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择单据金额"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入单据金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input>
<c-input
v-model="model.brdgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
<c-input
v-model="model.brdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
<c-input
v-model="model.brdgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input
v-model="model.brdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of Advice of Payment" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Payment"></c-date-picker>
<el-form-item
label="Date of Advice of Payment"
prop="brdgrp.rec.advdat"
>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.advdat"
style="width: 100%"
placeholder="请选择Date of Advice of Payment"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="受益人" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人"></c-input>
<c-input
v-model="model.brdgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.matp.mattxtlab" data-path=".brtp.matp.mattxtlab" > </span>
<span
v-text="model.brtp.matp.mattxtlab"
data-path=".brtp.matp.mattxtlab"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择Maturity Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.stadat">
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width:100%" placeholder="请选择远期单据到期日"></c-date-picker>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.stadat"
style="width: 100%"
placeholder="请选择远期单据到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input
v-model="model.brdgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型">
<c-select
v-model="model.brdgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor day" prop="brdgrp.rec.tenmaxday">
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor day"></c-input>
<c-input
v-model="model.brdgrp.rec.tenmaxday"
placeholder="请输入Tenor day"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单行" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行"></c-input>
<c-input
v-model="model.brdgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入交单行"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input
v-model="model.brdgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presented by" prop="brdgrp.rec.docprbrol">
<c-select v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
<c-select
v-model="model.brdgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date" prop="brdgrp.rec.orddat">
<c-date-picker type="date" v-model="model.brdgrp.rec.orddat" style="width:100%" placeholder="请选择Order Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="SWIFT message dated" prop="swtdat">
<c-date-picker type="date" v-model="model.swtdat" style="width:100%" placeholder="请选择SWIFT message dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.prbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.prbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
<el-form-item
label="Drag Drop Sender"
prop="brtp.prbp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.prbp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.advrefflg">Advice of Refusal MT734</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<el-form-item
label="External Key of Address"
prop="brdgrp.prb.pts.extkey"
>
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.prbp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.prbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
<c-input
v-model="model.brtp.prbp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
......@@ -302,74 +573,103 @@
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.refdocflg">Refund Document Amount</c-checkbox>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="名称" prop="brdgrp.prb.namelc">
<c-input type="textarea" v-model="model.brdgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
<c-input
type="textarea"
v-model="model.brdgrp.prb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
<c-input
type="textarea"
v-model="model.brdgrp.prb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.prb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
<c-input
type="textarea"
v-model="model.brdgrp.prb.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.advdocflg">Return of Documents</c-checkbox>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="地址" prop="brdgrp.prb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
<c-input
type="textarea"
v-model="model.brdgrp.prb.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.advdisflg">Advice of Discrepancy MT750</c-checkbox>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="退单方式" prop="rejtype">
<c-input v-model="model.rejtype" maxlength="1" placeholder="请输入退单方式"></c-input>
<c-input
v-model="model.rejtype"
maxlength="1"
placeholder="请输入退单方式"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.mtabut.clsflg">Close Flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Payer" prop="brdgrp.rec.payrol">
<c-select v-model="model.brdgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
<el-form-item
label="Drag Drop Sender"
prop="brtp.othp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.othp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brtp.oth.pts.extkey">
<c-input v-model="model.brtp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<el-form-item
label="External Key of Address"
prop="brtp.oth.pts.extkey"
>
<c-input
v-model="model.brtp.oth.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.othp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
<c-input
v-model="model.brtp.othp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
......@@ -379,78 +679,107 @@
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Disposal of Documents" prop="brdgrp.blk.disdoc">
<c-input type="textarea" v-model="model.brdgrp.blk.disdoc" maxlength="35" show-word-limit placeholder="请输入Disposal of Documents" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="brtp.oth.namelc">
<c-input type="textarea" v-model="model.brtp.oth.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
<c-input
type="textarea"
v-model="model.brtp.oth.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="brtp.oth.pts.adrblk">
<c-input type="textarea" v-model="model.brtp.oth.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
<c-input
type="textarea"
v-model="model.brtp.oth.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="brtp.oth.dbfadrblkcn">
<c-input type="textarea" v-model="model.brtp.oth.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
<c-input
type="textarea"
v-model="model.brtp.oth.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDisdocButtxmsel">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDisdocButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="brtp.oth.adrelc">
<c-input type="textarea" v-model="model.brtp.oth.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
<c-input
type="textarea"
v-model="model.brtp.oth.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.disdocflg">Defaulted content of Disposal of Documents</c-checkbox>
<c-checkbox v-model="model.brdgrp.blk.disdocflg"
>Defaulted content of Disposal of Documents</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.rejpenins">Rejection pending instructions</c-checkbox>
<c-checkbox v-model="model.rejpenins"
>Rejection pending instructions</c-checkbox
>
</c-col>
-->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/Event"
import CurAmt from "~/views/Public/CurAmt"
import LitTemp from "~/views/Public/LitTemp"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtdcr/Event";
import CurAmt from "~/views/Public/CurAmt";
import LitTemp from "~/views/Public/LitTemp";
import Ptap1 from "~/views/Public/Ptap1";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components:{
"c-curAmt" : CurAmt,
"c-litTemp" : LitTemp,
components: {
"c-curAmt": CurAmt,
"c-litTemp": LitTemp,
"c-ptap1": Ptap1,
},
data(){
data() {
return {
flag:true
}
flag: true,
};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -158,8 +158,8 @@ export default {
data() {
return {
tabVal: "ovwp",
trnName: "detopn",
model: new Detopn().data,
trnName: "detame",
model: new Detame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
......
......@@ -42,23 +42,20 @@
<div v-if="hotreg == 3 || hotreg == 4 || hotreg == 7 || hotreg == 8">
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="单据业务编号"
prop="bfdgrp.rec.ownref"
>
<el-form-item label="单据业务编号" prop="bfdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.bfdgrp.rec.ownref"
maxlength="16"
@keyup.enter.native="
showGridPromptDialog(
'bfdgrp.rec.ownref'
)
showGridPromptDialog('bfdgrp.rec.ownref')
"
placeholder="请输入单据业务编号"
></c-input>
<template slot="footer">
<c-checkbox v-model="model.bfdget.clsflg" style="margin-left:10px"
<c-checkbox
v-model="model.bfdget.clsflg"
style="margin-left: 10px"
>Show closed</c-checkbox
>
</template>
......@@ -78,12 +75,12 @@
</c-col>
</div>
<!-- 信用证 -->
<div v-if="hotreg == 1 || hotreg == 2">
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="信用证金额"
prop="dedgrp.cbs.nom1.cur"
......@@ -96,7 +93,18 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input
v-model="model.dedgrp.cbs.nom1.amt"
disabled
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="信用证余额"
prop="dedgrp.cbs.opn1.cur"
......@@ -109,6 +117,16 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input
v-model="model.dedgrp.cbs.opn1.amt"
disabled
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="指定银行" prop="dedgrp.avbnam">
<c-input
......@@ -127,6 +145,13 @@
placeholder="请选择Available by "
disabled
>
<el-option
v-for="item in codes.avbby0"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -230,7 +255,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item
label="开证行参考号"
prop="dedgrp.iss.pts.ref"
......@@ -255,6 +280,33 @@
disabled
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item
label="开证行编号"
prop="dedgrp.rec.kzref"
>
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="请输入开证行编号"
disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="开证行名称"
prop="dedgrp.iss.pts.nam"
>
<c-input
v-model="model.dedgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入开证行名称"
disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -456,7 +508,7 @@
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -466,6 +518,33 @@
}"
:disabled="true"
></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item
label="开证行编号"
prop="dedgrp.rec.kzref"
>
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="请输入开证行编号"
disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="开证行名称"
prop="dedgrp.iss.pts.nam"
>
<c-input
v-model="model.dedgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入开证行名称"
disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
......@@ -535,6 +614,7 @@
label="融资业务编号"
prop="bpdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model="model.bpdgrp.rec.ownref"
maxlength="16"
......@@ -545,6 +625,14 @@
)
"
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.mtdget.clsflg"
style="margin-left: 10px"
>Show closed</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -695,16 +783,23 @@
label="代付业务编号"
prop="dfdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model="model.dfdgrp.rec.ownref"
maxlength="16"
placeholder="请输入代付业务编号"
@keyup.enter.native="
showGridPromptDialog(
'dfdgrp.rec.ownref'
)
showGridPromptDialog('dfdgrp.rec.ownref')
"
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.bfdget.clsflg"
style="margin-left: 10px"
>Show closed</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -32,7 +32,10 @@
<c-col :span="24">
<c-col :span="13">
<c-form-item label="Open Amount" :prop="`${argadr.trans}.cbs.opn1.cur`">
<c-form-item
label="Open Amount"
:prop="`${argadr.trans}.cbs.opn1.cur`"
>
<c-input
disabled
v-model="model[argadr.trans].cbs.opn1.cur"
......@@ -57,8 +60,12 @@
</c-col>
<c-col :span="24">
<div v-if="isAdvdat">
<c-col :span="13">
<el-form-item label="Received on" :prop="`${argadr.trans}.rec.rcvdat`">
<el-form-item
label="Received on"
:prop="`${argadr.trans}.rec.rcvdat`"
>
<c-date-picker
type="date"
disabled
......@@ -67,7 +74,6 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="Advised on"
......@@ -82,109 +88,132 @@
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="brtp.matp.mattxtlab">
<el-form-item
label="Received on"
:prop="`${argadr.trans}.rec.rcvdat`"
>
<c-date-picker
type="date"
disabled
v-model="model.brtp.matp.mattxtlab"
v-model="model[argadr.trans].rec.rcvdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" :prop="`${argadr.trans}.rec.docflg`">
<c-input
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
<div v-if="isMattxtlab">
<c-col :span="13">
<el-form-item
label="Maturity Date"
prop="brtp.matp.mattxtlab"
>
<c-date-picker
type="date"
disabled
v-model="model.brtp.matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="Start Date"
label-width="90px"
:prop="`${argadr.trans}.rec.advdat`"
>
</c-input>
<c-date-picker
type="date"
disabled
v-model="model[argadr.trans].rec.stadat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<c-form-item
label="Document Set Status"
:prop="`${argadr.trans}.rec.docsta`"
<el-form-item
label="Maturity Date"
prop="brtp.matp.mattxtlab"
>
<c-input
v-model="model[argadr.trans].rec.docsta"
maxlength="1"
<c-date-picker
type="date"
disabled
>
</c-input>
</c-form-item>
v-model="model.brtp.matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
</c-col>
<!-- <c-col :span="12">
<c-col :span="24">
<c-form-item label="Applicant Ref." :prop="`${argadr.trans}.apl.pts.ref`">
<div v-if="isTenmaxday">
<c-col :span="13">
<el-form-item
label="Document Type"
:prop="`${argadr.trans}.rec.docflg`"
>
<c-input
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
v-model="model[argadr.trans].apl.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.apl.pts.nam`">
<c-input
<c-col :span="11">
<el-form-item
label="Tenor"
label-width="90px"
:prop="`${argadr.trans}.rec.tenmaxday`"
>
<c-date-picker
type="date"
disabled
v-model="model[argadr.trans].apl.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
v-model="model[argadr.trans].rec.tenmaxday"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<c-form-item label="Beneficiary Ref." :prop="`${argadr.trans}.ben.pts.ref`">
<el-form-item
label="Document Type"
:prop="`${argadr.trans}.rec.docflg`"
>
<c-input
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
v-model="model[argadr.trans].ben.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.ben.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].ben.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</div>
</c-col>
<c-col :span="24">
<c-form-item
label="Presenting Bank Ref."
:prop="`${argadr.trans}.prb.pts.ref`"
label="Document Set Status"
:prop="`${argadr.trans}.rec.docsta`"
>
<c-input
v-model="model[argadr.trans].rec.docsta"
maxlength="1"
disabled
v-model="model[argadr.trans].prb.pts.ref"
maxlength="16"
></c-input>
>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.prb.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].prb.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- Right -->
<c-col :span="12">
......@@ -229,7 +258,19 @@ export default {
},
rol: {
type: Array,
default: ()=>[]
default: () => [],
},
isAdvdat: {
type: Boolean,
default: false,
},
isMattxtlab: {
type: Boolean,
default: false,
},
isTenmaxday: {
type: Boolean,
default: false,
},
},
data() {
......
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