From ded95762eb2a64e826b2861adacda9e8ae9e3085 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Fri, 11 Nov 2022 19:09:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=98=E7=83=A4=E5=B7=A5=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ProductManage/BakeProcess.vue | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/pages/ProductManage/BakeProcess.vue b/pages/ProductManage/BakeProcess.vue index 4fc7642..b452613 100644 --- a/pages/ProductManage/BakeProcess.vue +++ b/pages/ProductManage/BakeProcess.vue @@ -34,8 +34,8 @@ - - + + @@ -64,7 +64,7 @@ handleChange (e) { console.log(e) }, - async _ovenInAndOut (type) { + async _ovenInAndOut1 (type) { this.disabled = true if (!this.val1 || !this.val2 ||!this.val3 || !this.val4) { this.disabled = false @@ -81,6 +81,23 @@ this.disabled = false } }, + async _ovenInAndOut2 (type) { + this.disabled = true + if (!this.val1 || !this.val2) { + this.disabled = false + return + } + try { + let res = await ovenInAndOut(this.val1, this.val2,'', '', type) + uni.showToast({ + title: res.message, + icon: 'none' + }) + this.disabled = false + } catch (e) { + this.disabled = false + } + }, async _inCoolIvt () { this.disabled3 = true if (!this.val1 || !this.val2) {