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
73b36f33
Commit
73b36f33
authored
Jul 05, 2024
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eslint报错
parent
a1cce5d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
24 deletions
+27
-24
src/types/api/order.ts
+23
-21
src/views/AccountStatementNote.vue
+4
-3
No files found.
src/types/api/order.ts
View file @
73b36f33
...
@@ -230,25 +230,26 @@ export interface Reconciliation {
...
@@ -230,25 +230,26 @@ export interface Reconciliation {
status
:
string
|
number
|
null
status
:
string
|
number
|
null
startTime
:
string
startTime
:
string
endTime
:
string
,
endTime
:
string
,
billNumber
?:
string
billNumber
?:
string
shipmentId
?:
string
shipmentId
?:
string
shipmentNum
?:
string
shipmentNum
?:
string
dataVersion
?:
string
dataVersion
?:
string
carriageName
?:
string
carriageName
?:
string
lanshouAddress
?:
string
lanshouAddress
?:
string
totalPrice
?:
string
totalPrice
?:
string
passNum
?:
string
passNum
?:
string
lanshouPost
?:
string
lanshouPost
?:
string
notPassNum
?:
string
notPassNum
?:
string
lanshouRegion
?:
string
lanshouRegion
?:
string
orderNumber
?:
string
orderNumber
?:
string
lanshouName
?:
string
lanshouName
?:
string
lanshouPhone
?:
string
lanshouPhone
?:
string
logisticsTracking
?:
string
logisticsTracking
?:
string
totalAmount
?:
string
totalAmount
?:
string
id
?:
number
id
?:
number
}
}
export
interface
Confirm
{
id
:
number
|
string
export
interface
Confirm
{
dataVersion
:
string
|
number
id
:
number
|
undefined
dataVersion
:
string
|
undefined
}
}
\ No newline at end of file
src/views/AccountStatementNote.vue
View file @
73b36f33
...
@@ -390,7 +390,7 @@ import { ref, onMounted, watch, nextTick } from 'vue'
...
@@ -390,7 +390,7 @@ import { ref, onMounted, watch, nextTick } from 'vue'
import
{
showError
}
from
'@/utils/ui'
import
{
showError
}
from
'@/utils/ui'
import
'element-plus/dist/index.css'
import
'element-plus/dist/index.css'
import
{
CountStatus
}
from
'@/types/api/order.ts'
import
{
Co
nfirm
,
Co
untStatus
}
from
'@/types/api/order.ts'
interface
SummaryMethodProps
<
T
=
AccountStatementNote
>
{
interface
SummaryMethodProps
<
T
=
AccountStatementNote
>
{
columns
:
TableColumnCtx
<
T
>
[]
columns
:
TableColumnCtx
<
T
>
[]
...
@@ -619,12 +619,13 @@ const sureFactory = () => {
...
@@ -619,12 +619,13 @@ const sureFactory = () => {
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(
async
()
=>
{
}).
then
(
async
()
=>
{
await
factoryConfirm
(
selections
.
value
.
map
(
el
=>
{
const
data
:
Confirm
[]
=
selections
.
value
.
map
(
el
=>
{
return
{
return
{
id
:
el
.
id
,
id
:
el
.
id
,
dataVersion
:
el
.
dataVersion
,
dataVersion
:
el
.
dataVersion
,
}
}
}))
})
await
factoryConfirm
(
data
)
ElMessage
.
success
(
'操作成功'
)
ElMessage
.
success
(
'操作成功'
)
search
()
search
()
await
getTreeNum
()
await
getTreeNum
()
...
...
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