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
9a34c184
Commit
9a34c184
authored
Aug 15, 2022
by
huangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botset,botame优化
parent
27db8cb5
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
137 additions
and
78 deletions
+137
-78
Default.js
src/model/Botset/Default.js
+1
-0
Inst.vue
src/views/Business/Botame/Inst.vue
+2
-3
Instrecp.vue
src/views/Business/Botame/Instrecp.vue
+1
-1
Ptyp.vue
src/views/Business/Botame/Ptyp.vue
+77
-39
Inst.vue
src/views/Business/Botset/Inst.vue
+1
-1
Setp.vue
src/views/Business/Botset/Setp.vue
+40
-31
Wg.vue
src/views/Business/Botset/Wg.vue
+9
-1
index.vue
src/views/Business/Botset/index.vue
+5
-1
index.vue
src/views/Business/Brtdcr/index.vue
+1
-1
No files found.
src/model/Botset/Default.js
View file @
9a34c184
...
...
@@ -78,5 +78,6 @@ export default {
"mtabut.clsflg"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
"cnybop.outflg"
:
Utils
.
defaultFunction
,
"bodgrp.rec.docsta"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/views/Business/Botame/Inst.vue
View file @
9a34c184
...
...
@@ -47,7 +47,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bodgrp.blk.colinsflg"
>
<c-checkbox
v-model=
"colinsflg"
>
Collection
instructions modified
</c-checkbox>
<c-checkbox
v-model=
"colinsflg"
>
Delivery of Documents
instructions modified
</c-checkbox>
</el-form-item>
</c-col>
...
...
@@ -78,8 +78,7 @@
</c-input>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"showGridPromptDialog('botp.dftins.buttxmsel', null, null,
{TXT: 'bodgrp.blk.dftins'}, {TXT: false},'doxpDialog')"
>
@
click=
"showGridPromptDialog('botp.dftins.buttxmsel', null, null,
{TXT: 'bodgrp.blk.dftins'}, {TXT: false},'doxpDialog')">
...
</c-button>
</
template
>
...
...
src/views/Business/Botame/Instrecp.vue
View file @
9a34c184
...
...
@@ -27,7 +27,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"6"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"
onSetinsButtxmsel
"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"
showGridPromptDialog('botp.setins.buttxmsel', null, null,
{TXT: 'bodgrp.blk.setinsbo'}, {TXT: false},'doxpDialog')
">
...
</c-button>
</c-col>
...
...
src/views/Business/Botame/Ptyp.vue
View file @
9a34c184
...
...
@@ -39,19 +39,56 @@
</c-col>
<c-col
:span=
"24"
>
<c-edit-table
:model=
"model"
v-bind=
"ptsaddg"
>
<el-table-column
label=
"操作"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-button
size=
"mini"
@
click=
"handleEdit(scope.$index, scope.row)"
type=
"primary"
>
详情
</el-button
>
</
template
>
</el-table-column>
</c-edit-table>
</c-col>
<c-table
max-height=
"300px"
style=
"text-align: center;"
stripe
:list=
"this.model.botp.ptsaddp.ptsaddg || []"
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
label=
"Additional Parties"
>
<el-table-column
label=
"角色"
width=
"auto"
prop=
"rol"
>
<template
slot-scope=
"scope"
>
<c-select
v-model=
"scope.row.rol"
:code=
"ptyp2"
>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"机构实体"
width=
"auto"
prop=
"ptyextkey"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.ptyextkey"
maxlength=
"12"
>
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"名称"
width=
"auto"
prop=
"scope.row.nam"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.nam"
maxlength=
"12"
>
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"参考地址"
width=
"auto"
prop=
"scope.row.ref"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.ref"
maxlength=
"12"
>
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot=
"header"
>
<c-row>
<c-col
:span=
"12"
>
<span
style=
"line-height: 36px;"
>
操作
</span>
</c-col>
<c-col
:span=
"12"
>
<div
style=
"float: right;"
>
<span
class=
"add_del_button add_button"
@
click=
"addTableValue"
>
+
</span>
<span
class=
"add_del_button"
@
click=
"deleteTable"
>
-
</span>
</div>
</c-col>
</c-row>
</
template
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
@
click=
"handleEdit(scope.$index, scope.row)"
type=
"primary"
>
详情
</el-button>
</
template
>
</el-table-column>
</el-table-column>
</c-table>
</c-col>
</c-row>
</template>
...
...
@@ -70,36 +107,37 @@ export default {
mixins
:
[
commonProcess
],
data
(){
return
{
ptsaddg
:
{
columns
:
[
{
title
:
"角色"
,
width
:
"120px"
,
dataIndex
:
"rol"
,
show
:
"select"
,
},
{
title
:
"机构实体"
,
width
:
"180px"
,
dataIndex
:
"ptyextkey"
,
show
:
"input"
,
},
{
title
:
"名称"
,
width
:
"300px"
,
dataIndex
:
"nam"
,
},
{
title
:
"参考地址"
,
width
:
"300px"
,
dataIndex
:
"ref"
,
newValue
:
{
rol
:
""
,
ptyextkey
:
""
,
nam
:
""
,
ref
:
""
,
},
ptyp2
:
[
{
label
:
"TP0 Third Party"
,
value
:
"TP0"
},
{
label
:
"TP1 1st Third Party"
,
value
:
"TP1"
},
{
label
:
"TP2 2nd Third Party"
,
value
:
"TP2"
},
{
label
:
"TP3 3rd Third Party"
,
value
:
"TP3"
},
{
label
:
"TP4 4th Third Party"
,
value
:
"TP4"
},
{
label
:
"TP5 5th Third Party"
,
value
:
"TP5"
},
{
label
:
"TP6 6th Third Party"
,
value
:
"TP6"
},
{
label
:
"TP7 7th Third Party"
,
value
:
"TP7"
},
{
label
:
"TP8 8th Third Party"
,
value
:
"TP8"
},
],
urls
:
"botp.ptsaddp.ptsaddg"
,
},
}
},
methods
:{...
Event
},
methods
:{...
Event
,
addTableValue
(
index
)
{
var
newTableValue
=
Object
.
assign
({},
this
.
newValue
);
const
serial
=
Utils
.
generateUUID
();
newTableValue
.
serialNum
=
serial
;
this
.
model
.
botp
.
ptsaddp
.
ptsaddg
.
splice
(
index
-
1
,
0
,
newTableValue
);
},
deleteTable
(
index
)
{
this
.
model
.
botp
.
ptsaddp
.
ptsaddg
.
splice
(
index
,
1
);
},
},
created
:
function
(){
console
.
log
(
this
.
root
);
}
...
...
src/views/Business/Botset/Inst.vue
View file @
9a34c184
...
...
@@ -45,7 +45,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bodgrp.blk.colinsflg"
>
<c-checkbox
disabled
v-model=
"colinsflg"
>
Collection
instructions modified
</c-checkbox>
<c-checkbox
disabled
v-model=
"colinsflg"
>
Delivery of Documents
instructions modified
</c-checkbox>
</el-form-item>
</c-col>
...
...
src/views/Business/Botset/Setp.vue
View file @
9a34c184
...
...
@@ -288,13 +288,14 @@
:columns=
"stmData.columns"
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
prop=
"liaall.tenstm"
>
</c-istream-table>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.bodgrp.rec.focflg"
@
change=
"change
1
"
<c-checkbox
v-model=
"model.bodgrp.rec.focflg"
@
change=
"change"
>
Free of Payment
</c-checkbox
>
</c-col>
...
...
@@ -334,7 +335,9 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
:disabled=
"model.setmod.docamt
<
=
model
.
bodgrp
.
cbs
.
opn1
.
amt
"
v-model=
"model.mtabut.clsflg"
@
change=
"change1"
<c-checkbox
:disabled=
"model.setmod.docamt
<
=
model
.
bodgrp
.
cbs
.
opn1
.
amt
"
v-model=
"model.mtabut.clsflg"
>
Close Contract
</c-checkbox
>
</c-col>
...
...
@@ -435,10 +438,10 @@ export default {
computed
:
{
clsflg
:
{
get
()
{
return
this
.
model
.
mtabut
.
clsflg
===
"
X
"
;
return
this
.
model
.
mtabut
.
clsflg
===
"
O
"
;
},
set
(
val
)
{
this
.
model
.
mtabut
.
clsflg
=
val
?
"
X"
:
"
"
;
this
.
model
.
mtabut
.
clsflg
=
val
?
"
C"
:
"O
"
;
},
},
focflg
:
{
...
...
@@ -459,10 +462,40 @@ export default {
methods
:
{
...
Event
,
async
change
()
{
if
(
this
.
model
.
bodgrp
.
rec
.
focflg
===
"X"
)
{
this
.
model
.
setmod
.
redamt
=
this
.
model
.
setmod
.
docamt
;
let
rtnmsg
=
await
this
.
executeDefault
(
"setmod.redamt"
);
this
.
model
.
bodgrp
.
rec
.
docsta
=
"D"
}
else
{
this
.
model
.
setmod
.
redamt
=
"0.00"
;
let
rtnmsg
=
await
this
.
executeDefault
(
"setmod.redamt"
);
this
.
model
.
bodgrp
.
rec
.
docsta
=
rtnmsg
.
data
.
bodgrp_rec_docsta
;
}
},
async
multipleSelect
(
selection
)
{
console
.
log
(
selection
);
if
(
selection
)
{
let
selIds
=
selection
.
map
((
x
)
=>
x
+
1
);
if
(
selection
.
length
>
1
)
{
this
.
$notify
({
title
:
"error"
,
message
:
"You cannot select more than one tenor"
,
type
:
"error"
,
});
}
else
{
let
selIds
;
if
(
selection
.
length
===
0
)
{
this
.
$notify
({
title
:
"error"
,
message
:
"Please select at least one tenor"
,
type
:
"error"
,
});
selIds
=
[];
this
.
model
.
setmod
.
docamt
=
"0.000"
;
this
.
isDisabled
=
false
;
}
else
{
selIds
=
[
selection
[
0
]
+
1
];
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
this
.
isDisabled
=
true
;
}
let
params
=
{
selDst
:
"liaall.tenstm"
,
selIds
};
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
@@ -472,30 +505,6 @@ export default {
}
}
},
change1
()
{
// if (this.model.bodgrp.rec.focflg) {
// this.model.bodgrp.rec.docsta = "D";
// } else {
// this.model.bodgrp.rec.docsta = "B";
// }
if
(
this
.
model
.
mtabut
.
clsflg
==
'X'
){
this
.
model
.
bodgrp
.
rec
.
docsta
=
"E"
;
}
else
if
(
this
.
model
.
bodgrp
.
rec
.
focflg
==
'X'
&&
this
.
model
.
mtabut
.
clsflg
!=
'X'
){
this
.
model
.
bodgrp
.
rec
.
docsta
=
"D"
;
}
else
if
(
this
.
model
.
bodgrp
.
rec
.
focflg
!=
'X'
&&
this
.
model
.
mtabut
.
clsflg
!=
'X'
){
this
.
model
.
bodgrp
.
rec
.
docsta
=
"B"
;
}
if
(
this
.
model
.
bodgrp
.
rec
.
focflg
)
{
this
.
model
.
setmod
.
redamt
=
this
.
model
.
setmod
.
docamt
;
}
else
{
this
.
model
.
setmod
.
redamt
=
"0.00"
;
}
},
},
created
:
function
()
{},
...
...
src/views/Business/Botset/Wg.vue
View file @
9a34c184
...
...
@@ -6,6 +6,7 @@
<c-fullbox>
<el-form-item
label=
"申报类型"
prop=
"bopmod.szflg"
>
<c-select
@
change=
"change"
v-model=
"model.bopmod.szflg"
style=
"width: 100%"
placeholder=
"请选择申报类型"
...
...
@@ -172,7 +173,14 @@ export default {
};
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
async
change
()
{
if
(
this
.
model
.
bopmod
.
szflg
==
"3"
||
this
.
model
.
bopmod
.
szflg
==
""
){
this
.
model
.
lendoc
.
actflg
=
""
this
.
model
.
bopmod
.
ownextkey
=
""
}
},
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Botset/index.vue
View file @
9a34c184
...
...
@@ -20,7 +20,7 @@
<!--Funds Settlement -->
<el-tab-pane
label=
"Funds Settlement"
name=
"setp"
>
<c-content>
<m-setp
:model=
"model"
:codes=
"codes"
/>
<m-setp
ref=
"setp"
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -209,6 +209,10 @@ export default {
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
)
this
.
$nextTick
(()
=>
{
this
.
$refs
.
setp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
})
}
else
{
...
...
src/views/Business/Brtdcr/index.vue
View file @
9a34c184
...
...
@@ -30,7 +30,7 @@
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.
advdisflg=='X
'"
label=
"Advice of Discrepancy"
name=
"mt750p"
>
<el-tab-pane
v-if=
"model.
brdgrp.rec.advtyp=='750
'"
label=
"Advice of Discrepancy"
name=
"mt750p"
>
<c-content>
<m-mt750p
:model=
"model"
:codes=
"codes"
/>
</c-content>
...
...
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