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