Commit 4365dc9b by Eivi

Infled临时提交

parent 1fd404bd
......@@ -4,13 +4,6 @@ import Utils from "~/utils"
* Letsel Check规则
*/
let checkObj = {
"bedget.sdamod.dadsnd" :null,
"recget.sdamod.dadsnd" :null,
"bpdget.sdamod.dadsnd" :null,
"trdget.sdamod.dadsnd" :null,
"fpdget.sdamod.dadsnd" :null,
"btdget.sdamod.dadsnd" :null,
"ltdget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
......
......@@ -6,28 +6,14 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"trpnttyp" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"sptpenltbt" :Utils.defaultFunction,
"sptpenltbt_descr" :Utils.defaultFunction,
"bppnttyp" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"trnpenltbt" :Utils.defaultFunction,
"trnpenltbt_descr" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"fpdgrp.inv.pts.nam" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
......@@ -35,18 +21,39 @@ export default {
"ltdgrp.avt.pts.nam" :Utils.defaultFunction,
"sptpentrbp" :Utils.defaultFunction,
"sptpentrbp_descr" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"fpdgrp.rec.opndat" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"fpdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"fpdgrp.sel.pts.nam" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"sptpenltbt" :Utils.defaultFunction,
"sptpenltbt_descr" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"fpdgrp.rec.opndat" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"ledgrp.rec.revflg" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
......@@ -64,13 +71,6 @@ export default {
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"fpdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"fpdgrp.sel.pts.nam" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
"ltdgrp.be2.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,7 +2,29 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf() {
async onSyswrnButok(){
let rtnmsg = await this.executeRule("syswrn.butok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButcan(){
let rtnmsg = await this.executeRule("syswrn.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
}
\ No newline at end of file
......@@ -702,4 +702,10 @@ export default {
"selbut.syswrn.dsp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -164,7 +164,7 @@
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
<c-button @click="deleteTable(scope.$index)" type="primary"
>删除</c-button
>
</template>
......@@ -178,6 +178,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bftdcr/Event";
import Utils from "~/utils";
export default {
inject: ["root"],
......@@ -188,9 +189,12 @@ export default {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
cmail1: "",
cmail2: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
],
newValue: {
......@@ -198,6 +202,9 @@ export default {
cmail1: "",
cmail2: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
......@@ -223,21 +230,15 @@ export default {
},
methods: { ...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial=Utils.generateUUID();
newTableValue.serialNum=serial;
// this.model.bftp.docgrdm.docgrd.push(newTableValue);
this.model.bftp.docgrdm.docgrd.splice(index-1,0,newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
deleteTable(index) {
this.model.bftp.docgrdm.docgrd.splice(index, 1);
},
},
created: function () {},
......
......@@ -275,7 +275,7 @@
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
<c-button @click="deleteTable(scope.$index)" type="primary"
>删除</c-button
>
</template>
......@@ -290,6 +290,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detdrv/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
export default {
inject: ["root"],
......@@ -303,9 +304,12 @@ export default {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
cmail1: "",
cmail2: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
],
newValue: {
......@@ -313,6 +317,9 @@ export default {
cmail1: "",
cmail2: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
......@@ -338,21 +345,15 @@ export default {
},
methods: {
...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial=Utils.generateUUID();
newTableValue.serialNum=serial;
// this.model.bftp.docgrdm.docgrd.push(newTableValue);
this.model.bftp.docgrdm.docgrd.splice(index-1,0,newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
deleteTable(index) {
this.model.bftp.docgrdm.docgrd.splice(index, 1);
},
},
created: function () {},
......
......@@ -320,7 +320,7 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-col :span="24" style="margin-bottom: 30px">
<c-table
height="200px"
style="text-align: center"
......@@ -328,26 +328,15 @@
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1"></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
<el-table-column label="2st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
......@@ -369,7 +358,7 @@
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
<c-button @click="deleteTable(scope.$index)" type="primary"
>删除</c-button
>
</template>
......@@ -813,6 +802,7 @@ import Event from "~/model/Bftsnd/Event";
import Ptsmsg from "~/views/Public/Ptsmsg";
import PtapDome from "~/views/Public/PtapDome";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
export default {
components: { "c-ptsmsg": Ptsmsg, "c-ptapdome": PtapDome, "c-ptap": Ptap },
......@@ -824,9 +814,12 @@ export default {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
cmail1: "",
cmail2: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
],
newValue: {
......@@ -834,6 +827,9 @@ export default {
cmail1: "",
cmail2: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
......@@ -854,21 +850,21 @@ export default {
},
methods: {
...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial=Utils.generateUUID();
newTableValue.serialNum=serial;
// this.model.bftp.docgrdm.docgrd.push(newTableValue);
this.model.bftp.docgrdm.docgrd.splice(index-1,0,newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
deleteTable(index) {
this.model.bftp.docgrdm.docgrd.splice(index, 1);
// for (let i = 0; i < this.TableValue.length; i++) {
// if (this.TableValue[i].id == row.id) {
// this.TableValue.splice(i, 1);
// break;
// }
// }
},
},
created: function () {},
......
......@@ -231,7 +231,7 @@ const BusRouter = [
{ path: 'letame', component: Letame, name: 'Letame', meta: { title: '出口信用证修改' } },
{ path: 'letrsv', component: Letrsv, name: 'Letrsv', meta: { title: '出口信用证补通知' } },
{ path: 'letdrv', component: Letdrv, name: 'Letdrv', meta: { title: '出口信用证出口收单' } },
{ path: 'infled', component: Infled, name: 'Infled', meta: { title: '出口信用证查询infled' } },
{ path: 'infled', component: Infled, name: 'Infled', meta: { title: '出口信用证交易查询' } },
{ path: 'Bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } },
{ path: 'betacc', component: Betacc, name: 'Betacc', meta: { title: '出口信用证单据承兑' } },
{ path: 'betrcl', component: Betrcl, name: 'Betrcl', meta: { title: '出口信用证单据出口单据索汇' } },
......@@ -342,7 +342,7 @@ const BusRouter = [
{ path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Litdla', component: Litdla, name: 'Litdla', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Bctsel', component: Bctsel, name: 'Bctsel', meta: { title: '进口代收' } },
]
export default BusRouter
\ No newline at end of file
......@@ -2,19 +2,24 @@
<div class="busnavbar">
<div class="busnavbar-items">
<c-button
v-for="(item,index) in codeList"
v-bind:key="index"
@click.native="onNarBtnClick(item.code,index)"
:title="item.title"
:disabled="item.isDis==='N'">{{item.label}}
</c-button>
style="margin-left:7px;"
size="medium"
type="primary"
class="medium_bcs"
v-for="(item,index) in codeList"
v-bind:key="index"
@click.native="onNarBtnClick(item.code,index)"
:title="item.title"
:disabled="item.isDis==='N'"
>{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litsel from "~/model/Litsel"
import Letsel from "~/model/Letsel"
import commonProcess from "~/mixin/commonProcess"
......@@ -26,33 +31,37 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'litsel',
model:new Litsel().data,
trnName:'letsel',
model:new Letsel().data,
navcode:[
{code:"",label:"",isDis:"",title:""},
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.$emit("onChoose",code.toLowerCase());
}else{
}
},
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")//字段找不到
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode=[]
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({title: "错误", message: "服务请求失败!"})
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode=[];
//TODO 根据数据判断当前的code,是否可以继续
//entireItem.enable = item.isDis
// entireItem.enable = item.isDis
return entireItem
})
}
......@@ -60,9 +69,9 @@ export default {
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
//onTigger()
return;
console.log("11111")
// onTigger()
return;
}
}
},
......@@ -70,37 +79,57 @@ export default {
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
//请求按钮数据
this.model.lidgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("lidgrp.rec.ownref")
this.navcode = []
//请求按钮数据
this.model.ledgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("ledgrp.rec.ownref");//lidget.lid.ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode.length = 0
this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
this.model.lidgrp.rec.inr = rtnmsg.data.lidgrp_rec_inr
const idx = this.model.cfgfil.btnstm.length
let btnStr = this.model.cfgfil.btnstm
//console.log("btnstmStr:"+btnStr);
for(let i=0; i < idx; i++){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
}
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
......@@ -7,7 +7,7 @@
ref="paramsForm"
:inline="true"
label-position="left"
label-width="110px"
label-width="110px"
size="small"
>
<el-row>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="Additional Conditions"
prop="ledgrp.blk.adlcnd"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.adlcnd"
maxlength="50"
show-word-limit
placeholder="Please input Additional Conditions"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.ledgrp.rec.spcbenflg" style="margin-left:150px;"
>Special Payment Conditions for Beneficiary</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg" style="margin-left:150px;"
>Special Payment Conditions for Bank only</c-checkbox
>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Instructions to Pay.,Accept.,Negot. Bank"
prop="ledgrp.blk.insbnk"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.insbnk"
maxlength="50"
show-word-limit
placeholder="Please input Instructions to Pay.,Accept.,Negot. Bank"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.ledgrp.rec.redclsflg" style="margin-left:150px;"
>Red/Green Clause</c-checkbox
>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Additional Conditions" prop="ledgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.ledgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
</el-form-item>
......@@ -35,30 +111,25 @@
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</c-button>
</c-col>
</div>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letrsv/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letrsv/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -55,6 +55,7 @@
maxlength="35"
show-word-limit
placeholder="Please input Deferred Payment Details"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -72,12 +73,14 @@
maxlength="50"
show-word-limit
placeholder="Please input Drafts at"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
disabled
>
...
</c-button>
......@@ -94,6 +97,7 @@
grp: 'ledgrp',
rol: 'drw',
}"
:disabled="true"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
......@@ -138,6 +142,7 @@
maxlength="35"
show-word-limit
placeholder="Please input Mixed Payment"
disabled
></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Description of Goods" prop="ledgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.ledgrp.blk.lcrgod" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input>
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="Description of Goods"
prop="ledgrp.blk.lcrgod"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrgod"
maxlength="50"
show-word-limit
placeholder="Please input Description of Goods"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Goods Code " prop="ledgrp.rec.stagod">
<c-select v-model="model.ledgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code ">
</c-select>
<c-select
v-model="model.ledgrp.rec.stagod"
style="width: 100%"
placeholder="Please select Goods Code "
:code="codes.godcod"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letrsv/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letrsv/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
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">
<el-form-item label="Documents Required" prop="ledgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.ledgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入Documents Required" ></c-input>
<c-col :span="24">
<el-form-item
label="Documents Required"
prop="ledgrp.blk.lcrdoc"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrdoc"
maxlength="50"
show-word-limit
placeholder="Please input Documents Required"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</c-button>
</c-col>
</c-col>
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<c-row>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第一通知行',
title: '1st Advising Bank',
grp: 'ledgrp',
rol: 'adv',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
>
......@@ -19,7 +22,7 @@
<c-ptap
:model="model"
:argadr="{
title: '申请人银行',
title: '2nd Advising Bank',
grp: 'ledgrp',
rol: 'a2b',
}"
......@@ -30,23 +33,31 @@
</c-col>
<c-col :span="24">
<el-form-item label="第二通知行确认指令" prop="ledgrp.rec.cnfins">
<el-form-item label="Confirm. Instruct. to 2nd Adv. Bank" prop="ledgrp.rec.cnfins">
<c-select
v-model="model.ledgrp.rec.cnfins"
style="width: 100%"
placeholder="第二通知行确认指令"
placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank"
:code="codes.cnfins"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-left: 150px">
<c-checkbox v-model="model.ledgrp.rec.aplbnkdirsnd"
>Send Directly</c-checkbox
>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人银行',
title: 'Applicant\'s Bank',
grp: 'ledgrp',
rol: 'apb',
}"
......@@ -60,7 +71,7 @@
<c-ptap
:model="model"
:argadr="{
title: '偿付银行',
title: 'Reimbursement Bank',
grp: 'ledgrp',
rol: 'rmb',
}"
......@@ -74,10 +85,11 @@
<c-ptap
:model="model"
:argadr="{
title: '第二通知行',
title: 'Confirmation Bank',
grp: 'ledgrp',
rol: 'con',
}"
:disbled="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
......@@ -85,11 +97,11 @@
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="第二通知行名称" prop="ledgrp.con.pts.nam">
<el-form-item label="Confirmation Name" prop="ledgrp.con.pts.nam">
<c-input
v-model="model.ledgrp.con.pts.nam"
maxlength="40"
placeholder="请输入第二通知行名称"
placeholder="Please input Confirmation Name"
></c-input>
</el-form-item>
</c-col>
......@@ -107,6 +119,7 @@
</el-table-column>
</c-edit-table>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -125,24 +138,24 @@ export default {
ptsaddg: {
columns: [
{
title: "角色",
title: "Role",
width: "120px",
dataIndex: "rol",
show: "select",
},
{
title: "机构实体",
title: "Party",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "名称",
title: "Name of Party",
width: "300px",
dataIndex: "nam",
},
{
title: "参考地址",
title: "Reference for Address",
width: "300px",
dataIndex: "ref",
},
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp">
<c-select
v-model="model.ledgrp.rec.revtyp"
style="width: 100%"
placeholder="Please select Revolving Type"
:code="codes.revtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Revolve Times" prop="ledgrp.rec.revtimes">
<c-input
v-model="model.ledgrp.rec.revtimes"
placeholder="Please input Revolve Times"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr">
<c-input
v-model="model.ledgrp.rec.revnbr"
placeholder="Please input Revolving Count"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Next Revolve Date" prop="ledgrp.rec.revdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.revdat"
style="width: 100%"
placeholder="Please select Next Revolve Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.ledgrp.rec.revcum" style="margin-left: 150px"
>Cumulative</c-checkbox
>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Revolving Clause"
prop="ledgrp.blk.revcls"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.revcls"
maxlength="50"
show-word-limit
placeholder="Please input Revolving Clause"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes">
<c-input
type="textarea"
v-model="model.ledgrp.blk.revnotes"
maxlength="35"
show-word-limit
placeholder="Please input Notes to Beneficiary"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp">
<c-select v-model="model.ledgrp.rec.revtyp" style="width:100%" placeholder="请选择Revolving Type">
</c-select>
......@@ -46,30 +139,25 @@
<el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes">
<c-input type="textarea" v-model="model.ledgrp.blk.revnotes" maxlength="35" show-word-limit placeholder="请输入Notes to Beneficiary" ></c-input>
</el-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letrsv/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letrsv/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
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">
<el-form-item label="Special Payment Cond." prop="ledgrp.blk.spcben">
<c-input type="textarea" v-model="model.ledgrp.blk.spcben" maxlength="65" show-word-limit placeholder="请输入Special Payment Cond." ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcbenButtxmsel">
...
</c-button>
</c-col>
</div>
<c-col :span="24">
<el-form-item
label="Special Payment Cond. for Beneficiary"
prop="ledgrp.blk.spcben"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.spcben"
maxlength="50"
show-word-limit
placeholder="Please input Special Payment Cond. for Beneficiary"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letrsv/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letrsv/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
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">
<el-form-item label="Special Payment Cond." prop="ledgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.ledgrp.blk.spcrcb" maxlength="65" show-word-limit placeholder="请输入Special Payment Cond." ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcrcbButtxmsel">
...
</c-button>
</c-col>
</div>
<c-col :span="24">
<el-form-item
label="Special Payment Cond. for Bank only"
prop="ledgrp.blk.spcrcb"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.spcrcb"
maxlength="50"
show-word-limit
placeholder="Please input Special Payment Cond. for Bank only"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letrsv/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letrsv/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -82,12 +82,12 @@
</el-tab-pane>
<!--PD000394 -->
<el-tab-pane label="Special Paymt Cond. Beneficiary" name="spcbenp">
<el-tab-pane label="Special Paymt Cond. Beneficiary" name="spcbenp" v-if="model.ledgrp.rec.spcbenflg">
<m-spcbenp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000422 -->
<el-tab-pane label="Special Paymt Cond. Bank only" name="spcrcvp">
<el-tab-pane label="Special Paymt Cond. Bank only" name="spcrcvp" v-if="model.ledgrp.rec.spcrcbflg">
<m-spcrcvp :model="model" :codes="codes"/>
</el-tab-pane>
......
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letsel/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="Display" prop="selbut.syswrn.dsp">
<c-input v-model="model.selbut.syswrn.dsp" :placeholder="$t('other.please_enter')+'Display'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButok">
{{$t('syswrn.CF000003')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButcan">
{{$t('syswrn.CF000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="出口信用证查询">
<!-- <div class="eContainer"> -->
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
......@@ -10,51 +9,64 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000035 -->
<el-tab-pane label="查询" name="sel">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--letsel PD000035 Menu -->
<el-tab-pane label="Menu" name="sel">
<c-content>
<m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- <el-tab-pane :label="$t('letsel.PD000035')" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--cfgfil PD000002 -->
<!-- <el-tab-pane :label="$t('cfgfil.PD000002')" name="regp">
<m-regp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--syswrn PD000005 Warnings -->
<!-- <el-tab-pane :label="$t('syswrn.PD000005')" name="syswrndisplay">
<m-syswrndisplay :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<!-- </div> -->
</c-page>
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Utils from "~/utils/index";
import Letsel from "~/model/Letsel";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Letsel/Check";
import Default from "~/model/Letsel/Default";
import Pattern from "~/model/Letsel/Pattern";
import Sel from "./Sel";
import Regp from "./Regp";
import Syswrndisplay from "./Syswrndisplay";
export default {
name: "Letsel",
components: {
"m-sel": Sel,
"m-regp": Regp,
"m-syswrndisplay": Syswrndisplay,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
trnName: "letsel",
trnType: "",
model: new Letsel().data,
checkRules: Check,
defaultRules: Default,
......@@ -64,14 +76,19 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入letsel交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
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