Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
58eef8fd
Commit
58eef8fd
authored
Sep 06, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验报错修改
parent
7f59d288
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
66 deletions
+0
-66
src/views/podUsBillOrder/index.vue
+0
-66
No files found.
src/views/podUsBillOrder/index.vue
View file @
58eef8fd
...
...
@@ -1046,9 +1046,6 @@ import usePageList from '@/utils/hooks/usePageList'
import
{
useValue
}
from
'@/utils/hooks/useValue'
import
BigNumber
from
'bignumber.js'
import
{
auditOrderApi
,
confirmPodOrderApi
,
apiRejectionOfReview
,
apiSetCraftData
,
podUsReconciliation
,
podUsReconciliationList
,
...
...
@@ -1154,11 +1151,6 @@ const batchUpdate = async (
}
batchUpdateVisible
.
value
=
true
}
const
getSelectionsProperty
=
(
property
:
keyof
AccountStatementNote
)
=>
{
return
selections
.
value
.
map
((
el
:
AccountStatementNote
)
=>
el
[
property
])
.
join
(
','
)
}
const
handleDetailSizeChange
=
(
size
:
number
)
=>
{
detailPager
.
value
.
rows
=
size
...
...
@@ -1377,65 +1369,7 @@ const auditForm = ref({
description
:
''
,
}
)
const
auditFormRef
=
ref
()
const
auditOrder
=
(
key
:
string
)
=>
{
let
url
=
''
let
text
=
''
switch
(
key
)
{
case
'pay'
:
url
=
'pod/podReconciliation/payment'
text
=
'确认付款'
break
case
'archive'
:
url
=
'pod/podReconciliation/archiving'
text
=
'确认归档'
break
}
if
(
selections
.
value
.
length
===
0
)
{
return
ElMessage
.
warning
(
'请选择要操作的数据'
)
}
ElMessageBox
.
confirm
(
`${text
}
对账单?`
,
'重要提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'warning'
,
}
).
then
(
async
()
=>
{
const
ids
=
selections
.
value
.
map
((
el
:
AccountStatementNote
)
=>
el
.
id
)
.
join
(
','
)
await
auditOrderApi
(
url
,
ids
)
ElMessage
.
success
(
'操作成功'
)
search
()
await
getTreeNum
()
}
)
}
const
rejectOrder
=
()
=>
{
if
(
selections
.
value
.
length
===
0
)
{
return
ElMessage
.
warning
(
'请选择要操作的数据'
)
}
ElMessageBox
.
prompt
(
'请输入驳回原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
inputPattern
:
/.+/
,
customClass
:
'reject'
,
inputErrorMessage
:
'请输入驳回原因'
,
inputPlaceholder
:
'驳回原因'
,
}
).
then
(
async
({
value
}
:
{
value
:
string
}
)
=>
{
const
ids
=
getSelectionsProperty
(
'id'
)
const
recNumbers
=
getSelectionsProperty
(
'rec_number'
)
try
{
await
apiRejectionOfReview
({
ids
:
ids
,
description
:
value
,
recNumbers
:
recNumbers
,
}
)
ElMessage
.
success
(
'操作成功'
)
search
()
await
getTreeNum
()
}
catch
(
e
)
{
console
.
error
(
e
)
}
}
)
}
const
confirmOrder
=
async
(
item
:
AccountStatementNote
)
=>
{
currentRow
.
value
=
item
confirmOrderVisible
.
value
=
true
...
...
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