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
c9a67082
Commit
c9a67082
authored
Jul 29, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账务模块表格事件补充
parent
516cd40f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
33 deletions
+25
-33
index.js
src/config/CodeTable/index.js
+4
-0
index.js
src/utils/index.js
+0
-1
Detp2.vue
src/views/Business/Detopn/Detp2.vue
+1
-4
Setpan.vue
src/views/Public/Setpan.vue
+20
-28
No files found.
src/config/CodeTable/index.js
View file @
c9a67082
...
...
@@ -6365,6 +6365,10 @@ const CodeTable = {
{
label
:
"Beneficiary"
,
value
:
"BENE"
},
{
label
:
"ISS issuing Bank"
,
value
:
"ISS"
}
],
ptydbt_setpan
:
[
{
label
:
"OWN Ourselves"
,
value
:
"OWN"
},
{
label
:
"Advising Bank"
,
value
:
"ADV"
},
],
acccur
:
[
{
label
:
`CNY-人民币`
,
value
:
`CNY`
},
{
label
:
`USD-美元`
,
value
:
`USD`
},
...
...
src/utils/index.js
View file @
c9a67082
...
...
@@ -209,7 +209,6 @@ export default class Utils {
this
.
executeNotify
().
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
){
const
data
=
res
.
data
;
console
.
log
(
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
if
(
typeof
callback
===
"function"
)
{
callback
()
...
...
src/views/Business/Detopn/Detp2.vue
View file @
c9a67082
...
...
@@ -79,7 +79,7 @@
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.sdsrfs"
:disabled=
"
this.mytypeFlag
"
:disabled=
"
model.dedgrp.rec.tratyp!='08' && model.dedgrp.rec.mytype!='F'
"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
...
...
@@ -214,9 +214,6 @@ export default {
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
mytypeFlag
:
true
,
};
},
methods
:
{
...
Event
},
created
:
function
()
{},
...
...
src/views/Public/Setpan.vue
View file @
c9a67082
...
...
@@ -61,8 +61,8 @@
:border=
"true"
>
<el-table-column
label=
"Payer"
prop=
"ptydbt"
width=
"101px"
>
<template
slot-scope=
"scope"
>
<c-select
v-model=
"scope.row.ptydbt"
>
<el-option
v-for=
"item in codes.ptydbt"
:key=
"item.value"
:label=
"item.value"
<c-select
v-model=
"scope.row.ptydbt"
@
change=
"defaultFunction()"
>
<el-option
v-for=
"item in codes.ptydbt
_setpan
"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
<span
style=
"float: left"
>
{{
item
.
label
}}
</span>
</el-option>
...
...
@@ -71,8 +71,8 @@
</el-table-column>
<el-table-column
label=
"Payee"
width=
"101px"
>
<
template
slot-scope=
"scope"
>
<c-select
v-model=
"scope.row.ptypay"
>
<el-option
v-for=
"item in codes.p
ayee
"
:key=
"item.value"
:label=
"item.value"
<c-select
v-model=
"scope.row.ptypay"
@
change=
"defaultFunction()"
>
<el-option
v-for=
"item in codes.p
tydbt_setpan
"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
<span
style=
"float: left"
>
{{
item
.
label
}}
</span>
</el-option>
...
...
@@ -192,7 +192,7 @@
:border=
"true"
>
<el-table-column
label=
"Role"
width=
"101px"
>
<
template
#
default=
"scope"
>
<c-select
v-model=
"scope.row.rol"
>
<c-select
v-model=
"scope.row.rol"
@
change=
"defaultFunction()"
>
<el-option
v-for=
"item in codes.setfelRol"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
<span
style=
"float: left"
>
{{
item
.
label
}}
</span>
...
...
@@ -200,7 +200,15 @@
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Code"
prop=
"feecod"
width=
"101px"
>
<el-table-column
label=
"Code"
width=
"101px"
>
<
template
#
default=
"scope"
>
<c-select
v-model=
"scope.row.feecod"
@
change=
"selectOrCheckboxRule('setmod.setfeg.setfel.feecod')"
>
<el-option
v-for=
"item in codes.fepfeecod"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
>
<span
style=
"float: left"
>
{{
item
.
label
}}
</span>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"Source"
prop=
"src"
width=
"70px"
>
</el-table-column>
...
...
@@ -220,8 +228,8 @@
</el-table-column>
<el-table-column
label=
"Currency"
prop=
"cur"
width=
"100px"
>
</el-table-column>
<
el-table-column
label=
"Original Amount"
prop=
"ogiamt"
v-model=
"ogiamt"
width=
"150px"
>
<
/el-table-column
>
<
!-- <el-table-column label="Original Amount" prop="ogiamt" v-model="ogiamt" width="150px"> --
>
<
!-- </el-table-column> --
>
<el-table-column
label=
"Fee Amount"
prop=
"amt"
width=
"150px"
>
</el-table-column>
<el-table-column
label=
""
prop=
"det"
width=
"80px"
fixed=
"right"
>
...
...
@@ -912,24 +920,6 @@ export default {
components
:
{
SetpanDialog
},
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
watch
:
{
ogiamt
:
{
handler
(
num
)
{
console
.
log
(
"================================="
)
num
=
this
.
ogiamt
;
num
=
num
.
toFixed
(
2
);
num
=
parseFloat
(
num
);
num
=
num
.
toLocaleString
();
return
num
;
//返回的是字符串23,245.12保留2位小数
},
immediate
:
true
}
},
data
()
{
return
{
dialogVisible
:
false
,
...
...
@@ -972,9 +962,11 @@ export default {
addRowSetfol
()
{
let
newRow
=
{
...
this
.
dialog
};
this
.
model
.
setmod
.
setfog
.
setfol
.
splice
(
0
,
0
,
newRow
);
this
.
defaultFunction
();
},
removeRowSetfol
()
{
this
.
model
.
setmod
.
setfog
.
setfol
.
shift
();
this
.
defaultFunction
();
},
saveDialog
()
{
this
.
dialogVisible
=
false
;
...
...
@@ -984,9 +976,11 @@ export default {
addRowSetfel
()
{
let
newRow
=
{
...
this
.
dialog2
};
this
.
model
.
setmod
.
setfeg
.
setfel
.
splice
(
0
,
0
,
newRow
);
this
.
defaultFunction
();
},
removeRowSetfel
()
{
this
.
model
.
setmod
.
setfeg
.
setfel
.
shift
();
this
.
defaultFunction
();
},
detail1
(
index
,
row
)
{
this
.
executeDefault
(
"setfel.det"
).
then
(
res
=>
{
...
...
@@ -995,13 +989,11 @@ export default {
this
.
dialog
=
row
;
this
.
index
=
index
;
})
},
dispDefault
(
index
)
{
this
.
executeDefault
(
`setmod.setfeg.setfel(
${
index
}
).mac`
).
then
(
res
=>
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
})
},
// 第二个表格
detail2
(
index
,
row
)
{
...
...
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