Commit 5e7ead48 by lixinyi

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 8c52c3c4 2670c07d
...@@ -1317,10 +1317,10 @@ let checkObj = { ...@@ -1317,10 +1317,10 @@ let checkObj = {
{ max: 35, message: '长度不能超过35' }, { max: 35, message: '长度不能超过35' },
], ],
'trtcre.oriamt': [ // 'trtcre.oriamt': [
{ type: 'string', required: false, message: '必输项' }, // { type: 'string', required: false, message: '必输项' },
{ max: 17, message: '整数位不能超过14位' }, // { max: 17, message: '整数位不能超过14位' },
], // ],
'trtcre.trdgrp.rec.pctfin': [ 'trtcre.trdgrp.rec.pctfin': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' }, { max: 6, message: '长度不能超过6' },
......
...@@ -132,8 +132,9 @@ export default class Bctset { ...@@ -132,8 +132,9 @@ export default class Bctset {
trtcre: { trtcre: {
trtmod: { trtmod: {
finmod: { finmod: {
act1:'',
accbch: '', accbch: '',
intprd: '', intprd: '6',
ovdintrat: '', ovdintrat: '',
fincod: '', fincod: '',
fltval: '', fltval: '',
...@@ -141,7 +142,7 @@ export default class Bctset { ...@@ -141,7 +142,7 @@ export default class Bctset {
spjgdc: '', spjgdc: '',
shpdch: '', shpdch: '',
sxlexi: '', sxlexi: '',
jzllgz: '', jzllgz: '1',
chapdm: '', chapdm: '',
libor: '', libor: '',
sheplb: '', sheplb: '',
...@@ -169,7 +170,7 @@ export default class Bctset { ...@@ -169,7 +170,7 @@ export default class Bctset {
djhtno: '', djhtno: '',
chapmc: '', chapmc: '',
}, },
intamt: '', intamt: '0',
flttyp: '', flttyp: '',
act3: '', act3: '',
ratchgdat: '', ratchgdat: '',
...@@ -177,10 +178,9 @@ export default class Bctset { ...@@ -177,10 +178,9 @@ export default class Bctset {
ovdinttyp: '', ovdinttyp: '',
graday: '', graday: '',
intact: '', intact: '',
act1: '',
dinjdm: '', dinjdm: '',
wjdkfl: '', wjdkfl: '',
ratchgtyp: '', ratchgtyp: '1',
acttyp: '', acttyp: '',
intdat: '', intdat: '',
ratchgprd: '', ratchgprd: '',
...@@ -192,23 +192,23 @@ export default class Bctset { ...@@ -192,23 +192,23 @@ export default class Bctset {
trntyp: '', trntyp: '',
trdgrp: { trdgrp: {
rec: { rec: {
stttendat: '', stttendat: new Date(),
recaccount: '', recaccount: '',
pctfin: '', pctfin: '100',
recdistrictcode: '', recdistrictcode: '',
ownref: '', ownref: '',
intrat: '', intrat: '0.000000',
pntnam: '', pntnam: '',
invtyp: '', invtyp: '1',
fintyp: '', fintyp: '',
tenday: '', tenday: '',
guaflg: '', guaflg: '',
stagod: '', stagod: '001',
lprtyp: '', lprtyp: '',
issdat: '', issdat: new Date(),
matdat: '', matdat: '',
nam: '', nam: '',
actrat: '', actrat: '0.000000',
pntref: '', pntref: '',
reccountrycode: '', reccountrycode: '',
}, },
...@@ -227,7 +227,7 @@ export default class Bctset { ...@@ -227,7 +227,7 @@ export default class Bctset {
trtp: { trtp: {
act: '', act: '',
usr: { usr: {
extkey: '', extkey: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL',
}, },
recname: '', recname: '',
bcdget: { bcdget: {
...@@ -381,7 +381,7 @@ export default class Bctset { ...@@ -381,7 +381,7 @@ export default class Bctset {
flttyp: '', flttyp: '',
tenday: '', tenday: '',
rescur: '', rescur: '',
guaflg: '', guaflg: '0',
dfuflg: '', dfuflg: '',
trntyp: '', trntyp: '',
bankno: '', bankno: '',
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<c-fullbox> <c-fullbox>
<c-input <c-input
disabled disabled
v-model="model.trtcre.trdgrp.rec.pntref" v-model="trtcretrdgrprecpntref"
maxlength="16" maxlength="16"
style="width: 98%" style="width: 98%"
placeholder="请输入单据编号" placeholder="请输入单据编号"
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<el-form-item label="融资品种" prop="trtcre.trdgrp.rec.fintyp"> <el-form-item label="融资品种" prop="trtcre.trdgrp.rec.fintyp">
<c-select <c-select
disabled disabled
v-model="model.trtcre.trdgrp.rec.fintyp" v-model="fintyp"
style="width: 100%" style="width: 100%"
placeholder="请选择融资品种" placeholder="请选择融资品种"
:disable="true" :disable="true"
...@@ -153,6 +153,7 @@ ...@@ -153,6 +153,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择货押标识" placeholder="请选择货押标识"
> >
<el-option <el-option
v-for="item in codes.guaflg" v-for="item in codes.guaflg"
:key="item.value" :key="item.value"
...@@ -160,6 +161,7 @@ ...@@ -160,6 +161,7 @@
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -185,7 +187,7 @@ ...@@ -185,7 +187,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="原始币种" prop="trtcre.oricur"> <el-form-item label="原始币种" prop="trtcre.oricur">
<c-select <c-select
v-model="model.trtcre.oricur" v-model="oricur"
style="width: 100%" style="width: 100%"
:disabled="true" :disabled="true"
placeholder="请选择币种" placeholder="请选择币种"
...@@ -207,7 +209,7 @@ ...@@ -207,7 +209,7 @@
prop="trtcre.oriamt" prop="trtcre.oriamt"
> >
<c-input <c-input
v-model="model.trtcre.oriamt" v-model="oriamt"
style="width: 100%" style="width: 100%"
placeholder="请输入融资金额" placeholder="请输入融资金额"
></c-input> ></c-input>
...@@ -241,7 +243,7 @@ ...@@ -241,7 +243,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="融资金额" prop="trtcre.trdgrp.cbs.max.cur"> <el-form-item label="融资金额" prop="trtcre.trdgrp.cbs.max.cur">
<c-select v-model="model.trtcre.trdgrp.cbs.max.cur"> <c-select v-model="maxcur">
<el-option <el-option
v-for="item in codes.curtxt2" v-for="item in codes.curtxt2"
:key="item.value" :key="item.value"
...@@ -259,7 +261,7 @@ ...@@ -259,7 +261,7 @@
label-width="5px" label-width="5px"
> >
<c-input <c-input
v-model="model.trtcre.trdgrp.cbs.max.amt" v-model="maxamt"
:disabled="true" :disabled="true"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -395,14 +397,14 @@ ...@@ -395,14 +397,14 @@
style="width: 100%" style="width: 100%"
placeholder="请选择第一还款账号" placeholder="请选择第一还款账号"
> >
<el-option <!-- <el-option-->
v-for="(item, idx) in codes.codeSet[ <!-- v-for="(item, idx) in codes.codeSet[-->
'trtcre.trtmod.finmod.act1' <!-- 'trtcre.trtmod.finmod.act1'-->
]" <!-- ]"-->
:key="idx" <!-- :key="idx"-->
:label="item.split('\t')[1]" <!-- :label="item.split('\t')[1]"-->
:value="item.split('\t')[0]" <!-- :value="item.split('\t')[0]"-->
></el-option> <!-- ></el-option>-->
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -842,6 +844,33 @@ export default { ...@@ -842,6 +844,33 @@ export default {
watch: {}, watch: {},
methods: {}, methods: {},
created: function () {}, created: function () {},
computed:{
trtcretrdgrprecpntref(){
this.model.trtcre.trtmod.finmod.fincod = this.model.brdgrp.rec.ownref
this.model.trtcre.trdgrp.rec.pntref = this.model.brdgrp.rec.ownref
return this.model.trtcre.trdgrp.rec.pntref
},
fintyp(){
this.model.trtcre.trdgrp.rec.fintyp = 'BRF'
return this.model.trtcre.trdgrp.rec.fintyp
},
oricur(){
this.model.trtcre.oricur = this.model.brdgrp.cbs.max.cur
return this.model.trtcre.oricur
},
oriamt(){
this.model.trtcre.oriamt = this.model.brdgrp.cbs.max.amt * this.model.trtcre.trdgrp.rec.pctfin /100
return this.model.trtcre.oriamt
},
maxcur(){
this.model.trtcre.trdgrp.cbs.max.cur = this.model.trtcre.oricur
return this.model.trtcre.trdgrp.cbs.max.cur
},
maxamt(){
this.model.trtcre.trdgrp.cbs.max.amt = this.model.trtcre.oriamt
return this.model.trtcre.trdgrp.cbs.max.amt
},
}
}; };
</script> </script>
......
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