Commit 3d3d0d2a by wangren

bctacc、bctdav、bctrad、bctset、bctame交易微调

parent 5f5fdfce
......@@ -53,6 +53,7 @@ export default class Bctacc{
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
},
blk:{
docpre:"",
colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins
othins:"", // Other Instructions .bcdgrp.blk.othins
......@@ -76,6 +77,7 @@ export default class Bctacc{
mattxtlab:"", // Label for MATTXT .bctp.matp.mattxtlab
},
docgrdm:{
docgrd:[],
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
},
drep:{
......
......@@ -41,6 +41,7 @@ export default class Bctame{
},
},
blk:{
docpre:"",
bcgdet:"", // Maturity Text .bcdgrp.blk.bcgdet
bcgdetflg:"", // BC Tenor Details modified .bcdgrp.blk.bcgdetflg
colins:"", // Collection Instructions .bcdgrp.blk.colins
......@@ -89,6 +90,7 @@ export default class Bctame{
extkey:"", // Responsible User .bctp.usr.extkey
},
docgrdm:{
docgrd:[],
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
},
drep:{
......
......@@ -50,6 +50,7 @@ export default class Bctdav{
},
},
blk:{
docpre:"",
bcgdet:"", // Maturity Text .bcdgrp.blk.bcgdet
bcgdetflg:"", // BC Tenor Details modified .bcdgrp.blk.bcgdetflg
colins:"", // Collection Instructions .bcdgrp.blk.colins
......@@ -93,6 +94,8 @@ export default class Bctdav{
},
docgrdm:{
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
docgrd:[],
},
drep:{
ptsget:{
......
......@@ -66,6 +66,7 @@ export default class Bctdor{
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
},
blk:{
docpre:"",
resrej:"", // Reason .bcdgrp.blk.resrej
colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins
......@@ -106,6 +107,10 @@ export default class Bctdor{
},
},
bctp:{
docgrdm:{
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
docgrd:[],
},
recget:{
sdamod:{
seainf:"", // .bctp.recget.sdamod.seainf
......
......@@ -51,6 +51,7 @@ export default class Bctrad{
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
},
blk:{
docpre:"",
colinssnm:"", // Instructions for Second Mail .bcdgrp.blk.colinssnm
colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins
......@@ -75,6 +76,7 @@ export default class Bctrad{
mattxtlab:"", // Label for MATTXT .bctp.matp.mattxtlab
},
docgrdm:{
docgrd:[],
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
},
co2p:{
......
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Collection Number" prop="bcdgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Collection Number"
style="width: 100%"
disabled>
</c-input>
<template slot="footer">
<c-button
style="margin-left:8px; padding: 0 12px"
size="small"
type="primary"
@click="">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
<c-input v-model="model.bcdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.max.amt">
<c-input v-model="model.bcdgrp.cbs.max.amt" style="text-align: left; width: 100%"
disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
<c-input v-model="model.bcdgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Open Amount"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.opn1.amt">
<c-input v-model="model.bcdgrp.cbs.opn1.amt" style="text-align: left; width: 100%"
disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:100%"
value-format="yyyy-MM-dd" placeholder="请选择Docs Received on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:100%"
value-format="yyyy-MM-dd" placeholder="请选择Advised on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:100%"
value-format="yyyy-MM-dd" placeholder="请选择Maturity Date" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:100%"
value-format="yyyy-MM-dd" placeholder="请选择Remitted on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-input v-model="model.bcdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Payment Condition"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-input v-model="model.bcdgrp.rec.docsta" style="width:100%" placeholder="请输入Document Set Status"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="Amount Accepted" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" style="text-align: left; width: 100%"
placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
</el-col>
<!-- ====================右边======================= -->
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="bcdgrp.rec.nam" style="width: 100%">
<c-input v-model="model.bcdgrp.rec.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item style="text-align: right" label="Drawee Ref." prop="bcdgrp.dre.pts.ref">
<c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.dre.pts.nam">
<c-input v-model="model.bcdgrp.dre.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item style="text-align: right" label="Remitting Bank Ref." prop="bcdgrp.rmi.pts.ref">
<c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 100%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.rmi.pts.nam">
<c-input v-model="model.bcdgrp.rmi.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item style="text-align: right" label="Drawer Ref." prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 100%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Accepted on" prop="bcdgrp.rec.accdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.accdat" style="width:100%"
value-format="yyyy-MM-dd" placeholder="请选择Accepted on"></c-date-picker>
</el-form-item>
</c-col>
</el-col>
</div>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<el-col :span="11">
<c-col :span="24">
<el-form-item
label="Collection Number"
prop="bcdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.bcdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Collection Number"
style="width: 100%"
disabled
>
</c-input>
<template slot="footer">
<c-button
style="margin-left: 8px; padding: 0 12px"
size="small"
type="primary"
@click=""
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
<c-input
v-model="model.bcdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Document Amount"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="0"
prop="bcdgrp.cbs.max.amt"
>
<c-input
v-model="model.bcdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
<c-input
v-model="model.bcdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择Open Amount"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="0"
prop="bcdgrp.cbs.opn1.amt"
>
<c-input
v-model="model.bcdgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.bcdgrp.rec.rcvdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Docs Received on"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
<c-date-picker
type="date"
v-model="model.bcdgrp.rec.advdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Advised on"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.bcdgrp.rec.matdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Maturity Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
<c-date-picker
type="date"
v-model="model.bcdgrp.rec.predat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Remitted on"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-input
v-model="model.bcdgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Payment Condition"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-input
v-model="model.bcdgrp.rec.docsta"
style="width: 100%"
placeholder="请输入Document Set Status"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-input
v-model="model.setmod.doccur"
style="width: 100%"
placeholder="Amount Accepted"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="0"
prop="setmod.docamt"
>
<c-input
v-model="model.setmod.docamt"
style="text-align: left; width: 100%"
placeholder="请输入document amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</el-col>
<!-- ====================右边======================= -->
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="bcdgrp.rec.nam" style="width: 100%">
<c-input
v-model="model.bcdgrp.rec.nam"
maxlength="40"
style="width: 100%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
style="text-align: right"
label="Drawee Ref."
prop="bcdgrp.dre.pts.ref"
>
<c-input
v-model="model.bcdgrp.dre.pts.ref"
maxlength="16"
style="width: 100%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.dre.pts.nam">
<c-input
v-model="model.bcdgrp.dre.pts.nam"
maxlength="40"
style="width: 100%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
style="text-align: right"
label="Remitting Bank Ref."
prop="bcdgrp.rmi.pts.ref"
>
<c-input
v-model="model.bcdgrp.rmi.pts.ref"
maxlength="16"
style="width: 100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.rmi.pts.nam">
<c-input
v-model="model.bcdgrp.rmi.pts.nam"
maxlength="40"
style="width: 100%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
style="text-align: right"
label="Drawer Ref."
prop="bcdgrp.drr.pts.ref"
>
<c-input
v-model="model.bcdgrp.drr.pts.ref"
maxlength="16"
style="width: 100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.drr.pts.ref">
<c-input
v-model="model.bcdgrp.drr.pts.ref"
maxlength="40"
style="width: 100%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Accepted on" prop="bcdgrp.rec.accdat">
<c-date-picker
type="date"
v-model="model.bcdgrp.rec.accdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Accepted on"
></c-date-picker>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctacc/Event"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctacc/Event";
import Docpre from "~/views/Public/Docpre";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
docgrd: {
columns: [{
title: "lst1",
width: "80px",
dataIndex: "cmail1",
show: "input",
},
{
title: "2nd",
width: "80px",
dataIndex: "cmail2",
show: "input",
},
{
title: "Document",
width: "320px",
dataIndex: "docnam",
show: "input",
},
],
urls: "bctp.docgrdm.docgrd",
},
}
},
methods: {
...Event
},
created: function () {
}
}
export default {
components: {
"c-docpre": Docpre,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: {
...Event,
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<style></style>
......@@ -299,8 +299,13 @@
>BC Tenor Details modified</c-checkbox
> -->
</c-col>
<c-edit-table :model="model" v-bind="ptsaddg"> </c-edit-table>
<c-docpre
:model="model"
:argadr="{
path:'bcdgrp.blk.docpre',
grp: 'bctp',
code:'docpre'
}"></c-docpre>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
......@@ -390,9 +395,13 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctame/Event";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: { "c-ptap": Ptap },
components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
......
......@@ -239,10 +239,17 @@
>
</c-istream-table>
-->
<c-edit-table :model="model" v-bind="docgrd">
<!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
</c-col> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
rol: 'blk',
}"></c-docpre>
</c-col>
</c-col>
<!-- ========================右边======================= -->
......@@ -508,9 +515,13 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctdav/Event"
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: { "c-ptap": Ptap },
components: {
"c-ptap": Ptap ,
"c-docpre" : Docpre
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
......@@ -89,8 +89,15 @@
</c-button>
</c-col>
<c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
<!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
rol: 'blk',
}"></c-docpre>
</c-col>
</c-col>
<!-- ====================右边======================= -->
......@@ -203,10 +210,12 @@
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctrad/Event"
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: {
"c-ptap": Ptap
"c-ptap": Ptap,
"c-docpre" : Docpre
},
inject: ['root'],
props: ["model", "codes"],
......
......@@ -139,7 +139,7 @@
>
</c-istream-table>
</c-col>
<c-col :span="24">
<c-docpre
:model="model"
:argadr="{
......@@ -147,8 +147,9 @@
grp: 'bctp',
rol: 'blk',
}"></c-docpre>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
......
......@@ -26,7 +26,7 @@
</c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<el-table-column label="Document" width="180px" prop="docnam" >
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam"
......@@ -37,10 +37,10 @@
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<div v-if="ifShowDelete">
<c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button>
<el-table-column label="操作" width="70px" fixed="right">
<template slot-scope="scope" >
<div v-if="ifShowDelete" >
<c-button style="margin-left:-5px" @click="deleteTable(scope.$index)" type="primary">删除</c-button>
</div>
</template>
</el-table-column>
......
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