Commit 95fc2f4b by WH

修复letrsv缺陷

parent 6bda1321
...@@ -449,8 +449,8 @@ export default { ...@@ -449,8 +449,8 @@ export default {
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 = this.model.ledgrp.cbs.nom1.amt * (1+this.model.ledgrp.rec.nomtop/100) 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 return this.model.ledgrp.cbs.max.amt
} }
} }
......
...@@ -157,7 +157,6 @@ export default { ...@@ -157,7 +157,6 @@ export default {
ptsList.push(this.model.ledgrp.adv) ptsList.push(this.model.ledgrp.adv)
ptsList.push(this.model.ledgrp.a2b) ptsList.push(this.model.ledgrp.a2b)
ptsList.push(this.model.ledgrp.iss) ptsList.push(this.model.ledgrp.iss)
ptsList.push(this.model.ledgrp.own)
let params = { let params = {
avbwth: this.model.ledgrp.rec.avbwth, avbwth: this.model.ledgrp.rec.avbwth,
ptsList ptsList
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item label="附加金额" prop="ledgrp.cbs.max2.cur"> <el-form-item label="附加金额" prop="ledgrp.cbs.max2.cur">
<c-select <c-select
v-model="model.ledgrp.cbs.max2.cur" v-model="max2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
disabled disabled
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item label="附加金额余额" prop="ledgrp.cbs.opn2.cur"> <el-form-item label="附加金额余额" prop="ledgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.ledgrp.cbs.opn2.cur" v-model="opn2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.curtxt1" :code="codes.curtxt1"
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.opn2.amt"> <el-form-item label="" label-width="20px" prop="ledgrp.cbs.opn2.amt">
<c-input-currency <c-input-currency
v-model="model.ledgrp.cbs.opn2.amt" v-model="opn2amt"
style="width: 100%" style="width: 100%"
placeholder="请输入附加金额余额" placeholder="请输入附加金额余额"
disabled disabled
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<el-form-item label="39C场" prop="ledgrp.blk.addamtcov"> <el-form-item label="39C场" prop="ledgrp.blk.addamtcov">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.ledgrp.blk.addamtcov" v-model="getBlkAddamtcov"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入39C场" placeholder="请输入39C场"
...@@ -84,6 +84,28 @@ export default { ...@@ -84,6 +84,28 @@ export default {
}, },
methods: { event }, methods: { event },
created: function () {}, created: function () {},
computed:{
max2cur(){
this.model.ledgrp.cbs.max2.cur = this.model.ledgrp.cbs.max.cur
return this.model.ledgrp.cbs.max2.cur
},
opn2cur(){
this.model.ledgrp.cbs.opn2.cur = this.model.ledgrp.cbs.max.cur
return this.model.ledgrp.cbs.opn2.cur
},
opn2amt(){
this.model.ledgrp.cbs.opn2.amt = parseFloat(this.model.ledgrp.cbs.max2.amt).toFixed(3)
return this.model.ledgrp.cbs.opn2.amt
},
getBlkAddamtcov(){
this.model.ledgrp.blk.addamtcov = this.model.ledgrp.cbs.opn2.cur + " " +this.model.ledgrp.cbs.opn2.amt
return this.model.ledgrp.blk.addamtcov
}
},
}; };
</script> </script>
<style> <style>
......
...@@ -11,8 +11,9 @@ ...@@ -11,8 +11,9 @@
style="width: 100%" style="width: 100%"
placeholder="请选择可用银行" placeholder="请选择可用银行"
:code="codes.avbwth" :code="codes.avbwth"
@change="avbwthEvent" @change="avbwthFlg"
> >
<!-- @change="avbwthEvent"-->
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -4,37 +4,37 @@ ...@@ -4,37 +4,37 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<el-form-item <el-form-item
label="信用证编号" label="信用证编号"
prop="ledgrp.rec.ownref" prop="ledgrp.rec.ownref"
style="width: 100%" style="width: 100%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入信用证编号" placeholder="请输入信用证编号"
style="width: 95%" style="width: 95%"
:disabled="true" :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: 0 10px 0 0; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
> >
</c-button> </c-button>
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled=" :disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref? false: true" model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref? false: true"
@click="onLitpButgetref" @click="onLitpButgetref"
> >
获取 获取
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -43,10 +43,10 @@ ...@@ -43,10 +43,10 @@
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<el-form-item label="简略信息" prop="ledgrp.rec.nam"> <el-form-item label="简略信息" prop="ledgrp.rec.nam">
<c-input <c-input
v-model="model.ledgrp.rec.nam" v-model="model.ledgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入" placeholder="请输入"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -57,10 +57,10 @@ ...@@ -57,10 +57,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp"> <el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
<c-select <c-select
v-model="model.ledgrp.rec.lcrtyp" v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择信用证类型" placeholder="请选择信用证类型"
:code="codes.lcrtyp" :code="codes.lcrtyp"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -69,23 +69,23 @@ ...@@ -69,23 +69,23 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="19"> <c-col :span="19">
<el-form-item <el-form-item
label="客户经理" label="客户经理"
prop="letp.usr.extkey" prop="letp.usr.extkey"
style="width: 100%" style="width: 100%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.letp.usr.extkey" v-model="model.letp.usr.extkey"
maxlength="8" maxlength="8"
placeholder="请输入客户经理" placeholder="请输入客户经理"
disabled disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px" style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
icon="el-icon-search" icon="el-icon-search"
type="primary" type="primary"
> >
</c-button> </c-button>
</template> </template>
...@@ -94,10 +94,11 @@ ...@@ -94,10 +94,11 @@
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox <c-checkbox
:disabled="true" :disabled="true"
v-model="model.ledgrp.rec.collflg" v-model="model.ledgrp.rec.collflg"
style="margin-left: 10px" style="margin-left: 10px"
>担保信用证</c-checkbox >担保信用证
</c-checkbox
> >
</c-col> </c-col>
</c-col> </c-col>
...@@ -106,10 +107,10 @@ ...@@ -106,10 +107,10 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur"> <el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select <c-select
v-model="model.ledgrp.cbs.nom1.cur" v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.curtxt1" :code="codes.curtxt1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -118,19 +119,20 @@ ...@@ -118,19 +119,20 @@
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.nom1.amt"> <el-form-item label="" label-width="20px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency <c-input-currency
v-model="model.ledgrp.cbs.nom1.amt" v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入金额" placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()" @keyup.enter.native="$event.target.blur()"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox <c-checkbox
v-model="model.letp.aamp.aammod.addamtflg" v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px" style="margin-left: 10px"
>附加金额</c-checkbox >附加金额
</c-checkbox
> >
</c-col> </c-col>
</c-col> </c-col>
...@@ -139,33 +141,34 @@ ...@@ -139,33 +141,34 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="溢短装" prop="ledgrp.rec.nomtop"> <el-form-item label="溢短装" prop="ledgrp.rec.nomtop">
<c-input <c-input
v-model.number="model.ledgrp.rec.nomtop" v-model.number="model.ledgrp.rec.nomtop"
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="请输入金额上浮" placeholder="请输入金额上浮"
@keyup.enter.native="$event.target.blur()" @keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.rec.nomton"> <el-form-item label="" label-width="20px" prop="ledgrp.rec.nomton">
<c-input <c-input
v-model.number="model.ledgrp.rec.nomton" v-model.number="model.ledgrp.rec.nomton"
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="请输入金额下浮" placeholder="请输入金额下浮"
@keyup.enter.native="$event.target.blur()" @keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox <c-checkbox
v-model="model.ledgrp.rec.inctrf" v-model="model.ledgrp.rec.inctrf"
disabled disabled
style="margin-left: 10px" style="margin-left: 10px"
>Incoming Transfer</c-checkbox >Incoming Transfer
</c-checkbox
> >
</c-col> </c-col>
</c-col> </c-col>
...@@ -174,18 +177,19 @@ ...@@ -174,18 +177,19 @@
<c-col :span="19"> <c-col :span="19">
<el-form-item label="金额限额表述" prop="ledgrp.rec.nomspc"> <el-form-item label="金额限额表述" prop="ledgrp.rec.nomspc">
<c-select <c-select
v-model="model.ledgrp.rec.nomspc" v-model="model.ledgrp.rec.nomspc"
style="width: 100%" style="width: 100%"
placeholder="请输入金额限额表述" placeholder="请输入金额限额表述"
:code="codes.nomspc" :code="codes.nomspc"
:disabled="true" :disabled="true"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox v-model="resflg" style="margin-left: 10px" <c-checkbox v-model="resflg" style="margin-left: 10px"
>保留合同</c-checkbox >保留合同
</c-checkbox
> >
</c-col> </c-col>
</c-col> </c-col>
...@@ -194,11 +198,11 @@ ...@@ -194,11 +198,11 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.cur"> <el-form-item label="最大金额" prop="ledgrp.cbs.max.cur">
<c-select <c-select
v-model="model.ledgrp.cbs.max.cur" v-model="maxcur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
disabled disabled
:code="codes.curtxt1" :code="codes.curtxt1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -207,10 +211,10 @@ ...@@ -207,10 +211,10 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.max.amt"> <el-form-item label="" label-width="20px" prop="ledgrp.cbs.max.amt">
<c-input <c-input
v-model="model.ledgrp.cbs.max.amt" v-model="maxamt"
placeholder="请输入金额" placeholder="请输入金额"
class="m-input-currency" class="m-input-currency"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -220,25 +224,25 @@ ...@@ -220,25 +224,25 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat"> <el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ledgrp.rec.opndat" v-model="model.ledgrp.rec.opndat"
style="width: 100%" style="width: 100%"
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 <el-form-item
label="预通知日期" label="预通知日期"
label-width="130px" label-width="130px"
prop="ledgrp.rec.preadvdt" prop="ledgrp.rec.preadvdt"
> >
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ledgrp.rec.preadvdt" v-model="model.ledgrp.rec.preadvdt"
style="width: 100%" style="width: 100%"
placeholder="请选择日期" placeholder="请选择日期"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -248,26 +252,26 @@ ...@@ -248,26 +252,26 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat"> <el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ledgrp.rec.shpdat" v-model="model.ledgrp.rec.shpdat"
style="width: 100%" style="width: 100%"
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 <el-form-item
label="复核日期" label="复核日期"
label-width="130px" label-width="130px"
prop="ledgrp.rec.advdat" prop="ledgrp.rec.advdat"
> >
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ledgrp.rec.advdat" v-model="model.ledgrp.rec.advdat"
style="width: 100%" style="width: 100%"
placeholder="请选择日期" placeholder="请选择日期"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -276,10 +280,10 @@ ...@@ -276,10 +280,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="生效日期" prop="ledgrp.rec.expdat"> <el-form-item label="生效日期" prop="ledgrp.rec.expdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ledgrp.rec.expdat" v-model="model.ledgrp.rec.expdat"
style="width: 100%" style="width: 100%"
placeholder="请选择日期" placeholder="请选择日期"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -287,23 +291,23 @@ ...@@ -287,23 +291,23 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="生效地点" prop="ledgrp.rec.expplc"> <el-form-item label="生效地点" prop="ledgrp.rec.expplc">
<c-input <c-input
v-model="model.ledgrp.rec.expplc" v-model="model.ledgrp.rec.expplc"
maxlength="29" maxlength="29"
placeholder="请选择地点" placeholder="请选择地点"
></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 <el-form-item
label="收到的承兑指示" label="收到的承兑指示"
prop="ledgrp.rec.cnfdet" prop="ledgrp.rec.cnfdet"
> >
<c-select <c-select
v-model="model.ledgrp.rec.cnfdet" v-model="model.ledgrp.rec.cnfdet"
style="width: 100%" style="width: 100%"
placeholder="请选择内容" placeholder="请选择内容"
:code="codes.cnfflg1" :code="codes.cnfflg1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -312,11 +316,11 @@ ...@@ -312,11 +316,11 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul"> <el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select <c-select
v-model="model.ledgrp.rec.apprul" v-model="model.ledgrp.rec.apprul"
style="width: 100%" style="width: 100%"
placeholder="请选择适用规则" placeholder="请选择适用规则"
:code="codes.apprul1" :code="codes.apprul1"
@change="apprulChange" @change="apprulChange"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -324,24 +328,24 @@ ...@@ -324,24 +328,24 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="其他适用规则" label="其他适用规则"
prop="ledgrp.rec.apprultxt" prop="ledgrp.rec.apprultxt"
> >
<c-input <c-input
v-model="model.ledgrp.rec.apprultxt" v-model="model.ledgrp.rec.apprultxt"
maxlength="35" maxlength="35"
placeholder="请选择适用规则" placeholder="请选择适用规则"
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true" :disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></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.rec.shppar"> <el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select <c-select
v-model="model.ledgrp.rec.shppar" v-model="model.ledgrp.rec.shppar"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:code="codes.shptrss18" :code="codes.shptrss18"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -350,10 +354,10 @@ ...@@ -350,10 +354,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrss18"> <el-form-item label="转运" prop="ledgrp.rec.shptrss18">
<c-select <c-select
v-model="model.ledgrp.rec.shptrss18" v-model="model.ledgrp.rec.shptrss18"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:code="codes.shptrss18" :code="codes.shptrss18"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -363,62 +367,64 @@ ...@@ -363,62 +367,64 @@
<!-- right --> <!-- right -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '受益人', title: '受益人',
grp: 'ledgrp', grp: 'ledgrp',
rol: 'ben', rol: 'ben',
}" }"
:disabled="true" :disabled="true"
@keyup.enter.native=" @keyup.enter.native="
queryGridEtyPromptDialogData('BEN', 'C') queryGridEtyPromptDialogData('BEN', 'C')
" "
> >
</c-ptap> </c-ptap>
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '开证行', title: '开证行',
grp: 'ledgrp', grp: 'ledgrp',
rol: 'iss', rol: 'iss',
}" }"
:disabled="true" :disabled="true"
@keyup.enter.native=" @keyup.enter.native="
queryGridEtyPromptDialogData('ISS', 'B') queryGridEtyPromptDialogData('ISS', 'B')
" "
> >
</c-ptap> </c-ptap>
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '申请人', title: '申请人',
grp: 'ledgrp', grp: 'ledgrp',
rol: 'apl', rol: 'apl',
}" }"
:disabled="true" :disabled="true"
@keyup.enter.native=" @keyup.enter.native="
queryGridEtyPromptDialogData('APL', 'C') queryGridEtyPromptDialogData('APL', 'C')
" "
> >
</c-ptap> </c-ptap>
<c-col :span="12" > <c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.revflg" class="checkbox-left" style="margin: 0px 0 10px 120px">循环信用证</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.revflg" class="checkbox-left" style="margin: 0px 0 10px 120px">
循环信用证
</c-checkbox>
</c-col> </c-col>
<!-- Authorization to Debit --> <!-- Authorization to Debit -->
<c-col :span="12" > <c-col :span="12">
<c-checkbox v-model="dbtflg" style="margin: 0px 0 10px 100px">借记授权</c-checkbox> <c-checkbox v-model="dbtflg" style="margin: 0px 0 10px 100px">借记授权</c-checkbox>
</c-col> </c-col>
<c-col :span="12" > <c-col :span="12">
<c-checkbox v-model="nonban" class="checkbox-left" style="margin: 0px 0 10px 120px">非银行开证</c-checkbox> <c-checkbox v-model="nonban" class="checkbox-left" style="margin: 0px 0 10px 120px">非银行开证</c-checkbox>
</c-col> </c-col>
<!-- Test Key Unconfirmity --> <!-- Test Key Unconfirmity -->
...@@ -433,7 +439,7 @@ import event from "../event" ...@@ -433,7 +439,7 @@ 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],
...@@ -476,6 +482,16 @@ export default { ...@@ -476,6 +482,16 @@ export default {
this.model.ledgrp.rec.teskeyunc = val ? "X" : ""; this.model.ledgrp.rec.teskeyunc = val ? "X" : "";
}, },
}, },
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
}
}, },
methods: { methods: {
apprulChange(v) { apprulChange(v) {
...@@ -484,7 +500,8 @@ export default { ...@@ -484,7 +500,8 @@ export default {
} }
}, },
}, },
created: function () {}, created: function () {
},
}; };
</script> </script>
<style> <style>
......
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