二次确认

This commit is contained in:
2025-07-03 09:56:11 +08:00
parent b3c057e541
commit a9ae616182
6 changed files with 60 additions and 30 deletions

View File

@@ -79,6 +79,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import UpTop from '@/components/upTop.vue'
import { confirmAction } from '@/utils/utils.js'
import {twoQueryBoxIvt, twoBoxOut} from '@/utils/getData3.js'
export default {
components: {
@@ -134,12 +135,17 @@
this.selectedNum = this.checkArr.length
}
},
async _twoBoxOut () {
this.disabled = true
async handleConfirm() {
if (!this.checkArr.length) {
this.disabled = false
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
if (isConfirmed) {
this._twoPdaVehicleIn()
}
},
async _twoBoxOut () {
this.disabled = true
try {
let res = await twoBoxOut(this.checkArr)
uni.showToast({