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
fukai
vue-gjjs
Commits
461bdba2
Commit
461bdba2
authored
Sep 09, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cltset优化
parent
8ae71e0f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
310 additions
and
217 deletions
+310
-217
Pattern.js
src/model/Cltset/Pattern.js
+3
-3
index.js
src/model/Cltset/index.js
+95
-90
Sel.vue
src/views/Business/Cltset/Sel.vue
+120
-42
index.vue
src/views/Business/Cltset/index.vue
+92
-82
No files found.
src/model/Cltset/Pattern.js
View file @
461bdba2
...
...
@@ -17,13 +17,13 @@ export default {
],
"cldgrp.cbs.max.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"cldgrp.cbs.opn1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -39,7 +39,7 @@ export default {
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"cldgrp.rec.count"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"setmod.ref"
:[
...
...
src/model/Cltset/index.js
View file @
461bdba2
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
export
default
class
Cltset
{
constructor
()
{
export
default
class
Cltset
{
constructor
()
{
this
.
data
=
{
bptbckg
:[],
liaall
:
new
Pub
().
data
.
Liaall
,
cldgrp
:{
rec
:{
ownref
:
""
,
// Batch No. .cldgrp.rec.ownref
colref
:
""
,
// Coll.bank ref. .cldgrp.rec.colref
colptynam
:
""
,
// Coll.bank name .cldgrp.rec.colptynam
credat
:
""
,
// Date of creation .cldgrp.rec.credat
count
:
""
,
// Item Count .cldgrp.rec.count
chktyp
:
""
,
// Type of Draft .cldgrp.rec.chktyp
colflg
:
""
,
// Payemnt Disposition .cldgrp.rec.colflg
},
cbs
:{
max
:{
cur
:
""
,
// Draft Amount .cldgrp.cbs.max.cur
amt
:
""
,
// Draft Amount .cldgrp.cbs.max.amt
},
opn1
:{
cur
:
""
,
// Open Amount .cldgrp.cbs.opn1.cur
amt
:
""
,
// Open Amount .cldgrp.cbs.opn1.amt
},
},
},
cltp0
:{
recget
:{
sdamod
:{
seainf
:
""
,
// .cltp0.recget.sdamod.seainf
},
},
},
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
:[]
cldgrp
:
{
rec
:
{
ownref
:
""
,
// Batch No. .cldgrp.rec.ownref
colref
:
""
,
// Coll.bank ref. .cldgrp.rec.colref
colptynam
:
""
,
// Coll.bank name .cldgrp.rec.colptynam
credat
:
""
,
// Date of creation .cldgrp.rec.credat
count
:
""
,
// Item Count .cldgrp.rec.count
chktyp
:
""
,
// Type of Draft .cldgrp.rec.chktyp
colflg
:
""
,
// Payemnt Disposition .cldgrp.rec.colflg
},
cbs
:
{
max
:
{
cur
:
""
,
// Draft Amount .cldgrp.cbs.max.cur
amt
:
""
,
// Draft Amount .cldgrp.cbs.max.amt
},
opn1
:
{
cur
:
""
,
// Open Amount .cldgrp.cbs.opn1.cur
amt
:
""
,
// Open Amount .cldgrp.cbs.opn1.amt
},
},
},
cltp0
:
{
recget
:
{
sdamod
:
{
seainf
:
""
,
// .cltp0.recget.sdamod.seainf
},
setfeg
:{
setfel
:[]
},
glemod
:{
gleshwstm
:
{}
},
// 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
,
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
},
},
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
},
},
},
// 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
// },
// },
// },
mtabut
:
new
Pub
().
data
.
Mtabut
,
pageId
:
""
// ctx的key
}
}
...
...
src/views/Business/Cltset/Sel.vue
View file @
461bdba2
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12
"
>
<c-col
:span=
"24"
>
<c-col
:span=
"11
"
>
<el-form-item
label=
"Batch No."
prop=
"cldgrp.rec.ownref"
>
<c-input
v-model=
"model.cldgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Batch No."
></c-input>
<c-input
v-model=
"model.cldgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Batch No."
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"cltp0.recget.sdamod.seainf"
>
<c-input
v-model=
"model.cltp0.recget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Type of Draft"
prop=
"cldgrp.rec.chktyp"
>
<c-select
v-model=
"model.cldgrp.rec.chktyp"
style=
"width: 100%"
placeholder=
"请输入Type of Draft"
disabled
>
<el-option
v-for=
"item in codes.chktyp"
: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"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Type of Draft"
prop=
"cldgrp.rec.chktyp"
>
<c-input
v-model=
"model.cldgrp.rec.chktyp"
maxlength=
"1"
placeholder=
"请输入Type of Draft"
></c-input>
<el-form-item
label=
"Draft Amount"
prop=
"cldgrp.cbs.max.cur"
>
<c-input
v-model=
"model.cldgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
"请选择Draft Amount"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12
"
>
<el-form-item
label=
"Payemnt Disposition"
prop=
"cldgrp.rec.colflg"
>
<c-input
v-model=
"model.cldgrp.rec.colflg"
maxlength=
"1"
placeholder=
"请输入Payemnt Disposition"
></c-input>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
""
label-width=
"0"
prop=
"cldgrp.cbs.max.amt"
style=
"width:100%
"
>
<c-input
v-model
.
number=
"model.cldgrp.cbs.max.amt"
style=
"width:100%"
placeholder=
"请输入Open Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Draft Amount"
prop=
"cldgrp.cbs.max.cur"
>
<c-select
v-model=
"model.cldgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
"请选择Draft Amount"
>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Payemnt Disposition"
prop=
"cldgrp.rec.colflg"
>
<c-select
v-model=
"model.cldgrp.rec.colflg"
style=
"width: 100%"
placeholder=
"请输入Payemnt Disposition"
disabled
>
<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=
"12"
>
<el-form-item
label=
"Draft Amount"
prop=
"cldgrp.cbs.max.amt"
>
<c-input
v-model=
"model.cldgrp.cbs.max.amt"
placeholder=
"请输入Draft Amount"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Open Amount"
prop=
"cldgrp.cbs.opn1.cur"
>
<c-select
v-model=
"model.cldgrp.cbs.opn1.cur"
style=
"width:100%"
placeholder=
"请选择Open Amount"
>
</c-select>
<c-input
v-model=
"model.cldgrp.cbs.opn1.cur"
style=
"width:100%"
placeholder=
"请选择Open Amount"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Open Amount"
prop=
"cldgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.cldgrp.cbs.opn1.amt"
placeholder=
"请输入Open Amount"
></c-input>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label-width=
"0"
prop=
"cldgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.cldgrp.cbs.opn1.amt"
placeholder=
"请输入Open Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<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>
<c-input
v-model=
"model.cldgrp.rec.colref"
maxlength=
"16"
placeholder=
"请输入Coll.bank ref."
disabled
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Coll.bank name"
prop=
"cldgrp.rec.colptynam"
>
<c-input
v-model=
"model.cldgrp.rec.colptynam"
maxlength=
"40"
placeholder=
"请输入Coll.bank name"
></c-input>
<c-input
v-model=
"model.cldgrp.rec.colptynam"
maxlength=
"40"
placeholder=
"请输入Coll.bank name"
disabled
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Date of creation"
prop=
"cldgrp.rec.credat"
>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.credat"
style=
"width:100%"
placeholder=
"请选择Date of creation"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.credat"
style=
"width:100%"
placeholder=
"请选择Date of creation"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Item Count"
prop=
"cldgrp.rec.count"
>
<c-input
v-model=
"model.cldgrp.rec.count"
placeholder=
"请输入Item Count"
></c-input>
<c-input
v-model=
"model.cldgrp.rec.count"
placeholder=
"请输入Item Count"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
>
</c-edit-table>
</c-col>
</div>
</
template
>
<
script
>
...
...
@@ -84,15 +115,62 @@ import Event from "~/model/Cltset/Event"
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
data
()
{
return
{
docgrd
:
{
columns
:
[
{
title
:
"Our Reference"
,
width
:
"150px"
,
dataIndex
:
"ownref"
,
show
:
"text"
,
},
{
title
:
"Description"
,
width
:
"200px"
,
dataIndex
:
"nam"
,
show
:
"text"
,
},
{
title
:
"Presenter Name"
,
width
:
"200px"
,
dataIndex
:
"prenam"
,
show
:
"text"
,
},
{
title
:
"cur"
,
width
:
"100px"
,
dataIndex
:
"cur"
,
show
:
"text"
,
},
{
title
:
"Amount"
,
width
:
"200px"
,
dataIndex
:
"amt"
,
show
:
"text"
,
},
{
title
:
"Pay To"
,
width
:
"200px"
,
dataIndex
:
"paytoamt"
,
show
:
"input"
,
},
{
title
:
"Select it"
,
width
:
"100px"
,
dataIndex
:
"selflg"
,
show
:
"checkbox"
,
},
],
urls
:
"bptbckg.docgrd"
,
},
}
},
methods
:
{...
Event
},
created
:
function
()
{
methods
:
{
...
Event
},
created
:
function
()
{
}
}
...
...
src/views/Business/Cltset/index.vue
View file @
461bdba2
...
...
@@ -19,23 +19,6 @@
<m-sel
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<m-setpan
: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>
<!--PD000529 -->
<el-tab-pane
label=
"面函及报文"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -50,79 +33,107 @@
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"分录信息"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000027 -->
<!--
<el-tab-pane
label=
"表外信息"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000546 -->
</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
>
<
script
>
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Cltset
from
"~/model/Cltset"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Cltset/Check"
;
import
Default
from
"~/model/Cltset/Default"
;
import
Pattern
from
"~/model/Cltset/Pattern"
;
import
Sel
from
"./Sel"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Ccvpan
from
"~/views/Public/Ccvpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Doctre
from
".
/Doctre"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Cltset
from
"~/model/Cltset"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Cltset/Check"
;
import
Default
from
"~/model/Cltset/Default"
;
import
Pattern
from
"~/model/Cltset/Pattern"
;
import
Sel
from
"./Sel"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Ccvpan
from
"~/views/Public/Ccvpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Doctre
from
"~/views/Public
/Doctre"
;
export
default
{
name
:
"Cltset"
,
components
:
{
"m-sel"
:
Sel
,
"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
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
""
,
trnName
:
"cltset"
,
model
:
new
Cltset
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
},
}
},
methods
:
{
tabClick
()
{
}
},
created
:
async
function
()
{
console
.
log
(
"进入cltset交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
export
default
{
name
:
"Cltset"
,
components
:
{
"m-sel"
:
Sel
,
"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
:
"cltset"
,
model
:
new
Cltset
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
}
},
methods
:
{
// tabClick() {
// }
},
created
:
async
function
()
{
console
.
log
(
"进入cltset交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
this
.
model
.
bptbckg
.
docgrd
=
rtnmsg
.
data
.
ccdbatg
;
console
.
log
(
this
.
model
.
bptbckg
.
docgrd
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
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