Commit 37dd4779 by lianyang

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents d82c3553 4681c44e
...@@ -70,15 +70,17 @@ export default { ...@@ -70,15 +70,17 @@ export default {
return arr; return arr;
}, },
tableData() { tableData() {
const temp = this.column; // const temp = this.column;
const res = []; // const res = [];
return this.list.map((row) => { // return this.list.map((row) => {
const res = {} // const res = {}
for (let i = 0; i < temp.length; i++) { // for (let i = 0; i < temp.length; i++) {
res[temp[i]] = row[temp[i]]; // res[temp[i]] = row[temp[i]];
} // }
return res; // return res;
}); // });
return this.list;
}, },
}, },
data() { data() {
......
...@@ -320,7 +320,7 @@ export default { ...@@ -320,7 +320,7 @@ export default {
/** /**
* 货物条款等非机构栏位回填 * 货物条款等非机构栏位回填
* @param {Object} val 选种行的值 * @param {Object} val 选种行的值,按钮的值
* @param {Object} url 字段路劲 需要回填的字段路劲 * @param {Object} url 字段路劲 需要回填的字段路劲
* @param {Object} url 对应字段值是否覆盖 ,需要为true,否则合并叠加 * @param {Object} url 对应字段值是否覆盖 ,需要为true,否则合并叠加
* @param {String} rulePath 路径 * @param {String} rulePath 路径
......
...@@ -44,6 +44,7 @@ export default { ...@@ -44,6 +44,7 @@ export default {
"dedgrp.rec.elcflg" :Utils.defaultFunction, "dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction, "dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction, "dedgrp.rec.tratyp" :Utils.defaultFunction,
"dedgrp.rec.tenmaxday" :Utils.defaultFunction,
"trnmod.swiadd.newnomtopame" :Utils.defaultFunction, "trnmod.swiadd.newnomtopame" :Utils.defaultFunction,
"trnmod.swiadd.newnomtoname" :Utils.defaultFunction, "trnmod.swiadd.newnomtoname" :Utils.defaultFunction,
} }
......
...@@ -44,5 +44,6 @@ export default { ...@@ -44,5 +44,6 @@ export default {
"dedgrp.rec.elcflg" :Utils.defaultFunction, "dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction, "dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction, "dedgrp.rec.tratyp" :Utils.defaultFunction,
"dedgrp.rec.tenmaxday" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -311,6 +311,7 @@ export default { ...@@ -311,6 +311,7 @@ export default {
this.model.jyqflg=""; this.model.jyqflg="";
this.model.mylx=""; this.model.mylx="";
this.model.elcflg=""; this.model.elcflg="";
this.model.seagodcod="";
}, },
async handleSearch() { async handleSearch() {
......
...@@ -85,8 +85,8 @@ export default { ...@@ -85,8 +85,8 @@ export default {
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction, "lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction, "lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction, "lidgrp.rec.shppars18" :Utils.defaultFunction,
//"litamep.lcrdocamep.modflg" :Utils.defaultFunction, "litamep.lcrdocamep.modflg" :Utils.defaultFunction,
//"litamep.lcrdocamep.modmanflg" :Utils.defaultFunction, "litamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction, "lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction, "lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction, "lidgrp.a2b.namelc" :Utils.defaultFunction,
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction, "lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
//"lidgrp.blk.adlcnd" :Utils.defaultFunction, "lidgrp.blk.adlcnd" :Utils.defaultFunction,
"litamep.engamt" :Utils.defaultFunction, "litamep.engamt" :Utils.defaultFunction,
"trnmod.swiadd.nomspc" :Utils.defaultFunction, "trnmod.swiadd.nomspc" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction, "liaall.liaccv.concur" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction, "lidgrp.rec.prepers18" :Utils.defaultFunction,
//"lidgrp.blk.lcrdoc" :Utils.defaultFunction, "lidgrp.blk.lcrdoc" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction, "lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction, "lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"oldlidgrp.rec.expdat" :Utils.defaultFunction, "oldlidgrp.rec.expdat" :Utils.defaultFunction,
......
...@@ -23,7 +23,7 @@ export default class Litame{ ...@@ -23,7 +23,7 @@ export default class Litame{
maxamt:"", // New Maximum Amount .litamep.maxamt maxamt:"", // New Maximum Amount .litamep.maxamt
cre707flg:"", // Create Amendment Message .litamep.cre707flg cre707flg:"", // Create Amendment Message .litamep.cre707flg
ramrol:"", // Request of Amendment send to .litamep.ramrol ramrol:"", // Request of Amendment send to .litamep.ramrol
amenbr:"", // 实际修改次数 .litamep.amenbr amenbr:0, // 实际修改次数 .litamep.amenbr
lcrdocamep:{ lcrdocamep:{
usrblk:"", // Block to enter additional info for Add/Delete .litamep.lcrdocamep.usrblk usrblk:"", // Block to enter additional info for Add/Delete .litamep.lcrdocamep.usrblk
modflg:"", // Modify Text to Replace .litamep.lcrdocamep.modflg modflg:"", // Modify Text to Replace .litamep.lcrdocamep.modflg
...@@ -56,8 +56,8 @@ export default class Litame{ ...@@ -56,8 +56,8 @@ export default class Litame{
ownref:"", // Reference .lidgrp.rec.ownref ownref:"", // Reference .lidgrp.rec.ownref
nam:"", // Name .lidgrp.rec.nam nam:"", // Name .lidgrp.rec.nam
lcrtyp:"", // Form of L/C .lidgrp.rec.lcrtyp lcrtyp:"", // Form of L/C .lidgrp.rec.lcrtyp
nomtop:"", // Amount Tolerance +/- .lidgrp.rec.nomtop nomtop:0, // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .lidgrp.rec.nomton nomton:0, // Amount Tolerance - Negative .lidgrp.rec.nomton
nomspc:"", // Amount Specification .lidgrp.rec.nomspc nomspc:"", // Amount Specification .lidgrp.rec.nomspc
opndat:"", // L/C Issued on .lidgrp.rec.opndat opndat:"", // L/C Issued on .lidgrp.rec.opndat
preadvdt:"", // Date Pre-advised .lidgrp.rec.preadvdt preadvdt:"", // Date Pre-advised .lidgrp.rec.preadvdt
...@@ -87,8 +87,8 @@ export default class Litame{ ...@@ -87,8 +87,8 @@ export default class Litame{
shpto:"", // Final Destination .lidgrp.rec.shpto shpto:"", // Final Destination .lidgrp.rec.shpto
chato:"", // Drafts at .lidgrp.rec.chato chato:"", // Drafts at .lidgrp.rec.chato
stacty:"", // Country Code Risk Country .lidgrp.rec.stacty stacty:"", // Country Code Risk Country .lidgrp.rec.stacty
tenmaxday:"", // Maximum tenor in days .lidgrp.rec.tenmaxday tenmaxday:0, // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .lidgrp.rec.prepers18 prepers18:0, // Days of presentation period .lidgrp.rec.prepers18
prepertxts18:"", // Presentation period text .lidgrp.rec.prepertxts18 prepertxts18:"", // Presentation period text .lidgrp.rec.prepertxts18
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
spcbenflg:"", // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg spcbenflg:"", // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg
...@@ -199,12 +199,12 @@ export default class Litame{ ...@@ -199,12 +199,12 @@ export default class Litame{
}, },
}, },
rec:{ rec:{
nomtop:"", // Amount Tolerance - Positive .oldlidgrp.rec.nomtop nomtop:0, // Amount Tolerance - Positive .oldlidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .oldlidgrp.rec.nomton nomton:0, // Amount Tolerance - Negative .oldlidgrp.rec.nomton
expdat:"", // 到期日 .oldlidgrp.rec.expdat expdat:"", // 到期日 .oldlidgrp.rec.expdat
shpdat:"", // 装运日 .oldlidgrp.rec.shpdat shpdat:"", // 装运日 .oldlidgrp.rec.shpdat
prepertxts18:"", // Presentation period text .oldlidgrp.rec.prepertxts18 prepertxts18:"", // Presentation period text .oldlidgrp.rec.prepertxts18
prepers18:"", // Presentation Period .oldlidgrp.rec.prepers18 prepers18:0, // Presentation Period .oldlidgrp.rec.prepers18
}, },
blk:{ blk:{
preper:"", // Presentation Period .oldlidgrp.blk.preper preper:"", // Presentation Period .oldlidgrp.blk.preper
......
...@@ -29,10 +29,10 @@ export default { ...@@ -29,10 +29,10 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ // "lidgrp.cbs.opn1.amt":[
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"brdgrp.apl.pts.nam":[ "brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -284,17 +284,17 @@ export default { ...@@ -284,17 +284,17 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.max.amt":[ // "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"brdgrp.cbs.max2.amt":[ // "brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"brdgrp.blk.chaded":[ "brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
...@@ -307,11 +307,11 @@ export default { ...@@ -307,11 +307,11 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.rec.totamt":[ // "brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"brtp.acbp.ptsget.sdamod.dadsnd":[ "brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
......
...@@ -94,6 +94,7 @@ export default class Trnmod { ...@@ -94,6 +94,7 @@ export default class Trnmod {
}, },
filrecv: "", // File Receiver .trnmod.trndoc.filrecv filrecv: "", // File Receiver .trnmod.trndoc.filrecv
doceot: [], doceot: [],
addstr750:""//trnmod.trndoc.addstr750
}, },
docimm:{ docimm:{
ascin:"", // Message as stream .trnmod.docimm.ascin ascin:"", // Message as stream .trnmod.docimm.ascin
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta"> <el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-select <c-select
v-model="model.bcdgrp.rec.docsta" v-model="model.bcdgrp.rec.docsta"
:code="codes.docsta" :code="codes.docstabot"
style="width: 100%" style="width: 100%"
placeholder="请输入Document Set Status" placeholder="请输入Document Set Status"
disabled disabled
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -18,120 +17,132 @@ ...@@ -18,120 +17,132 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000034 -->
<el-tab-pane label="收款" name="setp">
<c-content>
<m-setp ref="setp" :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000034 --> <!--PD000000 -->
<el-tab-pane label="收款" name="setp"> <el-tab-pane label="账务" name="setpan" >
<c-content> <c-content>
<m-setp ref="setp" :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="分录" name="glepan" v-if="glepan">
<c-content> <m-glepan :model="model" :codes="codes" />
<m-setpan :model="model" :codes="codes"/> </el-tab-pane>
</c-content>
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bftset from "~/model/Bftset" import Bftset from "~/model/Bftset";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftset/Check" import Check from "~/model/Bftset/Check";
import Default from "~/model/Bftset/Default" import Default from "~/model/Bftset/Default";
import Pattern from "~/model/Bftset/Pattern" import Pattern from "~/model/Bftset/Pattern";
import Setp from "./Setp" import Setp from "./Setp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default { export default {
name: "Bftset", name: "Bftset",
components:{ components: {
"m-engp" : Engp, "m-engp": Engp,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-setp" : Setp, "m-setp": Setp,
"m-setpan" : Setpan, "m-setpan": Setpan,
}, "m-glepan": Glepan,
provide() { },
return { provide() {
root: this return {
} root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "setp",
trnName: "bftset",
model: new Bftset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
glepan:false,
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
if (tab.name === "setpan") {
this.glepan = true;
}
/**
* do it yourself
**/
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 },
data(){ created: async function () {
return { console.log("进入bftset交易");
tabVal: "setp", let rtnmsg = await this.init({});
trnName: "bftset", if (rtnmsg.respCode == SUCCESS) {
model: new Bftset().data, this.updateModel(rtnmsg.data);
checkRules: Check, if (this.isInDisplay) {
defaultRules: Default, this.restoreDisplay();
pattern: Pattern, }
rules: null, this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
codes: { } else {
...CodeTable this.$notify.error({ title: "错误", message: "服务请求失败!" });
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入bftset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
if(this.isInDisplay){
this.restoreDisplay();
}
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="Charges Condition" prop="bodgrp.rec.chato"> <el-form-item label="Charges Condition" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" disabled> <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" disabled>
<el-option v-for="item in codes.chato" :key="item.value" :label="item.label" <el-option v-for="item in codes.chadet" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod" style="width: 100%"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%" <c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%"
placeholder="请选择Payment Condition" disabled> placeholder="请选择Payment Condition" disabled>
<el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label" <el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label"
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta" style="width: 100%"> <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-select v-model="model.bodgrp.rec.docsta" style="width: 100%" <c-select v-model="model.bodgrp.rec.docsta" style="width: 100%"
placeholder="请输入Document Set Status" disabled> placeholder="请输入Document Set Status" disabled>
<el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label" <el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label"
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
<span>Days</span> <span>Days</span>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.matperbeg" style="width: 100%"> <el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%" <c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled> placeholder="请选择Start of Maturity Period MATBEG" disabled>
<el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label" <el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label"
...@@ -223,7 +223,8 @@ ...@@ -223,7 +223,8 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label-width="0" prop="setmod.docamt"> <el-form-item label-width="0" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input> <c-input v-model="model.setmod.docamt" placeholder="请输入document amount" :disabled="isDisabled">
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -244,18 +245,18 @@ ...@@ -244,18 +245,18 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24" style="margin-top: 30px"> <c-col :span="24" style="margin-top: 30px">
<span style="font-size:14px;margin-left:5px">Bills to Pay back:</span> <span style="font-size:14px;">Bills to Pay back:</span>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-edit-table :model="model" v-bind="docgrd" style="margin-left:-25px"> <c-edit-table :model="model" v-bind="docgrd" style="margin-left:-30px">
</c-edit-table> </c-edit-table>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-istream-table ref="table" :list="model.liaall.tenstm.rows || []" :columns="stmData.columns" <c-istream-table ref="table" :list="model.liaall.tenstm.rows || []" :columns="stmData.columns"
:showSelection="true" v-on:multipleSelect="multipleSelect"> :showSelection="true" v-on:multipleSelect="multipleSelect" prop="liaall.tenstm">
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</c-col> </c-col>
...@@ -299,6 +300,7 @@ export default { ...@@ -299,6 +300,7 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
isDisabled: false,
stmData: { stmData: {
columns: [ columns: [
'1 1 "Type" 80', '1 1 "Type" 80',
...@@ -342,13 +344,39 @@ export default { ...@@ -342,13 +344,39 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
multipleSelect() { async multipleSelect(selection) {
console.log(111); if (selection.length > 1) {
} this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let selIds;
if (selection.length === 0) {
selIds = [];
this.model.setmod.docamt = "0.000";
this.model.liaall.tensetstm.rows = [];
this.isDisabled = false;
// this.model.liaall.tenstm.rows = []
} else {
selIds = [selection[0] + 1];
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
this.isDisabled = true;
}
//
console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
}, },
created: function () {
console.log(this.model.liaall.tenstm);
}
} }
</script> </script>
<style> <style>
......
...@@ -2,6 +2,13 @@ ...@@ -2,6 +2,13 @@
<c-page title="出口托收承兑"> <c-page title="出口托收承兑">
<div class="eContainer"> <div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <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> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false"> size="small" :validate-on-rule-change="false">
...@@ -9,7 +16,7 @@ ...@@ -9,7 +16,7 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="Changing Maturity" name="setp"> <el-tab-pane label="Changing Maturity" name="setp">
<m-setp :model="model" :codes="codes" /> <m-setp ref="setp" :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000049 --> <!--PD000049 -->
...@@ -129,7 +136,10 @@ export default { ...@@ -129,7 +136,10 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.$nextTick(() => {
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
})
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
...@@ -5,14 +5,14 @@ ...@@ -5,14 +5,14 @@
title: 'Drawer', title: 'Drawer',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'drr', rol: 'drr',
}" :disabled="true" @onSeainf="onSeainf"> }" :disabled="true" >
</c-ptap> </c-ptap>
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Drawee', title: 'Drawee',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'dre', rol: 'dre',
}" :disabled="true" @onSeainf="onSeainf"> }" :disabled="true" >
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
title: 'Collecting Bank', title: 'Collecting Bank',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'col', rol: 'col',
}" :disabled="true" @onSeainf="onSeainf"> }" :disabled="true" >
</c-ptap> </c-ptap>
</c-col> </c-col>
......
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
:disabledRef="true" :disabledRef="true"
:disabledExtkey="true" :disabledExtkey="true"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
...@@ -26,8 +24,6 @@ ...@@ -26,8 +24,6 @@
:disabledRef="true" :disabledRef="true"
:disabledExtkey="true" :disabledExtkey="true"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -42,8 +38,6 @@ ...@@ -42,8 +38,6 @@
:disabledRef="true" :disabledRef="true"
:disabledExtkey="true" :disabledExtkey="true"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="Charges Condition" prop="bodgrp.rec.chato"> <el-form-item label="Charges Condition" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" disabled> <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" disabled>
<el-option v-for="item in codes.chato" :key="item.value" :label="item.label" <el-option v-for="item in codes.chadet" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt"> <el-form-item label="" prop="bodgrp.cbs.max.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input> <c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -59,14 +59,14 @@ ...@@ -59,14 +59,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" <c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled> placeholder="请选择Warehouse/Insurance" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt"> <el-form-item label="" label-width="0" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount" <c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input> disabled></c-input>
</el-form-item> </el-form-item>
...@@ -85,9 +85,12 @@ ...@@ -85,9 +85,12 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%" <c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%"
placeholder="请选择Collection Condition" disabled> placeholder="请选择Payment Condition" disabled>
</c-input> <el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -103,9 +106,12 @@ ...@@ -103,9 +106,12 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" <c-select v-model="model.bodgrp.rec.docsta" style="width: 100%"
disabled> placeholder="请输入Document Set Status" disabled>
</c-input> <el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -139,9 +145,12 @@ ...@@ -139,9 +145,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="bodgrp.rec.matperbeg"> <el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%" <c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled> placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input> <el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="5"> <!-- <c-col :span="5">
...@@ -230,9 +239,13 @@ ...@@ -230,9 +239,13 @@
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24" style="margin-top: 30px">
<span style="font-size:14px">Bills to Pay back:</span>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="12">
<c-edit-table :model="model" v-bind="docgrd"> <c-edit-table :model="model" v-bind="docgrd" style="margin-left:-30px">
</c-edit-table> </c-edit-table>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -2,23 +2,30 @@ ...@@ -2,23 +2,30 @@
<c-page title="出口托收结算"> <c-page title="出口托收结算">
<div class="eContainer"> <div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <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> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false"> size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="setp" name="setp"> <el-tab-pane label="Funds Settlement" name="setp">
<m-setp :model="model" :codes="codes" /> <m-setp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000049 --> <!--PD000049 -->
<el-tab-pane label="inst" name="inst"> <el-tab-pane label="Instructions" name="inst">
<m-inst :model="model" :codes="codes" /> <m-inst :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000266 --> <!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp"> <el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes" /> <m-ptyp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
......
...@@ -5,14 +5,14 @@ ...@@ -5,14 +5,14 @@
title: 'Drawer', title: 'Drawer',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'drr', rol: 'drr',
}" :disabledRef="false" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet"> }" :disabledRef="false" :disabledExtkey="true" :disabled="true">
</c-ptap> </c-ptap>
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Drawee', title: 'Drawee',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'dre', rol: 'dre',
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet"> }" :disabledRef="true" :disabledExtkey="true" :disabled="true" >
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
title: 'Collecting Bank', title: 'Collecting Bank',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'col', rol: 'col',
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet"> }" :disabledRef="true" :disabledExtkey="true" :disabled="true" >
</c-ptap> </c-ptap>
</c-col> </c-col>
......
...@@ -194,16 +194,16 @@ ...@@ -194,16 +194,16 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item
label="款人常驻国家/地区代码" label="款人常驻国家/地区代码"
prop="attp.paycountcode" prop="attp.paycountcode"
> >
<c-input <c-input
v-model="model.attp.paycountcode" v-model="model.attp.country"
filterable filterable
style="width: 100%" style="width: 100%"
placeholder="款人常驻国家/地区代码" placeholder="款人常驻国家/地区代码"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('attp.paycountcode') showGridPromptDialog('attp.country')
" "
> >
</c-input> </c-input>
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp"> <el-form-item label="款项来源" prop="bopmod.acttyp">
...@@ -54,7 +55,18 @@ ...@@ -54,7 +55,18 @@
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-input-currency v-model="model.bopmod.outchargeamt"
style="text-align: right;"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
:disabled="!model.bopmod.basflg || model.bopmod.szflg === '2' || model.bopmod.szflg === '3' "
@keyup.enter.native="defaultFunction('bopmod.outchargeamt', model.bopmod.outchargeamt)"
></c-input-currency>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy"> <el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)"> <c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)">
...@@ -67,8 +79,7 @@ ...@@ -67,8 +79,7 @@
<c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input> <c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
</c-col>
<c-col :span="11" offset="1"> <c-col :span="11" offset="1">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox> <c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
v-model="model.dedgrp.rec.isyifu" v-model="model.dedgrp.rec.isyifu"
style="width: 100%" style="width: 100%"
placeholder="请选择是否可议付" placeholder="请选择是否可议付"
@change="selectOrCheckboxRule('dedgrp.rec.isyifu')"
> >
<el-option <el-option
v-for="item in codes.isyifu" v-for="item in codes.isyifu"
...@@ -60,9 +61,9 @@ ...@@ -60,9 +61,9 @@
--> -->
<c-ptapdome <c-ptapdome
:disabledBankno="model.dedgrp.rec.isyifu != 'Y'" :disabledBankno="model.dedgrp.rec.avbwth != 'S'"
:disabledJigomc="true" :disabledJigomc="true"
:disabledDizhii="model.dedgrp.rec.isyifu != 'Y'" :disabledDizhii="model.dedgrp.rec.avbwth != 'S'"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '议付行', title: '议付行',
...@@ -290,9 +291,9 @@ ...@@ -290,9 +291,9 @@
--> -->
<c-ptapdome <c-ptapdome
:disabledBankno="true" :disabledBankno="this.model.dedgrp.rec.lcrtyp == 'I'"
:disabledJigomc="true" :disabledJigomc="this.model.dedgrp.rec.lcrtyp == 'I'"
:disabledDizhii="true" :disabledDizhii="this.model.dedgrp.rec.lcrtyp == 'I'"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '转让行', title: '转让行',
......
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="信用证类型" label="Form of L/C"
prop="sealcrtyp" prop="sealcrtyp"
style="width: 100%" style="width: 100%"
> >
...@@ -269,6 +269,27 @@ ...@@ -269,6 +269,27 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="Goods Code"
prop="seagodcod"
style="width: 100%"
>
<c-select
v-model="model.seagodcod"
style="width: 100%"
placeholder="请选择Goods Code"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<el-form-item
label="假远期信用证" label="假远期信用证"
prop="jyqflg" prop="jyqflg"
style="width: 100%" style="width: 100%"
...@@ -307,7 +328,7 @@ ...@@ -307,7 +328,7 @@
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!-- <c-col :span="8"> <!-- <c-col :span="8">
<el-form-item <el-form-item
...@@ -417,27 +438,7 @@ ...@@ -417,27 +438,7 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="8">
<el-form-item
label="货物种类"
prop="seagodcod"
style="width: 100%"
>
<c-select
v-model="model.seagodcod"
style="width: 100%"
placeholder="请选择Goods Code"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
</el-row> </el-row>
</el-form> </el-form>
</template> </template>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click=""
> >
<span style="font-family: '宋体'; font-weight: bold">i</span> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button> </c-button>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt"> <el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input <c-input
v-model.number="model.oldlidgrp.cbs.nom1.amt" v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
disabled disabled
></c-input> ></c-input>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amount Tolerance +" prop="oldlidgrp.rec.nomtop"> <el-form-item label="Amount Tolerance +" prop="oldlidgrp.rec.nomtop">
<c-input <c-input
v-model="model.oldlidgrp.rec.nomtop" v-model.number="model.oldlidgrp.rec.nomtop"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
disabled disabled
></c-input> ></c-input>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amount Tolerance -" prop="oldlidgrp.rec.nomton"> <el-form-item label="Amount Tolerance -" prop="oldlidgrp.rec.nomton">
<c-input <c-input
v-model="model.oldlidgrp.rec.nomton" v-model.number="model.oldlidgrp.rec.nomton"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
disabled disabled
></c-input> ></c-input>
...@@ -83,8 +83,7 @@ ...@@ -83,8 +83,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amended Amount" prop="trnmod.swiadd.ameamt"> <el-form-item label="Amended Amount" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额" <c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额."
@keyup.enter.native="amendfunc"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -107,13 +106,13 @@ ...@@ -107,13 +106,13 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="New positive tolerance" prop="trnmod.swiadd.newnomtop"> <el-form-item label="New positive tolerance" prop="trnmod.swiadd.newnomtop">
<c-input v-model="model.trnmod.swiadd.newnomtop" placeholder="请输入New positive tolerance"></c-input> <c-input v-model.number="model.trnmod.swiadd.newnomtop" placeholder="请输入New positive tolerance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="New negative tolerance" prop="trnmod.swiadd.newnomton"> <el-form-item label="New negative tolerance" prop="trnmod.swiadd.newnomton">
<c-input v-model="model.trnmod.swiadd.newnomton" placeholder="请输入New negative tolerance"></c-input> <c-input v-model.number="model.trnmod.swiadd.newnomton" placeholder="请输入New negative tolerance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -150,7 +149,7 @@ ...@@ -150,7 +149,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Presentation Period" prop="oldlidgrp.rec.prepers18"> <el-form-item label="Presentation Period" prop="oldlidgrp.rec.prepers18">
<c-input <c-input
v-model="model.oldlidgrp.rec.prepers18" v-model.number="model.oldlidgrp.rec.prepers18"
placeholder="请输入Presentation Period" placeholder="请输入Presentation Period"
disabled disabled
></c-input> ></c-input>
...@@ -210,14 +209,14 @@ ...@@ -210,14 +209,14 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amend.No" prop="trnmod.swiadd.amenbr"> <el-form-item label="Amend.No" prop="trnmod.swiadd.amenbr">
<c-input v-model="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input> <c-input v-model.number="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Actual Amendment No" prop="litamep.amenbr"> <el-form-item label="Actual Amendment No" prop="litamep.amenbr">
<c-input <c-input
v-model="model.litamep.amenbr" v-model.number="model.litamep.amenbr"
placeholder="请输入实际修改次数" placeholder="请输入实际修改次数"
disabled disabled
></c-input> ></c-input>
...@@ -302,7 +301,7 @@ ...@@ -302,7 +301,7 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="New Presentation Period" prop="trnmod.swiadd.prepers18"> <el-form-item label="New Presentation Period" prop="trnmod.swiadd.prepers18">
<c-input v-model="model.trnmod.swiadd.prepers18" placeholder="请输入New Presentation Period"></c-input> <c-input v-model.number="model.trnmod.swiadd.prepers18" placeholder="请输入New Presentation Period"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -310,23 +309,19 @@ ...@@ -310,23 +309,19 @@
<c-input v-model="model.trnmod.swiadd.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input> <c-input v-model="model.trnmod.swiadd.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox v-model="model.litp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
style="margin: 0px 0 10px 150px;"
v-model="model.litp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
</c-col> </c-col>
</c-col> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.max2.cur"> <el-form-item label="Currency" prop="lidgrp.cbs.max2.cur">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.max2.cur" maxlength="3" placeholder="请输入Currency"></c-input> v-model="model.lidgrp.cbs.max2.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Additional Amount" prop="trnmod.swiadd.addamt"> <el-form-item label="Additional Amount" prop="trnmod.swiadd.addamt">
<c-input <c-input
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') " :disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
...@@ -345,14 +340,10 @@ ...@@ -345,14 +340,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox v-model="model.trnmod.swiadd.reqcan">Cancellation Request</c-checkbox>
style="margin: 0px 0 10px 150px;"
v-model="model.trnmod.swiadd.reqcan">Cancellation Request</c-checkbox>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox v-model="model.litamep.cre707flg">Create Amendment Message</c-checkbox>
style="margin: 0px 0 10px 150px;"
v-model="model.litamep.cre707flg">Create Amendment Message</c-checkbox>
</c-col> </c-col>
</el-col> </el-col>
...@@ -374,14 +365,7 @@ export default { ...@@ -374,14 +365,7 @@ export default {
} }
}, },
methods:{...Event, methods:{...Event,
async amendfunc(){
let rtnmsg = await this.executeRule("trnmod.swiadd.ameamt")
if(rtnmsg.respCode==SUCCESS){
this.updateModel(rtnmsg.data);
}else{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}, },
created:function(){ created:function(){
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" <c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2" :disabled="this.flag2"
@click="showGridPromptDialog('litamep.spcbename.buttxmsel',null,null,{TXT: 'litamep.spcbenamep.usrblk'}, {TXT: false},'doxpDialog')" @click="showGridPromptDialog('litamep.spcbenamep.buttxmsel',null,null,{TXT: 'litamep.spcbenamep.usrblk'}, {TXT: false},'doxpDialog')"
> >
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" <c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2" :disabled="this.flag2"
@click="showGridPromptDialog('litamep.spcrcbame.buttxmsel',null,null,{TXT: 'litamep.spcrcbamep.usrblk'}, {TXT: false},'doxpDialog')" @click="showGridPromptDialog('litamep.spcrcbamep.buttxmsel',null,null,{TXT: 'litamep.spcrcbamep.usrblk'}, {TXT: false},'doxpDialog')"
> >
</c-button> </c-button>
</c-col> </c-col>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col> <c-col :span="11">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-input <c-input
...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Balance" prop="brdgrp.cbs.max.amt"> <el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input> <c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -27,16 +27,18 @@ ...@@ -27,16 +27,18 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="附加金额" prop="brdgrp.cbs.max2.amt"> <el-form-item label="" label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input> <c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col> <c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Charges" prop="brdgrp.blk.chaadd"> <el-form-item label="Charges" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input> <c-input
:rows="4"
type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -51,17 +53,21 @@ ...@@ -51,17 +53,21 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Total Amount to be Paid" prop="brdgrp.rec.totamt"> <el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input> <c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Account with Bank" prop="brdgrp.acb.pts.extkey"> <el-form-item label="Account with Bank" prop="brdgrp.acb.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input v-model="model.brdgrp.acb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.acb.pts.extkey')"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" @click="onAcbpDet"> <c-button size="small" type="primary" @click="onAcbpDet">
...@@ -75,22 +81,24 @@ ...@@ -75,22 +81,24 @@
<c-col :span="24">
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.acb.namelc"> <el-form-item label="名称" prop="brdgrp.acb.namelc">
<c-input type="textarea" v-model="model.brdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> <c-input type="textarea" v-model="model.brdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk"> <el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input
:rows="4"
type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.acb.dbfadrblkcn"> <el-form-item label="Chinese address" prop="brdgrp.acb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input type="textarea" v-model="model.brdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item> </el-form-item>
...@@ -100,15 +108,15 @@ ...@@ -100,15 +108,15 @@
<el-form-item label="地址" prop="brdgrp.acb.adrelc"> <el-form-item label="地址" prop="brdgrp.acb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> <c-input type="textarea" v-model="model.brdgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Beneficiary's Bank" prop="brdgrp.beb.pts.extkey"> <el-form-item label="Beneficiary's Bank" prop="brdgrp.beb.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input <c-input
disabled @keyup.enter.native="showGridPromptDialog('brdgrp.beb.pts.extkey')"
v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer"> <template slot="footer">
...@@ -122,20 +130,22 @@ ...@@ -122,20 +130,22 @@
<c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.beb.namelc"> <el-form-item label="名称" prop="brdgrp.beb.namelc">
<c-input type="textarea" v-model="model.brdgrp.beb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> <c-input type="textarea" v-model="model.brdgrp.beb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Address Block" prop="brdgrp.beb.pts.adrblk"> <el-form-item label="Address Block" prop="brdgrp.beb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.beb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input
:rows="4"
type="textarea" v-model="model.brdgrp.beb.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.beb.dbfadrblkcn"> <el-form-item label="Chinese address" prop="brdgrp.beb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.beb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input type="textarea" v-model="model.brdgrp.beb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item> </el-form-item>
...@@ -145,8 +155,9 @@ ...@@ -145,8 +155,9 @@
<el-form-item label="地址" prop="brdgrp.beb.adrelc"> <el-form-item label="地址" prop="brdgrp.beb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> <c-input type="textarea" v-model="model.brdgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item> </el-form-item>
</c-col> -->
</c-col> </c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -18,19 +18,19 @@ ...@@ -18,19 +18,19 @@
</el-tab-pane> </el-tab-pane>
<!--PD000139 --> <!--PD000139 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='750'" label="Advice of Discrepancy" name="mt750p"> <el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == '750' " label="Advice of Discrepancy" name="mt750p">
<m-mt750p :model="model" :codes="codes"/> <m-mt750p :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000147 --> <!--PD000147 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='754'" label="Advice of Payment" name="mt754p"> <el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == '754' " label="Advice of Payment" name="mt754p">
<c-content> <c-content>
<m-mt754p :model="model" :codes="codes"/> <m-mt754p :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000213 --> <!--PD000213 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='oth'" label="Advice Details" name="othadvtypp"> <el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == 'OTH' " label="Advice Details" name="othadvtypp">
<c-content> <c-content>
<m-othadvtypp :model="model" :codes="codes"/> <m-othadvtypp :model="model" :codes="codes"/>
</c-content> </c-content>
......
...@@ -369,7 +369,10 @@ ...@@ -369,7 +369,10 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="role"> <el-form-item label="role">
<c-input v-model="dialog3.rol" maxlength="3" placeholder="请输入role"></c-input> <c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -390,7 +393,7 @@ ...@@ -390,7 +393,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Disposition" prop="setgll.dsp"> <el-form-item label="Disposition" prop="setgll.dsp">
<c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition"> <c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition" :code="codes.setglldsp">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
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