#106车间今日任务显示utask

This commit is contained in:
shijing 2023-12-26 16:21:56 +08:00
parent 9ddc0f2555
commit 3904743f49
1 changed files with 7 additions and 7 deletions

View File

@ -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);
});
},