改烘烤工序

This commit is contained in:
2025-06-17 13:19:30 +08:00
parent 2fb7d4b1b1
commit 9fb1a42387
2 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@
</view>
<view class="zd-row submitbar">
<button class="zd-col-5 btn-submit btn-success letter-30" :class="{'btn-info': !val1 || !val2 || !val3 || !val4}" :disabled="disabled" @tap="_ovenInAndOut1('1')">{{$t('button.enter-box')}}</button>
<button class="zd-col-5 btn-submit btn-success letter-30" :class="{'btn-info': !val1 || !val2}" :disabled="disabled" @tap="_ovenInAndOut2('2')">{{$t('button.out-box')}}</button>
<button class="zd-col-5 btn-submit btn-success letter-30" :class="{'btn-info': !val1}" :disabled="disabled" @tap="_ovenInAndOut2('2')">{{$t('button.out-box')}}</button>
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !val1 || !val2}" :disabled="disabled3" @tap="_inCoolIvt">{{$t('button.quality-approved')}}</button>
<button class="zd-col-5 btn-submit btn-success letter-30" :class="{'btn-info': !((val1 && val2 && index === '1') || (val1 && val2 && val3 && val4 && index === '2'))}" :disabled="disabled4" @tap="_inCoolOrOven">质检不合格</button>
</view>
@@ -110,12 +110,12 @@
},
async _ovenInAndOut2 (type) {
this.disabled = true
if (!this.val1 || !this.val2) {
if (!this.val1) {
this.disabled = false
return
}
try {
let res = await ovenInAndOut(this.val1, this.val2,'', '', type)
let res = await ovenInAndOut(this.val1, '','', '', type)
uni.showToast({
title: res.message,
icon: 'none'

View File

@@ -18,7 +18,7 @@ export const allAuthority = () => {
{menu_id: '1', title: '生箔生产进度', path: '/pages/SecondPhase/production/SboProdProgress'},
{menu_id: '2', title: '生箔工序', path: '/pages/SecondPhase/production/SboProcess'},
{menu_id: '3', title: '烘烤工序', path: '/pages/SecondPhase/production/BakeProcess'},
{menu_id: '4', title: '表处工序', path: '/pages/SecondPhase/production/SurfaceProcess'},
// {menu_id: '4', title: '表处工序', path: '/pages/SecondPhase/production/SurfaceProcess'},
{menu_id: '5', title: '人工烘烤', path: '/pages/SecondPhase/production/ManmadeBake'},
{menu_id: '6', title: '子卷质检', path: '/pages/SecondPhase/production/ZjCheck'},
{menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/production/ZjContainer'},