.vue
This commit is contained in:
@@ -295,26 +295,14 @@
|
||||
this.disabled1 = true
|
||||
if (!this.val3) {
|
||||
this.disabled1 = false
|
||||
uni.showToast({
|
||||
title: '起点不能为空',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!this.val4) {
|
||||
this.disabled1 = false
|
||||
uni.showToast({
|
||||
title: '母卷号不能为空',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!this.val5) {
|
||||
this.disabled1 = false
|
||||
uni.showToast({
|
||||
title: '终点不能为空',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
try {
|
||||
@@ -337,10 +325,6 @@
|
||||
},
|
||||
async handleConfirm(type) {
|
||||
if (!this.val1) {
|
||||
uni.showToast({
|
||||
title: '点位不能为空',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
|
||||
Reference in New Issue
Block a user