Commit 6c715799 by huxi

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 09c631ab 8061efe3
...@@ -19,38 +19,38 @@ export default { ...@@ -19,38 +19,38 @@ export default {
}, },
buildCommonData (model, trnName) { buildCommonData (model, trnName) {
let ptsptaList = []; let ptsptaList = [];
if (model.brdgrp.apl.pts.extkey) { if (model.bedgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.apl)); ptsptaList.push(this.buildPtspta(model.bedgrp.apl));
} }
if (model.brdgrp.ben.pts.extkey) { if (model.bedgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.ben)); ptsptaList.push(this.buildPtspta(model.bedgrp.ben));
} }
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'lid', objtyp: 'bed',
ownref: model.brdgrp.rec.ownref, ownref: model.bedgrp.rec.ownref,
opndat: model.brdgrp.rec.opndat, opndat: model.bedgrp.rec.opndat,
expdat: model.brdgrp.rec.expdat, expdat: model.bedgrp.rec.expdat,
branchInr: model.brdgrp.rec.branchInr, branchInr: model.bedgrp.rec.branchInr,
hndtyp: model.brdgrp.rec.hndtyp, hndtyp: model.bedgrp.rec.hndtyp,
gartyp: model.brdgrp.rec.gartyp, gartyp: model.bedgrp.rec.gartyp,
fingua: model.brdgrp.rec.fingua, fingua: model.bedgrp.rec.fingua,
fromflg: model.brdgrp.rec.fromflg, fromflg: model.bedgrp.rec.fromflg,
othersno: model.brdgrp.rec.othersno, othersno: model.bedgrp.rec.othersno,
sndto: model.brdgrp.rec.sndto, sndto: model.bedgrp.rec.sndto,
swiftflg: model.brtp.swiftflg, swiftflg: model.bedp.swiftflg,
brduil: model.brdgrp.rec.brduil, brduil: model.bedgrp.rec.brduil,
purpos: model.brdgrp.rec.purpos, purpos: model.bedgrp.rec.purpos,
revflg: model.brdgrp.rec.revflg, revflg: model.bedgrp.rec.revflg,
cnfsta: model.brdgrp.rec.cnfsta, cnfsta: model.bedgrp.rec.cnfsta,
}, },
cbsMap: { cbsMap: {
MAX: model.brdgrp.cbs.max, MAX: model.bedgrp.cbs.max,
OPN1: model.brdgrp.cbs.opn1, OPN1: model.bedgrp.cbs.opn1,
MAC: model.brdgrp.cbs.mac, MAC: model.bedgrp.cbs.mac,
MAC2: model.brdgrp.cbs.mac2, MAC2: model.bedgrp.cbs.mac2,
OPC2: model.brdgrp.cbs.opc2, OPC2: model.bedgrp.cbs.opc2,
CNF: model.brdgrp.cbs.cnf, CNF: model.bedgrp.cbs.cnf,
}, },
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
objtyp: 'bed', objtyp: 'bed',
objinr: model.bedgrp.rec.objinr, objinr: model.bedgrp.rec.objinr,
ownref: model.bedgrp.rec.ownref, ownref: model.bedgrp.rec.ownref,
swiftflg: model.brtp.swiftflg, swiftflg: model.bedp.swiftflg,
}, },
}; };
return params return params
......
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
brdgrp:{ bedgrp:{
rec:{ rec:{
inr:this.$route.query.inr inr:this.$route.query.inr
} }
...@@ -93,7 +93,6 @@ export default { ...@@ -93,7 +93,6 @@ export default {
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName); let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest); this.processDoctre(doctreRequest);
break; break;
default: default:
return; return;
} }
...@@ -105,15 +104,15 @@ export default { ...@@ -105,15 +104,15 @@ export default {
// 业务信息=》基本信息=》保函编号-----获取保函编号 // 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() { async queryOwnref() {
let params = { let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr, ptainr: this.model.bedgrp.apl.pts.ptainr,
businessType: 'LG', businessType: 'LC',
tbl: 'LG', tbl: 'LC',
}; };
const loading = this.loading(); const loading = this.loading();
let res = await Api.post('/service/betcan/getOwnRef', params); let res = await Api.post('/service/betcan/getOwnRef', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
loading.close(); loading.close();
this.model.gidgrp.rec.ownref = res.data; this.model.bedgrp.rec.ownref = res.data;
} }
}, },
// 获取brtacp弹框表格数据 // 获取brtacp弹框表格数据
...@@ -121,7 +120,7 @@ export default { ...@@ -121,7 +120,7 @@ export default {
let params = { let params = {
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp, ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey, extkey: this.model.bedgrp[type.toLowerCase()].pts.extkey,
}; };
let res = await Api.post('/service/ptspta/list', params); let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
...@@ -137,7 +136,7 @@ export default { ...@@ -137,7 +136,7 @@ export default {
}; };
let res = await Api.post('/service/ptspta/fetch', params); let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data); this.$set(this.model.bedgrp, row.role.toLowerCase(), res.data);
} }
}, },
// 业务信息=》基本信息=》支出目的 // 业务信息=》基本信息=》支出目的
...@@ -147,12 +146,12 @@ export default { ...@@ -147,12 +146,12 @@ export default {
// 初始化保函开立类型码表下拉列表 // 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) { async queryHndtypCodeTableList(trnName) {
let params = { let params = {
gitp: { betp: {
swiftflg: this.model.gitp.swiftflg, swiftflg: this.model.betp.swiftflg,
}, },
gidgrp: { bedgrp: {
rec: { rec: {
purpos: this.model.gidgrp.rec.purpos, purpos: this.model.bedgrp.rec.purpos,
}, },
}, },
transName: trnName.toUpperCase(), transName: trnName.toUpperCase(),
......
...@@ -175,22 +175,13 @@ export default class Betcan { ...@@ -175,22 +175,13 @@ export default class Betcan {
} }
}, },
iss: { iss: {
pts: { pts: new Pts().data,
ref: '',
nam: ''
}
}, },
ben: { ben: {
pts: { pts: new Pts().data,
ref: '',
nam: ''
}
}, },
apl: { apl: {
pts: { pts: new Pts().data,
ref: '',
nam: ''
}
} }
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb"> <!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
</el-collapse-item--> </el-collapse-item-->
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils"; import Utils from "~/utils";
import Event from "~/model/Betcan/Event"; import event from '../event';
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
export default { export default {
components: { components: {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data() { data() {
return { return {
activeNames: ["coninfp"], activeNames: ["coninfp"],
}; };
}, },
methods: { methods: {
...Event,
handleChange(val) {
console.log(val);
},
}, },
created: function () { }, created: function () { },
}; };
</script> </script>
<style> <style>
</style> </style>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
)"> )">
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 0 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf"> <c-button style="margin: 0 0 0 0; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info" style="font-size:15px"></i> <i class="el-icon-info" style="font-size:15px"></i>
</c-button> </c-button>
</template> </template>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<c-input v-model="model.bedgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号" style="width: 95%" disabled> <c-input v-model="model.bedgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号" style="width: 95%" disabled>
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 0 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf"> <c-button style="margin: 0 0 0 0; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info" style="font-size:15px"></i> <i class="el-icon-info" style="font-size:15px"></i>
</c-button> </c-button>
</template> </template>
...@@ -198,18 +198,16 @@ ...@@ -198,18 +198,16 @@
</template> </template>
<script> <script>
import Api from '~/service/Api' import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable' import CodeTable from '~/config/CodeTable'
import Event from '~/model/Betcan/Event' import event from '../event';
export default { export default {
inject: ['root'], inject: ['root'],
props: ['model', 'codes'], props: ['model', 'codes'],
mixins: [commonProcess], mixins: [event],
data() { data() {
return {} return {}
}, },
methods: { ...Event, onSeainf() { } }, methods: { },
created: function () { }, created: function () { },
} }
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" >
<el-collapse-item title="取消信息" name="canp"> <el-collapse-item title="取消信息" name="canp">
<m-canp :model="model" :codes="codes" /> <m-canp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -9,31 +9,22 @@ ...@@ -9,31 +9,22 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betcan/Event";
import Canp from "./Canp"; import Canp from "./Canp";
import event from '../event';
export default { export default {
components: { components: {
"m-canp": Canp, "m-canp": Canp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data() { data() {
return { return {
activeNames: ["canp"], activeNames: ["canp"],
}; };
}, },
methods: { methods: {
...Event,
handleChange(val) {
console.log(val);
},
}, },
created: function () { }, created: function () { },
}; };
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod :model="model" :codes="codes" @changeSetmodModel="changeSetmodModel" /> <m-setmod :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -80,11 +80,9 @@ import operationFunc from "~/mixin/operationFunc"; ...@@ -80,11 +80,9 @@ import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import formRules from '../model/check' import formRules from '../model/check'
import Betcan from "../model"; import Betcan from "../model";
import Ovwp from './Ovwp' import Ovwp from './Ovwp'
import Canp from './Canp' import Canp from './Canp'
import Addbcb from "./Addbcb" import Addbcb from "./Addbcb"
import Engp from "~/components/business/engp/views"; import Engp from "~/components/business/engp/views";
// import Ccvpan from "~/components/business/ccvpan/views"; // import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
} }
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'led', objtyp: 'LED',
ownref: model.ledgrp.rec.ownref, ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat, opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat, expdat: model.ledgrp.rec.expdat,
...@@ -113,9 +113,9 @@ export default { ...@@ -113,9 +113,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'GID', objtyp: 'LED',
objinr: model.gidgrp.rec.objinr, objinr: model.ledgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref, ownref: model.ledgrp.rec.ownref,
}, },
}; };
return params return params
...@@ -124,10 +124,10 @@ export default { ...@@ -124,10 +124,10 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'led', objtyp: 'LED',
objinr: model.ledgrp.rec.objinr, objinr: model.ledgrp.rec.objinr,
ownref: model.ledgrp.rec.ownref, ownref: model.ledgrp.rec.ownref,
swiftflg: model.brtp.swiftflg, swiftflg: model.letp.swiftflg,
}, },
}; };
return params return params
......
...@@ -116,12 +116,12 @@ export default { ...@@ -116,12 +116,12 @@ export default {
this.model.gidgrp.rec.ownref = res.data; this.model.gidgrp.rec.ownref = res.data;
} }
}, },
// 获取brtacp弹框表格数据 // 获取letame弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) { async queryGridEtyPromptDialogData(type, ptytyp) {
let params = { let params = {
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp, ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey, extkey: this.model.letgrp[type.toLowerCase()].pts.extkey,
}; };
let res = await Api.post('/service/ptspta/list', params); let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
...@@ -198,6 +198,7 @@ export default { ...@@ -198,6 +198,7 @@ export default {
default: default:
return return
} }
} },
onSeainf() {},
}, },
}; };
...@@ -32,8 +32,8 @@ export default { ...@@ -32,8 +32,8 @@ export default {
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' }
], ],
'oldledgrp.cbs.nom1.amt': [ 'oldledgrp.cbs.nom1.amt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number',required: false,message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'oldledgrp.rec.nomtop': [ 'oldledgrp.rec.nomtop': [
...@@ -49,26 +49,26 @@ export default { ...@@ -49,26 +49,26 @@ export default {
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' }
], ],
'oldledgrp.cbs.max.amt': [ 'oldledgrp.cbs.max.amt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'trnmod.swiadd.ameamt': [ 'trnmod.swiadd.ameamt': [
{ required: false, message: '必输项' }, { required: false, message: '必输项' },
{ type: 'string', max: 18, message: '整数位不能超过14位' }, { type: 'number', trigger:'blur',max: 18, message: '整数位不能超过14位' },
{ pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,3}$)|(^(\+|\-)|\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,3}$)|(^(\+|\-)|\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'letamep.engamt': [ 'letamep.engamt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'trnmod.swiadd.newamt': [ 'trnmod.swiadd.newamt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false,rigger:'blur', message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'trnmod.swiadd.newnomtop': [ 'trnmod.swiadd.newnomtop': [
...@@ -84,8 +84,8 @@ export default { ...@@ -84,8 +84,8 @@ export default {
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' }
], ],
'letamep.maxamt': [ 'letamep.maxamt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
...@@ -139,8 +139,8 @@ export default { ...@@ -139,8 +139,8 @@ export default {
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' }
], ],
'trnmod.swiadd.addamt': [ 'trnmod.swiadd.addamt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'letp.recget.sdamod.dadsnd': [ 'letp.recget.sdamod.dadsnd': [
...@@ -188,9 +188,9 @@ export default { ...@@ -188,9 +188,9 @@ export default {
{ max: 35, message: '长度不能超过35' } { max: 35, message: '长度不能超过35' }
], ],
'ledgrp.cbs.nom1.amt': [ 'ledgrp.cbs.nom1.amt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false, trigger:'blur',message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, trigger:'blur',message: '小数位不能超过3位' }
], ],
'ledgrp.ben.pts.adrblk': [ 'ledgrp.ben.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' }, { type: 'string', required: true, message: '必输项' },
...@@ -213,8 +213,8 @@ export default { ...@@ -213,8 +213,8 @@ export default {
{ max: 35, message: '长度不能超过35' } { max: 35, message: '长度不能超过35' }
], ],
'ledgrp.cbs.max.amt': [ 'ledgrp.cbs.max.amt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'ledgrp.iss.pts.ref': [ 'ledgrp.iss.pts.ref': [
...@@ -421,13 +421,13 @@ export default { ...@@ -421,13 +421,13 @@ export default {
{ max: 65, message: '长度不能超过65' } { max: 65, message: '长度不能超过65' }
], ],
'ledgrp.cbs.max2.amt': [ 'ledgrp.cbs.max2.amt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'ledgrp.cbs.opn2.amt': [ 'ledgrp.cbs.opn2.amt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'ledgrp.blk.addamtcov': [ 'ledgrp.blk.addamtcov': [
...@@ -663,7 +663,7 @@ export default { ...@@ -663,7 +663,7 @@ export default {
], ],
'liaall.outamt': [ 'liaall.outamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'liaall.outpct': [ 'liaall.outpct': [
...@@ -676,17 +676,17 @@ export default { ...@@ -676,17 +676,17 @@ export default {
], ],
'liaall.misamt': [ 'liaall.misamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'liaall.exttotoldamt': [ 'liaall.exttotoldamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'liaall.exttotamt': [ 'liaall.exttotamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'setmod.ref': [ 'setmod.ref': [
...@@ -695,7 +695,7 @@ export default { ...@@ -695,7 +695,7 @@ export default {
], ],
'setmod.docamt': [ 'setmod.docamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'setmod.zmqacc': [ 'setmod.zmqacc': [
...@@ -783,7 +783,7 @@ export default { ...@@ -783,7 +783,7 @@ export default {
], ],
'liaall.limmod.comamt': [ 'liaall.limmod.comamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'liaall.limmod.limpts.wrk.pts.nam': [ 'liaall.limmod.limpts.wrk.pts.nam': [
...@@ -796,7 +796,7 @@ export default { ...@@ -796,7 +796,7 @@ export default {
], ],
'liaall.limmod.ccvamt': [ 'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'liaall.limmod.limpts.pfcod1': [ 'liaall.limmod.limpts.pfcod1': [
...@@ -841,12 +841,12 @@ export default { ...@@ -841,12 +841,12 @@ export default {
], ],
'letp.totamt': [ 'letp.totamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, trigger:'blur',message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'letp.trnopnamt': [ 'letp.trnopnamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18,trigger:'blur', message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
], ],
'letp.trnshpdat': [ 'letp.trnshpdat': [
......
...@@ -197,7 +197,8 @@ export default class Letame { ...@@ -197,7 +197,8 @@ export default class Letame {
aplbnkdirsnd: '', aplbnkdirsnd: '',
advdat: '', advdat: '',
porloa: '', porloa: '',
apprultxt: '' apprultxt: '',
inr: '',
}, },
cbs: { cbs: {
opn2: { opn2: {
......
...@@ -19,38 +19,38 @@ export default { ...@@ -19,38 +19,38 @@ export default {
}, },
buildCommonData (model, trnName) { buildCommonData (model, trnName) {
let ptsptaList = []; let ptsptaList = [];
if (model.brdgrp.apl.pts.extkey) { if (model.ledgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.apl)); ptsptaList.push(this.buildPtspta(model.ledgrp.apl));
} }
if (model.brdgrp.ben.pts.extkey) { if (model.ledgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.ben)); ptsptaList.push(this.buildPtspta(model.ledgrp.ben));
} }
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'led', objtyp: 'led',
ownref: model.brdgrp.rec.ownref, ownref: model.ledgrp.rec.ownref,
opndat: model.brdgrp.rec.opndat, opndat: model.ledgrp.rec.opndat,
expdat: model.brdgrp.rec.expdat, expdat: model.ledgrp.rec.expdat,
branchInr: model.brdgrp.rec.branchInr, branchInr: model.ledgrp.rec.branchInr,
hndtyp: model.brdgrp.rec.hndtyp, hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.brdgrp.rec.gartyp, gartyp: model.ledgrp.rec.gartyp,
fingua: model.brdgrp.rec.fingua, fingua: model.ledgrp.rec.fingua,
fromflg: model.brdgrp.rec.fromflg, fromflg: model.ledgrp.rec.fromflg,
othersno: model.brdgrp.rec.othersno, othersno: model.ledgrp.rec.othersno,
sndto: model.brdgrp.rec.sndto, sndto: model.ledgrp.rec.sndto,
swiftflg: model.brtp.swiftflg, swiftflg: model.letp.swiftflg,
brduil: model.brdgrp.rec.brduil, brduil: model.ledgrp.rec.brduil,
purpos: model.brdgrp.rec.purpos, purpos: model.ledgrp.rec.purpos,
revflg: model.brdgrp.rec.revflg, revflg: model.ledgrp.rec.revflg,
cnfsta: model.brdgrp.rec.cnfsta, cnfsta: model.ledgrp.rec.cnfsta,
}, },
cbsMap: { cbsMap: {
MAX: model.brdgrp.cbs.max, MAX: model.ledgrp.cbs.max,
OPN1: model.brdgrp.cbs.opn1, OPN1: model.ledgrp.cbs.opn1,
MAC: model.brdgrp.cbs.mac, MAC: model.ledgrp.cbs.mac,
MAC2: model.brdgrp.cbs.mac2, MAC2: model.ledgrp.cbs.mac2,
OPC2: model.brdgrp.cbs.opc2, OPC2: model.ledgrp.cbs.opc2,
CNF: model.brdgrp.cbs.cnf, CNF: model.ledgrp.cbs.cnf,
}, },
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
objtyp: 'led', objtyp: 'led',
objinr: model.ledgrp.rec.objinr, objinr: model.ledgrp.rec.objinr,
ownref: model.ledgrp.rec.ownref, ownref: model.ledgrp.rec.ownref,
swiftflg: model.brtp.swiftflg, swiftflg: model.letp.swiftflg,
}, },
}; };
return params return params
......
...@@ -460,14 +460,12 @@ export default { ...@@ -460,14 +460,12 @@ export default {
"model.ledgrp.rec.nomtop":{ "model.ledgrp.rec.nomtop":{
immediate:true, immediate:true,
handler(val,old) { handler(val,old) {
console.log(val);
this.model.ledgrp.rec.nomtop = `${val}''`.replace(/\D/g, ''); this.model.ledgrp.rec.nomtop = `${val}''`.replace(/\D/g, '');
} }
}, },
"model.ledgrp.rec.nomton":{ "model.ledgrp.rec.nomton":{
immediate:true, immediate:true,
handler(val,old) { handler(val,old) {
console.log(val);
this.model.ledgrp.rec.nomton = `${val}''`.replace(/\D/g, ''); this.model.ledgrp.rec.nomton = `${val}''`.replace(/\D/g, '');
} }
} }
...@@ -479,6 +477,12 @@ export default { ...@@ -479,6 +477,12 @@ export default {
} }
}, },
}, },
created() {
var aData = new Date();
this.model.ledgrp.rec.opndat =
aData.getFullYear() + "-" + (aData.getMonth() + 1) + "-" + aData.getDate();
},
}; };
</script> </script>
......
...@@ -117,7 +117,7 @@ export default class Litopn { ...@@ -117,7 +117,7 @@ export default class Litopn {
nam: '', nam: '',
prepertxts18: '', prepertxts18: '',
redclsflg: '', redclsflg: '',
nomspc: 'x', nomspc: 'X',
shptrss18: '', shptrss18: '',
spcrcbflg: '', spcrcbflg: '',
shpfro: '', shpfro: '',
...@@ -128,7 +128,7 @@ export default class Litopn { ...@@ -128,7 +128,7 @@ export default class Litopn {
pordis: '', pordis: '',
shppar: '', shppar: '',
apprul: 'UCP LATEST VERSION', apprul: 'UCP LATEST VERSION',
prepers18: '21', prepers18: 21,
guaflg: '0', guaflg: '0',
expdat: '', expdat: '',
shpto: '', shpto: '',
......
...@@ -83,7 +83,6 @@ ...@@ -83,7 +83,6 @@
style="width: 100%" style="width: 100%"
placeholder="币种" placeholder="币种"
:code="codes.curtxt1" :code="codes.curtxt1"
@keyup.enter.native="nom1CurEvent"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -98,6 +97,7 @@ ...@@ -98,6 +97,7 @@
v-model="model.lidgrp.cbs.nom1.amt" v-model="model.lidgrp.cbs.nom1.amt"
style="text-align: left; width: 90%" style="text-align: left; width: 90%"
placeholder="请输入金额" placeholder="请输入金额"
@change="nomtopChange"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -629,11 +629,14 @@ export default { ...@@ -629,11 +629,14 @@ export default {
}); });
} }
}, },
handleChange(val) {
console.log(val);
},
}, },
created: function () {}, created: function () {
var aData = new Date();
console.log(aData) //Wed Aug 21 2023 10:00:58 GMT+0800 (中国标准时间)
this.model.lidgrp.rec.opndat =
aData.getFullYear() + "-" + (aData.getMonth() + 1) + "-" + aData.getDate();
console.log(this.model.lidgrp.rec.opndat) //2019-8-20
},
watch: { watch: {
"model.lidgrp.rec.apprul": { "model.lidgrp.rec.apprul": {
immediate: true, immediate: true,
...@@ -653,7 +656,7 @@ export default { ...@@ -653,7 +656,7 @@ export default {
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){ if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){
this.model.lidgrp.cbs.max.cur=this.model.lidgrp.cbs.nom1.cur; this.model.lidgrp.cbs.max.cur=this.model.lidgrp.cbs.nom1.cur;
// this.model.lidgrp.cbs.max.amt=this.model.lidgrp.cbs.nom1.amt; // this.model.lidgrp.cbs.max.amt=this.model.lidgrp.cbs.nom1.amt;
this.model.lidgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}` this.model.lidgrp.rec.nam = `${res.rec.stacty}.${res.apl.pts.adrblk.substring(0,16)} ${res.cbs.nom1.cur} ${res.cbs.nom1.amt}`
} }
} }
}, },
......
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