Commit 8eadf118 by wangna

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 72db2de2 370b9987
...@@ -1910,6 +1910,13 @@ const CodeTable = { ...@@ -1910,6 +1910,13 @@ const CodeTable = {
{ label: "Generate Files ( PS/PDF )", value: "S" }, { label: "Generate Files ( PS/PDF )", value: "S" },
{ label: "Windows Server Printing", value: "X" }, { label: "Windows Server Printing", value: "X" },
], ],
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
cmpflg: [ cmpflg: [
{ label: "不计复息", value: "0" }, { label: "不计复息", value: "0" },
{ label: "计复息", value: "1" }, { label: "计复息", value: "1" },
...@@ -4113,9 +4120,12 @@ const CodeTable = { ...@@ -4113,9 +4120,12 @@ const CodeTable = {
{ label: "8th Third Party", value: "TP8" }, { label: "8th Third Party", value: "TP8" },
{ label: "9th Third Party", value: "TP9" }, { label: "9th Third Party", value: "TP9" },
], ],
seacur:[
{ label: `CNY-人民币`, value: `CNY` },
{ label: `KRW-韩元`, value: `KRW` },
{ label: `NZD-新西兰元`, value: `NZD` },
{ label: `USD-美元`, value: `USD` },
],
lcrtyp: [ lcrtyp: [
{ label: "可转让", value: "IT" }, { label: "可转让", value: "IT" },
{ label: "不可转让", value: "I" }, { label: "不可转让", value: "I" },
...@@ -4424,6 +4434,7 @@ const CodeTable = { ...@@ -4424,6 +4434,7 @@ const CodeTable = {
{ label: "票汇", value: "D" }, { label: "票汇", value: "D" },
{ label: "电汇", value: "T" }, { label: "电汇", value: "T" },
{ label: "信汇", value: "M" }, { label: "信汇", value: "M" },
{ label: "保函", value: "G" },
], ],
methods1: [ methods1: [
{ label: "票汇", value: "D" }, { label: "票汇", value: "D" },
......
...@@ -354,7 +354,7 @@ export default { ...@@ -354,7 +354,7 @@ export default {
{max: 80,message:"长度不能超过80"} {max: 80,message:"长度不能超过80"}
], ],
"bodgrp.srm.djudat":[ "bodgrp.srm.djudat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.srm.djuref":[ "bodgrp.srm.djuref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -291,7 +291,7 @@ export default { ...@@ -291,7 +291,7 @@ export default {
"didgrp.blk.defdet": [ "didgrp.blk.defdet": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 140, message: "长度不能超过140" } { max: 60, message: "长度不能超过60" }
], ],
"didgrp.rec.fqtime": [ "didgrp.rec.fqtime": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
...@@ -62,12 +62,14 @@ export default class Infltd{ ...@@ -62,12 +62,14 @@ export default class Infltd{
diadatto:"", // date till .infcon.diadatto diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta diasta:"", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm diastm:"", // stream for diaries to selected contract .infcon.diastm
objinr:"",
}, },
infbut:{ infbut:{
dspstm:"", // display stream .infbut.dspstm dspstm:"", // display stream .infbut.dspstm
}, },
ledgrp:{ ledgrp:{
rec:{ rec:{
inr:"", //.ledgrp.rec.inr
ownref:"", // Reference .ledgrp.rec.ownref ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam nam:"", // Name .ledgrp.rec.nam
avbby:"", // Available by [AVBBY0] .ledgrp.rec.avbby avbby:"", // Available by [AVBBY0] .ledgrp.rec.avbby
......
...@@ -4,12 +4,13 @@ import Utils from "~/utils" ...@@ -4,12 +4,13 @@ import Utils from "~/utils"
* Lttopn Check规则 * Lttopn Check规则
*/ */
let checkObj = { let checkObj = {
"lttp.a2tp.ptsget.sdamod.dadsnd" :null, "liaall.misamt" :null,
"ltdgrp.rec.cnfins" :null, "ltdgrp.rec.cnfins" :null,
"ltdgrp.rec.nomspc" :null, "ltdgrp.rec.nomspc" :null,
"ltdgrp.a2t.adrelc" :null, "ltdgrp.a2t.adrelc" :null,
"ltdgrp.blk.lcrdoc" :null, "ltdgrp.blk.lcrdoc" :null,
"ltdgrp.avt.namelc" :null, "ltdgrp.avt.namelc" :null,
"cnybop.outflg" :null,
"ltdgrp.rec.stacty" :null, "ltdgrp.rec.stacty" :null,
"ltdgrp.a2t.pts.extkey" :null, "ltdgrp.a2t.pts.extkey" :null,
"lttp.usr.extkey" :null, "lttp.usr.extkey" :null,
...@@ -18,39 +19,36 @@ let checkObj = { ...@@ -18,39 +19,36 @@ let checkObj = {
"ltdgrp.rec.opndat" :null, "ltdgrp.rec.opndat" :null,
"ltdgrp.cbs.nom1.amt" :null, "ltdgrp.cbs.nom1.amt" :null,
"ltdgrp.be2.pts.extkey" :null, "ltdgrp.be2.pts.extkey" :null,
"setmod.dspflg" :null,
"ltdgrp.be2.namelc" :null, "ltdgrp.be2.namelc" :null,
"ltdgrp.rmt.adrelc" :null, "ltdgrp.rmt.adrelc" :null,
"ltdgrp.cbs.max.amt" :null, "ltdgrp.cbs.max.amt" :null,
"ltdgrp.rmt.pts.extkey" :null, "ltdgrp.rmt.pts.extkey" :null,
"ltdgrp.blk.dftat" :null, "ltdgrp.blk.dftat" :null,
"lttp.letp0.recget.sdamod.dadsnd" :null,
"ltdgrp.rec.expdat" :null, "ltdgrp.rec.expdat" :null,
"cnybop.cnyflg" :null,
"ltdgrp.cbs.nom1.cur" :null, "ltdgrp.cbs.nom1.cur" :null,
"lttp.drwp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.blk.adlcnd" :null, "ltdgrp.blk.adlcnd" :null,
"lttp.rmtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.nam" :null, "ltdgrp.be1.pts.nam" :null,
"ltdgrp.blk.spcben" :null,
"ltdgrp.rec.shpdat" :null, "ltdgrp.rec.shpdat" :null,
"ltdgrp.avt.pts.adrblk" :null, "ltdgrp.avt.pts.adrblk" :null,
"ltdgrp.blk.shpper" :null, "ltdgrp.blk.shpper" :null,
"ltdgrp.a2t.pts.adrblk" :null, "ltdgrp.a2t.pts.adrblk" :null,
"ltdgrp.adt.pts.extkey" :null, "ltdgrp.adt.pts.extkey" :null,
"ltdgrp.rec.rmbcha" :null,
"ltdgrp.blk.mixdet" :null, "ltdgrp.blk.mixdet" :null,
"ltdgrp.drw.adrelc" :null, "ltdgrp.drw.adrelc" :null,
"ltdgrp.drw.pts.extkey" :null, "ltdgrp.drw.pts.extkey" :null,
"lttp.ledget.sdamod.dadsnd" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.blk.insbnk" :null, "ltdgrp.blk.insbnk" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.con.namelc" :null, "ltdgrp.con.namelc" :null,
"ltdgrp.adt.adrelc" :null, "ltdgrp.adt.adrelc" :null,
"ltdgrp.avt.adrelc" :null, "ltdgrp.avt.adrelc" :null,
"ltdgrp.rec.expplc" :null, "ltdgrp.rec.expplc" :null,
"lttp.conp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be2.pts.adrblk" :null, "ltdgrp.be2.pts.adrblk" :null,
"lttp.be1p.ptsget.sdamod.dadsnd" :null, "cnybop.traflg" :null,
"ltdgrp.rec.apprulrmb" :null,
"ltdgrp.rec.avbwth" :null, "ltdgrp.rec.avbwth" :null,
"ltdgrp.blk.spcrcb" :null,
"ltdgrp.blk.feetxt" :null, "ltdgrp.blk.feetxt" :null,
"ltdgrp.rec.avbby" :null, "ltdgrp.rec.avbby" :null,
"ltdgrp.blk.preper" :null, "ltdgrp.blk.preper" :null,
...@@ -60,24 +58,24 @@ let checkObj = { ...@@ -60,24 +58,24 @@ let checkObj = {
"ltdgrp.adt.pts.adrblk" :null, "ltdgrp.adt.pts.adrblk" :null,
"ltdgrp.rec.prepers18" :null, "ltdgrp.rec.prepers18" :null,
"ltdgrp.blk.lcrgod" :null, "ltdgrp.blk.lcrgod" :null,
"lttp.be2p.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.extkey" :null, "ltdgrp.be1.pts.extkey" :null,
"ltdgrp.avt.pts.extkey" :null, "ltdgrp.avt.pts.extkey" :null,
"ltdgrp.rec.apprultxt" :null, "ltdgrp.rec.apprultxt" :null,
"ltdgrp.rmt.pts.adrblk" :null, "ltdgrp.rmt.pts.adrblk" :null,
"lttp.recget.sdamod.dadsnd" :null, "mtabut.coninf.conexedat" :null,
"cnybop.libflg" :null,
"ltdgrp.adt.namelc" :null, "ltdgrp.adt.namelc" :null,
"ltdgrp.con.adrelc" :null, "ltdgrp.con.adrelc" :null,
"ltdgrp.rec.lcrtyp" :null, "ltdgrp.rec.lcrtyp" :null,
"ltdgrp.rec.tenmaxday" :null, "ltdgrp.rec.tenmaxday" :null,
"ltdgrp.rec.apprul" :null, "ltdgrp.rec.apprul" :null,
"lttp.adtp.ptsget.sdamod.dadsnd" :null, "setmod.docamt" :null,
"ltdgrp.blk.defdet" :null, "ltdgrp.blk.defdet" :null,
"ltdgrp.drw.namelc" :null, "ltdgrp.drw.namelc" :null,
"ltdgrp.drw.pts.adrblk" :null, "ltdgrp.drw.pts.adrblk" :null,
"ltdgrp.a2t.namelc" :null, "ltdgrp.a2t.namelc" :null,
"ltdgrp.con.pts.adrblk" :null, "ltdgrp.con.pts.adrblk" :null,
"lttp.avtp.ptsget.sdamod.dadsnd" :null, "cnybop.vouflg" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--Settle BC --> <!--Settle BC -->
<el-tab-pane label="Settle BC" name="bctset"> <el-tab-pane label="Settle BC" name="bctset">
<c-content> <c-content>
...@@ -133,7 +133,13 @@ export default { ...@@ -133,7 +133,13 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, // tabClick() {},
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
}, },
created: async function () { created: async function () {
console.log("进入bctacc交易"); console.log("进入bctacc交易");
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据状态" prop="bddgrp.rec.docsta"> <el-form-item label="单据状态" prop="bddgrp.rec.docsta">
<c-select v-model="model.bddgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态" <c-select v-model="model.bddgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态"
:code="codes.docsta" disabled> :code="codes.docsta1" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -510,7 +510,7 @@ ...@@ -510,7 +510,7 @@
--> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item prop="bdtp.oth.namelc" :label="`付款人名称`" :prop="`bdtp.oth.namelc`"> <el-form-item prop="bdtp.oth.namelc" :label="`付款人名称`">
<c-input type="textarea" v-model="model.bdtp.oth.namelc" :placeholder="'请输入付款人名称'" :rows="2" <c-input type="textarea" v-model="model.bdtp.oth.namelc" :placeholder="'请输入付款人名称'" :rows="2"
maxlength="35" show-word-limit disabled></c-input> maxlength="35" show-word-limit disabled></c-input>
</el-form-item> </el-form-item>
......
...@@ -6,14 +6,14 @@ ...@@ -6,14 +6,14 @@
<c-col :span="20"> <c-col :span="20">
<el-form-item label="不符点"> <el-form-item label="不符点">
<c-input type="textarea" <c-input type="textarea"
:disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true" :rows="6" :disabled="model.bddgrp.blk.docdisflg ? false : true" :rows="6"
v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input> v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel" <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"
:disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true"> :disabled="model.bddgrp.blk.docdisflg ? false : true">
... ...
</c-button> </c-button>
</c-col> </c-col>
...@@ -84,12 +84,14 @@ ...@@ -84,12 +84,14 @@
<c-col :span="10"> <c-col :span="10">
<c-row> <c-row>
<c-col :span="24" :offset="8"> <c-col :span="24" :offset="8">
<c-checkbox v-model="model.bddgrp.rec.igndisflg" @change="change1"> <c-checkbox v-model="model.bddgrp.rec.igndisflg" @change="igndisflgOtherDefault">
忽略不符点 忽略不符点
</c-checkbox> </c-checkbox>
</c-col> </c-col>
<c-col :span="24" :offset="8"> <c-col :span="24" :offset="8">
<c-checkbox v-model="model.bddgrp.blk.docdisflg" :disabled="model.bddgrp.rec.igndisflg ? true : false"> <c-checkbox v-model="model.bddgrp.blk.docdisflg"
@change="docdisflgOtherDefault">
<!-- :disabled="model.bddgrp.rec.igndisflg ? true : false -->
录入不符点 录入不符点
</c-checkbox> </c-checkbox>
</c-col> </c-col>
...@@ -266,10 +268,22 @@ ...@@ -266,10 +268,22 @@
}, },
methods: { methods: {
...Event, ...Event,
async change1() { async igndisflgOtherDefault() {
if (this.model.bddgrp.rec.igndisflg == 'X') { this.executeDefault('trnmod.trndoc.tag77atxt').then((res) => {
this.model.bddgrp.blk.docdisflg = ''; if (res.respCode == SUCCESS) {
} Utils.copyValueFromVO(this.model, res.data)
}
})
// if (this.model.bddgrp.rec.igndisflg == 'X') {
// this.model.bddgrp.blk.docdisflg = '';
// }
},
docdisflgOtherDefault(){
this.executeDefault('txmmod.buttxmsel').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
}, },
addTableValue(index) { addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue); var newTableValue = Object.assign({}, this.newValue);
......
...@@ -127,6 +127,7 @@ import Engp from "~/views/Public/Engp" ...@@ -127,6 +127,7 @@ import Engp from "~/views/Public/Engp"
export default { export default {
name: "botame",
components:{ components:{
"m-amep" : Amep, "m-amep" : Amep,
"m-ovwp" : Ovwp, "m-ovwp" : Ovwp,
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<c-col :span="1"> <c-col :span="1">
</c-col> </c-col>
<c-col :span="3" style="text-align: right"> <c-col :span="3" style="text-align: right">
<c-button style="margin:0 0" size="small" type="primary" :disabled="this.flag" @click="onBotpButgetref"> <c-button style="margin:0 0" size="small" type="primary" :disabled="this.model.bodgrp.drr.pts.extkey==''" @click="onBotpButgetref">
获取 获取
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<c-col :span="24"> <c-col :span="24">
<c-table max-height="300px" style="text-align: center;" stripe :list="this.model.botp.ptsaddp.ptsaddg || []" <c-table max-height="300px" style="text-align: center;" stripe :list="this.model.botp.ptsaddp.ptsaddg || []"
:paginationShow="false" :border="true"> :paginationShow="false" :border="true">
<el-table-column label="Additional Parties">
<el-table-column label="角色" width="auto" prop="rol"> <el-table-column label="角色" width="auto" prop="rol">
<template slot-scope="scope"> <template slot-scope="scope">
<c-select v-model="scope.row.rol" :code="ptyp2"> <c-select v-model="scope.row.rol" :code="ptyp2">
...@@ -71,6 +72,7 @@ ...@@ -71,6 +72,7 @@
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table-column>
</c-table> </c-table>
</c-col> </c-col>
......
...@@ -354,16 +354,15 @@ export default { ...@@ -354,16 +354,15 @@ export default {
async change() { async change() {
if (this.model.bodgrp.rec.focflg === "X") { if (this.model.bodgrp.rec.focflg === "X") {
this.model.setmod.redamt = this.model.setmod.docamt; this.model.setmod.redamt = this.model.setmod.docamt;
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
} else { } else {
this.model.setmod.redamt = "0.00"; this.model.setmod.redamt = "0.00";
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
} }
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
}, },
async multipleSelect(selection) { async multipleSelect(selection) {
let rtnmsg = await this.executeDefault("executeNotify");
if (selection.length > 1) { if (selection.length > 1) {
this.$notify({ this.$notify({
title: "error", title: "error",
...@@ -374,9 +373,6 @@ export default { ...@@ -374,9 +373,6 @@ export default {
let chkIds; let chkIds;
if (selection.length === 0) { if (selection.length === 0) {
chkIds = []; chkIds = [];
this.$nextTick(async () => {
this.model.setmod.docamt = "0.000";
})
this.model.liaall.tensetstm.rows = []; this.model.liaall.tensetstm.rows = [];
} else { } else {
chkIds = [selection[0] + 1]; chkIds = [selection[0] + 1];
......
...@@ -67,7 +67,6 @@ ...@@ -67,7 +67,6 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Botpay from "~/model/Botpay" import Botpay from "~/model/Botpay"
import commonFuncs from "~/mixin/commonFuncs" import commonFuncs from "~/mixin/commonFuncs"
...@@ -78,12 +77,7 @@ import Pattern from "~/model/Botpay/Pattern" ...@@ -78,12 +77,7 @@ import Pattern from "~/model/Botpay/Pattern"
import Setp from "./Setp" import Setp from "./Setp"
import Inst from "./Inst" import Inst from "./Inst"
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Glepan from "./Glepan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
...@@ -136,9 +130,11 @@ export default { ...@@ -136,9 +130,11 @@ export default {
}, },
created: async function () { created: async function () {
console.log("进入botpay交易"); console.log("进入botpay交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//更新数据
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
......
...@@ -81,19 +81,19 @@ ...@@ -81,19 +81,19 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结汇金额" prop="bopmod.dbdgrp.bas.lcyamt"> <el-form-item label="结汇金额" prop="bopmod.dbdgrp.bas.lcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input> <c-input-currency v-model="model.bopmod.dbdgrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="现汇金额" prop="bopmod.dbdgrp.bas.fcyamt"> <el-form-item label="现汇金额" prop="bopmod.dbdgrp.bas.fcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input> <c-input-currency v-model="model.bopmod.dbdgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="其它金额" prop="bopmod.dbdgrp.bas.othamt"> <el-form-item label="其它金额" prop="bopmod.dbdgrp.bas.othamt">
<c-input v-model="model.bopmod.dbdgrp.bas.othamt" placeholder="请输入其它金额"></c-input> <c-input-currency v-model="model.bopmod.dbdgrp.bas.othamt" placeholder="请输入其它金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<c-col :span="14"> <c-col :span="14">
<el-form-item label="" prop="bopmod.dbdgrp.bas.txamt" label-width="5px"> <el-form-item label="" prop="bopmod.dbdgrp.bas.txamt" label-width="5px">
<c-input disabled v-model="model.bopmod.dbdgrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input> <c-input-currency disabled v-model="model.bopmod.dbdgrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
<c-col :span="14"> <c-col :span="14">
<el-form-item label="" prop="bopmod.dbdgrp.bas.inchargeamt" label-width="5px"> <el-form-item label="" prop="bopmod.dbdgrp.bas.inchargeamt" label-width="5px">
<c-input disabled v-model="model.bopmod.dbdgrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input> <c-input-currency disabled v-model="model.bopmod.dbdgrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
......
...@@ -295,9 +295,10 @@ ...@@ -295,9 +295,10 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bodgrp.rec.focflg" @change="change" <el-form-item label="" prop="bodgrp.rec.focflg">
>Free of Payment</c-checkbox <c-checkbox v-model="model.bodgrp.rec.focflg"
> >Free of Payment</c-checkbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Reduction Amt." prop="setmod.doccur"> <el-form-item label="Reduction Amt." prop="setmod.doccur">
...@@ -333,11 +334,12 @@ ...@@ -333,11 +334,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="mtabut.clsflg">
<c-checkbox <c-checkbox
:disabled="this.flag1" :disabled="this.flag1"
v-model="model.mtabut.clsflg" v-model="model.mtabut.clsflg"
>Close Contract</c-checkbox >Close Contract</c-checkbox>
> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -436,20 +438,13 @@ export default { ...@@ -436,20 +438,13 @@ export default {
computed: { computed: {
clsflg: { clsflg: {
get() { get() {
return this.model.mtabut.clsflg === "X"; return this.model.mtabut.clsflg === "O";
},
set(val) {
this.model.mtabut.clsflg = val ? "x" : "";
},
},
focflg: {
get() {
return this.model.bedgrp.rec.focflg === "X";
}, },
set(val) { set(val) {
this.model.bedgrp.rec.focflg = val ? "X" : ""; this.model.mtabut.clsflg = val ? "C" : "O";
}, },
}, },
flag() { flag() {
return this.model.mtabut.coninf.usr.extkey == ""; return this.model.mtabut.coninf.usr.extkey == "";
}, },
...@@ -458,34 +453,24 @@ export default { ...@@ -458,34 +453,24 @@ export default {
this.$nextTick(() => {}); this.$nextTick(() => {});
}, },
// watch:{
// "model.setmod.docamt":function(){
// if(this.model.bodgrp.cbs.opn1.amt==this.model.setmod.docamt){
// this.model.mtabut.clsflg = "X";
// }
// },
// },
methods: { methods: {
...Event, ...Event,
async change1(){ async change1(){
if(this.model.bodgrp.cbs.opn1.amt<=this.model.setmod.docamt){ if(this.model.bodgrp.cbs.opn1.amt<=this.model.setmod.docamt){
this.model.mtabut.clsflg = "X"; this.flag1=false;
this.flag1=false;} this.model.mtabut.clsflg = "O";
}
else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){ else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){
this.model.mtabut.clsflg = "";
this.flag1=true; this.flag1=true;
this.model.mtabut.clsflg = "C";
}}, }},
async change() { // async change() {
if (this.model.bodgrp.rec.focflg === "X") { // if (this.model.bodgrp.rec.focflg === "X") {
this.model.setmod.redamt = this.model.setmod.docamt; // this.model.setmod.redamt = this.model.setmod.docamt;
// let rtnmsg = await this.executeDefault("setmod.redamt"); // } else {
// this.model.bodgrp.rec.docsta ="D" // this.model.setmod.redamt = "0.00";
} else { // }
this.model.setmod.redamt = "0.00"; // },
// let rtnmsg = await this.executeDefault("setmod.redamt");
// this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
}
},
async multipleSelect(selection) { async multipleSelect(selection) {
if (selection.length > 1) { if (selection.length > 1) {
this.$notify({ this.$notify({
...@@ -497,10 +482,8 @@ export default { ...@@ -497,10 +482,8 @@ export default {
let chkIds; let chkIds;
if (selection.length === 0) { if (selection.length === 0) {
chkIds = []; chkIds = [];
this.$nextTick(async () => {
this.model.setmod.docamt = "0.00";
})
this.model.liaall.tensetstm.rows = []; this.model.liaall.tensetstm.rows = [];
this.flag1=true;
} else { } else {
chkIds = [selection[0] + 1]; chkIds = [selection[0] + 1];
} }
......
...@@ -298,7 +298,11 @@ export default { ...@@ -298,7 +298,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbcp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -298,7 +298,11 @@ export default { ...@@ -298,7 +298,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbfp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -218,21 +218,21 @@ const BusRouter = [ ...@@ -218,21 +218,21 @@ const BusRouter = [
{ path: 'cctset', component: Cctset, name: 'Cctset', meta: { title: '光票托收收汇' } }, { path: 'cctset', component: Cctset, name: 'Cctset', meta: { title: '光票托收收汇' } },
{ path: 'cctsel', component: Cctsel, name: 'Cctsel', meta: { title: '光票托收入口交易' } }, { path: 'cctsel', component: Cctsel, name: 'Cctsel', meta: { title: '光票托收入口交易' } },
{ path: 'cctdcr', component: Cctdcr, name: 'Cctdcr', meta: { title: '光票托收退票' } }, { path: 'cctdcr', component: Cctdcr, name: 'Cctdcr', meta: { title: '光票托收退票' } },
{ path: 'lttopn', component: Lttopn, name: 'Lttopn', meta: { title: '转让证开立' } }, { path: 'lttopn', component: Lttopn, name: 'Lttopn', meta: { title: '转让信用证开立' } },
{ path: 'lttame', component: Lttame, name: 'Lttame', meta: { title: '转让证修改' } }, { path: 'lttame', component: Lttame, name: 'Lttame', meta: { title: '转让信用证修改' } },
{ path: 'lttcan', component: Lttcan, name: 'Lttcan', meta: { title: '转让证注销' } }, { path: 'lttcan', component: Lttcan, name: 'Lttcan', meta: { title: '转让信用证注销' } },
{ path: 'infbtd', component: Infbtd, name: 'Infbtd', meta: { title: '转让证单据查询' } }, { path: 'infbtd', component: Infbtd, name: 'Infbtd', meta: { title: '转让信用证单据查询' } },
{ path: 'infltd', component: Infltd, name: 'Infltd', meta: { title: '转让证查询' } }, { path: 'infltd', component: Infltd, name: 'Infltd', meta: { title: '转让信用证查询' } },
{ path: 'bttdck', component: Bttdck, name: 'Bttdck', meta: { title: '转让证单据第一受益人换单' } }, { path: 'bttdck', component: Bttdck, name: 'Bttdck', meta: { title: '转让信用证单据第一受益人换单' } },
{ path: 'bttsnd', component: Bttsnd, name: 'Bttsnd', meta: { title: '转让证单据寄单' } }, { path: 'bttsnd', component: Bttsnd, name: 'Bttsnd', meta: { title: '转让信用证单据寄单' } },
{ path: 'bttdcr', component: Bttdcr, name: 'Bttdcr', meta: { title: '转让证单据拒单' } }, { path: 'bttdcr', component: Bttdcr, name: 'Bttdcr', meta: { title: '转让信用证单据拒单' } },
{ path: 'bttdrv', component: Bttdrv, name: 'Bttdrv', meta: { title: '转让修改单据金额' } }, { path: 'bttdrv', component: Bttdrv, name: 'Bttdrv', meta: { title: '转让信用证修改单据金额' } },
{ path: 'bttcan', component: Bttcan, name: 'Bttcan', meta: { title: '转让证单据注销' } }, { path: 'bttcan', component: Bttcan, name: 'Bttcan', meta: { title: '转让信用证单据注销' } },
{ path: 'bttacc', component: Bttacc, name: 'Bttacc', meta: { title: '转让证单据承兑' } }, { path: 'bttacc', component: Bttacc, name: 'Bttacc', meta: { title: '转让信用证单据承兑' } },
{ path: 'bttset', component: Bttset, name: 'Bttset', meta: { title: '转让证单据收汇' } }, { path: 'bttset', component: Bttset, name: 'Bttset', meta: { title: '转让信用证单据收汇' } },
{ path: 'bttrcl', component: Bttrcl, name: 'Bttrcl', meta: { title: '转让证单据索汇' } }, { path: 'bttrcl', component: Bttrcl, name: 'Bttrcl', meta: { title: '转让信用证单据索汇' } },
{ path: 'lttdav', component: Lttdav, name: 'Lttdav', meta: { title: '转让证通知到单' } }, { path: 'lttdav', component: Lttdav, name: 'Lttdav', meta: { title: '转让信用证通知到单' } },
{ path: 'lttdck', component: Lttdck, name: 'Lttdck', meta: { title: '转让第二受益人交单' } }, { path: 'lttdck', component: Lttdck, name: 'Lttdck', meta: { title: '转让信用第二受益人交单' } },
{ path: 'brtset', component: Brtset, name: 'Brtset', meta: { title: '进口信用证单据进口付汇' } }, { path: 'brtset', component: Brtset, name: 'Brtset', meta: { title: '进口信用证单据进口付汇' } },
{ path: 'bdtudp', component: Bdtudp, name: 'Bdtudp', meta: { title: '国内证承兑' } }, { path: 'bdtudp', component: Bdtudp, name: 'Bdtudp', meta: { title: '国内证承兑' } },
{ path: 'bdtdcr', component: Bdtdcr, name: 'Bdtdcr', meta: { title: '国内证不符点/拒付' } }, { path: 'bdtdcr', component: Bdtdcr, name: 'Bdtdcr', meta: { title: '国内证不符点/拒付' } },
......
...@@ -325,7 +325,11 @@ export default { ...@@ -325,7 +325,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbdp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -341,7 +341,11 @@ export default { ...@@ -341,7 +341,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbap.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -239,11 +239,11 @@ export default { ...@@ -239,11 +239,11 @@ export default {
this.basflgEnable = true; this.basflgEnable = true;
this.model.bopmod.acttyp =""; this.model.bopmod.acttyp ="";
this.model.bopmod.ownextkey =""; this.model.bopmod.ownextkey ="";
}else if(this.model.bopmod.szflg == '2'){ }else if(this.model.bopmod.szflg == '2'){
this.model.bopmod.acttyp =""; this.model.bopmod.acttyp ="";
this.model.bopmod.outchargeamt="0.00"; this.model.bopmod.outchargeamt="0.00";
} }
}, },
}, },
watch:{ watch:{
......
...@@ -304,7 +304,11 @@ export default { ...@@ -304,7 +304,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbbp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -304,7 +304,11 @@ export default { ...@@ -304,7 +304,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbep.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!-- <c-col :span="21"> --> <!-- <c-col :span="21"> -->
<c-fullbox> <c-fullbox>
<c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'" <c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'"
v-model="model.didgrp.blk.defdet" style="width:98%" maxlength="140" show-word-limit v-model="model.didgrp.blk.defdet" style="width:98%" maxlength="60" show-word-limit
placeholder="请输入" :autosize="{ minRows: 3, maxRows: 5 }"></c-input> placeholder="请输入" :autosize="{ minRows: 3, maxRows: 5 }"></c-input>
<!-- </c-col> --> <!-- </c-col> -->
<!-- <c-col :span="3" style="text-align: right"> --> <!-- <c-col :span="3" style="text-align: right"> -->
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="报文类型" label-width="40%" style="text-align:right"> <el-form-item label="报文类型" label-width="40%" style="text-align:right">
<c-select v-model="model.ditp.msgtyp" placeholder="请选择报文类型" :code="getValues('ditp.msgtyp')" <c-select v-model="model.ditp.msgtyp" placeholder="请选择报文类型" :code="codes.msgtyp"
:disabled="model.didgrp.rec.elcflg != 'Y'" /> :disabled="model.didgrp.rec.elcflg != 'Y'" />
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -358,7 +358,6 @@ ...@@ -358,7 +358,6 @@
}" :disabled="false" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet"> }" :disabled="false" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap> </c-ptap>
</c-col> </c-col>
<!-- <c-col :span="18"> <!-- <c-col :span="18">
<el-form-item <el-form-item
label="Extkey" label="Extkey"
......
...@@ -33,23 +33,44 @@ ...@@ -33,23 +33,44 @@
<m-rbip :model="model" :codes="codes"/> <m-rbip :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
--> -->
<el-tab-pane label="其他当事人" name="detp1"> <el-tab-pane label="银行明细" name="detp1">
<!--PD000452 --> <!--PD000452 -->
<c-content> <c-content>
<m-detp1 :model="model" :codes="codes" /> <m-detp1 :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="详细信息" name="detp"> <el-tab-pane label="详细信息" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
<!--PD000077 --> <!--PD000077 -->
<m-detp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="单据要求" name="tk"> <el-tab-pane label="条款" name="tk">
<!--PD000342 --> <!--PD000342 -->
<c-content> <c-content>
<m-tk :model="model" :codes="codes" /> <m-tk :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="声明" name="stamet">
<c-content>
<m-stamet :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="或有" name="engp">
<!--PD000027 -->
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- document rules <!-- document rules
<el-tab-pane label="经办夹查询"> <el-tab-pane label="经办夹查询">
...@@ -72,43 +93,40 @@ ...@@ -72,43 +93,40 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="分录" name="glepan"> <el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="声明" name="stamet">
<m-stamet :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="表外" name="engp">
<!--PD000027 -->
<c-content> <c-content>
<m-engp :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" ref="glepan" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="备查表" name="addbcb"> <el-tab-pane label="备查表" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
<!--PD000027 --> <!--PD000027 -->
<m-addbcb :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</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" ref="docpan" /> <c-content>
<m-docpan :model="model" :codes="codes" ref="docpan" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="MT799" name="mt799"> <el-tab-pane label="MT799" name="mt799">
<c-content>
<m-mt799 :model="model" :codes="codes" />
</c-content>
<!--PD000361 --> <!--PD000361 -->
<m-mt799 :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" /> <c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
......
...@@ -450,7 +450,7 @@ ...@@ -450,7 +450,7 @@
:disabled="model.gcdgrp.rec.frepaylg=='X'" :disabled="model.gcdgrp.rec.frepaylg=='X'"
> >
<el-option <el-option
v-for="item in cmtflg" v-for="item in codes.cmtflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -733,13 +733,7 @@ export default { ...@@ -733,13 +733,7 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {};
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
};
}, },
watch:{ watch:{
......
...@@ -49,6 +49,9 @@ ...@@ -49,6 +49,9 @@
v-model="model.cnybop.cnyout.spayercountrycode" v-model="model.cnybop.cnyout.spayercountrycode"
maxlength="3" maxlength="3"
placeholder="" placeholder=""
@keyup.enter.native="
showGridPromptDialog('cnybop.cnyout.spayercountrycode')
"
></c-input> ></c-input>
</c-col> </c-col>
<c-col :span="4" style="text-align: right"> <c-col :span="4" style="text-align: right">
...@@ -56,6 +59,16 @@ ...@@ -56,6 +59,16 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="
showGridPromptDialog(
'cnybop.outcty',
null,
null,
{ TXT: 'cnybop.cnyout.spayercountrycode' },
{ TXT: false },
'doxpDialog'
)
"
></c-button> ></c-button>
</c-col> </c-col>
</el-form-item> </el-form-item>
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="外付款/承兑通知书-基础信息" label="外付款/承兑通知书-基础信息"
name="basp" name="basp"
v-if="model.bopmod.basflg && model.bopmod.szflg == '1'" v-if="model.bopmod.basflg && model.bopmod.szflg == '1'"
> >
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000130 --> <!--PD000130 -->
<el-tab-pane label="Payment 756 BEN USD 330.00" name="det756"> <el-tab-pane :label=this.det756Name name="det756">
<c-content> <c-content>
<m-det756 :model="model" :codes="codes" /> <m-det756 :model="model" :codes="codes" />
</c-content> </c-content>
...@@ -145,10 +145,10 @@ ...@@ -145,10 +145,10 @@
<!--PD000131 --> <!--PD000131 -->
<el-tab-pane <el-tab-pane
label="Payment 202 BEN USD 330.00" :label=this.det202cvName
name="det202cv" name="det202cv"
v-if=" v-if="
model.trnmod.cmtflg == '1' || model.trnmod.cmtflg == 'C' ||
model.gcdgrp.cbs.max.cur != 'CNY' model.gcdgrp.cbs.max.cur != 'CNY'
" "
> >
...@@ -243,6 +243,8 @@ export default { ...@@ -243,6 +243,8 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
det202cvName:"Payment 202 PRB",
det756Name:"Payment 756 PRB" ,
tabVal: "gitsetp1", tabVal: "gitsetp1",
trnName: "gitset", trnName: "gitset",
model: new Gitset().data, model: new Gitset().data,
...@@ -253,6 +255,28 @@ export default { ...@@ -253,6 +255,28 @@ export default {
codes: { ...CodeTable }, codes: { ...CodeTable },
}; };
}, },
watch:{
"model.setmod.doccur":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
"model.mtabut.clsflg":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
},
methods: { methods: {
mimeTabClick(tab) { mimeTabClick(tab) {
this.tabClick(tab); this.tabClick(tab);
...@@ -282,6 +306,7 @@ export default { ...@@ -282,6 +306,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
<template> <template>
<div class="eContainer"> <c-page title="转让信用证查询">
<el-form <div class="eContainer">
:model="model" <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
:rules="rules" <el-form
ref="modelForm" :model="model"
label-width="150px" :rules="rules"
label-position="left" ref="modelForm"
size="small" label-width="150px"
:validate-on-rule-change="false" label-position="left"
> size="small"
:validate-on-rule-change="false"
<m-infsea v-show="!showPanel" @updateShowPanel="updateShowPanel($event)" :model="model" :codes="codes" ref="infsea"/> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" v-show="showPanel" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 --> <!--PD000006 Selection -->
<!-- <el-tab-pane label="Selection" name="infsea"> <el-tab-pane label="转让信用证查询" name="infsea">
<c-content> <c-content>
<m-infsea :model="model" :codes="codes" /> <m-infsea :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> --> </el-tab-pane>
<!--PD000001 --> </c-tabs>
<el-tab-pane label="Overview" name="ovwp"> </el-form>
<m-ovwp :model="model" :codes="codes" /> </div>
</el-tab-pane> </c-page>
<!--PD000077 -->
<el-tab-pane label="Details" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000169 -->
<el-tab-pane label="Orig.L/C Details" name="lttinf">
<m-lttinf :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="Transaction" name="trnpan">
<m-trnpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="GLE Info" name="gleinfp">
<m-gleinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-button
v-show="showPanel"
style="margin-left: 75%;bottom: 10%;position:sticky"
size="small"
@click="goBack()">
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
</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 Infltd from "~/model/Infltd"; import Infltd from "~/model/Infltd"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infltd/Check"; import Check from "~/model/Infltd/Check"
import Default from "~/model/Infltd/Default"; import Default from "~/model/Infltd/Default"
import Pattern from "~/model/Infltd/Pattern"; import Pattern from "~/model/Infltd/Pattern"
import Infsea from "./Infsea"; import Infsea from "./Infsea"
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Lttinf from "./Lttinf";
import Coninfp from "./Coninfp";
import Trnpan from "./Trnpan";
import Cbsinfp from "./Cbsinfp";
import Cbeinfp from "./Cbeinfp";
import Fepinfp from "./Fepinfp";
import Sepinfp from "./Sepinfp";
import Gleinfp from "./Gleinfp";
import Smhinfp from "./Smhinfp";
import Peninfp from "./Peninfp";
import Prtpan from "./Prtpan";
export default { export default {
components: { name: "Infltd",
"m-infsea": Infsea, components:{
"m-ovwp": Ovwp, "m-infsea" : Infsea,
"m-detp": Detp,
"m-ptyp": Ptyp, },
"m-lttinf": Lttinf, provide() {
"m-coninfp": Coninfp, return {
"m-trnpan": Trnpan, root: this
"m-cbsinfp": Cbsinfp, }
"m-cbeinfp": Cbeinfp, },
"m-fepinfp": Fepinfp, mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
"m-sepinfp": Sepinfp, data(){
"m-gleinfp": Gleinfp, return {
"m-smhinfp": Smhinfp, tabVal: "infsea",
"m-peninfp": Peninfp, trnName: "infltd",
"m-prtpan": Prtpan, model: new Infltd().data,
}, checkRules: Check,
provide() { defaultRules: Default,
return { pattern: Pattern,
root: this, rules: null,
}; codes:{...CodeTable},
}, }
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 },
data() { methods:{
return { tabClick(){
tabVal: "infsea", }
trnName: "infltd", },
model: new Infltd().data, created:async function(){
checkRules: Check, console.log("进入infltd交易");
defaultRules: Default, let rtnmsg = await this.init({})
pattern: Pattern, if(rtnmsg.respCode == SUCCESS)
rules: null, {
showPanel:false, //更新数据
codes: { ...CodeTable }, this.updateModel(rtnmsg.data)
}; // Utils.copyValueFromVO(this.model, rtnmsg.data);
}, if (this.isInDisplay) {
methods: { this.restoreDisplay();
goBack(){ }
this.showPanel = false; }
}, else
tabClick(tab) { {
this.$notify.error({title: '错误',message: '服务请求失败!'});
const name = tab.name }
let rulePath;
if (name === "fepinfp") {
rulePath = "infcon.fepinfp";
}
if (name === "coninfp") {
rulePath = "coninf.coninfp";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
})
}
},
initPanel(val){
if(val){
this.tabVal = "ovwp"
//
}else{
this.tabVal = ""
}
},
async updateShowPanel(value) {
this.showPanel = value;
this.initPanel(value);
},
},
created: async function () {
console.log("进入infltd交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
console.log("ini方法:");
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
}, }
};
</script> </script>
<style> <style>
</style> </style>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input> v-model.number="model.lidgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> v-model.number="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select <c-select
:code="codes.lcrtyp" :code="codes.lcrtyp1"
disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型"> disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -171,8 +171,8 @@ ...@@ -171,8 +171,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="担保银行" prop="guabnkval"> <el-form-item label="担保银行" prop="guabnkval">
<c-input v-model="model.guabnkval" maxlength="40" style="width: 72%" placeholder="请输入担保银行"></c-input> <c-input v-model="model.guabnkval" maxlength="40" style="width: 77%" placeholder="请输入担保银行"></c-input>
<span>(提货担保面函落款)</span> <span style="font-size:12px;color:#606266;">(提货担保面函落款)</span>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea> <!-- SF000264 : Additional Conditions -->
<!-- Special payment conditions for beneficiary -->
<c-col :span="24" class="lttopn_adcp_check"> <c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.spcbenflg" <c-form-item :label="$t('lttp.SF000264')" prop="ltdgrp.blk.adlcnd">
>受益人特殊付款条款</c-checkbox <c-input type="textarea" v-model="model.ltdgrp.blk.adlcnd" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000264')" ></c-input>
> </c-form-item>
</c-col>
<!-- Special payment conditions for receiving bank -->
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">
收款银行特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="24" class="lttopn_adcp_cheak">
<c-checkbox v-model="model.ltdgrp.rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</c-col>
<c-blkTextarea :model="model" v-bind="blk1"> </c-blkTextarea>
<!-- <c-col :span="24">
<c-col :span="20">
<el-form-item label="附加条件" prop="ltdgrp.blk.adlcnd">
<c-input type="textarea"
:autosize="{ minRows: 6, maxRows: 8}"
style="height:100%;width:100%;margin-right:20px;"
v-model="model.ltdgrp.blk.adlcnd"
maxlength="65"
show-word-limit placeholder="请输入Additional Conditions"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4" class="lttopn_dogp_button"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
... {{$t('lttp.CF000261')}}
</c-button> </c-button>
</c-col>
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcbenflg"
>受益人特殊付款条款</c-checkbox>
</c-col> </c-col>
<c-col :span="24" class="lttopn_adcp_check"> <c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">收款银行特殊付款条款</c-checkbox> <c-checkbox v-model="model.ltdgrp.rec.spcbenflg">{{$t('lttp.CG000379')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">{{$t('lttp.CG000380')}}</c-checkbox>
</c-col> </c-col>
<c-col :span="24" class="lttopn_adcp_check"> <c-col :span="12">
<c-checkbox <c-checkbox v-model="model.ltdgrp.rec.redclsflg">{{$t('lttp.CF000263')}}</c-checkbox>
v-model="model.ltdgrp.rec.redclsflg">Red/Green Clause?</c-checkbox>
</c-col> </c-col>
<!-- SF000265 : Instructions to Pay., -->
<c-col :span="20">
<el-form-item label="付款、承兑、议付银行指示" prop="ltdgrp.blk.insbnk"> <c-col :span="12">
<c-input type="textarea" <c-form-item :label="$t('lttp.SF000265')" prop="ltdgrp.blk.insbnk">
:autosize="{ minRows: 6, maxRows: 8}" <c-input type="textarea" v-model="model.ltdgrp.blk.insbnk" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000265')" ></c-input>
style="height:100%;width:100%;margin-right:20px;" </c-form-item>
v-model="model.ltdgrp.blk.insbnk"
maxlength="65"
show-word-limit placeholder="请输入Instructions to Pay.,"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4" class="lttopn_dogp_button"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
... {{$t('lttp.CF000262')}}
</c-button> </c-button>
</c-col>--> </c-col>
<!-- SF000266 : Accept., Negot. Bank -->
</div>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -84,28 +50,11 @@ import Event from "~/model/Lttopn/Event" ...@@ -84,28 +50,11 @@ import Event from "~/model/Lttopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
components: { "c-blkTextarea": BlkTextarea },
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
blk: {
blkMsg: { }
title: "附加条件",
dataUrl: "ledgrp.blk.adlcnd", //字段所在model路劲
rows: 16,
},
rulePath: "letp.adlcnd.buttxmsel",
},
blk1: {
blkMsg: {
title: "付款、承兑、议付银行指示",
dataUrl: "ledgrp.blk.insbnk", //字段所在model路劲
rows: 4,
maxlength: 2000,
},
rulePath: "letp.insbnk.buttxmsel",
},
};
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
...@@ -114,7 +63,5 @@ export default { ...@@ -114,7 +63,5 @@ export default {
} }
</script> </script>
<style> <style>
.lttopn_adcp_check {
margin: 0px 0 10px 150px;
}
</style> </style>
<template>
<div class="eibs-tab">
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000042')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea> <!-- SF000249 : Description of Goods -->
<br />
<!-- <c-col :span="12"> <c-col :span="12">
<el-form-item label="货物类型" prop="ledgrp.rec.stagod"> <c-form-item :label="$t('lttp.SF000249')" prop="ltdgrp.blk.lcrgod">
<c-select <c-input type="textarea" v-model="model.ltdgrp.blk.lcrgod" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000249')" ></c-input>
v-model="model.ledgrp.rec.stagod" </c-form-item>
style="width: 100%"
placeholder="请选择货物类型 "
>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<c-col :span="20">
<el-form-item label="Description of Goods" prop="ltdgrp.blk.lcrgod">
<c-input type="textarea"
:autosize="{ minRows: 20, maxRows: 38}"
v-model="model.ltdgrp.blk.lcrgod"
maxlength="65"
style="height:100%;width:100%;margin-right:20px;"
show-word-limit placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4" class="lttopn_dogp_button"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
... {{$t('lttp.CF000248')}}
</c-button> </c-button>
</c-col> </c-col>
</c-col>-->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"; import Event from "~/model/Lttopn/Event"
import BlkTextarea from "~/views/Public/BlkTextarea";
export default { export default {
inject: ["root"], inject: ['root'],
props: ["model", "codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "c-blkTextarea": BlkTextarea }, data(){
data() { return {
return {
blk: { }
blkMsg: { },
title: "货物说明", methods:{...Event},
dataUrl: "ltdgrp.blk.lcrgod", //字段所在model路径 created:function(){
rows: 20,
}, }
rulePath: "lttp.lcrgod.buttxmsel", }
},
};
},
methods: { ...Event },
created: function () {},
};
</script> </script>
<style> <style>
.lttopn_dogp_button {
margin: 20px 0 0 0px;
}
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <!-- SF000251 : Documents Required -->
<c-col :span="20">
<el-form-item label="单据要求" prop="ltdgrp.blk.lcrdoc"> <c-col :span="12">
<c-input type="textarea" <c-form-item :label="$t('lttp.SF000251')" prop="ltdgrp.blk.lcrdoc">
:autosize="{ minRows: 20, maxRows: 38}" <c-input type="textarea" v-model="model.ltdgrp.blk.lcrdoc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000251')" ></c-input>
style="height:100%;width:100%;margin-right:20px;" </c-form-item>
v-model="model.ltdgrp.blk.lcrdoc"
maxlength="65"
show-word-limit placeholder="请输入Documents Required"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
... {{$t('lttp.CF000250')}}
</c-button> </c-button>
</c-col> </c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
......
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" :placeholder="$t('other.please_enter')+'Booking stream to Display'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自区主号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SG000374 : Special Payment Cond. -->
<c-col :span="12">
<c-form-item :label="$t('lttp.SG000374')" prop="ltdgrp.blk.spcben">
<c-input type="textarea" v-model="model.ltdgrp.blk.spcben" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SG000374')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcbenButtxmsel">
{{$t('lttp.CG000382')}}
</c-button>
</c-col>
<!-- SG000381 : for Beneficiary -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SG000373 : Special Payment Cond. -->
<c-col :span="12">
<c-form-item :label="$t('lttp.SG000373')" prop="ltdgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.ltdgrp.blk.spcrcb" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SG000373')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcrcbButtxmsel">
{{$t('lttp.CG000383')}}
</c-button>
</c-col>
<!-- SG000384 : for Receiving Bank only -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -110,18 +110,8 @@ export default { ...@@ -110,18 +110,8 @@ export default {
// { inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" }, // { inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" },
// { inifrm: "botcan", ininam: "出口托收闭卷", pntmiu: "6" }, // { inifrm: "botcan", ininam: "出口托收闭卷", pntmiu: "6" },
{ inifrm: "7", ininam: "转让信用证", pntmiu: "" }, { inifrm: "7", ininam: "转让信用证", pntmiu: "" },
{ inifrm: "lttopn", ininam: "转让证开立", pntmiu: "7" }, { inifrm: "infltd", ininam: "转让信用证查询", pntmiu: "7" },
{ inifrm: "lttame", ininam: "转让证修改", pntmiu: "7" }, { inifrm: "infbtd", ininam: "转让信用证单据查询", pntmiu: "7" },
{ inifrm: "lttcan", ininam: "转让证注销", pntmiu: "7" },
{ inifrm: "bttsnd", ininam: "转让证单据寄单", pntmiu: "7" },
{ inifrm: "bttdrv", ininam: "转让证修改单据金额", pntmiu: "7" },
{ inifrm: "bttdcr", ininam: "转让证单据拒单", pntmiu: "7" },
{
inifrm: "lttdav",
ininam: "转让信用证单据第一受益人换单",
pntmiu: "7",
},
{ inifrm: "bttdck", ininam: "转让信用证通知到单", pntmiu: "7" },
{ inifrm: "8", ininam: "打包托收", pntmiu: "" }, { inifrm: "8", ininam: "打包托收", pntmiu: "" },
{ inifrm: "cltdav", ininam: "打包托收开立", pntmiu: "8" }, { inifrm: "cltdav", ininam: "打包托收开立", pntmiu: "8" },
{ inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" }, { inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" },
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
</el-table-column> </el-table-column>
<el-table-column prop="cbtpfx" label="Type" width="60px"> <el-table-column prop="cbtpfx" label="Type" width="60px">
</el-table-column> </el-table-column>
<el-table-column prop="matdat" label="Maturity"> <el-table-column prop="matdat" label="Maturity" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="scope.row.matdat" v-model="scope.row.matdat"
value-format="YYYY-MM-DD" value-format="yyyy-MM-dd"
placeholder="请选择Date" placeholder="请选择Date"
style="width: 100%" style="width: 100%"
@change="executeDefault('liaall.liaallg.matdat')" @change="executeDefault('liaall.liaallg.matdat')"
......
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