Commit 7d6f7ae2 by WH

letdrv

parent 98c4a295
......@@ -25,11 +25,11 @@ export default class Letdrv {
cbs: {
max: {
cur: '',
amt: ''
amt: '0.00'
},
max2: {
cur: '',
amt: ''
amt: '0.00'
}
}
},
......@@ -56,7 +56,7 @@ export default class Letdrv {
},
nom1: {
cur: '',
amt: ''
amt: '0.00'
}
},
avbnam: '',
......@@ -78,7 +78,7 @@ export default class Letdrv {
ownref: '',
invtyp: '',
payrol: '',
orddat: '',
orddat: new Date(),
matdat: '',
dscinsflg: '',
nam: '',
......@@ -87,19 +87,19 @@ export default class Letdrv {
cbs: {
opn1: {
cur: '',
amt: ''
amt: '0.00'
},
opn2: {
cur: '',
amt: ''
amt: '0.00'
},
max: {
cur: '',
amt: ''
amt: '0.00'
},
max2: {
cur:'',
amt: ''
amt: '0.00'
}
},
srm: {
......
......@@ -276,7 +276,7 @@
<c-col :span="12">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-select
v-model="model.bedgrp.cbs.max.cur"
v-model="maxcur"
style="width: 100%"
placeholder="请输入单据金额"
disabled
......@@ -287,7 +287,7 @@
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input-currency
v-model="model.bedgrp.cbs.max.amt"
v-model="maxamt"
placeholder="请输入金额"
></c-input-currency>
</el-form-item>
......@@ -298,10 +298,11 @@
<c-col :span="12">
<el-form-item label="提取附加金额" prop="bedgrp.cbs.opn2.cur">
<c-select
v-model="model.bedgrp.cbs.opn2.cur"
v-model="opn2cur"
style="width: 100%"
placeholder="请输入附加金额"
:code="codes.curtxt1"
disabled
></c-select>
</el-form-item>
</c-col>
......@@ -310,7 +311,7 @@
<c-input-currency
v-model="model.bedgrp.cbs.max2.amt"
placeholder="请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
......@@ -614,6 +615,18 @@ export default {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
maxcur(){
this.model.bedgrp.cbs.max.cur = this.model.ledgrp.cbs.nom1.cur
return this.model.bedgrp.cbs.max.cur
},
maxamt(){
this.model.bedgrp.cbs.max.amt = this.model.ledgrp.cbs.nom1.amt
return this.model.bedgrp.cbs.max.amt
},
opn2cur(){
this.model.bedgrp.cbs.opn2.cur = this.model.ledgrp.cbs.nom1.cur
return this.model.bedgrp.cbs.opn2.cur
},
},
};
</script>
......
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