Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0f62ea74
authored
Dec 06, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
BUG修复
1 parent
752aa1d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
39 deletions
src/views/financeManage/theAssetData/components/detailDialog.vue
src/views/financeManage/theAssetData/components/refetchDialog.vue
src/views/financeManage/theAssetData/index.vue
src/views/financeManage/theAssetData/components/detailDialog.vue
View file @
0f62ea7
...
@@ -70,12 +70,12 @@
...
@@ -70,12 +70,12 @@
<div
class=
"itemDiv"
>
<div
class=
"itemDiv"
>
<el-form-item
label=
"交易金额:"
<el-form-item
label=
"交易金额:"
class=
"halfItem"
>
class=
"halfItem"
>
{{
detailInfo
.
amt
?
detailInfo
.
amt
:
"-"
}}
{{
detailInfo
.
amt
?
detailInfo
.
amt
.
toLocaleString
()
:
"-"
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"账户余额:"
<el-form-item
label=
"账户余额:"
class=
"halfItem"
>
class=
"halfItem"
>
{{
{{
detailInfo
.
bal
?
detailInfo
.
bal
:
"-"
detailInfo
.
bal
?
detailInfo
.
bal
.
toLocaleString
()
:
"-"
}}
}}
</el-form-item>
</el-form-item>
</div>
</div>
...
...
src/views/financeManage/theAssetData/components/refetchDialog.vue
View file @
0f62ea7
...
@@ -50,6 +50,7 @@ export default {
...
@@ -50,6 +50,7 @@ export default {
},
},
handleFormRef
:
'handleFormRef'
,
handleFormRef
:
'handleFormRef'
,
formRules
:
{
formRules
:
{
transactionTime
:
[{
required
:
true
,
message
:
'请选择交易时间'
,
trigger
:
'change'
}],
},
},
editFormData
:
[{
editFormData
:
[{
label
:
'单位名称'
,
label
:
'单位名称'
,
...
@@ -163,41 +164,40 @@ export default {
...
@@ -163,41 +164,40 @@ export default {
},
},
handleAddConfirm
()
{
handleAddConfirm
()
{
// this.$refs.editFormRef.$refs[this.handleFormRef].validate(valid => {
this
.
$refs
.
editFormRef
.
$refs
[
this
.
handleFormRef
].
validate
(
valid
=>
{
// if (valid) {
if
(
valid
)
{
var
params
=
deepClone
(
this
.
infoForm
)
var
params
=
deepClone
(
this
.
infoForm
)
if
(
params
.
accNameList
.
length
==
0
&&
params
.
bankType
==
''
&&
params
.
bankAcc
==
''
)
{
if
(
params
.
accNameList
.
length
==
0
&&
params
.
bankType
==
''
&&
params
.
bankAcc
==
''
)
{
// this.notice.warningTips('请选择除日期外的任意一个或多个条件!')
// this.notice.warningTips('请选择除日期外的任意一个或多个条件!')
this
.
$message
({
this
.
$message
({
message
:
"请选择除日期外的任意一个或多个条件!"
,
message
:
"请选择除日期外的任意一个或多个条件!"
,
type
:
"warning"
,
type
:
"warning"
,
showClose
:
true
showClose
:
true
})
})
return
return
}
}
if
(
params
.
transactionTime
)
{
if
(
params
.
transactionTime
)
{
params
.
transTimeStart
=
Util
.
dateFormate
(
params
.
transactionTime
[
0
],
'YYYY-MM-DD'
)
params
.
transTimeStart
=
Util
.
dateFormate
(
params
.
transactionTime
[
0
],
'YYYY-MM-DD'
)
params
.
transTimeEnd
=
Util
.
dateFormate
(
params
.
transactionTime
[
1
],
'YYYY-MM-DD'
)
params
.
transTimeEnd
=
Util
.
dateFormate
(
params
.
transactionTime
[
1
],
'YYYY-MM-DD'
)
}
else
{
}
else
{
delete
params
.
transTimeStart
delete
params
.
transTimeStart
delete
params
.
transTimeEnd
delete
params
.
transTimeEnd
}
}
// return console.log('params', params)
this
.
$confirm
(
'请确认是否要执行当前操作?'
,
'提示'
,
{
this
.
$confirm
(
'请确认是否要执行当前操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
closeOnClickModal
:
false
closeOnClickModal
:
false
}).
then
(()
=>
{
}).
then
(()
=>
{
nbcbAccDetailRefetch
(
params
).
then
(
res
=>
{
nbcbAccDetailRefetch
(
params
).
then
(
res
=>
{
this
.
notice
.
okTips
()
this
.
notice
.
okTips
()
this
.
dialogShow
=
true
this
.
dialogShow
=
true
})
})
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
})
}
})
})
// }
// })
}
}
}
}
...
...
src/views/financeManage/theAssetData/index.vue
View file @
0f62ea7
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
let
amtShow
=
'-'
let
amtShow
=
'-'
if
(
cellValue
.
cdSign
==
0
)
{
if
(
cellValue
.
cdSign
==
0
)
{
amtShow
=
cellValue
.
amt
amtShow
=
cellValue
.
amt
.
toLocaleString
()
}
}
return
amtShow
return
amtShow
}
}
...
@@ -240,14 +240,17 @@ export default {
...
@@ -240,14 +240,17 @@ export default {
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
let
amtShow
=
'-'
let
amtShow
=
'-'
if
(
cellValue
.
cdSign
==
1
)
{
if
(
cellValue
.
cdSign
==
1
)
{
amtShow
=
cellValue
.
amt
amtShow
=
cellValue
.
amt
.
toLocaleString
()
}
}
return
amtShow
return
amtShow
}
}
},
{
},
{
label
:
'账户余额'
,
label
:
'账户余额'
,
prop
:
'bal'
,
prop
:
'bal'
,
width
:
'150px'
width
:
'150px'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
bal
.
toLocaleString
()
||
'-'
}
},
{
},
{
label
:
'对方户名'
,
label
:
'对方户名'
,
prop
:
'oppAccName'
,
prop
:
'oppAccName'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment