Commit 10584893 by liaoxing

botame修改swiadd

parent 34b92d5d
......@@ -49,9 +49,9 @@ export default {
// purpos: model.bodgrp.rec.purpos,
// revflg: model.bodgrp.rec.revflg,
// cnfsta: model.bodgrp.rec.cnfsta,
amecur: model.trnmod.swiadd.amecur,
ameamt: model.trnmod.swiadd.ameamt,
newamt: model.trnmod.swiadd.newamt,
amecur: model.swiadd.amecur,
ameamt: model.swiadd.ameamt,
newamt: model.swiadd.newamt,
},
cbsMap: {
MAX: model.bodgrp.cbs.max,
......
......@@ -45,11 +45,11 @@ export default class Botame{
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
amt:"0.00", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
amt:"0.00", // Open Amount .bodgrp.cbs.opn1.amt
},
},
blk:{
......@@ -92,7 +92,7 @@ export default class Botame{
cbs:{
max:{
cur:"", // Original Amount .oldbodgrp.cbs.max.cur
amt:"", // Original Amount .oldbodgrp.cbs.max.amt
amt:"0.00", // Original Amount .oldbodgrp.cbs.max.amt
},
},
rec:{
......@@ -149,6 +149,18 @@ export default class Botame{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
},
swiadd: {
amecur: '',
ameamt: '0.00',
newcur: '',
newamt: '0.00',
newmatpercnt: '',
newmatpertyp: '',
newmatperbeg: '',
newmatdat: '',
ametxt: '',
// amatpertyp: '',//swiadd类中是没有这个属性的,不清楚为什么前端会有使用到这个字段
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -118,10 +118,10 @@
</c-col>
<c-col :span="12">
<el-form-item label="修改增减额" prop="trnmod.swiadd.amecur">
<el-form-item label="修改增减额" prop="swiadd.amecur">
<c-select
disabled
v-model="model.trnmod.swiadd.amecur"
v-model="model.swiadd.amecur"
style="width: 100%"
placeholder="请选择币种"
>
......@@ -139,10 +139,10 @@
<el-form-item
style="text-align: left"
label-width="5px"
prop="trnmod.swiadd.ameamt"
prop="swiadd.ameamt"
>
<c-input
v-model="model.trnmod.swiadd.ameamt"
v-model="model.swiadd.ameamt"
style="text-align: left; width: 100%"
placeholder="请输入修改增减额"
@keyup.enter.native="showGridPromptDialog('trnmod.swiadd.ameamt')"
......@@ -151,10 +151,10 @@
</c-col>
<c-col :span="12">
<el-form-item label="修改后的付款期限" prop="trnmod.swiadd.newcur">
<el-form-item label="修改后的付款期限" prop="swiadd.newcur">
<c-select
disabled
v-model="model.trnmod.swiadd.newcur"
v-model="model.swiadd.newcur"
style="width: 100%"
placeholder="请选择币种"
>
......@@ -172,10 +172,10 @@
<el-form-item
style="text-align: left"
label-width="5px"
prop="trnmod.swiadd.newamt"
prop="swiadd.newamt"
>
<c-input
v-model="model.trnmod.swiadd.newamt"
v-model="model.swiadd.newamt"
style="text-align: left; width: 100%"
placeholder="请输入"
@keyup.enter.native="showGridPromptDialog('trnmod.swiadd.newamt')"
......@@ -257,11 +257,11 @@
<c-col :span="9">
<el-form-item
label="修改后的付款期限"
prop="trnmod.swiadd.newmatpercnt"
prop="swiadd.newmatpercnt"
>
<c-input
:disabled="model.bodgrp.rec.doctypcod === 'P'"
v-model="model.trnmod.swiadd.newmatpercnt"
v-model="model.swiadd.newmatpercnt"
placeholder="请输入修改后的付款期限"
></c-input>
</el-form-item>
......@@ -270,12 +270,12 @@
<c-col :span="4">
<el-form-item
label=""
prop="trnmod.swiadd.newmatpertyp"
prop="swiadd.newmatpertyp"
label-width="5px"
>
<c-select
:disabled="model.bodgrp.rec.doctypcod === 'P'"
v-model="model.trnmod.swiadd.newmatpertyp"
v-model="model.swiadd.newmatpertyp"
style="width: 100%"
placeholder="请输入"
>
......@@ -293,12 +293,12 @@
<c-col :span="11">
<el-form-item
label=""
prop="trnmod.swiadd.newmatperbeg"
prop="swiadd.newmatperbeg"
label-width="5px"
>
<c-select
:disabled="model.bodgrp.rec.doctypcod === 'P'"
v-model="model.trnmod.swiadd.newmatperbeg"
v-model="model.swiadd.newmatperbeg"
style="width: 100%"
placeholder="请选择"
>
......@@ -332,11 +332,11 @@
</c-col>
<c-col :span="24">
<el-form-item label="修改后的付款期限" prop="trnmod.swiadd.newmatdat">
<el-form-item label="修改后的付款期限" prop="swiadd.newmatdat">
<c-date-picker
type="date"
:disabled="model.bodgrp.rec.doctypcod === 'P'"
v-model="model.trnmod.swiadd.newmatdat"
v-model="model.swiadd.newmatdat"
style="width: 100%"
placeholder="请选择修改后的付款期限"
></c-date-picker>
......@@ -344,10 +344,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="更多的修改内容" prop="trnmod.swiadd.ametxt">
<el-form-item label="更多的修改内容" prop="swiadd.ametxt">
<c-input-format
type="textarea"
v-model="model.trnmod.swiadd.ametxt"
v-model="model.swiadd.ametxt"
:maxRows="6"
:maxCols="35"
placeholder="请输入更多的修改内容"
......@@ -375,7 +375,7 @@ export default {
watch: {
"model.bodgrp.rec.doctypcod": function () {
if (this.model.bodgrp.rec.doctypcod == "P") {
this.model.trnmod.swiadd.newmatdat = "";
this.model.swiadd.newmatdat = "";
this.model.bodgrp.rec.matdat = "";
}
},
......
......@@ -291,7 +291,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col v-if=" (model.trnmod.swiadd.Amatpertyp=='D')||(model.oldbodgrp.rec.matpertyp==''&&model.trnmod.swiadd.newmatpertyp=='')||(model.oldbodgrp.rec.matpertyp=='D' &&model.trnmod.swiadd.newmatpertyp=='')" :span="1" style="margin-left:-10px">
<c-col v-if=" (model.trnmod.swiadd.Amatpertyp=='D')||(model.oldbodgrp.rec.matpertyp==''&&model.swiadd.newmatpertyp=='')||(model.oldbodgrp.rec.matpertyp=='D' &&model.swiadd.newmatpertyp=='')" :span="1" style="margin-left:-10px">
<el-form-item label="天"> </el-form-item>
</c-col>
......
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