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
599c95a9
Commit
599c95a9
authored
Oct 26, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整部分公共表格金额显示
parent
cbb5b43a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
99 additions
and
35 deletions
+99
-35
Ccvpan.vue
src/views/Public/Ccvpan.vue
+27
-3
Docpan.vue
src/views/Public/Docpan.vue
+1
-1
Engp.vue
src/views/Public/Engp.vue
+16
-4
Setpan.vue
src/views/Public/Setpan.vue
+55
-27
No files found.
src/views/Public/Ccvpan.vue
View file @
599c95a9
...
...
@@ -202,9 +202,21 @@
</el-table-column>
<el-table-column
prop=
"cur"
label=
"币种"
width=
"70px"
>
</el-table-column>
<el-table-column
prop=
"oldamt"
label=
"余额"
width=
"150px"
>
<el-table-column
prop=
"oldamt"
label=
"余额"
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<c-input-currency
v-model=
"scope.row.oldamt"
placeholder=
"0.00"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"变动金额"
width=
"150px"
>
<el-table-column
prop=
"amt"
label=
"变动金额"
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<c-input-currency
v-model=
"scope.row.amt"
placeholder=
"0.00"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
prop=
"acc"
label=
"保证金账号"
width=
"180px"
>
</el-table-column>
...
...
@@ -212,9 +224,21 @@
</el-table-column>
<el-table-column
prop=
"concur"
label=
"币种"
width=
"70px"
>
</el-table-column>
<el-table-column
prop=
"covamt"
label=
"折算后金额"
width=
"150px"
>
<el-table-column
prop=
"covamt"
label=
"折算后金额"
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<c-input-currency
v-model=
"scope.row.covamt"
placeholder=
"0.00"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
prop=
"acccovamt"
label=
"实际折算金额"
width=
"150px"
>
<
template
slot-scope=
"scope"
>
<c-input-currency
v-model=
"scope.row.acccovamt"
placeholder=
"0.00"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"auto"
fixed=
"right"
align=
"center"
>
<
template
slot-scope=
"scope"
>
...
...
src/views/Public/Docpan.vue
View file @
599c95a9
...
...
@@ -116,7 +116,7 @@
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
""
width=
"
auto
"
>
<el-table-column
label=
""
width=
"
110px
"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label-width=
"0"
...
...
src/views/Public/Engp.vue
View file @
599c95a9
...
...
@@ -56,19 +56,31 @@
</el-table-column>
<el-table-column
prop=
"cur"
label=
"币种"
width=
"70px"
>
</el-table-column>
<el-table-column
prop=
"oldamt"
label=
"原始金额"
width=
"1
5
0px"
>
<el-table-column
prop=
"oldamt"
label=
"原始金额"
width=
"1
1
0px"
>
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.oldamt)}}
</template> -->
<
template
slot-scope=
"scope"
>
<c-input-currency
v-model=
"scope.row.docamt"
placeholder=
"0.00"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"记账金额"
width=
"1
5
0px"
>
<el-table-column
prop=
"amt"
label=
"记账金额"
width=
"1
1
0px"
>
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.amt)}}
</template> -->
<
template
slot-scope=
"scope"
>
<c-input-currency
v-model=
"scope.row.amt"
placeholder=
"0.00"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
prop=
"tenpct"
label=
"%"
width=
"70px"
>
</el-table-column>
<el-table-column
prop=
"acc"
label=
"核心账号"
width=
"
17
0px"
>
<el-table-column
prop=
"acc"
label=
"核心账号"
width=
"
20
0px"
>
<!-- check,需用el-form-item标签包起来 -->
<
template
slot-scope=
"scope"
>
<el-form-item
...
...
@@ -85,7 +97,7 @@
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"valdat"
label=
"起息日"
width=
"
auto
"
>
<el-table-column
prop=
"valdat"
label=
"起息日"
width=
"
150px
"
>
<
template
slot-scope=
"scope"
>
{{
dateFormat
(
scope
.
row
.
valdat
)
}}
</
template
>
...
...
src/views/Public/Setpan.vue
View file @
599c95a9
...
...
@@ -186,12 +186,17 @@
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"金额"
prop=
"amt"
width=
"
auto
"
>
<el-table-column
label=
"金额"
prop=
"amt"
width=
"
110px
"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label-width=
"0"
:prop=
"'setmod.setfog.setfol.' + scope.$index + '.amt'"
></el-form-item>
>
<c-input-currency
v-model=
"scope.row.amt"
placeholder=
"0.00"
></c-input-currency>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
""
prop=
"det"
width=
"150px"
fixed=
"right"
>
...
...
@@ -390,15 +395,24 @@
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
"应收金额"
prop=
"ogiamt"
width=
"150px"
>
<el-table-column
label=
"应收金额"
prop=
"ogiamt"
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<c-input-currency
v-model=
"scope.row.ogiamt"
placeholder=
"0.00"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
label=
"实收金额"
prop=
"amt"
width=
"
auto
"
>
<el-table-column
label=
"实收金额"
prop=
"amt"
width=
"
110px
"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label-width=
"0"
:prop=
"'setmod.setfeg.setfel.' + scope.$index + '.amt'"
>
{{
scope
.
row
.
amt
}}
<c-input-currency
v-model=
"scope.row.amt"
placeholder=
"0.00"
></c-input-currency>
</el-form-item>
</
template
>
</el-table-column>
...
...
@@ -461,7 +475,10 @@
</el-table-column>
<el-table-column
label=
"即收币种"
prop=
"acccur"
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<c-select
v-model=
"scope.row.acccur"
@
change=
"accucrChange(scope.$index)"
>
<c-select
v-model=
"scope.row.acccur"
@
change=
"accucrChange(scope.$index)"
>
<!-- @change="eventfunction('setgll.accur')" -->
<el-option
v-for=
"item in codes.acccur"
...
...
@@ -474,12 +491,17 @@
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"记账金额"
prop=
"fmtaccamt"
width=
"1
5
0px"
>
<el-table-column
label=
"记账金额"
prop=
"fmtaccamt"
width=
"1
1
0px"
>
<
template
slot-scope=
"scope"
>
<c-input
<
!--
<
c-input
v-model=
"scope.row.fmtaccamt"
@
change=
"fmtaccamtChange(scope.$index)"
/>
/>
-->
<c-input-currency
v-model=
"scope.row.fmtaccamt"
placeholder=
"0.00"
@
change=
"fmtaccamtChange(scope.$index)"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
label=
"处理方式"
width=
"110px"
>
...
...
@@ -521,7 +543,13 @@
</el-table-column>
<el-table-column
label=
"原始币种"
prop=
"cur"
width=
"70px"
>
</el-table-column>
<el-table-column
label=
"原始金额"
prop=
"fmtamt"
width=
"150px"
>
<el-table-column
label=
"原始金额"
prop=
"fmtamt"
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<c-input-currency
v-model=
"scope.row.fmtamt"
placeholder=
"0.00"
></c-input-currency>
</
template
>
</el-table-column>
<el-table-column
label=
"汇率"
prop=
"rat"
width=
"auto"
>
</el-table-column>
...
...
@@ -1473,19 +1501,19 @@ export default {
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
async
accucrChange
(
index
){
async
accucrChange
(
index
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.setglg.setgll("
+
(
index
+
1
)
+
").acccur"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
executeRule
(
"setmod.glemod.glepan"
).
then
((
res
)
=>
{
//TODO 处理数据逻辑
if
(
res
.
respCode
==
SUCCESS
)
this
.
updateModel
(
res
.
data
)
})
})
//TODO 处理数据逻辑
if
(
res
.
respCode
==
SUCCESS
)
this
.
updateModel
(
res
.
data
);
})
;
})
;
}
},
async
fmtaccamtChange
(
index
)
{
...
...
@@ -1495,27 +1523,27 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
executeRule
(
"setmod.glemod.glepan"
).
then
((
res
)
=>
{
//TODO 处理数据逻辑
if
(
res
.
respCode
==
SUCCESS
)
this
.
updateModel
(
res
.
data
)
})
})
//TODO 处理数据逻辑
if
(
res
.
respCode
==
SUCCESS
)
this
.
updateModel
(
res
.
data
);
})
;
})
;
}
},
async
dspChange
(
index
){
async
dspChange
(
index
)
{
let
rtnmsg
=
await
this
.
executeDefault
(
"setmod.setglg.setgll("
+
(
index
+
1
)
+
").dsp"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
executeRule
(
"setmod.glemod.glepan"
).
then
((
res
)
=>
{
//TODO 处理数据逻辑
if
(
res
.
respCode
==
SUCCESS
)
this
.
updateModel
(
res
.
data
)
})
})
//TODO 处理数据逻辑
if
(
res
.
respCode
==
SUCCESS
)
this
.
updateModel
(
res
.
data
);
})
;
})
;
}
},
},
...
...
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