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 a4efb7db
authored
Jul 01, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
对账单模版校验
1 parent
4bbac062
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
src/api/accountManage.js
src/views/financeManage/components/TmplDrawer.vue
src/api/accountManage.js
View file @
a4efb7d
...
@@ -112,3 +112,9 @@ export function billCancelChange(data) {
...
@@ -112,3 +112,9 @@ export function billCancelChange(data) {
data
.
method
=
'dj.api.smartcarlife.reconciliationBill.cancelChange'
data
.
method
=
'dj.api.smartcarlife.reconciliationBill.cancelChange'
return
request
(
data
,
"post"
)
return
request
(
data
,
"post"
)
}
}
// 对账单待取消内容确认
export
function
tmplCheckField
(
data
)
{
data
.
method
=
'dj.api.reconciliation.template.checkField'
return
request
(
data
,
"post"
)
}
src/views/financeManage/components/TmplDrawer.vue
View file @
a4efb7d
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<
script
>
<
script
>
import
AccountTmpl
from
"../accountTmplManage/components/AccountTmpl"
import
AccountTmpl
from
"../accountTmplManage/components/AccountTmpl"
import
{
deepClone
}
from
'@/common/util'
import
{
deepClone
}
from
'@/common/util'
import
{
tmplCheckField
}
from
'@api/accountManage'
export
default
{
export
default
{
name
:
'TmplDrawer'
,
name
:
'TmplDrawer'
,
components
:
{
components
:
{
...
@@ -43,8 +44,14 @@ export default {
...
@@ -43,8 +44,14 @@ export default {
this
.
$emit
(
'handleClose'
)
this
.
$emit
(
'handleClose'
)
},
},
handleConfirm
()
{
handleConfirm
()
{
this
.
$emit
(
'handleConfirm'
,
{
const
params
=
{
type
:
this
.
type
,
fieldIds
:
deepClone
(
this
.
$refs
.
accountTmpl
.
getSelected
())
fieldIds
:
deepClone
(
this
.
$refs
.
accountTmpl
.
getSelected
())
}
tmplCheckField
(
params
).
then
(
res
=>
{
this
.
$emit
(
'handleConfirm'
,
{
fieldIds
:
deepClone
(
this
.
$refs
.
accountTmpl
.
getSelected
())
})
})
})
},
},
},
},
...
...
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