Commit bff01f13 by liaoxing

betsnd check完善

parent a2dd540f
......@@ -14,6 +14,10 @@ export default {
"cnybop.vouflg" :null,
"betp.ledget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cnybop.libflg":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.ownref":[
......
......@@ -184,7 +184,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="单据简略信息" prop="bedgrp.rec.nam">
<c-input text-align="middle" v-model="model.bedgrp.rec.nam" maxlength="40" placeholder="请输入简略信息"
<c-input text-align="middle" v-model="bedgrprecnam" maxlength="40" placeholder="请输入简略信息"
disabled>
</c-input>
</el-form-item>
......@@ -307,6 +307,12 @@ export default {
methods: {},
created: function () {
},
computed: {
bedgrprecnam(){
this.model.bedgrp.rec.nam =(this.model.bedgrp.cbs.max.cur + " " + this.model.bedgrp.cbs.max.amt + " " + this.model.bedgrp.prb.pts.nam).substring(0,40)
return this.model.bedgrp.rec.nam;
}
},
}
</script>
<style>
......
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