Commit 73b36f33 by zhuzhequan

eslint报错

parent a1cce5d1
......@@ -230,25 +230,26 @@ export interface Reconciliation {
status: string | number | null
startTime: string
endTime: string,
billNumber?:string
shipmentId?:string
shipmentNum?:string
dataVersion?:string
carriageName?:string
lanshouAddress?:string
totalPrice?:string
passNum?:string
lanshouPost?:string
notPassNum?:string
lanshouRegion?:string
orderNumber?:string
lanshouName?:string
lanshouPhone?:string
logisticsTracking?:string
totalAmount?:string
id?:number
}
export interface Confirm{
id:number | string
dataVersion:string | number
billNumber?: string
shipmentId?: string
shipmentNum?: string
dataVersion?: string
carriageName?: string
lanshouAddress?: string
totalPrice?: string
passNum?: string
lanshouPost?: string
notPassNum?: string
lanshouRegion?: string
orderNumber?: string
lanshouName?: string
lanshouPhone?: string
logisticsTracking?: string
totalAmount?: string
id?: number
}
export interface Confirm {
id: number | undefined
dataVersion: string | undefined
}
\ No newline at end of file
......@@ -390,7 +390,7 @@ import { ref, onMounted, watch, nextTick } from 'vue'
import { showError } from '@/utils/ui'
import 'element-plus/dist/index.css'
import { CountStatus } from '@/types/api/order.ts'
import { Confirm, CountStatus } from '@/types/api/order.ts'
interface SummaryMethodProps<T = AccountStatementNote> {
columns: TableColumnCtx<T>[]
......@@ -619,12 +619,13 @@ const sureFactory = () => {
confirmButtonText: '确定',
type: 'warning',
}).then(async () => {
await factoryConfirm(selections.value.map(el => {
const data:Confirm[] = selections.value.map(el => {
return {
id: el.id,
dataVersion: el.dataVersion,
}
}))
})
await factoryConfirm(data)
ElMessage.success('操作成功')
search()
await getTreeNum()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment