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
955ede04
Commit
955ede04
authored
Jun 21, 2023
by
WF1020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
betcan修改
parent
c12621ad
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
79 additions
and
115 deletions
+79
-115
buildCommons.js
src/business/betcan/event/buildCommons.js
+27
-27
index.js
src/business/betcan/event/index.js
+11
-12
index.js
src/business/betcan/model/index.js
+3
-12
Addbcb.vue
src/business/betcan/views/Addbcb.vue
+3
-16
Canp.vue
src/business/betcan/views/Canp.vue
+5
-7
Ovwp.vue
src/business/betcan/views/Ovwp.vue
+3
-12
index.vue
src/business/betcan/views/index.vue
+1
-3
buildCommons.js
src/business/letcan/event/buildCommons.js
+26
-26
No files found.
src/business/betcan/event/buildCommons.js
View file @
955ede04
...
...
@@ -19,38 +19,38 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
b
r
dgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
b
r
dgrp
.
apl
));
if
(
model
.
b
e
dgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
b
e
dgrp
.
apl
));
}
if
(
model
.
b
r
dgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
b
r
dgrp
.
ben
));
if
(
model
.
b
e
dgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
b
e
dgrp
.
ben
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'
li
d'
,
ownref
:
model
.
b
r
dgrp
.
rec
.
ownref
,
opndat
:
model
.
b
r
dgrp
.
rec
.
opndat
,
expdat
:
model
.
b
r
dgrp
.
rec
.
expdat
,
branchInr
:
model
.
b
r
dgrp
.
rec
.
branchInr
,
hndtyp
:
model
.
b
r
dgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
b
r
dgrp
.
rec
.
gartyp
,
fingua
:
model
.
b
r
dgrp
.
rec
.
fingua
,
fromflg
:
model
.
b
r
dgrp
.
rec
.
fromflg
,
othersno
:
model
.
b
r
dgrp
.
rec
.
othersno
,
sndto
:
model
.
b
r
dgrp
.
rec
.
sndto
,
swiftflg
:
model
.
b
rt
p
.
swiftflg
,
brduil
:
model
.
b
r
dgrp
.
rec
.
brduil
,
purpos
:
model
.
b
r
dgrp
.
rec
.
purpos
,
revflg
:
model
.
b
r
dgrp
.
rec
.
revflg
,
cnfsta
:
model
.
b
r
dgrp
.
rec
.
cnfsta
,
objtyp
:
'
be
d'
,
ownref
:
model
.
b
e
dgrp
.
rec
.
ownref
,
opndat
:
model
.
b
e
dgrp
.
rec
.
opndat
,
expdat
:
model
.
b
e
dgrp
.
rec
.
expdat
,
branchInr
:
model
.
b
e
dgrp
.
rec
.
branchInr
,
hndtyp
:
model
.
b
e
dgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
b
e
dgrp
.
rec
.
gartyp
,
fingua
:
model
.
b
e
dgrp
.
rec
.
fingua
,
fromflg
:
model
.
b
e
dgrp
.
rec
.
fromflg
,
othersno
:
model
.
b
e
dgrp
.
rec
.
othersno
,
sndto
:
model
.
b
e
dgrp
.
rec
.
sndto
,
swiftflg
:
model
.
b
ed
p
.
swiftflg
,
brduil
:
model
.
b
e
dgrp
.
rec
.
brduil
,
purpos
:
model
.
b
e
dgrp
.
rec
.
purpos
,
revflg
:
model
.
b
e
dgrp
.
rec
.
revflg
,
cnfsta
:
model
.
b
e
dgrp
.
rec
.
cnfsta
,
},
cbsMap
:
{
MAX
:
model
.
b
r
dgrp
.
cbs
.
max
,
OPN1
:
model
.
b
r
dgrp
.
cbs
.
opn1
,
MAC
:
model
.
b
r
dgrp
.
cbs
.
mac
,
MAC2
:
model
.
b
r
dgrp
.
cbs
.
mac2
,
OPC2
:
model
.
b
r
dgrp
.
cbs
.
opc2
,
CNF
:
model
.
b
r
dgrp
.
cbs
.
cnf
,
MAX
:
model
.
b
e
dgrp
.
cbs
.
max
,
OPN1
:
model
.
b
e
dgrp
.
cbs
.
opn1
,
MAC
:
model
.
b
e
dgrp
.
cbs
.
mac
,
MAC2
:
model
.
b
e
dgrp
.
cbs
.
mac2
,
OPC2
:
model
.
b
e
dgrp
.
cbs
.
opc2
,
CNF
:
model
.
b
e
dgrp
.
cbs
.
cnf
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
@@ -127,7 +127,7 @@ export default {
objtyp
:
'bed'
,
objinr
:
model
.
bedgrp
.
rec
.
objinr
,
ownref
:
model
.
bedgrp
.
rec
.
ownref
,
swiftflg
:
model
.
b
rt
p
.
swiftflg
,
swiftflg
:
model
.
b
ed
p
.
swiftflg
,
},
};
return
params
...
...
src/business/betcan/event/index.js
View file @
955ede04
...
...
@@ -28,7 +28,7 @@ export default {
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
b
r
dgrp
:{
b
e
dgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
...
...
@@ -93,7 +93,6 @@ export default {
let
doctreRequest
=
buildFn
.
buildDoctre
(
this
.
model
,
this
.
trnName
);
this
.
processDoctre
(
doctreRequest
);
break
;
default
:
return
;
}
...
...
@@ -105,15 +104,15 @@ export default {
// 业务信息=》基本信息=》保函编号-----获取保函编号
async
queryOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
gi
dgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'L
G
'
,
tbl
:
'L
G
'
,
ptainr
:
this
.
model
.
be
dgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'L
C
'
,
tbl
:
'L
C
'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/betcan/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
gi
dgrp
.
rec
.
ownref
=
res
.
data
;
this
.
model
.
be
dgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 获取brtacp弹框表格数据
...
...
@@ -121,7 +120,7 @@ export default {
let
params
=
{
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ptytyp
:
ptytyp
,
extkey
:
this
.
model
.
gi
dgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
extkey
:
this
.
model
.
be
dgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
};
let
res
=
await
Api
.
post
(
'/service/ptspta/list'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
...
...
@@ -137,7 +136,7 @@ export default {
};
let
res
=
await
Api
.
post
(
'/service/ptspta/fetch'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
model
.
gi
dgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
this
.
$set
(
this
.
model
.
be
dgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
}
},
// 业务信息=》基本信息=》支出目的
...
...
@@ -147,12 +146,12 @@ export default {
// 初始化保函开立类型码表下拉列表
async
queryHndtypCodeTableList
(
trnName
)
{
let
params
=
{
gi
tp
:
{
swiftflg
:
this
.
model
.
gi
tp
.
swiftflg
,
be
tp
:
{
swiftflg
:
this
.
model
.
be
tp
.
swiftflg
,
},
gi
dgrp
:
{
be
dgrp
:
{
rec
:
{
purpos
:
this
.
model
.
gi
dgrp
.
rec
.
purpos
,
purpos
:
this
.
model
.
be
dgrp
.
rec
.
purpos
,
},
},
transName
:
trnName
.
toUpperCase
(),
...
...
src/business/betcan/model/index.js
View file @
955ede04
...
...
@@ -175,22 +175,13 @@ export default class Betcan {
}
},
iss
:
{
pts
:
{
ref
:
''
,
nam
:
''
}
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
{
ref
:
''
,
nam
:
''
}
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
{
ref
:
''
,
nam
:
''
}
pts
:
new
Pts
().
data
,
}
},
setmod
:
new
Pub
().
data
.
Setmod
,
...
...
src/business/betcan/views/Addbcb.vue
View file @
955ede04
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse
v-model=
"activeNames"
>
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item-->
<el-collapse-item
title=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Utils
from
"~/utils"
;
import
Event
from
"~/model/Betcan/Event"
;
import
event
from
'../event'
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
export
default
{
components
:
{
"m-coninfp"
:
Coninfp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
return
{
activeNames
:
[
"coninfp"
],
};
},
methods
:
{
...
Event
,
handleChange
(
val
)
{
console
.
log
(
val
);
},
},
created
:
function
()
{
},
};
</
script
>
<
style
>
</
style
>
src/business/betcan/views/Canp.vue
View file @
955ede04
...
...
@@ -12,7 +12,7 @@
)"
>
</c-input>
<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>
</c-button>
</
template
>
...
...
@@ -26,7 +26,7 @@
<c-input
v-model=
"model.bedgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入单据编号"
style=
"width: 95%"
disabled
>
</c-input>
<
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>
</c-button>
</
template
>
...
...
@@ -198,18 +198,16 @@
</template>
<
script
>
import
Api
from
'~/service/Api'
import
commonProcess
from
'~/mixin/commonProcess'
import
CodeTable
from
'~/config/CodeTable'
import
Event
from
'~/model/Betcan/Event'
import
event
from
'../event'
;
export
default
{
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
return
{}
},
methods
:
{
...
Event
,
onSeainf
()
{
}
},
methods
:
{
},
created
:
function
()
{
},
}
</
script
>
...
...
src/business/betcan/views/Ovwp.vue
View file @
955ede04
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"取消信息"
name=
"canp"
>
<m-canp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
...
...
@@ -9,31 +9,22 @@
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Betcan/Event"
;
import
Canp
from
"./Canp"
;
import
event
from
'../event'
;
export
default
{
components
:
{
"m-canp"
:
Canp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
return
{
activeNames
:
[
"canp"
],
};
},
methods
:
{
...
Event
,
handleChange
(
val
)
{
console
.
log
(
val
);
},
},
created
:
function
()
{
},
};
...
...
src/business/betcan/views/index.vue
View file @
955ede04
...
...
@@ -28,7 +28,7 @@
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
@
changeSetmodModel=
"changeSetmodModel"
/>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -80,11 +80,9 @@ import operationFunc from "~/mixin/operationFunc";
import
CodeTable
from
"~/config/CodeTable"
import
formRules
from
'../model/check'
import
Betcan
from
"../model"
;
import
Ovwp
from
'./Ovwp'
import
Canp
from
'./Canp'
import
Addbcb
from
"./Addbcb"
import
Engp
from
"~/components/business/engp/views"
;
// import Ccvpan from "~/components/business/ccvpan/views";
import
Setmod
from
"~/components/business/setmod/views"
;
...
...
src/business/letcan/event/buildCommons.js
View file @
955ede04
...
...
@@ -19,38 +19,38 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
br
dgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
br
dgrp
.
apl
));
if
(
model
.
le
dgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
le
dgrp
.
apl
));
}
if
(
model
.
br
dgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
br
dgrp
.
ben
));
if
(
model
.
le
dgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
le
dgrp
.
ben
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'led'
,
ownref
:
model
.
br
dgrp
.
rec
.
ownref
,
opndat
:
model
.
br
dgrp
.
rec
.
opndat
,
expdat
:
model
.
br
dgrp
.
rec
.
expdat
,
branchInr
:
model
.
br
dgrp
.
rec
.
branchInr
,
hndtyp
:
model
.
br
dgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
br
dgrp
.
rec
.
gartyp
,
fingua
:
model
.
br
dgrp
.
rec
.
fingua
,
fromflg
:
model
.
br
dgrp
.
rec
.
fromflg
,
othersno
:
model
.
br
dgrp
.
rec
.
othersno
,
sndto
:
model
.
br
dgrp
.
rec
.
sndto
,
swiftflg
:
model
.
br
tp
.
swiftflg
,
brduil
:
model
.
br
dgrp
.
rec
.
brduil
,
purpos
:
model
.
br
dgrp
.
rec
.
purpos
,
revflg
:
model
.
br
dgrp
.
rec
.
revflg
,
cnfsta
:
model
.
br
dgrp
.
rec
.
cnfsta
,
ownref
:
model
.
le
dgrp
.
rec
.
ownref
,
opndat
:
model
.
le
dgrp
.
rec
.
opndat
,
expdat
:
model
.
le
dgrp
.
rec
.
expdat
,
branchInr
:
model
.
le
dgrp
.
rec
.
branchInr
,
hndtyp
:
model
.
le
dgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
le
dgrp
.
rec
.
gartyp
,
fingua
:
model
.
le
dgrp
.
rec
.
fingua
,
fromflg
:
model
.
le
dgrp
.
rec
.
fromflg
,
othersno
:
model
.
le
dgrp
.
rec
.
othersno
,
sndto
:
model
.
le
dgrp
.
rec
.
sndto
,
swiftflg
:
model
.
le
tp
.
swiftflg
,
brduil
:
model
.
le
dgrp
.
rec
.
brduil
,
purpos
:
model
.
le
dgrp
.
rec
.
purpos
,
revflg
:
model
.
le
dgrp
.
rec
.
revflg
,
cnfsta
:
model
.
le
dgrp
.
rec
.
cnfsta
,
},
cbsMap
:
{
MAX
:
model
.
br
dgrp
.
cbs
.
max
,
OPN1
:
model
.
br
dgrp
.
cbs
.
opn1
,
MAC
:
model
.
br
dgrp
.
cbs
.
mac
,
MAC2
:
model
.
br
dgrp
.
cbs
.
mac2
,
OPC2
:
model
.
br
dgrp
.
cbs
.
opc2
,
CNF
:
model
.
br
dgrp
.
cbs
.
cnf
,
MAX
:
model
.
le
dgrp
.
cbs
.
max
,
OPN1
:
model
.
le
dgrp
.
cbs
.
opn1
,
MAC
:
model
.
le
dgrp
.
cbs
.
mac
,
MAC2
:
model
.
le
dgrp
.
cbs
.
mac2
,
OPC2
:
model
.
le
dgrp
.
cbs
.
opc2
,
CNF
:
model
.
le
dgrp
.
cbs
.
cnf
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
@@ -127,7 +127,7 @@ export default {
objtyp
:
'led'
,
objinr
:
model
.
ledgrp
.
rec
.
objinr
,
ownref
:
model
.
ledgrp
.
rec
.
ownref
,
swiftflg
:
model
.
br
tp
.
swiftflg
,
swiftflg
:
model
.
le
tp
.
swiftflg
,
},
};
return
params
...
...
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