Commit b30612bf by WF1020

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 d3760e96 a2bfbf57
......@@ -82,7 +82,8 @@ export default {
},
toLitopn() {
// 点击开立,清空从待经办进来的时候带的行参数
localStorage.setItem('row_gitopn', null)
localStorage.setItem('row_litopn', null)
localStorage.setItem('review_litopn',null)
this.$router.history.push('/business-new/litopn');
},
toLetopn() {
......
......@@ -129,8 +129,8 @@ export default {
async onLitpButgetref() {
let params = {
ptainr: this.model.ledgrp.apl.pts.ptainr,
businessType: 'LC',
tbl: 'LC',
businessType: 'AD',
tbl: 'AD',
};
const loading = this.loading();
let res = await Api.post('/service/letopn/getOwnRef', params);
......
......@@ -445,6 +445,18 @@ export default {
return {};
},
watch:{
"model.ledgrp":{
immediate: true,
deep: true,
handler(val,oldval){
const res = this.model.ledgrp
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){
this.model.ledgrp.cbs.max.cur=this.model.ledgrp.cbs.nom1.cur;
this.model.ledgrp.cbs.max.amt=this.model.ledgrp.cbs.nom1.amt;
this.model.ledgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}`
}
}
},
"model.ledgrp.rec.nomtop":{
immediate:true,
handler(val,old) {
......
......@@ -21,7 +21,7 @@ export default {
...doctre,
async init() {
const params = {
// spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
......
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