#106车间今日任务显示utask
This commit is contained in:
parent
9ddc0f2555
commit
3904743f49
|
@ -14,8 +14,8 @@
|
|||
</div>
|
||||
<div style="height: 4px;"></div>
|
||||
<div class="boxmain bigdata border" style="overflow:scroll">
|
||||
<div v-for="item in todayMtask" :key="item.id" style="width:50%;display:inline-block; height: 40px;">
|
||||
<span style="font-size:12px">{{item.material_out_name}}</span>
|
||||
<div v-for="item in todayUtask" :key="item.id" style="width:50%;display:inline-block; height: 40px;">
|
||||
<span style="font-size:12px">{{item.number}}</span>
|
||||
<span style="color: #fef000;margin-left: 10px;font-weight:bold;font-family:electronicFont">
|
||||
{{item.count}}
|
||||
</span>
|
||||
|
@ -282,7 +282,7 @@ export default {
|
|||
refValue2:'moocBox2',
|
||||
liData1: ['序号','日期', '型号', '规格', '发货数量'],
|
||||
liData2: ['序号','工序','产品名称', '型号', '计划数量', '合格数量', '完成进度', '合格率','操作人'],
|
||||
todayMtask:[],
|
||||
todayUtask:[],
|
||||
saleOutData:[],
|
||||
processData:[],
|
||||
time: null,
|
||||
|
@ -322,7 +322,7 @@ export default {
|
|||
this.yesterday = yesterday.getFullYear()+"-" + (yesterday.getMonth()+1) + "-" + yesterday.getDate();
|
||||
this.getsaleOut();
|
||||
this.getMioItem();//发货情况
|
||||
this.getTodayMtask();//今日任务
|
||||
this.getTodayUtask();//今日任务
|
||||
//昨日工序进度
|
||||
this.getMtask();
|
||||
//时间
|
||||
|
@ -352,15 +352,15 @@ export default {
|
|||
}, 500)
|
||||
},
|
||||
//今日任务
|
||||
getTodayMtask(){
|
||||
getTodayUtask(){
|
||||
let that = this;
|
||||
let obj ={};
|
||||
obj.start_date = this.today;
|
||||
obj.end_date = this.today;
|
||||
obj.belong_dept__name='6车间';
|
||||
obj.page=0;
|
||||
that.$API.pm.mtask.list.req(obj).then((res) => {
|
||||
that.todayMtask=res;
|
||||
that.$API.pm.utask.list.req(obj).then((res) => {
|
||||
that.todayUtask=res;
|
||||
console.log('今日任务:',res);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue