Commit 2992d9fb by WH

Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110

parents 51a9d14c ab4faf0f
......@@ -49,6 +49,7 @@ export default {
cnfsta: model.bedgrp.rec.cnfsta,
snadat: model.snadat,
docamt: model.setmod.docamt,
doctypcod: model.bedgrp.rec.doctypcod,
},
cbsMap: {
MAX: model.bedgrp.cbs.max,
......
......@@ -19,7 +19,7 @@ export default class Betacc {
cbs: {
opn1: {
cur: '',
amt: ''
amt: '0'
}
},
rmb: {
......@@ -44,14 +44,14 @@ export default class Betacc {
cbs: {
opn1: {
cur: '',
amt: ''
amt: '0'
},
opn2: {
amt: ''
amt: '0'
},
max: {
cur: '',
amt: ''
amt: '0'
}
},
iss: {
......@@ -65,8 +65,8 @@ export default class Betacc {
}
},
aamset: {
utlamt: '',
utlamt2: ''
utlamt: '0',
utlamt2: '0'
},
mtabut: {
coninf: {
......@@ -144,22 +144,22 @@ export default class Betacc {
cbs: {
opn1: {
cur: '',
amt: ''
amt: '0'
},
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
amt: '0'
}
}
},
trnmod: {
swiadd: {
strinf: ''
}
swiadd: {
strinf: ''
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -190,100 +190,17 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
<c-input
v-model="model.ledgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input-currency-min
v-model="model.ledgrp.cbs.opn1.amt"
placeholder="请输入金额"
disabled
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据简略信息" prop="bedgrp.rec.nam">
<c-input
v-model="model.bedgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item style="margin-left: 0px">
<el-divider />
</el-form-item>
</c-col> -->
<!-- next part -->
<!-- left -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item
label="到期日修订说明"
prop="trnmod.swiadd.strinf"
prop="swiadd.strinf"
>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.strinf"
v-model="model.swiadd.strinf"
maxlength="35"
show-word-limit
placeholder="请输入说明"
......@@ -371,6 +288,88 @@
<!-- right -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
<c-input
v-model="model.ledgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input-currency-min
v-model="model.ledgrp.cbs.opn1.amt"
placeholder="请输入金额"
disabled
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据简略信息" prop="bedgrp.rec.nam">
<c-input
v-model="model.bedgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item style="margin-left: 0px">
<el-divider />
</el-form-item>
</c-col> -->
<!-- right -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="18">
......
......@@ -16,7 +16,7 @@ let checkObj = {
"bopmod.dbdgrp.bas.custype": null,
"bopmod.dbagrp.bas.outchargeccy": null,
"bopmod.dbagrp.bas.actiontype": null,
"bopmod.szflg": null,
// "bopmod.szflg": null,
"bopmod.dbdgrp.bas.actiontype": null,
"cnybop.traflg": null,
"bopmod.dbagrp.bas.inchargeccy": null,
......@@ -32,6 +32,9 @@ let checkObj = {
"cnybop.cnyinc.cpayeraccttyp": null,
"mtabut.clsflg": null,
"cnybop.vouflg": null,
"bopmod.szflg":[
{type: "string", required: true, message: "必输项"},
],
"betp.ledget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
......@@ -98,13 +101,13 @@ let checkObj = {
{max: 40, message: "长度不能超过40"}
],
"bedgrp.rec.matdat": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.rcvdat": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.predat": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bedgrp.apl.pts.ref": [
{type: "string", required: false, message: "必输项"},
......@@ -135,7 +138,7 @@ let checkObj = {
{max: 18, message: "整数位不能超过14位"},
],
"trnmod.trndoc.nar754": [
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"setmod.setamt": [
......@@ -260,16 +263,16 @@ let checkObj = {
{type: "string", required: false, message: "必输项"},
{max: 1, message: "长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt": [
{type: "string", required: true, message: "必输项"},
{max: 60, message: "长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt": [
{type: "string", required: true, message: "必输项"},
{max: 60, message: "长度不能超过60"}
],
// "mtabut.coninf.oitinf.oit.inftxt": [
// {type: "string", required: false, message: "必输项"},
// {max: 60, message: "长度不能超过60"}
// ],
// "mtabut.coninf.oitset.oit.inftxt": [
// {type: "string", required: false, message: "必输项"},
// {max: 60, message: "长度不能超过60"}
// ],
"mtabut.coninf.conexedat": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey": [
{type: "string", required: false, message: "必输项"},
......@@ -304,7 +307,7 @@ let checkObj = {
{max: 22, message: "长度不能超过22"}
],
"bopmod.outchargeamt": [
{type: "number", required: false, message: "必输项"}
{type: "string", required: false, message: "必输项"}
],
"bopmod.dbdgrp.bas.rptno": [
{type: "string", required: false, message: "必输项"},
......@@ -477,7 +480,7 @@ let checkObj = {
{max: 4, message: "长度不能超过4"}
],
"cnybop.cnyinc.dpayeedate": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"cnybop.cnyinc.fprepayeeamt": [
{type: "number", required: false, message: "必输项"},
......
......@@ -3,12 +3,6 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Betset {
constructor() {
this.data = {
setmod: {
redamt: '',
setamt: '',
doccur: '',
docamt: ''
},
cnybop: {
sbankname: '',
outflg: '',
......@@ -70,12 +64,12 @@ export default class Betset {
cbs: {
opn1: {
cur: '',
amt: ''
amt: '0'
}
}
},
bopmod: {
outchargeamt: '',
outchargeamt: '0',
dbap: {
baspp: {
acp: ''
......
......@@ -88,6 +88,7 @@
import event from '../event';
import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable"
import formRules from '../model/check'
import Betset from "../model";
import Ovwp from "./Ovwp"
......@@ -124,7 +125,7 @@ export default {
tabVal: "ovwp",
trnName: "betset",
model: new Betset().data,
rules: null,
rules: formRules,
codes: {
...CodeTable
},
......
......@@ -120,7 +120,7 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objtyp: 'BRD',
objinr: model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref,
},
......@@ -131,9 +131,10 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.brdgrp.rec.objinr,
objtyp: 'BRD',
inr: model.lidgrp.rec.inr,
ownref: model.brdgrp.rec.ownref,
mhtyp: model.mhtyp,
// swiftflg: model.gitp.swiftflg,
},
};
......
......@@ -137,7 +137,7 @@ export default class Brtdck {
amt: ''
},
max2: {
amt: ''
amt: '0.0'
}
}
},
......@@ -158,6 +158,9 @@ export default class Brtdck {
cur: '',
amt: ''
}
},
blk: {
defdet: ''
}
},
......
......@@ -228,6 +228,7 @@
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder=""
disabled
:code="codes.curtxt1"
>
</c-select>
......@@ -253,14 +254,14 @@
v-show="model.brdgrp.cbs.max.amt!=model.oldbrdgrp.cbs.max.amt"> </span>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="oldbrdgrp.cbs.max.amt">
<el-form-item label="原始单据金额" prop="oldbrdgrp.cbs.max.amt" v-show="model.brdgrp.cbs.max.amt!=model.oldbrdgrp.cbs.max.amt">
<c-input v-model="model.oldbrdgrp.cbs.max.amt" placeholder=""
class="m-input-currency"
style="width: 100%"
disabled
v-show="model.brdgrp.cbs.max.amt!=model.oldbrdgrp.cbs.max.amt"
></c-input>
</c-form-item>
</el-form-item>
</c-col>
</c-col>
......@@ -270,6 +271,7 @@
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select
v-model="opn2cur"
disabled
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
......@@ -298,13 +300,14 @@
v-show="model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt"> </span>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="oldbrdgrp.cbs.max2.amt">
<el-form-item label="原始附加金额" prop="oldbrdgrp.cbs.max2.amt" v-show="model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt">
<c-input v-model="model.oldbrdgrp.cbs.max2.amt" :placeholder="$t('other.please_enter')+'Balance'"
class="m-input-currency"
style="width: 100%"
disabled
v-show="model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt"></c-input>
</c-form-item>
v-show="model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt"
></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -536,10 +539,12 @@
:model="model"
:argadr="{
title: '',
grp: 'brtp',
rol: 'oth',
grp: 'brdgrp',
rol: 'apl',
}"
:disabled="this.flag3"
@keyup.enter.native="
queryGridEtyPromptDialogData('APL', 'C')
"
:disabledExtkey="this.flag4"
:isAdrblk="true"
:noRef="true"
......@@ -586,6 +591,13 @@ export default {
}
},
"model.mhtyp": function () {
if (this.model.mhtyp == 'R') {
this.model.brdgrp.cbs.max.amt=this.model.oldbrdgrp.cbs.max.amt;
this.model.brdgrp.cbs.max2.amt=this.model.oldbrdgrp.cbs.max2.amt;
}
},
"model.brdgrp.prb.pts.extkey": {
immediate: true,
......@@ -606,17 +618,6 @@ export default {
}
},
"model.brtp.oth.pts.extkey": {
immediate: true,
handler(val, oldVal) {
if (this.model.brtp.oth.pts.extkey != '') {
this.flag3 = true;
} else {
this.flag3 = false;
}
}
},
},
methods: {},
created: function () {
......
......@@ -32,8 +32,8 @@ export default {
{ max: 3, message: '长度不能超过3' }
],
'oldledgrp.cbs.nom1.amt': [
{ required: true,message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ required: true, message: '必输项' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'oldledgrp.rec.nomtop': [
......@@ -50,25 +50,25 @@ export default {
],
'oldledgrp.cbs.max.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'trnmod.swiadd.ameamt': [
{ required: false, message: '必输项' },
{ type: 'number', trigger:'blur',max: 18, message: '整数位不能超过14位' },
{ type: 'number', trigger: 'blur', max: 18, message: '整数位不能超过14位' },
{ pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,3}$)|(^(\+|\-)|\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'letamep.engamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'trnmod.swiadd.newamt': [
{ type: 'number', required: false,rigger:'blur', message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ type: 'number', required: false, rigger: 'blur', message: '必输项' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'trnmod.swiadd.newnomtop': [
......@@ -85,7 +85,7 @@ export default {
],
'letamep.maxamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
......@@ -140,7 +140,7 @@ export default {
],
'trnmod.swiadd.addamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'letp.recget.sdamod.dadsnd': [
......@@ -188,9 +188,9 @@ export default {
{ max: 35, message: '长度不能超过35' }
],
'ledgrp.cbs.nom1.amt': [
{ required: true,message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, trigger:'blur',message: '小数位不能超过3位' }
{ required: true, message: '必输项' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, trigger: 'blur', message: '小数位不能超过3位' }
],
'ledgrp.ben.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
......@@ -214,7 +214,7 @@ export default {
],
'ledgrp.cbs.max.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'ledgrp.iss.pts.ref': [
......@@ -422,12 +422,12 @@ export default {
],
'ledgrp.cbs.max2.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'ledgrp.cbs.opn2.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'ledgrp.blk.addamtcov': [
......@@ -663,7 +663,7 @@ export default {
],
'liaall.outamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.outpct': [
......@@ -676,17 +676,17 @@ export default {
],
'liaall.misamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.exttotoldamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.exttotamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'setmod.ref': [
......@@ -695,7 +695,7 @@ export default {
],
'setmod.docamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'setmod.zmqacc': [
......@@ -783,7 +783,7 @@ export default {
],
'liaall.limmod.comamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.limmod.limpts.wrk.pts.nam': [
......@@ -796,7 +796,7 @@ export default {
],
'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.limmod.limpts.pfcod1': [
......@@ -841,12 +841,12 @@ export default {
],
'letp.totamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'letp.trnopnamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ max: 18, trigger: 'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'letp.trnshpdat': [
......
<template>
<div class="eibs">
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="出口信用证编号" prop="ledgrp.rec.ownref">
<c-input
......@@ -51,250 +50,253 @@
</c-col>
</c-col>
<!-- Open Amount -->
<!-- Open Amount -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
<c-select
v-model="opn1cur"
style="width: 100%"
placeholder="请选择币种"
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
<c-select
v-model="opn1cur"
style="width: 100%"
placeholder="请选择币种"
disabled
:code="codes.curtxt1"
></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input
v-model="opn1amt"
style="text-align: left; width: 100%"
class="m-input-currency"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.ledgrp.rec.revflg"
style="margin-left: 10px"
disabled
:code="codes.curtxt1"
></c-select>
</el-form-item>
>循环信用证</c-checkbox
>
</c-col>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-col :span="19">
<el-form-item label="可用银行" prop="ledgrp.avbnam">
<c-input
v-model="opn1amt"
style="text-align: left; width: 100%"
class="m-input-currency"
placeholder="请输入金额"
v-model="model.ledgrp.avbnam"
maxlength="40"
placeholder="请输入可用银行"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.ledgrp.rec.revflg"
style="margin-left: 10px"
disabled
>循环信用证</c-checkbox
>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="兑付方式" prop="ledgrp.rec.avbby">
<c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.ledgrp.rec.redclsflg"
style="margin-left: 10px"
disabled
>红/绿条款</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开立日期" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择开立日期"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择日期"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="19">
<el-form-item label="可用银行" prop="ledgrp.avbnam">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="生效日期" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.avbnam"
maxlength="40"
placeholder="请输入可用银行"
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请输入"
value-format="yyyy-MM-dd"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="兑付方式" prop="ledgrp.rec.avbby">
<el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.avbby"
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby"
placeholder="请选择类型"
disabled
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.ledgrp.rec.redclsflg"
style="margin-left: 10px"
disabled
>红/绿条款</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="单据编号" prop="bedgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.bedgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="getBedgrpOwnref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开立日期" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择开立日期"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择日期"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<el-form-item label="单据类型" prop="bedgrp.rec.doctypcod">
<c-select
v-model="getDoctypcod"
style="width: 100%"
placeholder="请选择单据类型"
:code="codes.doctypcod1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="生效日期" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请输入"
value-format="yyyy-MM-dd"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择类型"
disabled
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据编号" prop="bedgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.bedgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="getBedgrpOwnref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据类型" prop="bedgrp.rec.doctypcod">
<c-select
v-model="getDoctypcod"
<el-form-item label="到期日" prop="bedgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.matdat"
style="width: 100%"
placeholder="请选择单据类型"
:code="codes.doctypcod1"
disabled
>
</c-select>
placeholder="请选择到期日"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="到期日" prop="bedgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
<!-- Date of Shipment -->
<c-col :span="12">
<el-form-item label="装运日期" prop="bedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择装运日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
<!-- Date of Shipment -->
<c-col :span="12">
<el-form-item label="装运日期" prop="bedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择装运日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="收到日期" prop="bedgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.rcvdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择收到日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="订单日期" prop="bedgrp.rec.orddat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.orddat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="收到日期" prop="bedgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.rcvdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择收到日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="订单日期" prop="bedgrp.rec.orddat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.orddat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label=" " prop="bedgrp.rec.dscinsflg" label-width="120px" style=" float:right;">
<c-col :span="24">
<el-form-item
label=" "
prop="bedgrp.rec.dscinsflg"
label-width="120px"
style="float: right"
>
<c-checkbox v-model="model.bedgrp.rec.dscinsflg"
>输入单据、不符点、指示信息</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
label="该信用证前手信息"
prop="ledgrp.rec.utlnbr"
>
<c-input
v-model="model.ledgrp.rec.utlnbr"
placeholder="请输入前手信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="该信用证前手信息" prop="ledgrp.rec.utlnbr">
<c-input
v-model="model.ledgrp.rec.utlnbr"
placeholder="请输入前手信息"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="简略信息" prop="ledgrp.rec.nam">
<c-input
......@@ -308,215 +310,216 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="ledgrp.apl.pts.ref">
<c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.apl.pts.nam">
<c-input
v-model="model.ledgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="ledgrp.apl.pts.ref">
<c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.apl.pts.nam">
<c-input
v-model="model.ledgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行参考号" prop="ledgrp.iss.pts.ref">
<c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入开证行参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="ledgrp.iss.pts.nam">
<c-input
v-model="model.ledgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行参考号" prop="ledgrp.iss.pts.ref">
<c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入开证行参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="ledgrp.iss.pts.nam">
<c-input
v-model="model.ledgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人参考号" prop="ledgrp.ben.pts.ref">
<c-input
v-model="modelben"
maxlength="16"
placeholder="请输入受益人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="ledgrp.ben.pts.nam">
<c-input
v-model="model.ledgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认文本" prop="letp.letp0.cnftxt">
<c-input
v-model="model.letp.letp0.cnftxt"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人参考号" prop="ledgrp.ben.pts.ref">
<c-input
v-model="modelben"
maxlength="16"
placeholder="请输入受益人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="ledgrp.ben.pts.nam">
<c-input
v-model="model.ledgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认文本" prop="letp.letp0.cnftxt">
<c-input
v-model="model.letp.letp0.cnftxt"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<!-- Externally Displayed Name to Identify the Contract -->
<el-form-item
label="简略信息"
text-align="middle"
prop="bedgrp.rec.nam"
>
<c-input
v-model="model.bedgrp.rec.nam"
maxlength="40"
placeholder="请输入单据简略信息"
></c-input>
</el-form-item>
</c-col>
<el-form-item
label="简略信息"
text-align="middle"
prop="bedgrp.rec.nam"
>
<c-input
v-model="model.bedgrp.rec.nam"
maxlength="40"
placeholder="请输入单据简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-input
v-model="maxcur"
maxlength="3"
placeholder="请输入币种"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input
v-model="maxamt"
class="m-input-currency"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-input
v-model="maxcur"
maxlength="3"
placeholder="请输入币种"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="提取附加金额" prop="bedgrp.cbs.opn2.cur">
<c-select
v-model="model.bedgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择币种"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt">
<c-input
v-model="model.bedgrp.cbs.max2.amt"
class="m-input-currency"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input
v-model="maxamt"
class="m-input-currency"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="交单行" prop="bedgrp.rec.docprbrol">
<c-col :span="24">
<c-col :span="13">
<el-form-item label="提取附加金额" prop="bedgrp.cbs.opn2.cur">
<c-select
v-model="docprbrol"
v-model="model.bedgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择交单行"
:code="codes.rolall"
placeholder="请选择币种"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt">
<c-input
v-model="model.bedgrp.cbs.max2.amt"
class="m-input-currency"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled="true"
:noRef="true"
:disabledExtkey="true"
<c-col :span="24">
<el-form-item label="交单行" prop="bedgrp.rec.docprbrol">
<c-select
v-model="docprbrol"
style="width: 100%"
placeholder="请选择交单行"
:code="codes.rolall"
disabled
>
</c-ptap>
</c-col>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled="true"
:noRef="true"
:disabledExtkey="true"
>
</c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
import Ptap from '~/views/Public/Ptap'
import Ptap from "~/views/Public/Ptap";
export default {
components: { 'c-ptap': Ptap },
inject: ['root'],
props: ['model', 'codes'],
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
},
methods: {
return {};
},
methods: {},
created: function () {},
computed:{
opn1cur(){
this.model.ledgrp.cbs.opn1.cur = this.model.ledgrp.cbs.nom1.cur
return this.model.ledgrp.cbs.opn1.cur
computed: {
opn1cur() {
this.model.ledgrp.cbs.opn1.cur = this.model.ledgrp.cbs.nom1.cur;
return this.model.ledgrp.cbs.opn1.cur;
},
opn1amt() {
this.model.ledgrp.cbs.opn1.amt = parseFloat(
this.model.ledgrp.cbs.nom1.amt *
(1 + this.model.ledgrp.rec.nomtop / 100)
).toFixed(2);
return this.model.ledgrp.cbs.opn1.amt;
},
opn1amt(){
this.model.ledgrp.cbs.opn1.amt = parseFloat(this.model.ledgrp.cbs.nom1.amt * (1+this.model.ledgrp.rec.nomtop/100)).toFixed(2)
return this.model.ledgrp.cbs.opn1.amt
getDoctypcod() {
this.model.bedgrp.rec.doctypcod = this.model.ledgrp.rec.avbby;
return this.model.bedgrp.rec.doctypcod;
},
getDoctypcod(){
this.model.bedgrp.rec.doctypcod = this.model.ledgrp.rec.avbby
return this.model.bedgrp.rec.doctypcod
maxcur() {
this.model.bedgrp.cbs.max.cur = this.model.ledgrp.cbs.opn1.cur;
return this.model.bedgrp.cbs.max.cur;
},
maxcur(){
this.model.bedgrp.cbs.max.cur = this.model.ledgrp.cbs.opn1.cur
return this.model.bedgrp.cbs.max.cur
maxamt() {
this.model.bedgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt;
return this.model.bedgrp.cbs.max.amt;
},
maxamt(){
this.model.bedgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt
return this.model.bedgrp.cbs.max.amt
docprbrol() {
this.model.bedgrp.rec.docprbrol = "BEB";
return this.model.bedgrp.rec.docprbrol;
},
docprbrol(){
this.model.bedgrp.rec.docprbrol = 'BEB'
return this.model.bedgrp.rec.docprbrol
modelben() {
this.model.bedgrp.prb.pts = this.model.ledgrp.ben.pts;
return this.model.ledgrp.ben.pts.ref;
},
modelben(){
this.model.bedgrp.prb.pts = this.model.ledgrp.ben.pts
return this.model.ledgrp.ben.pts
}
}
}
},
};
</script>
<style></style>
<template>
<div class="eibs">
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item
label="信用证号码"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入编号"
style="width: 95%"
:disabled="true"
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info" style="font-size: 15px"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="getref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item
label="信用证号码"
prop="ledgrp.rec.ownref"
<c-col :span="24">
<el-form-item label="是否可以转让" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择"
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<!-- responsible user -->
<c-col :span="24">
<c-col :span="20">
<el-form-item label="所属客户经理" prop="letp.usr.extkey">
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入编号"
style="width: 95%"
:disabled="true"
>
</c-input>
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入所属客户经理"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
style="margin-left: 10px; padding: 0 10px"
size="small"
icon="el-icon-search"
type="primary"
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref? false: true"
@click="getref"
>
获取
</c-button>
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否可以转让" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择"
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<!-- responsible user -->
<c-col :span="24">
<c-col :span="20">
<el-form-item label="所属客户经理" prop="letp.usr.extkey">
<c-fullbox>
<c-input
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入所属客户经理"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
icon="el-icon-search"
type="primary"
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="model.ledgrp.rec.collflg"
style="margin-left: 10px"
>抵押信用证</c-checkbox
>
</c-col>
</c-col>
<!-- nominal amount -->
<c-col :span="24">
<c-col :span="13">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
>附加金额</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-form-item label="金额浮动 +/-" prop="ledgrp.rec.nomtop">
<c-input
v-model.number="model.ledgrp.rec.nomtop"
maxlength="2"
style="width: 100%"
placeholder="请输入上浮比例"
class="m-input-currency"
></c-input>
</c-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input
v-model.number="model.ledgrp.rec.nomton"
maxlength="2"
style="width: 100%"
placeholder="请输入下浮比例"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="适用金额规范" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="请选择适用金额规范"
:code="codes.nomspc"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- Incoming Transfer -->
<c-col :span="4">
<c-checkbox
v-model="model.ledgrp.rec.inctrf"
style="margin-left: 10px"
>传入传输</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="model.ledgrp.rec.collflg"
style="margin-left: 10px"
>抵押信用证</c-checkbox
>
</c-col>
</c-col>
<!-- Maximum Amount -->
<!-- nominal amount -->
<c-col :span="24">
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="ledgrp.cbs.max.cur">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="maxcur"
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<c-input
disabled
v-model="maxamt"
placeholder="请输入最大金额"
class="m-input-currency"
></c-input>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 90%"
placeholder="请选择开证日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label="预通知日期"
label-width="80px"
prop="ledgrp.rec.preadvdt"
<c-col :span="4">
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
>附加金额</c-checkbox
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.preadvdt"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 90%"
placeholder="请选择装运日期"
:disabled="model.ledgrp.blk.shpper!=''"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="10">
<el-form-item
label="通知日期"
label-width="80px"
prop="ledgrp.rec.advdat"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.advdat"
<c-col :span="24">
<c-col :span="13">
<c-form-item label="金额浮动 +/-" prop="ledgrp.rec.nomtop">
<c-input
v-model.number="model.ledgrp.rec.nomtop"
maxlength="2"
style="width: 100%"
placeholder="请选择通知日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="到期日" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 90%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
placeholder="请输入上浮比例"
class="m-input-currency"
></c-input>
</c-form-item>
</c-col>
<c-col :span="10"></c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="ledgrp.rec.expplc">
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="有效地点"
v-model.number="model.ledgrp.rec.nomton"
maxlength="2"
style="width: 100%"
placeholder="请输入下浮比例"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4"> </c-col>
</c-col>
<c-col :span="24">
<el-form-item label="确认接收指示" prop="ledgrp.rec.cnfdet">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="适用金额规范" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.cnfdet"
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="请选择确认接收指示"
:code="codes.cnfins"
placeholder="请选择适用金额规范"
:code="codes.nomspc"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul1"
>
</c-select>
</el-form-item>
<!-- Incoming Transfer -->
<c-col :span="4">
<c-checkbox
v-model="model.ledgrp.rec.inctrf"
style="margin-left: 10px"
>传入传输</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="其他规则" prop="ledgrp.rec.apprultxt">
<c-input
v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请输入其他规则"
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select
v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择分批装运"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<!-- Maximum Amount -->
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="ledgrp.cbs.max.cur">
<c-select
v-model="maxcur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<c-input
disabled
v-model="maxamt"
placeholder="请输入最大金额"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrss18">
<c-select
v-model="model.ledgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择是否转运"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 90%"
placeholder="请选择开证日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label="预通知日期"
label-width="80px"
prop="ledgrp.rec.preadvdt"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.preadvdt"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="摘要" prop="ledgrp.rec.nam">
<c-input
text-align="middle"
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 90%"
placeholder="请选择装运日期"
:disabled="model.ledgrp.blk.shpper != ''"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label="通知日期"
label-width="80px"
prop="ledgrp.rec.advdat"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.advdat"
style="width: 100%"
placeholder="请选择通知日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="到期日" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 90%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10"></c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="有效地点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}"
:disabled="true"
@keyup.enter.native="
queryGridEtyPromptDialogData('BEN', 'C')
"
<c-col :span="24">
<el-form-item label="确认接收指示" prop="ledgrp.rec.cnfdet">
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择确认接收指示"
:code="codes.cnfins"
>
</c-ptap>
</c-col>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}"
:disabled="true"
@keyup.enter.native="
queryGridEtyPromptDialogData('ISS', 'B')
"
<c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul1"
>
</c-ptap>
</c-col>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}"
:disabled="true"
@keyup.enter.native="
queryGridEtyPromptDialogData('APL', 'C')
"
<c-col :span="24">
<el-form-item label="其他规则" prop="ledgrp.rec.apprultxt">
<c-input
v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请输入其他规则"
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select
v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择分批装运"
:code="codes.shptrss18"
>
</c-ptap>
</c-col>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrss18">
<c-select
v-model="model.ledgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择是否转运"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" >
<el-form-item label=" " prop="ledgrp.rec.revflg" label-width="120px" style=" float:left;">
<c-checkbox v-model="model.ledgrp.rec.revflg"
>循环信用证</c-checkbox
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="摘要" prop="ledgrp.rec.nam">
<c-input
text-align="middle"
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}"
:disabled="true"
@keyup.enter.native="queryGridEtyPromptDialogData('BEN', 'C')"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}"
:disabled="true"
@keyup.enter.native="queryGridEtyPromptDialogData('ISS', 'B')"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}"
:disabled="true"
@keyup.enter.native="queryGridEtyPromptDialogData('APL', 'C')"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label=" "
prop="ledgrp.rec.revflg"
label-width="120px"
style="float: left"
>
<c-checkbox v-model="model.ledgrp.rec.revflg"
>循环信用证</c-checkbox
>
</el-form-item>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12">
<el-form-item label=" " prop="ledgrp.rec.dbtflg" label-width="120px" style=" float:right;">
<c-checkbox v-model="model.ledgrp.rec.dbtflg">借记授权书</c-checkbox>
</el-form-item>
<el-form-item
label=" "
prop="ledgrp.rec.dbtflg"
label-width="120px"
style="float: right"
>
<c-checkbox v-model="model.ledgrp.rec.dbtflg"
>借记授权书</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- Non-Bank Issuer -->
<c-col :span="24">
<el-form-item label=" " prop="ledgrp.rec.nonban" label-width="120px" style=" float:right;">
<!-- Non-Bank Issuer -->
<c-col :span="24">
<el-form-item
label=" "
prop="ledgrp.rec.nonban"
label-width="120px"
style="float: right"
>
<c-checkbox v-model="model.ledgrp.rec.nonban"
>非银行发行人</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" >
<el-form-item label=" " prop="ledgrp.rec.teskeyunc" label-width="120px" style=" float:right;">
<!-- Test Key Unconfirmity -->
<c-col :span="24">
<el-form-item
label=" "
prop="ledgrp.rec.teskeyunc"
label-width="120px"
style="float: right"
>
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">测试密钥</c-checkbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
import Ptap from '~/views/Public/Ptap'
import Ptap from "~/views/Public/Ptap";
export default {
components: { 'c-ptap': Ptap },
inject: ['root'],
props: ['model', 'codes'],
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
return {};
},
watch:{
"model.ledgrp":{
immediate: true,
deep: true,
handler(val,oldval){
const res = this.model.ledgrp
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== "" || res.rec.stacty !== "" ){
this.model.ledgrp.rec.nam = (res.cbs.nom1.cur.concat(" ").concat(res.cbs.nom1.amt).concat(" ").concat(res.rec.stacty).concat(".").concat(res.ben.pts.nam)).substring(0,40);
}
}
},
"model.ledgrp.iss":{
immediate: true,
deep: true,
handler(val,oldval){
if(this.model.ledgrp.iss.pts !==""){
this.getstacty()
}
}
}
},
watch: {
"model.ledgrp": {
immediate: true,
deep: true,
handler(val, oldval) {
const res = this.model.ledgrp;
if (
res.cbs.nom1.cur !== "" ||
res.cbs.nom1.amt !== "" ||
res.apl.pts.adrblk !== "" ||
res.rec.stacty !== ""
) {
this.model.ledgrp.rec.nam = res.cbs.nom1.cur
.concat(" ")
.concat(res.cbs.nom1.amt)
.concat(" ")
.concat(res.rec.stacty)
.concat(".")
.concat(res.ben.pts.nam)
.substring(0, 40);
}
},
},
"model.ledgrp.iss": {
immediate: true,
deep: true,
handler(val, oldval) {
if (this.model.ledgrp.iss.pts !== "") {
this.getstacty();
}
},
},
},
methods: {
apprulChange(v) {
if (v !== 'OTHR') {
this.model.ledgrp.rec.apprultxt = ''
if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = "";
}
},
async getstacty() {
let params = {
ptainr: this.model.ledgrp.iss.pts.ptainr,
};
let res = await Api.post("/service/letopn/stacty", params);
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.stacty = res.data;
}
},
async getstacty() {
let params = {
ptainr: this.model.ledgrp.iss.pts.ptainr
}
let res = await Api.post('/service/letopn/stacty', params);
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.stacty = res.data;
}
}
},
created: function () {},
computed:{
maxcur(){
this.model.ledgrp.cbs.max.cur = this.model.ledgrp.cbs.nom1.cur
return this.model.ledgrp.cbs.max.cur
computed: {
maxcur() {
this.model.ledgrp.cbs.max.cur = this.model.ledgrp.cbs.nom1.cur;
return this.model.ledgrp.cbs.max.cur;
},
maxamt() {
this.model.ledgrp.cbs.max.amt = parseFloat(this.model.ledgrp.cbs.nom1.amt * (1 + this.model.ledgrp.rec.nomtop / 100)).toFixed(2)
return this.model.ledgrp.cbs.max.amt
}
}
}
this.model.ledgrp.cbs.max.amt = parseFloat(
this.model.ledgrp.cbs.nom1.amt *
(1 + this.model.ledgrp.rec.nomtop / 100)
).toFixed(2);
return this.model.ledgrp.cbs.max.amt;
},
},
};
</script>
<style>
.marginLable {
......
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