Commit 51b12d03 by liaoxing

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 57a5a9b1 4367e8a9
export default { export default {
buildPtspta (ptsptaObj) { buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts; let pts = ptsptaObj.pts;
let ptspta = { let ptspta = {
rol: pts.rol, rol: pts.rol,
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
}; };
return ptspta; return ptspta;
}, },
buildCommonData (model, trnName) { buildCommonData(model, trnName) {
let ptsptaList = []; let ptsptaList = [];
if (model.bedgrp.prb.pts.extkey) { if (model.bedgrp.prb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bedgrp.prb)); ptsptaList.push(this.buildPtspta(model.bedgrp.prb));
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
}; };
return dataObj return dataObj
}, },
buildSetfeg (model, trnName) { buildSetfeg(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaall: model.liaall, liaall: model.liaall,
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
}; };
return params return params
}, },
buildSetglg (model, trnName) { buildSetglg(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg, setfeg: model.setmod.setfeg,
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
}; };
return params return params
}, },
buildGlentry (model, trnName) { buildGlentry(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg, liaallg: model.liaall.liaallg,
...@@ -92,20 +92,20 @@ export default { ...@@ -92,20 +92,20 @@ export default {
}; };
return params return params
}, },
buildEngp (model, trnName) { buildEngp(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg, liaallg: model.liaall.liaallg,
}; };
return params return params
}, },
buildDocpan (model, trnName) { buildDocpan(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
}; };
return params return params
}, },
buildCcvpan (model, trnName) { buildCcvpan(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg, liaccvg: model.liaccv.liaccvg,
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
}; };
return params return params
}, },
buildLimitbody (model, trnName) { buildLimitbody(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
}; };
return params return params
}, },
buildDoctre (model, trnName) { buildDoctre(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
return params return params
}, },
// 公共组件setmod中dsp字段改变,触发联动时候的入参 // 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) { buildSetgllAccts(model, trnName, setglg) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
setglg setglg
......
...@@ -20,21 +20,21 @@ export default { ...@@ -20,21 +20,21 @@ export default {
...ccvpan, ...ccvpan,
...limitbody, ...limitbody,
...doctre, ...doctre,
async init () { async init() {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr, trninr: this.$route.query.trninr,
} }
if ( typeof(this.$route.query.inr) == 'string'){ if (typeof (this.$route.query.inr) == 'string') {
params.spt = null params.spt = null
} }
const res = await Api.post('/service/betdrv/init', { const res = await Api.post('/service/betdrv/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
bedgrp:{ bedgrp: {
rec:{ rec: {
inr: this.$route.query.inr inr: this.$route.query.inr
} }
}, },
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg) this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
}, },
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题 // 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) { copyValueFromVoData(model, data) {
let keysList = Object.keys(model) let keysList = Object.keys(model)
keysList.map((key) => { keysList.map((key) => {
if (data[key]) { if (data[key]) {
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
handleChangePurpos() { handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName); this.queryHndtypCodeTableList(this.root.trnName);
}, },
buildLiaccv () { buildLiaccv() {
let params = { let params = {
...buildFn.buildCommonData(this.model, this.trnName), ...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg, liaccvg: this.model.liaccv.liaccvg,
...@@ -145,11 +145,11 @@ export default { ...@@ -145,11 +145,11 @@ export default {
chgamt: this.model.liaccv.chgamt, chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur, concur: this.model.liaccv.concur,
}; };
return params return params
}, },
// 公共组件setmod处理方式改变触发联动 // 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) { changeSetmodModel(emitParams) {
let reqParams = {} let reqParams = {}
switch (emitParams.code) { switch (emitParams.code) {
case 'processMethods': case 'processMethods':
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
case 'changeDsp': case 'changeDsp':
let index = emitParams.index; let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName); let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list}; setglgRequest.setglg = { setgll: emitParams.list };
this.setgllAccts(setglgRequest, index); this.setgllAccts(setglgRequest, index);
break break
default: default:
......
...@@ -168,7 +168,7 @@ export default { ...@@ -168,7 +168,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bedgrp.blk.matper":[ "bedgrp.blk.matper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"bedgrp.prb.adrelc":[ "bedgrp.prb.adrelc":[
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ledgrp.rec.utlnbr":[ "ledgrp.rec.utlnbr":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{ max: 999,message:"长度不能超过3"} { max: 999,message:"长度不能超过3"}
], ],
// "bedgrp.blk.docdis":[ // "bedgrp.blk.docdis":[
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
// {max: 3500,message:"长度不能超过3500"} // {max: 3500,message:"长度不能超过3500"}
// ], // ],
"bedgrp.blk.intdis":[ "bedgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1300,message:"长度不能超过1300"} {max: 1300,message:"长度不能超过1300"}
], ],
"bedgrp.oth.pts.ref":[ "bedgrp.oth.pts.ref":[
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"bedgrp.blk.comcon":[ "bedgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1300,message:"长度不能超过1300"} {max: 1300,message:"长度不能超过1300"}
], ],
"bedgrp.blk.setinsbe":[ "bedgrp.blk.setinsbe":[
......
...@@ -42,13 +42,6 @@ export default { ...@@ -42,13 +42,6 @@ export default {
branchInr: model.ledgrp.rec.branchinr, branchInr: model.ledgrp.rec.branchinr,
hndtyp: model.ledgrp.rec.hndtyp, hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.ledgrp.rec.gartyp, gartyp: model.ledgrp.rec.gartyp,
fingua: model.ledgrp.rec.fingua,
// segtyp: model.bedgrp.ghd.segtyp,
fromflg: model.ledgrp.rec.fromflg,
othersno: model.ledgrp.rec.othersno,
sndto: model.ledgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.ledgrp.rec.giduil,
purpos: model.ledgrp.rec.purpos, purpos: model.ledgrp.rec.purpos,
revflg: model.ledgrp.rec.revflg, revflg: model.ledgrp.rec.revflg,
cnfsta: model.ledgrp.rec.cnfsta, cnfsta: model.ledgrp.rec.cnfsta,
......
...@@ -60,17 +60,17 @@ export default { ...@@ -60,17 +60,17 @@ export default {
{ max: 40, message: "长度不能超过40" } { max: 40, message: "长度不能超过40" }
], ],
"ledgrp.rec.opndat": [ "ledgrp.rec.opndat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"ledgrp.rec.shpdat": [ "ledgrp.rec.shpdat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"bedgrp.prb.pts.ref": [ "bedgrp.prb.pts.ref": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"ledgrp.rec.expdat": [ "ledgrp.rec.expdat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"ledgrp.rec.expplc": [ "ledgrp.rec.expplc": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -127,10 +127,10 @@ export default { ...@@ -127,10 +127,10 @@ export default {
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"bedgrp.rec.rcvdat": [ "bedgrp.rec.rcvdat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"bedgrp.rec.orddat": [ "bedgrp.rec.orddat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"bedgrp.prb.pts.adrblk": [ "bedgrp.prb.pts.adrblk": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -141,10 +141,10 @@ export default { ...@@ -141,10 +141,10 @@ export default {
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"bedgrp.rec.matdat": [ "bedgrp.rec.matdat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"bedgrp.rec.shpdat": [ "bedgrp.rec.shpdat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"bedgrp.prb.adrelc": [ "bedgrp.prb.adrelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
// { max: 60, message: "长度不能超过60" } // { max: 60, message: "长度不能超过60" }
// ], // ],
"mtabut.coninf.conexedat": [ "mtabut.coninf.conexedat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"mtabut.coninf.usr.extkey": [ "mtabut.coninf.usr.extkey": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -325,7 +325,7 @@ export default { ...@@ -325,7 +325,7 @@ export default {
{ max: 80, message: "长度不能超过80" } { max: 80, message: "长度不能超过80" }
], ],
"bedgrp.srm.djudat": [ "bedgrp.srm.djudat": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"bedgrp.srm.djuref": [ "bedgrp.srm.djuref": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input-currency <c-input-currency
v-model="maxamt" v-model="model.bedgrp.cbs.max.amt"
placeholder="请输入金额" placeholder="请输入金额"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
...@@ -638,17 +638,17 @@ export default { ...@@ -638,17 +638,17 @@ export default {
this.model.bedgrp.cbs.max.cur = this.model.ledgrp.cbs.nom1.cur this.model.bedgrp.cbs.max.cur = this.model.ledgrp.cbs.nom1.cur
return this.model.bedgrp.cbs.max.cur return this.model.bedgrp.cbs.max.cur
}, },
maxamt:{ // maxamt:{
get:function (){ // get:function (){
// this.model.bedgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt // // this.model.bedgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt
return this.model.bedgrp.cbs.max.amt // return this.model.bedgrp.cbs.max.amt
}, // },
// set:function (newVal){ // // set:function (newVal){
// this.model.bedgrp.cbs.max.amt = newVal // // this.model.bedgrp.cbs.max.amt = newVal
// } // // }
set:function (){} // set:function (){}
}, // },
opn2cur(){ opn2cur(){
this.model.bedgrp.cbs.opn2.cur = this.model.ledgrp.cbs.nom1.cur this.model.bedgrp.cbs.opn2.cur = this.model.ledgrp.cbs.nom1.cur
return this.model.bedgrp.cbs.opn2.cur return this.model.bedgrp.cbs.opn2.cur
......
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