Commit 99519367 by lixinyi

litdav金额修改,inflid修改

parent 4716d6d5
...@@ -93,6 +93,8 @@ export default { ...@@ -93,6 +93,8 @@ export default {
async details(row) { async details(row) {
const params = { const params = {
//根据xx字段 查询详情表的数据 //根据xx字段 查询详情表的数据
inr:row.inr,
userId: window.sessionStorage.userId || 'ZL',
ownref: row.ownref, ownref: row.ownref,
}; };
const res = await Api.post('/service/inflid/getDetailByOwnref', params); const res = await Api.post('/service/inflid/getDetailByOwnref', params);
...@@ -183,6 +185,8 @@ export default { ...@@ -183,6 +185,8 @@ export default {
inr: this.currentHandleRow.inr,brdinr:row.inr inr: this.currentHandleRow.inr,brdinr:row.inr
} }
}); });
this.litdckdialog = false
this.$options.methods.closeHandlerDialog.call(this);
} }
}, },
......
...@@ -346,11 +346,11 @@ export default { ...@@ -346,11 +346,11 @@ export default {
}, },
{ {
label: '信用证编号', label: '信用证编号',
prop: 'seaownref' prop: 'ownref'
}, },
{ {
label: '交易名称', label: '交易名称',
prop: 'ininam' prop: 'inifrm'
}, },
{ {
label: '条目', label: '条目',
......
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
// OPN1: model.lidgrp.cbs.opn1, // OPN1: model.lidgrp.cbs.opn1,
MAX: model.brdgrp.cbs.max, MAX: model.brdgrp.cbs.max,
MAX2: model.brdgrp.cbs.max2, MAX2: model.brdgrp.cbs.max2,
OPN2: model.brdgrp.cbs.opn1, OPN2: model.brdgrp.cbs.opn2,
}, },
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
<c-col> <c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="提取附加金额" prop="brdgrp.cbs.max2.cur">
<c-select <c-select
disabled disabled
v-model="opn2cur" style="width:100%" placeholder="请选择附加金额"> v-model="max2cur" style="width:100%" placeholder="请选择附加金额">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -149,9 +149,9 @@ export default { ...@@ -149,9 +149,9 @@ export default {
this.model.brdgrp.cbs.max.cur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.cbs.max.cur = this.model.lidgrp.cbs.nom1.cur
return this.model.brdgrp.cbs.max.cur return this.model.brdgrp.cbs.max.cur
}, },
opn2cur(){ max2cur(){
this.model.brdgrp.cbs.opn2.cur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.cbs.max2.cur = this.model.lidgrp.cbs.nom1.cur
return this.model.brdgrp.cbs.opn2.cur return this.model.brdgrp.cbs.max2.cur
}, },
rectotcur(){ rectotcur(){
this.model.brdgrp.rec.totcur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.rec.totcur = this.model.lidgrp.cbs.nom1.cur
...@@ -187,11 +187,11 @@ export default { ...@@ -187,11 +187,11 @@ export default {
const amt1=parseFloat(isNaN(maxAmt) || !maxAmt ? 0 : maxAmt) -parseFloat(isNaN(opn1Amt) || !opn1Amt ? 0 : opn1Amt) const amt1=parseFloat(isNaN(maxAmt) || !maxAmt ? 0 : maxAmt) -parseFloat(isNaN(opn1Amt) || !opn1Amt ? 0 : opn1Amt)
if(amt1>0) if(amt1>0)
{ {
docdis = `The LC is overdrawn by ${this.model.brdgrp.cbs.opn2.cur} ${amt1} \n` docdis = `The LC is overdrawn by ${this.model.brdgrp.cbs.max2.cur} ${amt1} \n`
} }
if(amt2>0) if(amt2>0)
{ {
docdis = `${docdis}The Additional Amount is overdrawn by ${this.model.brdgrp.cbs.opn2.cur} ${amt2}` docdis = `${docdis}The Additional Amount is overdrawn by ${this.model.brdgrp.cbs.max2.cur} ${amt2}`
} }
this.model.brdgrp.blk.docdis=docdis this.model.brdgrp.blk.docdis=docdis
} }
......
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="提取附加金额" prop="brdgrp.cbs.max2.cur">
<c-select <c-select
disabled disabled
v-model="opn2cur" v-model="max2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择附加金额" placeholder="请选择附加金额"
> >
...@@ -240,9 +240,9 @@ export default { ...@@ -240,9 +240,9 @@ export default {
this.model.brdgrp.cbs.max.cur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.cbs.max.cur = this.model.lidgrp.cbs.nom1.cur
return this.model.brdgrp.cbs.max.cur return this.model.brdgrp.cbs.max.cur
}, },
opn2cur(){ max2cur(){
this.model.brdgrp.cbs.opn2.cur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.cbs.max2.cur = this.model.lidgrp.cbs.nom1.cur
return this.model.brdgrp.cbs.opn2.cur return this.model.brdgrp.cbs.max2.cur
}, },
rectotcur(){ rectotcur(){
this.model.brdgrp.rec.totcur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.rec.totcur = this.model.lidgrp.cbs.nom1.cur
......
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="提取附加金额" prop="brdgrp.cbs.max2.cur">
<c-select <c-select
disabled disabled
v-model="opn2cur" v-model="max2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择附加金额" placeholder="请选择附加金额"
> >
...@@ -179,9 +179,9 @@ export default { ...@@ -179,9 +179,9 @@ export default {
this.model.brdgrp.cbs.max.cur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.cbs.max.cur = this.model.lidgrp.cbs.nom1.cur
return this.model.brdgrp.cbs.max.cur return this.model.brdgrp.cbs.max.cur
}, },
opn2cur(){ max2cur(){
this.model.brdgrp.cbs.opn2.cur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.cbs.max2.cur = this.model.lidgrp.cbs.nom1.cur
return this.model.brdgrp.cbs.opn2.cur return this.model.brdgrp.cbs.max2.cur
}, },
rectotcur(){ rectotcur(){
this.model.brdgrp.rec.totcur = this.model.lidgrp.cbs.nom1.cur this.model.brdgrp.rec.totcur = this.model.lidgrp.cbs.nom1.cur
......
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