快乐的昕的电脑
2025-11-18 b8839c33d41a2ca70a1ac5afe64cac0775af947d
pages/index.vue
@@ -17,9 +17,9 @@
         <view class="tab-item" :class="{ active: currentTab === 4 }" @click="changeTab(4)">
            生产报工
         </view>
         <!-- <view class="tab-item" :class="{ active: currentTab === 1 }" @click="changeTab(1)">
      开工完工
   </view> -->
         <view class="tab-item" :class="{ active: currentTab === 1 }" @click="changeTab(1)">
              开工完工
           </view>
         <view class="tab-item" :class="{ active: currentTab === 5 }" @click="changeTab(5)">
            e-SOP
         </view>
@@ -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 = [];