Commit c3648101 by liaoxing

bctdav 初始化及 放单指示条款 数据显示

parent 185a8876
...@@ -165,6 +165,20 @@ export default { ...@@ -165,6 +165,20 @@ export default {
this.$set(this.codes, 'voHndtyp', res.data); this.$set(this.codes, 'voHndtyp', res.data);
} }
}, },
async getColins(doctypcod) {
let params = {
bcdgrp:{
rec: this.model.bcdgrp.rec,
}
};
const loading = this.loading();
let res = await Api.post('/service/bctdav/getColins', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.bcdgrp.blk.colins = res.data;
}
},
// 是否SWIFT格式修改--联动保函开立类型 // 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() { handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName); this.queryHndtypCodeTableList(this.root.trnName);
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<el-form-item label="代收币种及余额" prop="bcdgrp.cbs.opn1.cur"> <el-form-item label="代收币种及余额" prop="bcdgrp.cbs.opn1.cur">
<c-select <c-select
disabled disabled
v-model="model.bcdgrp.cbs.opn1.cur" v-model="opn1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择代收币种" placeholder="请选择代收币种"
> >
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
> >
<c-input-currency <c-input-currency
disabled disabled
v-model="model.bcdgrp.cbs.opn1.amt" v-model="opn1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入代收余额" placeholder="请输入代收余额"
></c-input-currency> ></c-input-currency>
...@@ -150,6 +150,7 @@ ...@@ -150,6 +150,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择交单条件" placeholder="请选择交单条件"
:code="codes.doctypcod" :code="codes.doctypcod"
@change="getColins('bcdgrp.rec.doctypcod')"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -539,7 +540,12 @@ export default { ...@@ -539,7 +540,12 @@ export default {
const preNam = this.model.bcdgrp.drr.pts.nam + '' const preNam = this.model.bcdgrp.drr.pts.nam + ''
this.model.bcdgrp.rec.nam =(cur + amt + preNam).substring(0,40) this.model.bcdgrp.rec.nam =(cur + amt + preNam).substring(0,40)
return this.model.bcdgrp.rec.nam return this.model.bcdgrp.rec.nam
} },
opn1(){
this.model.bcdgrp.cbs.opn1.amt = this.model.bcdgrp.cbs.max.amt
this.model.bcdgrp.cbs.opn1.cur = this.model.bcdgrp.cbs.max.cur
return this.model.bcdgrp.cbs.opn1
},
}, },
created: function () {}, created: function () {},
......
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