二次确认
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user