Commit 64c4dc73 by 闫泽浩

letdrw更改

parents 0e4a4ce3 0aaa9a94
......@@ -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: "必输项"},
......
......@@ -353,7 +353,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
......@@ -398,21 +398,18 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-select
v-model="model.bedgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-input
v-model="maxcur"
maxlength="3"
placeholder="请输入币种"
></c-input>
</el-form-item>
</c-col>
<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>
......@@ -447,7 +444,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"
......@@ -496,12 +493,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