pages/index.vue
@@ -558,6 +558,17 @@ return; } // 只判断当前绑定工单(第一条)是否有刀具 const currentOrder = this.isShowTableData[0]; if (currentOrder && currentOrder.outToolName && currentOrder.outToolName.trim() !== '') { uni.showToast({ title: '当前工单已绑定刀具,不能清空重选', icon: 'error', duration: 2000 }); return; } let editDate = this.formatDate(new Date()); this.selectedIndexs = [];