Commit bc35d1b4 by liaoxing

betdcr 修改

parent d01f8401
...@@ -34,6 +34,7 @@ export default { ...@@ -34,6 +34,7 @@ export default {
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'BED', objtyp: 'BED',
inr: model.bedgrp.rec.inr,
ownref: model.bedgrp.rec.ownref, ownref: model.bedgrp.rec.ownref,
predat: model.bedgrp.rec.predat, predat: model.bedgrp.rec.predat,
rcvdat: model.bedgrp.rec.rcvdat, rcvdat: model.bedgrp.rec.rcvdat,
...@@ -45,6 +46,7 @@ export default { ...@@ -45,6 +46,7 @@ export default {
docprbrol: model.bedgrp.rec.docprbrol, docprbrol: model.bedgrp.rec.docprbrol,
advdocflg: model.bedgrp.rec.advdocflg, advdocflg: model.bedgrp.rec.advdocflg,
rejpenins: model.rejpenins, rejpenins: model.rejpenins,
chato: model.ledgrp.rec.chato,
}, },
cbsMap: { cbsMap: {
...@@ -115,22 +117,22 @@ export default { ...@@ -115,22 +117,22 @@ export default {
buildLimitbody (model, trnName) { buildLimitbody (model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { // rec: {
objtyp: 'BED', // objtyp: 'BED',
objinr: model.bedgrp.rec.objinr, // objinr: model.bedgrp.rec.objinr,
ownref: model.bedgrp.rec.ownref, // ownref: model.bedgrp.rec.ownref,
}, // },
}; };
return params return params
}, },
buildDoctre (model, trnName) { buildDoctre (model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { // rec: {
objtyp: 'BED', // objtyp: 'BED',
objinr: model.bedgrp.rec.objinr, // objinr: model.bedgrp.rec.objinr,
ownref: model.bedgrp.rec.ownref, // ownref: model.bedgrp.rec.ownref,
}, // },
}; };
return params return params
}, },
......
...@@ -7,14 +7,15 @@ export default class Betdcr { ...@@ -7,14 +7,15 @@ export default class Betdcr {
adaflg: '', adaflg: '',
docgrdm:{ docgrdm:{
docgrd:'', docgrdVos:'',
}, },
}, },
advdisflg: '', advdisflg: '',
ledgrp: { ledgrp: {
rec: { rec: {
inr: '', inr: '',
ownref: '' ownref: '',
chato: ''
}, },
cbs: { cbs: {
opn1: { opn1: {
......
...@@ -113,7 +113,12 @@ export default { ...@@ -113,7 +113,12 @@ export default {
}, },
rejpenins: { rejpenins: {
get() { get() {
return this.model.rejpenins != ""; if(this.model.bedgrp.rec.advdocflg == ''){
return this.model.rejpenins = "X"
}
else{
return this.model.rejpenins = "";
}
}, },
set(val) { set(val) {
this.model.rejpenins = val ? "X" : ""; this.model.rejpenins = val ? "X" : "";
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据简略信息" prop="bedgrp.rec.nam"> <el-form-item label="单据简略信息" prop="bedgrp.rec.nam">
<c-input v-model="model.bedgrp.rec.nam" maxlength="40" placeholder="请输入单据简略信息" disabled></c-input> <c-input v-model="bedgrprecnam" maxlength="40" placeholder="请输入单据简略信息" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -267,6 +267,10 @@ export default { ...@@ -267,6 +267,10 @@ export default {
this.model.advdisflg = val ? "X" : ""; this.model.advdisflg = val ? "X" : "";
}, },
}, },
bedgrprecnam(){
this.model.bedgrp.rec.nam =(this.model.bedgrp.cbs.max.cur + " " + this.model.bedgrp.cbs.max.amt + " " + this.model.bedgrp.prb.pts.nam).substring(0,40)
return this.model.bedgrp.rec.nam;
}
}, },
methods: {}, methods: {},
created: function () {}, created: function () {},
......
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