From 9c166796b5389719d202eaeb3972eaad63434f02 Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Wed, 24 Jul 2024 17:42:42 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=88=87=E6=9A=82=E5=AD=98=E4=B8=8B?=
=?UTF-8?q?=E6=96=99=E5=BC=B9=E7=AA=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/SecondPhase/slitting/CacheCut.vue | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/pages/SecondPhase/slitting/CacheCut.vue b/pages/SecondPhase/slitting/CacheCut.vue
index f17383c..62b62fb 100644
--- a/pages/SecondPhase/slitting/CacheCut.vue
+++ b/pages/SecondPhase/slitting/CacheCut.vue
@@ -24,8 +24,11 @@
-
+
+
+
+
@@ -45,7 +48,6 @@
newoptions: [],
options2: [],
index2: '',
- disabled: false,
obj: {a_point: '-', b_point: '-', status: '-'}
};
},
@@ -103,21 +105,24 @@
this.options = [...res]
this.newoptions = [...res]
},
- async _sendSubVolumeToNBJ () {
- this.disabled = true
+ toSure () {
if (!this.index) {
- this.disabled = false
return
}
+ this.$refs.alertDialog.open()
+ },
+ dialogConfirm () {
+ this._sendSubVolumeToNBJ()
+ },
+ async _sendSubVolumeToNBJ () {
try {
let res = await sendSubVolumeToNBJ(this.index)
uni.showToast({
title: res.message,
icon: 'none'
})
- this.disabled = false
} catch (e) {
- this.disabled = false
+ console.log(e)
}
},
clearUp () {