Commit 10584893 by liaoxing

botame修改swiadd

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