Browse Source

feat: update 待领料期间不允许其他操作

master
TengXF 6 months ago
parent
commit
e9fb809256
  1. 19
      src/pages/mes/workScheduling/workScheduling.vue

19
src/pages/mes/workScheduling/workScheduling.vue

@ -102,28 +102,28 @@
<u-tr>
<u-th>步骤</u-th>
<u-th>编码</u-th>
<u-th v-if="item.status==1" >操作</u-th>
<u-th v-if="item.status==1 && item.flagDo != 0" >操作</u-th>
</u-tr>
<u-tr v-for="(detail, detailIndex) in item.detailDOList" :key="detailIndex"
class="text">
<u-td>{{ detailIndex + 1 }}</u-td>
<u-td>{{ detail.nodeCode }}</u-td>
<u-td v-if="detail.nodeCode==item.workingNode && item.status==1 && detail.status==0">
<u-td v-if="detail.nodeCode==item.workingNode && item.status==1 && detail.status==0 && item.flagDo != 0">
<u-button type="success" @click="nodeCodeFinish(detail)" class="tableBtn" >待完成</u-button>
</u-td>
<u-td v-if="detail.status==2 && item.status==1">
<u-td v-if="detail.status==2 && item.status==1 && item.flagDo != 0">
<u-button type="primary" @click="reportHandle(detail)" class="tableBtn" >待报工</u-button>
</u-td>
<u-td v-if="detail.status==4 && item.status==1">
<u-td v-if="detail.status==4 && item.status==1 && item.flagDo != 0">
<u-button type="primary" @click="waitCheck(detail)" class="tableBtn" >待质检</u-button>
</u-td>
<u-td v-if="detail.status==0 && item.status==1 && detail.nodeCode!=item.workingNode">
<u-td v-if="detail.status==0 && item.status==1 && detail.nodeCode!=item.workingNode && item.flagDo != 0">
<u-button type="warning" class="tableBtn" >待执行</u-button>
</u-td>
<u-td v-if="detail.status==1 && item.status==1 ">
<u-td v-if="detail.status==1 && item.status==1 && item.flagDo != 0">
<u-button type="warning" class="tableBtn" >已完成</u-button>
</u-td>
<u-td v-if="detail.status==3 && item.status==1 ">
<u-td v-if="detail.status==3 && item.status==1 && item.flagDo != 0">
<u-button type="warning" class="tableBtn" >已报工</u-button>
</u-td>
</u-tr>
@ -702,8 +702,11 @@
}
.tableBtn {
margin-left: 8px;
width: 35px;
width: 55px;
height: 25px;
font-size: 12px
}
.u-td{
min-height:40px
}
</style>
Loading…
Cancel
Save