Commit 6139e7c2 by lixinyi

brtset修改

parent 734ce89f
......@@ -79,7 +79,8 @@ export default {
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL',
setglg: model.setmod.setglg,
};
return dataObj
},
......
......@@ -61,6 +61,10 @@ export default {
}
})
},
async maxAmtChange(){
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
},
async tabClick(tab) {
if (this.isInDisplay) {
return;
......
......@@ -38,7 +38,7 @@ export default class Bctset {
cbs: {
opn1: {
cur: '',
amt: '',
amt: '0.00',
},
opn2: {
cur: '',
......@@ -127,7 +127,7 @@ export default class Bctset {
},
aamset: {
utlamt: '',
utlamt2: '',
utlamt2: '0.00',
},
trtcre: {
trtmod: {
......@@ -428,7 +428,7 @@ export default class Bctset {
cbs: {
opn1: {
cur: '',
amt: '',
amt: '0.00',
},
},
},
......
......@@ -101,6 +101,7 @@
v-model="model.brdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据余额币种"
:code="codes.cur"
disabled
></c-input>
</el-form-item>
......@@ -226,9 +227,10 @@
<c-col :span="13">
<el-form-item label="应付金额" prop="setmod.doccur">
<c-input
v-model="model.setmod.doccur"
v-model="doccur"
maxlength="3"
placeholder="请选择币种"
:code="codes.cur"
disabled
></c-input>
</el-form-item>
......@@ -249,6 +251,7 @@
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请选择币种"
:code="codes.cur"
disabled
></c-input>
</el-form-item>
......@@ -284,6 +287,7 @@
<c-input
v-model="model.aamset.utlamt"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -307,6 +311,7 @@
<c-input
v-model="model.aamset.utlamt2"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -484,6 +489,7 @@
v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入币种"
:code="codes.cur"
disabled
></c-input>
</el-form-item>
......@@ -581,6 +587,7 @@
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入币种"
:code="codes.cur"
disabled
></c-input>
</el-form-item>
......@@ -692,6 +699,7 @@ export default {
return {
flag4:true,
flag3: true,
trnName: "brtset",
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "其他", value: "O" },
......@@ -712,6 +720,19 @@ export default {
},
created: function () {},
watch: {
"model.setmod.docamt":{
immediate: true,
handler(val, oldVal) {
this.model.brdgrp.cbs.max.amt=this.model.setmod.docamt;
this.model.aamset.utlamt=this.model.setmod.docamt-this.model.aamset.utlamt2;
},
},
"model.brdgrp.cbs.max.amt":{
immediate: true,
handler(val, oldVal) {
this.maxAmtChange();
},
},
"model.brtp.ischktyp": {
immediate: true,
handler(val, oldVal) {
......@@ -749,7 +770,11 @@ export default {
opn2cur(){
this.model.brdgrp.cbs.opn2.cur = this.model.brdgrp.cbs.max.cur
return this.model.brdgrp.cbs.opn2.cur
}
},
doccur(){
this.model.setmod.doccur = this.model.brdgrp.cbs.max.cur
return this.model.setmod.doccur
} ,
}
};
</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