|
@@ -119,7 +119,7 @@
|
|
|
<text>{{ index + 1 }}.{{item.processAlias}}</text>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
- <view><button class="start-batch-btn" style="margin-bottom: 10rpx;" type="primary" @click="handleOpenDrawing">查看本工序图纸</button></view>
|
|
|
+ <view><button v-if="!editStatus" class="start-batch-btn" style="margin-bottom: 10rpx;" type="primary" @click="handleOpenDrawing">查看本工序图纸</button></view>
|
|
|
</uni-drawer>
|
|
|
<!-- <view v-if="bottomStatus" class="bottom uni-row">
|
|
|
<button class="start-batch-btn" type="primary" @click="handleStartNewBatch">开始新批次</button>
|
|
@@ -196,7 +196,7 @@
|
|
|
const notPreProcess = ref(true)
|
|
|
const curProcessAfte = ref([])
|
|
|
const showRight = ref(null) // 抽屉
|
|
|
-
|
|
|
+ const editStatus = ref(false)
|
|
|
onLoad(() => {
|
|
|
curPlan.value = store.planDetails;
|
|
|
normalStatus.value = true;
|
|
@@ -408,6 +408,11 @@
|
|
|
let curProcessAfterList = [];
|
|
|
console.log(item)
|
|
|
currentDaywork.value = item
|
|
|
+ if(item.isWasteRecycling ==1 || item.isAmend ==1){
|
|
|
+ editStatus.value = true
|
|
|
+ }else{
|
|
|
+ editStatus.value = false
|
|
|
+ }
|
|
|
let nextIndex = 0;
|
|
|
for (let i = 0; i < item.processSequence.length; i++) {
|
|
|
if (item.nextProcess.id == item.processSequence[i].id) {
|