Commit 5c112ac0 by 李少勇

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 23db0093 381ca684
import Api from "~/service/Api"
export default {
methods: {
// 提交
handleSubmit () {
handleSubmit() {
console.log('提交', this.model)
},
// 检核
handleCheck () {
this.$refs['modelForm'].validate((valid) => {
console.log('valid', valid)
async handleCheck() {
// this.$refs['modelForm'].validate((valid) => {
// console.log('valid', valid)
// })
const loading = this.loading("正在校验数据")
const rtnmsg = await Api.post(this.requestPrefix + "/checkAll", {
...this.model,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL'
})
console.log(111)
if (rtnmsg.respCode === SUCCESS) {
this.updateValueSet(rtnmsg.codeSet)
}
if (rtnmsg.respCode === SUCCESS) {
const fieldErrors = rtnmsg.fieldErrors;
this.updateModel(rtnmsg.data);
if (fieldErrors && Object.keys(fieldErrors).length === 0) {
// 清除之前的校验状态
this.getRoot().$refs.modelForm.clearValidate();
this.$notify({
title: "成功",
message: "校验成功",
type: "success",
});
return
}
}
loading.close()
},
// 暂存
handleStash () {
handleStash() {
console.log('暂存')
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData (key) {
queryFormData(key) {
console.log(key)
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref () {
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
......@@ -35,7 +60,7 @@ export default {
}
},
// 获取gitopn弹框表格数据
async queryGridEtyPromptDialogData (type, ptytyp) {
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
......@@ -49,7 +74,7 @@ export default {
}
},
// 选中gitopn弹框表格的行数据
async selectGridEtyPromptData (row) {
async selectGridEtyPromptData(row) {
let params = {
...row
}
......@@ -59,11 +84,11 @@ export default {
}
},
// 业务信息=》基本信息=》支出目的
purposChange (key, value) {
console.log(key, value)
purposChange(key, value) {
this.handleChangeForm(key, value)
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList (trnName) {
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg
......@@ -73,7 +98,7 @@ export default {
purpos: this.model.gidgrp.rec.purpos
}
},
transName : trnName.toUpperCase()
transName: trnName.toUpperCase()
}
let res = await Api.post('/service/gitopn/initHndtyp', params)
if (res.respCode == SUCCESS) {
......@@ -81,11 +106,11 @@ export default {
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg () {
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName)
},
// 支出目的修改--联动保函开立类型
handleChangePurpos () {
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName)
}
},
......
......@@ -17,7 +17,7 @@ export default class Gitopn{
prepermodflg: '', // Modify Document and Presentation Instructions .gitp.prepermodflg
chkpreper: '', // Allow * .gitp.chkpreper
covgodsrvmodflg: '', // Modify Object of Contract .gitp.covgodsrvmodflg
indirectswiadd:{}, // InDirect Swift Add .gitp.indirectswiadd
indirectswiadd:'', // InDirect Swift Add .gitp.indirectswiadd
gidtxtmodflg: '', // Modify Guarantee Text .gitp.gidtxtmodflg
chkgidtxt: '', // Allow * .gitp.chkgidtxt
prepercmodflg: '', // Modify Document and Presentation Instructions .gitp.prepercmodflg
......@@ -43,6 +43,7 @@ export default class Gitopn{
},
gidgrp:{
rec:{
branchinr: '00000047',
ownref: '', // Reference .gidgrp.rec.ownref
purposin: '', // Incoming Purpose .gidgrp.rec.purposin
purpos: '', // Outgoing Purpose .gidgrp.rec.purpos
......@@ -174,6 +175,7 @@ export default class Gitopn{
gidcxm:{
warran: '', // 被保证人 .gidgrp.gidcxm.warran
cxmflg: '', // 是否显示查询码 .gidgrp.gidcxm.cxmflg
benefi: '', // 受益人名称 .gidgrp.gidcxm.benefi
},
ben:{
pts:new Pts().data,
......@@ -199,10 +201,6 @@ export default class Gitopn{
avc:{
pts:new Pts().data,
},
gidcxm:{
benefi: '', // 受益人名称 .gidgrp.gidcxm.benefi
warran: '', // 被保证人 .gidgrp.gidcxm.warran
},
cnr:{
pts:new Pts().data,
},
......
import Pts from "~/model/Common/Pts"
export default class Getsel{
constructor () {
this.data = {
selbut:{
dsppndclm:"", // Display Pending Claims .selbut.dsppndclm
dspclsdat:"", // Label Closed .selbut.dspclsdat
dspamenbr:"", // Display No of amendments .selbut.dspamenbr
dsppndram:"", // Display Number of Req. of Amendment .selbut.dsppndram
sptpenlab:"", // Label showing pending items stored for contract .selbut.sptpenlab
trnpenlab:"", // Label showing stored uncommited transactions for contract .selbut.trnpenlab
sptpenlab_descr:"", // Description for SPTPENLAB .selbut.sptpenlab_descr
trnpenlab_descr:"", // Description for TRNPENLAB .selbut.trnpenlab_descr
},
dspgcdclsdat:"", // Display Closing Date of Claims .dspgcdclsdat
gidgrp:{
rec:{
inr:"",
ownref:"", // Reference .gidgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gidgrp.rec.nam
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Validity .gidgrp.rec.expdat
liadat:"", // Our Liability .gidgrp.rec.liadat
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
},
cbs:{
max:{
cur:"", // Guarantee Amount .gidgrp.cbs.max.cur
amt:"", // Balance .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
adv:{
pts:new Pts().data,
},
},
recget:{
sdamod:{
seainf:"", // .recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recget.sdamod.dadsnd
},
},
clsflg:"", // Show closed Contract .clsflg
explab:"", // Label unlimited Validity .explab
aplmullab:"", // Label, that is set, if there are multiple applicants .aplmullab
lialab:"", // Label unlimited lLability .lialab
expfldlab:"", // Label for Field Validity .expfldlab
liafldlab:"", // Label for Field Lability .liafldlab
aamgid:{
addamtflg:"", // Add. Amount .aamgid.addamtflg
},
gcdgrp:{
rec:{
ownref:"", // Claim Reference .gcdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gcdgrp.rec.nam
docprbrol:"", // Presented by .gcdgrp.rec.docprbrol
clmdat:"", // Date of Claim .gcdgrp.rec.clmdat
},
cbs:{
max:{
cur:"", // Claim Amount .gcdgrp.cbs.max.cur
amt:"", // Balance .gcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gcdgrp.cbs.opn1.cur
amt:"", // Balance .gcdgrp.cbs.opn1.amt
},
},
},
gcdget:{
sdamod:{
seainf:"", // .gcdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gcdget.sdamod.dadsnd
},
clsflg:"", // which contracts to show .gcdget.clsflg
},
cfgfil:{
btnstm:[],
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
regside3:"", // Regside .cfgfil.regside3
regside4:"", // Regside .cfgfil.regside4
regside5:"", // Regside .cfgfil.regside5
regside6:"", // Regside .cfgfil.regside6
regside7:"", // Regside .cfgfil.regside7
regside8:"", // Regside .cfgfil.regside8
regside9:"", // Regside .cfgfil.regside9
regside10:"", // Regside .cfgfil.regside10
regside11:"", // Regside .cfgfil.regside11
regside12:"", // Regside .cfgfil.regside12
subtxt1:"", // submenu text 1 .cfgfil.subtxt1
subtxt2:"", // submenu text 2 .cfgfil.subtxt2
subtxt3:"", // submenu text 3 .cfgfil.subtxt3
subtxt4:"", // submenu text 4 .cfgfil.subtxt4
subtxt5:"", // submenu text 5 .cfgfil.subtxt5
subtxt6:"", // submenu text 6 .cfgfil.subtxt6
subtxt7:"", // submenu text 7 .cfgfil.subtxt7
subtxt8:"", // submenu text 8 .cfgfil.subtxt8
subtxt9:"", // submenu text 9 .cfgfil.subtxt9
subtxt10:"", // submenu text 10 .cfgfil.subtxt10
subtxt11:"", // submenu text 11 .cfgfil.subtxt11
regtxt1:"", // Register text 1 .cfgfil.regtxt1
regtxt2:"", // Register text 2 .cfgfil.regtxt2
regtxt3:"", // Register text 3 .cfgfil.regtxt3
regtxt4:"", // Register text 4 .cfgfil.regtxt4
regtxt5:"", // Register text 5 .cfgfil.regtxt5
regtxt6:"", // Register text 6 .cfgfil.regtxt6
regtxt7:"", // Register text 7 .cfgfil.regtxt7
regtxt8:"", // Register text 8 .cfgfil.regtxt8
regtxt9:"", // Register text 9 .cfgfil.regtxt9
regtxt10:"", // Register text 10 .cfgfil.regtxt10
regtxt11:"", // Register text 11 .cfgfil.regtxt11
regtxt12:"", // Register text 12 .cfgfil.regtxt12
hotsub1:"", // hotspot submenu 1 .cfgfil.hotsub1
hotsub2:"", // hotspot submenu 1 .cfgfil.hotsub2
hotsub3:"", // hotspot submenu 1 .cfgfil.hotsub3
hotsub4:"", // hotspot submenu 1 .cfgfil.hotsub4
hotsub5:"", // hotspot submenu 1 .cfgfil.hotsub5
hotsub6:"", // hotspot submenu 1 .cfgfil.hotsub6
hotsub7:"", // hotspot submenu 1 .cfgfil.hotsub7
hotsub8:"", // hotspot submenu 1 .cfgfil.hotsub8
hotsub9:"", // hotspot submenu 1 .cfgfil.hotsub9
hotsub10:"", // hotspot submenu 1 .cfgfil.hotsub10
hotsub11:"", // hotspot submenu 1 .cfgfil.hotsub11
hotreg1:"", // hotspot reg1 .cfgfil.hotreg1
hotreg2:"", // hotspot reg2 .cfgfil.hotreg2
hotreg3:"", // hotspot reg3 .cfgfil.hotreg3
hotreg4:"", // hotspot reg4 .cfgfil.hotreg4
hotreg5:"", // hotspot reg5 .cfgfil.hotreg5
hotreg6:"", // hotspot reg6 .cfgfil.hotreg6
hotreg7:"", // hotspot reg7 .cfgfil.hotreg7
hotreg8:"", // hotspot reg8 .cfgfil.hotreg8
hotreg9:"", // hotspot reg9 .cfgfil.hotreg9
hotreg10:"", // hotspot reg10 .cfgfil.hotreg10
hotreg11:"", // hotspot reg11 .cfgfil.hotreg11
hotreg12:"", // hotspot reg12 .cfgfil.hotreg12
subtrn1:"", // Submenu trn 1 .cfgfil.subtrn1
subtrn2:"", // Submenu trn 2 .cfgfil.subtrn2
subtrn3:"", // Submenu trn 3 .cfgfil.subtrn3
subtrn4:"", // Submenu trn 4 .cfgfil.subtrn4
subtrn5:"", // Submenu trn 5 .cfgfil.subtrn5
subtrn6:"", // Submenu trn 6 .cfgfil.subtrn6
subtrn7:"", // Submenu trn 7 .cfgfil.subtrn7
subtrn8:"", // Submenu trn 8 .cfgfil.subtrn8
subtrn9:"", // Submenu trn 9 .cfgfil.subtrn9
subtrn10:"", // Submenu trn 10 .cfgfil.subtrn10
subtrn11:"", // Submenu trn 11 .cfgfil.subtrn11
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Pts from "~/model/Common/Pts"
export default class Gitsel{
constructor () {
this.data = {
selbut:{
dsppndclm:"", // Display Pending Claims .selbut.dsppndclm
dspclsdat:"", // Label Closed .selbut.dspclsdat
dspamenbr:"", // Display No of amendments .selbut.dspamenbr
dsppndram:"", // Display Number of Req. of Amendment .selbut.dsppndram
sptpenlab:"", // Label showing pending items stored for contract .selbut.sptpenlab
trnpenlab:"", // Label showing stored uncommited transactions for contract .selbut.trnpenlab
sptpenlab_descr:"", // Description for SPTPENLAB .selbut.sptpenlab_descr
trnpenlab_descr:"", // Description for TRNPENLAB .selbut.trnpenlab_descr
},
dspgcdclsdat:"", // Display Closing Date of Claims .dspgcdclsdat
gidgrp:{
rec:{
ownref:"", // Reference .gidgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gidgrp.rec.nam
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Validity .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
purposin:"", // Incoming Purpose .gidgrp.rec.purposin
purpos:"", // Purpose of Message .gidgrp.rec.purpos
exptyp:"", // Expiry Type .gidgrp.rec.exptyp
liatypc:"", // Liability Type - Local Undertaking Seq. C .gidgrp.rec.liatypc
},
cbs:{
max:{
cur:"", // Guarantee Amount .gidgrp.cbs.max.cur
amt:"", // Balance .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
adv:{
pts:new Pts().data,
},
ctr:{
pts:new Pts().data,
},
},
recget:{
sdamod:{
seainf:"", // .recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recget.sdamod.dadsnd
},
},
clsflg:"", // Show closed Contract .clsflg
explab:"", // Label unlimited Validity .explab
aplmullab:"", // Label, that is set, if there are multiple applicants .aplmullab
lialab:"", // Label unlimited lLability .lialab
expfldlab:"", // Label for Field Validity .expfldlab
liafldlab:"", // Label for Field Lability .liafldlab
aamgid:{
addamtflg:"", // Add. Amount .aamgid.addamtflg
},
gcdgrp:{
rec:{
ownref:"", // Claim Reference .gcdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gcdgrp.rec.nam
docprbrol:"", // Presented by .gcdgrp.rec.docprbrol
clmdat:"", // Date of Claim .gcdgrp.rec.clmdat
},
cbs:{
max:{
cur:"", // Claim Amount .gcdgrp.cbs.max.cur
amt:"", // Balance .gcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gcdgrp.cbs.opn1.cur
amt:"", // Balance .gcdgrp.cbs.opn1.amt
},
},
},
gcdget:{
sdamod:{
seainf:"", // .gcdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gcdget.sdamod.dadsnd
},
clsflg:"", // which contracts to show .gcdget.clsflg
},
cfgfil:{
btnstm:[],
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
regside3:"", // Regside .cfgfil.regside3
regside4:"", // Regside .cfgfil.regside4
regside5:"", // Regside .cfgfil.regside5
regside6:"", // Regside .cfgfil.regside6
regside7:"", // Regside .cfgfil.regside7
regside8:"", // Regside .cfgfil.regside8
regside9:"", // Regside .cfgfil.regside9
regside10:"", // Regside .cfgfil.regside10
regside11:"", // Regside .cfgfil.regside11
regside12:"", // Regside .cfgfil.regside12
subtxt1:"", // submenu text 1 .cfgfil.subtxt1
subtxt2:"", // submenu text 2 .cfgfil.subtxt2
subtxt3:"", // submenu text 3 .cfgfil.subtxt3
subtxt4:"", // submenu text 4 .cfgfil.subtxt4
subtxt5:"", // submenu text 5 .cfgfil.subtxt5
subtxt6:"", // submenu text 6 .cfgfil.subtxt6
subtxt7:"", // submenu text 7 .cfgfil.subtxt7
subtxt8:"", // submenu text 8 .cfgfil.subtxt8
subtxt9:"", // submenu text 9 .cfgfil.subtxt9
subtxt10:"", // submenu text 10 .cfgfil.subtxt10
subtxt11:"", // submenu text 11 .cfgfil.subtxt11
regtxt1:"", // Register text 1 .cfgfil.regtxt1
regtxt2:"", // Register text 2 .cfgfil.regtxt2
regtxt3:"", // Register text 3 .cfgfil.regtxt3
regtxt4:"", // Register text 4 .cfgfil.regtxt4
regtxt5:"", // Register text 5 .cfgfil.regtxt5
regtxt6:"", // Register text 6 .cfgfil.regtxt6
regtxt7:"", // Register text 7 .cfgfil.regtxt7
regtxt8:"", // Register text 8 .cfgfil.regtxt8
regtxt9:"", // Register text 9 .cfgfil.regtxt9
regtxt10:"", // Register text 10 .cfgfil.regtxt10
regtxt11:"", // Register text 11 .cfgfil.regtxt11
regtxt12:"", // Register text 12 .cfgfil.regtxt12
hotsub1:"", // hotspot submenu 1 .cfgfil.hotsub1
hotsub2:"", // hotspot submenu 1 .cfgfil.hotsub2
hotsub3:"", // hotspot submenu 1 .cfgfil.hotsub3
hotsub4:"", // hotspot submenu 1 .cfgfil.hotsub4
hotsub5:"", // hotspot submenu 1 .cfgfil.hotsub5
hotsub6:"", // hotspot submenu 1 .cfgfil.hotsub6
hotsub7:"", // hotspot submenu 1 .cfgfil.hotsub7
hotsub8:"", // hotspot submenu 1 .cfgfil.hotsub8
hotsub9:"", // hotspot submenu 1 .cfgfil.hotsub9
hotsub10:"", // hotspot submenu 1 .cfgfil.hotsub10
hotsub11:"", // hotspot submenu 1 .cfgfil.hotsub11
hotreg1:"", // hotspot reg1 .cfgfil.hotreg1
hotreg2:"", // hotspot reg2 .cfgfil.hotreg2
hotreg3:"", // hotspot reg3 .cfgfil.hotreg3
hotreg4:"", // hotspot reg4 .cfgfil.hotreg4
hotreg5:"", // hotspot reg5 .cfgfil.hotreg5
hotreg6:"", // hotspot reg6 .cfgfil.hotreg6
hotreg7:"", // hotspot reg7 .cfgfil.hotreg7
hotreg8:"", // hotspot reg8 .cfgfil.hotreg8
hotreg9:"", // hotspot reg9 .cfgfil.hotreg9
hotreg10:"", // hotspot reg10 .cfgfil.hotreg10
hotreg11:"", // hotspot reg11 .cfgfil.hotreg11
hotreg12:"", // hotspot reg12 .cfgfil.hotreg12
subtrn1:"", // Submenu trn 1 .cfgfil.subtrn1
subtrn2:"", // Submenu trn 2 .cfgfil.subtrn2
subtrn3:"", // Submenu trn 3 .cfgfil.subtrn3
subtrn4:"", // Submenu trn 4 .cfgfil.subtrn4
subtrn5:"", // Submenu trn 5 .cfgfil.subtrn5
subtrn6:"", // Submenu trn 6 .cfgfil.subtrn6
subtrn7:"", // Submenu trn 7 .cfgfil.subtrn7
subtrn8:"", // Submenu trn 8 .cfgfil.subtrn8
subtrn9:"", // Submenu trn 9 .cfgfil.subtrn9
subtrn10:"", // Submenu trn 10 .cfgfil.subtrn10
subtrn11:"", // Submenu trn 11 .cfgfil.subtrn11
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -563,34 +563,9 @@
</el-table>
</c-col>
</div>
<div v-if="dialogFlag" class="m-list-btns">
<m-busbtn
ref="childs"
:ownref="ownref"
ownrefPath="gidgrp"
:model="gitselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-else>
<m-busbtn
ref="childs"
:ownref="ownref"
ownrefPath="gidgrp"
:model="getselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
import BusNavbar from "~/views/Public/BusNavbar";
......
......@@ -22,7 +22,7 @@ export default {
methods: {
getTrnType() {
const type = this.root ? this.root.trnType : this.trnType
return type ? type : 'business'
return type ? type : 'service'
}
}
}
\ No newline at end of file
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