Commit 1d2a236b by 吴佳

2022.01.10 wujia 信用证info 调整

parent 14b10421
......@@ -5826,5 +5826,53 @@ const CodeTable = {
{ label: "混合付款单据", value: "M" },
{ label: "即期单据", value: "P" },
],
fepfeecod: [
{ label: "出口信用证修改通知费", value: "ADVAME" },
{ label: "信用证通知费/转递费", value: "ADVFEE" },
{ label: "进口信用证修改费", value: "AMEFEE" },
{ label: "进口信用证承兑费", value: "BACOM" },
{ label: "进口信用证撤销手续费", value: "CANFEE" },
{ label: "光票托收手续费", value: "CCFEE" },
{ label: "出口托收手续费", value: "CEFEE" },
{ label: "进口代收手续费", value: "CIFEE" },
{ label: "出口信用证保兑费", value: "COFEE" },
{ label: "托收修改手续费", value: "COLAME" },
{ label: "汇入汇款手续费", value: "CPIFEE" },
{ label: "汇出汇款手续费", value: "CPOFEE" },
{ label: "快邮费", value: "DDHL11" },
{ label: "国内信用证不符点处理费", value: "DDISCR" },
{ label: "国内信用证开立手续费", value: "DISCOM" },
{ label: "不符点手续费", value: "DISCRE" },
{ label: "国内信用证退单手续费", value: "DSENBK" },
{ label: "贸易融资额度管理费", value: "FOGFEE" },
{ label: "保函开立手续费", value: "GACOM" },
{ label: "保函保兑手续费", value: "GETAMC" },
{ label: "保函修改通知费", value: "GETAME" },
{ label: "保函通知手续费", value: "GETOPN" },
{ label: "保函修改手续费", value: "GIAME" },
{ label: "保函修改手续费", value: "GIAME1" },
{ label: "保函修改手续费", value: "GIAME2" },
{ label: "保函修改手续费", value: "GIAME3" },
{ label: "保函修改手续费", value: "GIAME4" },
{ label: "保函修改手续费", value: "GIAME5" },
{ label: "保函修改手续费", value: "GIAME6" },
{ label: "转开保函手续费", value: "GIOPN6" },
{ label: "保函手续费", value: "GIOPN7" },
{ label: "货押业务管理费", value: "GPGFEE" },
{ label: "十个月浮动利息", value: "HTEMIN" },
{ label: "进口信用证开证手续费", value: "ISSCOM" },
{ label: "进口代收退单手续费", value: "LCRETU" },
{ label: "<MORFE2>", value: "MORFE2" },
{ label: "<MORFE3>", value: "MORFE3" },
{ label: "查询费/其他费用", value: "OTHER" },
{ label: "出口信用证预通知手续费", value: "PREADV" },
{ label: "出口信用证议付/验单手续费", value: "PRECHK" },
{ label: "汇款止付/修改/退汇手续费", value: "REPFEE" },
{ label: "进口信用证退单手续费", value: "SENBAK" },
{ label: "提货担保手续费", value: "SGDFEE" },
{ label: "转汇手续费", value: "TRAFEE" },
{ label: "出口信用证转让手续费", value: "TRANSF" },
{ label: "第三方风险参贷", value: "URPINT" },
],
}
export default CodeTable;
\ No newline at end of file
......@@ -64,6 +64,7 @@ export default class Infdid{
diastm:"", // stream for diaries to selected contract .infcon.diastm
liastm:"", // Stream for all engagements to selected contract .infcon.liastm
ordstm:"", // Stream for Orders for Contract .infcon.ordstm
objinr:"",
},
seacnfdet:"", // Confirmation Status .seacnfdet
sealcrtyp:"", // form of L/C .sealcrtyp
......
<template>
<div class="eibs-tab">
<c-row class="eibs-tab">
<!-- <div class="infTopBtn">
<el-button-group>
......@@ -18,11 +18,11 @@
</c-row>
<br /> -->
<c-col :span="11">
<!-- <c-col :span="23" :offset="1">
<c-col :span="11">
<!-- <c-col :span="23">
Fee Pool
</c-col> -->
<c-col :span="23" :offset="1">
<c-col :span="23" >
<el-form-item
label="Fee Code"
prop="infcon.fepfeecod"
......@@ -31,20 +31,22 @@
<c-select v-model="model.infcon.fepfeecod"
style="width:100%"
placeholder="请选择Fee Code"
@change="getInfconFepfeecod"
>
<el-option
v-for="item in codes.fepfeecod"
:key="item.value"
:label="item.label"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.value +'\t' + item.label}}</span>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="23" :offset="1">
<c-col :span="23" >
<el-form-item
label="Disposition"
prop="infcon.fepdsp"
......@@ -53,33 +55,30 @@
<c-select v-model="model.infcon.fepdsp"
style="width:100%"
placeholder="请选择Disposition"
:code="getValues('infcon.fepdsp')"
@change="getInfconFepfeecod"
>
<!-- <el-option
<el-option
v-for="item in codes.fepdsp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> -->
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ======================== 左边结束 ========================= -->
<c-col :span="11" :offset="1">
<c-col :span="23" :offset="1">
</c-col>
<c-col :span="23">
<el-form-item label="Fee Text" prop="linfcon.fepfeecod">
<el-form-item label="Fee Text" prop="infcon.fepfeecod">
<c-select v-model="model.infcon.fepfeecod"
style="width:100%"
placeholder="请选择Fee Code"
disabled
>
<el-option
v-for="item in codes.fepdsp"
v-for="item in codes.fepfeecod"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -91,28 +90,29 @@
</c-col>
<!-- ============================== 右侧结束 ===================== -->
<c-row class="infrow" style="margin-top:20px;">
<c-col :span="22" :offset="1">
<c-istream-table :list="stmData.fepstmData" :columns="stmData.fepstmColumns">
<el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</c-row>
<!-- ======================分割线====================== -->
<c-col :span="23" style="height:25px">
<el-divider></el-divider>
</c-col>
<c-col :span="23" style="margin-top:5px;">
<c-istream-table :list="stmData.fepstmData" :columns="stmData.fepstmColumns">
<!-- <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
</template>
</el-table-column> -->
</c-istream-table>
</c-col>
<br/>
<!-- ======================分割线====================== -->
<c-col :span="23" style="height:25px">
<el-divider></el-divider>
</c-col>
<c-col :span="11" style="margin-top:5px;">
<c-col :span="11">
<!-- <c-col :span="23" :offset="1">
Fee Pool
</c-col> -->
<c-col :span="23" :offset="1">
<c-col :span="23" >
<el-form-item
label="Disposition"
prop="infcon.fcpdsp"
......@@ -122,7 +122,15 @@
style="width:100%"
placeholder="请选择Disposition"
:code="getValues('infcon.fcpdsp')"
@change="getInfconFcpfeecod"
>
<el-option
v-for="item in codes.fcpdsp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -143,20 +151,23 @@
</c-col>
</c-row> -->
<c-row class="infrow" style="margin-top:20px;">
<c-col :span="22" :offset="1">
<c-col :span="23">
<c-istream-table :list="stmData.fcpstmData" :columns="stmData.fcpstmColumns">
<el-table-column prop="op" label="OP" width="100">
<!-- <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
</template>
</el-table-column>
</el-table-column> -->
</c-istream-table>
</c-col>
</c-row>
</div>
<c-col :span="23">
</c-col>
</c-row>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
......@@ -170,14 +181,14 @@ export default {
return {
stmData: {
fepstmColumns: [
"1 1 \"Fee Code\" 0 ",
"1 2 \"Fee Text\" 0 ",
"1 3 \"Disposition\" 0 ",
"3 1 \"Fee Code\" 0 ",
"4 2 \"Fee Text\" 0 ",
"11 3 \"Disposition\" 0 ",
"1 4 \"Role\" 0 ",
"1 5 \"Cur\" 0 ",
"1 6 \"Amount\" 0 ",
"5 5 \"Cur\" 0 ",
"6 6 \"Amount\" 0 ",
"1 7 \"Transaction/INR\" 0 ",
"1 8 \"Entry Date\" 0 ",
"7 8 \"Entry Date\" 0 ",
"1 9 \"Status\" 0 ",
],
fepstmData: [
......@@ -185,15 +196,15 @@ export default {
],
fcpstmColumns: [
"1 1 \"Payer\" 0 ",
"2 1 \"Text for Payer\" 0 ",
"5 1 \"Text for Payer\" 0 ",
"1 2 \"Payee\" 0 ",
"2 2 \"Text for Payee\" 0 ",
"1 3 \"Disposition\" 0 ",
"1 4 \"Cur\" 0 ",
"1 5 \"Amount\" 0 ",
"1 6 \"Transaction/INR\" 0 ",
"1 7 \"Entry Date\" 0 ",
"1 8 \"Status\" 0 ",
"6 4 \"Cur\" 0 ",
"7 5 \"Amount\" 0 ",
"10 6 \"Transaction/INR\" 0 ",
"8 7 \"Entry Date\" 0 ",
"11 8 \"Status\" 0 ",
],
fcpstmData: [
......@@ -201,7 +212,41 @@ export default {
}
}
},
methods:{...Event},
methods:{...Event,
dispDefault(index){
console.log(index);
// this.executeDefault(`setmod.setfeg.setfel(${index}).mac`).then(res=>{
// Utils.copyValueFromVO(this.model, res.data)
// })
},
async getInfconFepfeecod() {
let rtnmsg = await this.executeDefault("fepfeecod")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.fepstmData = rtnmsg.data.infcon_fepstm.rows;
Utils.copyValueFromVO(this.model, rtnmsg.data);
console.log(this.stmData.fepstmData);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async getInfconFcpfeecod() {
let rtnmsg = await this.executeDefault("fcpdsp")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.fcpstmData = rtnmsg.data.infcon_fcpstm.rows;
Utils.copyValueFromVO(this.model, rtnmsg.data);
console.log(this.stmData.fcpstmData);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
created:function(){
}
......
......@@ -592,16 +592,19 @@ export default {
this.initdialog = false
} ,
async getDitSelInfo(idx,row){
console.log(row);
var params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm", params);
let rtnmsg = await this.executeRule("infbut.dspstm", params);
if(rtnmsg.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsg.data);
params = {selDst:"infbut.dsp",selIds:[idx+1]}
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
console.log(rtnmsgNew)
if(rtnmsgNew.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgNew.data);
// params = {selDst:"infcon.objinr",selIds:[idx+1]}
// let rtnmsgObjinr = await this.executeDefault("infcon.objinr", params);
// if(rtnmsgObjinr.respCode = SUCCESS){
// Utils.copyValueFromVO(this.model, rtnmsgObjinr.data);
// }
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
......
......@@ -174,7 +174,28 @@ export default {
}
},
methods:{
tabClick(){
// tabClick(){
// },
tabClick(tab) {
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){
......
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