Commit 06f11746 by WH

修复letdrw缺陷

parent e7f3dafb
......@@ -260,8 +260,8 @@ let checkObj = {
{max: 65,message:"长度不能超过65"}
],
"ledgrp.rec.tenmaxday":[
{type: "number", required: false, message: "必输项"},
{type: "number",max: 9999,message:"长度不能超过4"}
{type: "string", required: false, message: "必输项"},
{type: "string",max: 9999,message:"长度不能超过4"}
],
"ledgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
......
......@@ -355,7 +355,7 @@
<c-col :span="24">
<el-form-item label="受益人参考号" prop="ledgrp.ben.pts.ref">
<c-input
v-model="model.ledgrp.ben.pts.ref"
v-model="modelben"
maxlength="16"
placeholder="请输入受益人参考号"
disabled
......@@ -402,7 +402,7 @@
<c-col :span="13">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-input
v-model="model.bedgrp.cbs.max.cur"
v-model="maxcur"
maxlength="3"
placeholder="请输入币种"
></c-input>
......@@ -411,7 +411,7 @@
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input
v-model="model.bedgrp.cbs.max.amt"
v-model="maxamt"
class="m-input-currency"
placeholder="请输入金额"
></c-input>
......@@ -446,7 +446,7 @@
<c-col :span="24">
<el-form-item label="交单行" prop="bedgrp.rec.docprbrol">
<c-select
v-model="model.bedgrp.rec.docprbrol"
v-model="docprbrol"
style="width: 100%"
placeholder="请选择交单行"
:code="codes.rolall"
......@@ -495,12 +495,28 @@ export default {
return this.model.ledgrp.cbs.opn1.cur
},
opn1amt(){
this.model.ledgrp.cbs.opn1.amt = this.model.ledgrp.cbs.nom1.amt * (1+this.model.ledgrp.rec.nomtop/100)
this.model.ledgrp.cbs.opn1.amt = parseFloat(this.model.ledgrp.cbs.nom1.amt * (1+this.model.ledgrp.rec.nomtop/100)).toFixed(2)
return this.model.ledgrp.cbs.opn1.amt
},
getDoctypcod(){
this.model.bedgrp.rec.doctypcod = this.model.ledgrp.rec.avbby
return this.model.bedgrp.rec.doctypcod
},
maxcur(){
this.model.ledgrp.cbs.max.cur = this.model.ledgrp.cbs.opn1.cur
return this.model.ledgrp.cbs.max.cur
},
maxamt(){
this.model.ledgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt
return this.model.ledgrp.cbs.max.amt
},
docprbrol(){
this.model.bedgrp.rec.docprbrol = 'BEB'
return this.model.bedgrp.rec.docprbrol
},
modelben(){
this.model.bedgrp.prb.pts = this.model.ledgrp.ben.pts
return this.model.ledgrp.ben.pts
}
}
}
......
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