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) {