Commit 73b36f33 by zhuzhequan

eslint报错

parent a1cce5d1
...@@ -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
...@@ -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 { Confirm, CountStatus } 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()
......
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