需求修改

This commit is contained in:
2025-11-26 16:59:47 +08:00
parent 411173c2ca
commit a6e2ba107f
3 changed files with 51 additions and 9 deletions

View File

@@ -91,7 +91,7 @@
</view>
<view class="zd-row submit-bar">
<button class="zd-col-8 button-default" @tap="clearUp">清空</button>
<button class="zd-col-15 button-primary" :class="{'button-info': !val1 || !val2 || index1 === '' || !temperature || !time}" :disabled="disabled" @tap="_needEmptyAxisv2">生箔下料</button>
<button class="zd-col-15 button-primary" :class="{'button-info': !val1 || !val2}" :disabled="disabled" @tap="_needEmptyAxisv2">生箔下料</button>
</view>
</view>
</template>
@@ -177,7 +177,7 @@
},
async _needEmptyAxisv2 () {
this.disabled = true
if (!this.val1 || !this.val2 || this.index1 === '' || !this.temperature || !this.time) {
if (!this.val1 || !this.val2) {
this.disabled = false
return
}