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