Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
5e5e87b1
Commit
5e5e87b1
authored
Sep 09, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cltdav优化
parent
7644c663
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
458 additions
and
365 deletions
+458
-365
Event.js
src/model/Cltdav/Event.js
+43
-1
index.js
src/model/Cltdav/index.js
+95
-107
Account.vue
src/views/Business/Cltdav/Account.vue
+37
-32
Sel.vue
src/views/Business/Cltdav/Sel.vue
+211
-160
index.vue
src/views/Business/Cltdav/index.vue
+72
-65
No files found.
src/model/Cltdav/Event.js
View file @
5e5e87b1
...
...
@@ -2,11 +2,53 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
handleSearch
()
{
// this.stmData.data = [];
let
colflg
=
this
.
model
.
cldgrp
.
rec
.
colflg
;
if
(
!
colflg
||
colflg
==
''
)
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'Payemnt Disposition必输!'
});
return
;
}
let
cur
=
this
.
model
.
cur
;
if
(
!
cur
||
cur
==
''
)
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'cur必输!'
});
return
;
}
let
rtnmsg
=
await
this
.
executeRule
(
"butsea"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
model
.
bptbckg
.
docgrd
=
rtnmsg
.
data
.
ccdbatg
;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
console
.
log
(
this
.
model
.
bptbckg
.
docgrd
);
},
async
handleReset
()
{
// this.model.infcon.seaownref = ""
// this.model.infcon.opndatfrom = new Date();
// this.model.infcon.opndatto = new Date();
// this.model.infcon.searef = "";
// this.model.infcon.pty.extkey = "";
// this.model.infcon.usr.extkey = "";
// this.model.infcon.searol = "";
// this.model.infcon.pty.nam = "";
// this.model.infcon.seapty = "";
// this.model.infcon.curtxt1 = "";
// this.model.infcon.nam = "";
// this.model.infcon.seaamtfr = "";
// this.model.infcon.seaamtto = "";
// this.model.infcon.seasta = "";
// this.model.infcon.doctypcod = "";
},
async
onCltpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cltp.butgetref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
model
.
cldgrp
.
rec
.
ownref
=
rtnmsg
.
data
.
cldgrp_rec_ownref
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
...
...
src/model/Cltdav/index.js
View file @
5e5e87b1
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
export
default
class
Cltdav
{
constructor
()
{
this
.
data
=
{
export
default
class
Cltdav
{
constructor
()
{
this
.
data
=
{
cltdavl2blk
:
""
,
cltdavl1blk
:
""
,
bptbckg
:
[],
liaall
:
new
Pub
().
data
.
Liaall
,
cldgrp
:{
rec
:{
ownref
:
""
,
// Batch No. .cldgrp.rec.ownref
valdat
:
""
,
// Value Date .cldgrp.rec.valdat
credat
:
""
,
// Date of creation .cldgrp.rec.credat
colflg
:
""
,
// Payemnt Disposition .cldgrp.rec.colflg
regref
:
""
,
// Register Ref. .cldgrp.rec.regref
count
:
""
,
// ITEM COUNT .cldgrp.rec.count
colref
:
""
,
// COLL BANK REF .cldgrp.rec.colref
nam
:
""
,
// Name of CC contract .cldgrp.rec.nam
creact
:
""
,
// Credit to Account .cldgrp.rec.creact
acno
:
""
,
// A/C NO. .cldgrp.rec.acno
},
col
:{
pts
:
new
Pts
().
data
,
},
blk
:{
setins
:
""
,
// Settlement Instructions .cldgrp.blk.setins
},
cldgrp
:
{
rec
:
{
ownref
:
""
,
// Batch No. .cldgrp.rec.ownref
valdat
:
""
,
// Value Date .cldgrp.rec.valdat
credat
:
""
,
// Date of creation .cldgrp.rec.credat
colflg
:
""
,
// Payemnt Disposition .cldgrp.rec.colflg
regref
:
""
,
// Register Ref. .cldgrp.rec.regref
count
:
""
,
// ITEM COUNT .cldgrp.rec.count
colref
:
""
,
// COLL BANK REF .cldgrp.rec.colref
nam
:
""
,
// Name of CC contract .cldgrp.rec.nam
creact
:
""
,
// Credit to Account .cldgrp.rec.creact
acno
:
""
,
// A/C NO. .cldgrp.rec.acno
},
col
:
{
pts
:
new
Pts
().
data
,
},
blk
:
{
setins
:
""
,
// Settlement Instructions .cldgrp.blk.setins
},
},
rowcntr
:
""
,
// Total Row Count .rowcntr
cur
:
""
,
// currency .cur
amount
:
""
,
// AMOUNT .amount
items
:
""
,
// Item Count .items
colbnk
:
""
,
// Collection Bank .colbnk
cltp
:
{
colp
:
{
ptsget
:
{
sdamod
:
{
dadsnd
:
""
,
// Drag Drop Sender .cltp.colp.ptsget.sdamod.dadsnd
seainf
:
""
,
// .cltp.colp.ptsget.sdamod.seainf
},
rowcntr
:
""
,
// Total Row Count .rowcntr
cur
:
""
,
// currency .cur
amount
:
""
,
// AMOUNT .amount
items
:
""
,
// Item Count .items
colbnk
:
""
,
// Collection Bank .colbnk
cltp
:{
colp
:{
ptsget
:{
sdamod
:{
dadsnd
:
""
,
// Drag Drop Sender .cltp.colp.ptsget.sdamod.dadsnd
seainf
:
""
,
// .cltp.colp.ptsget.sdamod.seainf
},
},
},
},
colmet
:
""
,
// Collection Method .colmet
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
trnmod
:
new
Pub
().
data
.
Trnmod
,
mtabut
:{
coninf
:{
oitinf
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
usr
:{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
},
},
},
setmod
:{
docamttyplab
:
""
,
// settled amount description as label .setmod.docamttyplab
retmsg
:
""
,
// Label showing Retry overflow condition .setmod.retmsg
ref
:
""
,
// our reference .setmod.ref
doccur
:
""
,
// document currency .setmod.doccur
docamt
:
""
,
// document amount .setmod.docamt
dspflg
:
""
,
// Type of settlement .setmod.dspflg
xreflg
:
""
,
// Recalculate Rates .setmod.xreflg
setglg
:{
labdspflg
:
""
,
// Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
setfog
:{
setfol
:[]
},
setfeg
:{
setfel
:[]
},
glemod
:{
gleshwstm
:
{}
},
},
modflg
:
""
,
// MODIFY .modflg
pageId
:
""
// ctx的key
}
}
},
},
},
colmet
:
""
,
// Collection Method .colmet
trnmod
:
new
Pub
().
data
.
Trnmod
,
// mtabut: {
// coninf: {
// oitinf: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat: "", // 执行日期 .mtabut.coninf.conexedat
// usr: {
// extkey: "", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
mtabut
:
new
Pub
().
data
.
Mtabut
,
// setmod: {
// docamttyplab: "", // settled amount description as label .setmod.docamttyplab
// retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
// ref: "", // our reference .setmod.ref
// doccur: "", // document currency .setmod.doccur
// docamt: "", // document amount .setmod.docamt
// dspflg: "", // Type of settlement .setmod.dspflg
// xreflg: "", // Recalculate Rates .setmod.xreflg
// setglg: {
// labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
// setfog: {
// setfol: []
// },
// setfeg: {
// setfel: []
// },
// glemod: {
// gleshwstm: {}
// },
// },
setmod
:
new
Pub
().
data
.
Setmod
,
modflg
:
""
,
// MODIFY .modflg
pageId
:
""
// ctx的key
}
}
}
\ No newline at end of file
src/views/Business/Cltdav/Account.vue
View file @
5e5e87b1
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Credit to Account"
prop=
"cldgrp.rec.creact"
>
<c-select
v-model=
"model.cldgrp.rec.creact"
style=
"width:100%"
placeholder=
"请选择Credit to Account"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"A/C NO."
prop=
"cldgrp.rec.acno"
>
<c-input
v-model=
"model.cldgrp.rec.acno"
maxlength=
"20"
placeholder=
"请输入A/C NO."
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Settlement Instructions"
prop=
"cldgrp.blk.setins"
>
<c-input
type=
"textarea"
v-model=
"model.cldgrp.blk.setins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Settlement Instructions"
></c-input>
</el-form-item>
<div
class=
"eibs-tab"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Credit to Account"
prop=
"cldgrp.rec.creact"
>
<c-select
v-model=
"model.cldgrp.rec.creact"
style=
"width: 100%"
placeholder=
"请选择Credit to Account"
:code=
"codes.creact"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.modflg"
>
修改
</c-checkbox>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onSetinsButtxmsel"
>
...
</c-button>
</c-col>
<!--
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"A/C NO."
prop=
"cldgrp.rec.acno"
>
<c-input
v-model=
"model.cldgrp.rec.acno"
maxlength=
"20"
placeholder=
"请输入A/C NO."
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"Settlement Instructions"
prop=
"cldgrp.blk.setins"
>
<c-input
type=
"textarea"
v-model=
"model.cldgrp.blk.setins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Settlement Instructions"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
""
>
<c-checkbox
v-model=
"model.modflg"
disabled
>
修改
</c-checkbox>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onSetinsButtxmsel"
>
...
</c-button>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onSetinsButtxmsel"
>
...
</c-button>
</c-col>
-->
-->
</div>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
...
...
@@ -43,15 +48,15 @@ import Event from "~/model/Cltdav/Event"
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
data
()
{
return
{
}
},
methods
:
{...
Event
},
created
:
function
()
{
methods
:
{
...
Event
},
created
:
function
()
{
}
}
...
...
src/views/Business/Cltdav/Sel.vue
View file @
5e5e87b1
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Batch No."
prop=
"cldgrp.rec.ownref"
>
<c-input
v-model=
"model.cldgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
style=
"text-align:right"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onCltpButgetref"
>
获取
</c-button>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Name"
prop=
"cldgrp.rec.nam"
>
<c-input
v-model=
"model.cldgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name of CC contract"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Payemnt Disposition"
prop=
"cldgrp.rec.colflg"
style=
"width:100%"
>
<c-select
v-model=
"model.cldgrp.rec.colflg"
style=
"width: 100%"
maxlength=
"1"
placeholder=
"请输入Payemnt Disposition"
>
<el-option
v-for=
"item in codes.colflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Value Date"
prop=
"cldgrp.rec.valdat"
label-width=
"150px"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.valdat"
style=
"width:100%"
placeholder=
"请选择Value Date"
></c-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
Date
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.credat"
style=
"width:100%"
placeholder=
"请选择Date of creation"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Total Row Count"
prop=
"rowcntr"
style=
"width:100%"
>
<c-input
v-model=
"model.rowcntr"
placeholder=
"请输入Total Row Count"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Currency"
prop=
"cur"
style=
"width:100%"
>
<c-select
v-model=
"model.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
>
<el-option
v-for=
"item in codes.curtxt1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Amount"
prop=
"amount"
style=
"width: 100%"
>
<c-input
v-model=
"model.amount"
placeholder=
"请输入AMOUNT"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Register Ref."
prop=
"cldgrp.rec.regref"
style=
"width: 100%"
>
<c-input
v-model=
"model.cldgrp.rec.regref"
tyle=
"width: 100%"
maxlength=
"16"
placeholder=
"请输入Register Ref."
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Item Count"
prop=
"cldgrp.rec.count"
style=
"width: 100%"
>
<c-input
v-model=
"model.cldgrp.rec.count"
placeholder=
"请输入ITEM COUNT"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Actual Items"
prop=
"items"
>
<c-input
v-model=
"model.items"
placeholder=
"请输入Item Count"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"handleSearch"
>
<!-- 持续展示区 -->
<template
v-slot=
"searchSlot"
>
<el-form
class=
"m-table-search-form"
ref=
"paramsForm"
:inline=
"true"
label-position=
"right"
label-width=
"110px"
size=
"small"
>
<c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Batch No."
prop=
"cldgrp.rec.ownref"
style=
"width:100%"
>
<c-input
v-model=
"model.cldgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
style=
"width:100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
style=
"text-align:right"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onCltpButgetref"
>
获取
</c-button>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Name"
prop=
"cldgrp.rec.nam"
style=
"width:100%"
>
<c-input
v-model=
"model.cldgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name of CC contract"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Payment Disposition"
prop=
"cldgrp.rec.colflg"
style=
"width:100%"
>
<c-select
v-model=
"model.cldgrp.rec.colflg"
style=
"width: 100%"
maxlength=
"1"
placeholder=
"请输入Payment Disposition"
>
<el-option
v-for=
"item in codes.colflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Value Date"
prop=
"cldgrp.rec.valdat"
style=
"width:100%"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.valdat"
style=
"width:100%"
placeholder=
"请选择Value Date"
></c-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
Date
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.credat"
style=
"width:100%"
placeholder=
"请选择Date of creation"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Total Row Count"
prop=
"rowcntr"
style=
"width:100%"
>
<c-input
v-model=
"model.rowcntr"
placeholder=
"请输入Total Row Count"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Currency"
prop=
"cur"
style=
"width:100%"
>
<c-select
v-model=
"model.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
>
<el-option
v-for=
"item in codes.curtxt1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Amount"
prop=
"amount"
style=
"width: 100%"
>
<c-input
v-model=
"model.amount"
placeholder=
"请输入AMOUNT"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Register Ref."
prop=
"cldgrp.rec.regref"
style=
"width: 100%"
>
<c-input
v-model=
"model.cldgrp.rec.regref"
tyle=
"width: 100%"
maxlength=
"16"
placeholder=
"请输入Register Ref."
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Item Count"
prop=
"cldgrp.rec.count"
style=
"width: 100%"
>
<c-input
v-model=
"model.cldgrp.rec.count"
placeholder=
"请输入ITEM COUNT"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Actual Items"
prop=
"items"
style=
"width:100%"
>
<c-input
v-model=
"model.items"
placeholder=
"请输入Item Count"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Collection Bank"
prop=
"colbnk"
>
<c-select
v-model=
"model.colbnk"
style=
"width:100%"
placeholder=
"请选择Collection Bank"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"4"
style=
"text-align:right"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onGet"
>
Get Swt
</c-button>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Collection Method"
prop=
"colmet"
>
<c-select
v-model=
"model.colmet"
style=
"width:100%"
placeholder=
"请选择Collection Method"
></c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Collection Bank"
prop=
"colbnk"
style=
"width:100%"
>
<c-input
v-model=
"model.colbnk"
style=
"width:100%"
placeholder=
"请选择Collection Bank"
:disabled=
"model.cldgrp.rec.colflg == 'G'"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
style=
"text-align:right"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onGet"
:disabled=
"model.cldgrp.rec.colflg == 'G'"
>
Get Swt
</c-button>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Collection Method"
prop=
"colmet"
style=
"width:100%"
>
<c-input
v-model=
"model.colmet"
style=
"width:100%"
placeholder=
"请选择Collection Method"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Extkey"
prop=
"cldgrp.col.pts.extkey"
>
<c-input
v-model=
"model.cldgrp.col.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
style=
"text-align:right"
>
<!--
<el-form-item
label=
""
label-width=
"15px"
style=
"text-align:right"
>
-->
<!--
<c-button
size=
"small"
type=
"primary;width:10%"
@
click=
"onSeainf('cldgrp.col.pts.extkey')"
>
i
</c-button>
-->
<c-button
size=
"small"
type=
"primary"
>
Details
</c-button>
<!--
</el-form-item>
-->
</c-col>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Extkey"
prop=
"cldgrp.col.pts.extkey"
style=
"width:100%"
>
<c-input
v-model=
"model.cldgrp.col.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"showGridPromptDialog('cldgrp.col.pts.extkey')"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
style=
"text-align:right"
>
<!--
<el-form-item
label=
""
label-width=
"15px"
style=
"text-align:right"
>
-->
<!--
<c-button
size=
"small"
type=
"primary;width:10%"
@
click=
"onSeainf('cldgrp.col.pts.extkey')"
>
i
</c-button>
-->
<c-button
size=
"small"
type=
"primary"
>
Details
</c-button>
<!--
</el-form-item>
-->
</c-col>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Address Block"
prop=
"cldgrp.col.pts.nam"
style=
"width:100%"
>
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model.cldgrp.col.pts.nam"
maxlength=
"35"
disabled
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Coll Bank Ref"
prop=
"cldgrp.rec.colref"
style=
"width:100%"
>
<c-input
v-model=
"model.cldgrp.rec.colref"
maxlength=
"16"
placeholder=
"请输入COLL BANK REF"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</el-form>
</
template
>
</c-list-search>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Address Block"
prop=
"cldgrp.col.pts.adrblk"
>
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model.cldgrp.col.pts.adrblk"
maxlength=
"35"
disabled
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Coll Bank Ref"
prop=
"cldgrp.rec.colref"
>
<c-input
v-model=
"model.cldgrp.rec.colref"
maxlength=
"16"
placeholder=
"请输入COLL BANK REF"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"名称"
prop=
"cldgrp.col.pts.namelc"
>
<c-input
type=
"textarea"
v-model=
"model.cldgrp.col.pts.namelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
>
</c-edit-table>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址"
prop=
"cldgrp.col.pts.adrelc"
>
<c-input
type=
"textarea"
v-model=
"model.cldgrp.col.pts.adrelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
-->
</div>
</template>
<
script
>
...
...
@@ -178,14 +180,62 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
docgrd
:
{
columns
:
[
{
title
:
"Our Reference"
,
width
:
"150px"
,
dataIndex
:
"ownref"
,
show
:
"text"
,
},
{
title
:
"Description"
,
width
:
"200px"
,
dataIndex
:
"nam"
,
show
:
"text"
,
},
{
title
:
"Presenter"
,
width
:
"200px"
,
dataIndex
:
"prenam"
,
show
:
"text"
,
},
{
title
:
"cur"
,
width
:
"100px"
,
dataIndex
:
"cur"
,
show
:
"text"
,
},
{
title
:
"Amount"
,
width
:
"200px"
,
dataIndex
:
"amt"
,
show
:
"text"
,
},
{
title
:
"Select"
,
width
:
"50px"
,
dataIndex
:
"selflg"
,
show
:
"checkbox"
,
},
],
urls
:
"bptbckg.docgrd"
,
},
}
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
multipleSelect
()
{
console
.
log
(
123
);
}
},
created
:
function
()
{
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/views/Business/Cltdav/index.vue
View file @
5e5e87b1
...
...
@@ -19,27 +19,7 @@
<el-tab-pane
label=
"内容"
name=
"sel"
>
<m-sel
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000057 -->
<!--
<el-tab-pane
label=
"关联账号"
name=
"account"
>
<m-account
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000000 -->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外信息"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"分录信息"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"面函及报文"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -54,8 +34,34 @@
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane
label=
"关联账号"
name=
"account"
>
<m-account
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000027 -->
<!--
<el-tab-pane
label=
"表外信息"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000001 -->
<!--
<el-tab-pane
label=
"分录信息"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</
template
>
...
...
@@ -82,52 +88,53 @@ import Coninfp from "~/views/Public/Coninfp";
import
Doctre
from
"~/views/Public/Doctre"
;
export
default
{
name
:
"Cltdav"
,
components
:
{
"m-sel"
:
Sel
,
"m-account"
:
Account
,
"m-setpan"
:
Setpan
,
"m-engp"
:
Engp
,
"m-glepan"
:
Glepan
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-coninfp"
:
Coninfp
,
"m-ccvpan"
:
Ccvpan
,
},
name
:
"Cltdav"
,
components
:
{
"m-sel"
:
Sel
,
"m-account"
:
Account
,
"m-setpan"
:
Setpan
,
"m-engp"
:
Engp
,
"m-glepan"
:
Glepan
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-coninfp"
:
Coninfp
,
"m-ccvpan"
:
Ccvpan
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"sel"
,
trnName
:
"cltdav"
,
model
:
new
Cltdav
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
},
methods
:
{
tabClick
()
{
}
},
created
:
async
function
()
{
console
.
log
(
"进入cltdav交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"sel"
,
trnName
:
"cltdav"
,
model
:
new
Cltdav
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
},
methods
:
{
tabClick
()
{
}
},
created
:
async
function
()
{
console
.
log
(
"进入cltdav交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
<
style
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment