Commit ef8a13c6 by WH

修复前端letdav前端bedgrp.prb.pts.nam数据不显示的问题

parent 788956be
......@@ -127,7 +127,7 @@ export default {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.brdgrp[type.toLowerCase()].pts.extkey,
extkey: this.model.bedgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
......@@ -143,7 +143,7 @@ export default {
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
this.$set(this.model.bedgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
......
......@@ -327,7 +327,7 @@
<!-- Name -->
<el-form-item label="简略信息" text-align="middle" prop="bedgrp.rec.nam">
<c-input
v-model="model.bedgrp.rec.nam"
v-model="totalnam"
maxlength="40"
placeholder="请输入"
disabled
......@@ -458,6 +458,7 @@
>
</c-ptap>
</c-col>
</c-col>
<!-- ========================下半部分的下半边的右边Payer-======================= -->
<c-col :span="12" style="padding-left: 20px;">
......@@ -542,6 +543,15 @@ export default {
)
},
},
totalnam(){
const cur = this.model.bedgrp.cbs.max.cur + ' '
const amt = this.model.bedgrp.cbs.max.amt + ' '
const preNam = this.model.bedgrp.prb.pts.nam + ''
this.model.bedgrp.rec.nam =cur + amt + preNam
return this.model.bedgrp.rec.nam
}
},
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