| | |
| | | <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> |
| | |
| | | <!-- <!– 调用 WorkOrderStatus 组件 –>--> |
| | | <WorkOrderStatus :orderId="orderId" :orderNo="selectedOrder" :machineNo="machineNo" /> |
| | | </view> |
| | | <view v-if="currentTab === 3" class="tab-content"> |
| | | <view v-if="currentTab === 2" class="tab-content"> |
| | | <!-- <!– 调用 mold 组件 –>--> |
| | | <mold :orderId="orderId" :orderNo="selectedOrder" :machineNo="machineNo" /> |
| | | </view> |
| | | <view v-if="currentTab === 2" class="tab-content"> |
| | | <view v-if="currentTab === 3" class="tab-content"> |
| | | <!-- <!– 调用 mold 组件 –>--> |
| | | <machine :orderId="orderId" :orderNo="selectedOrder" :machineNo="machineNo" /> |
| | | </view> |
| | |
| | | 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 = []; |