Browse Source

MES——> PDA日任务按钮调整

master
gaojs 7 months ago
parent
commit
91e36d1945
  1. 31
      src/pages/mes/workScheduling/workScheduling.vue

31
src/pages/mes/workScheduling/workScheduling.vue

@ -11,14 +11,6 @@
</u-subsection> -->
</view>
<view class="item" v-for="(item, index) in list" :key="index">
<view class="title">
<view class="title-txt">
{{item.schedulingCode}}
</view>
<view class="time">
{{`${$time.formatDate(item.createTime)}`}}
</view>
</view>
<view class="dec">
<view>日计划单号</view><view>{{ item.planMasterCode }}</view>
</view>
@ -31,6 +23,9 @@
<view class="dec">
<view>产品名称</view><view>{{ item.productName }}</view>
</view>
<view class="dec">
<view>创建时间</view><view>{{`${$time.formatDate(item.createTime)}`}}</view>
</view>
<view class="dec">
<view>状态</view>
<view>
@ -66,22 +61,16 @@
</u-collapse-item>
</u-collapse>
</view>
<view v-if="item.status==-1" >
<u-button type="primary" @click="openInspectItem(item)">齐套检查</u-button>
</view>
<view v-if="item.status==0" >
<u-button type="primary" @click="kaigong(item)">开工</u-button>
</view>
<view v-if="item.status==1" >
<u-button type="success" size="mini" @click="callBasicItem(item)" class="btn">叫料</u-button>
<u-button type="primary" size="mini" @click="receiveBasicItem(item)" class="btn">领料</u-button>
<u-button type="warning" size="mini" @click="addBasicItem(item)" class="btn">补料</u-button>
<u-button type="success" size="mini" @click="reportHandle(item)" class="btn" style="background-color: burlywood">报工</u-button>
<u-button type="success" size="mini" @click="completeHandle(item)" class="btn" style="background-color:chocolate">完工</u-button>
</view>
<view >
<u-button type="success" v-if="item.status==-1" size="mini" class="btn" @click="openInspectItem(item)">齐套检查</u-button>
<u-button type="success" v-if="item.status==0" size="mini" class="btn" @click="kaigong(item)">开工</u-button>
<u-button type="success" size="mini" @click="SOP(item)" class="btn" style="background-color:#888888">SOP</u-button>
<u-button type="success" size="mini" @click="openDetail(item)" class="btn" style="background-color:#888888">明细</u-button>
<u-button type="success" v-if="item.status==1" size="mini" @click="callBasicItem(item)" class="btn">叫料</u-button>
<u-button type="primary" v-if="item.status==1" size="mini" @click="receiveBasicItem(item)" class="btn">领料</u-button>
<u-button type="warning" v-if="item.status==1" size="mini" @click="addBasicItem(item)" class="btn">补料</u-button>
<u-button type="success" v-if="item.status==1" size="mini" @click="reportHandle(item)" class="btn" style="background-color: burlywood">报工</u-button>
<u-button type="success" v-if="item.status==1" size="mini" @click="completeHandle(item)" class="btn" style="background-color:chocolate">完工</u-button>
</view>
</view>
<view style="height: 94rpx;padding-top: 30rpx;">

Loading…
Cancel
Save