Commit 265e390c by liaoxing

botdav摘要信息拼接

parent 3014e756
......@@ -151,7 +151,7 @@
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="摘要" prop="bodgrp.rec.nam">
<c-input text-align="middle" v-model="model.bodgrp.rec.nam" maxlength="40" disabled
<c-input text-align="middle" v-model="totalnam" maxlength="40" disabled
placeholder="请输入"></c-input>
</el-form-item>
</c-col>
......@@ -302,6 +302,14 @@ export default {
flag() {
return this.model.bodgrp.drr.pts.adrelc == "";
},
totalnam(){
      const cur = this.model.bodgrp.cbs.max.cur + ' '
      const amt = this.model.bodgrp.cbs.max.amt + ' '
      const preNam = this.model.bodgrp.drr.pts.nam + ''
      this.model.bodgrp.rec.nam =(cur + amt + preNam).substring(0,40)
      return this.model.bodgrp.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