| | |
| | | |
| | | <style scoped> |
| | | .home-page { |
| | | width: 125%; |
| | | width: 155%; |
| | | background-image: url("../assets/imgs/pageBg.png"); |
| | | } |
| | | |
| | |
| | | |
| | | <div style="margin-top: -6px;"> |
| | | <!--车é´ä¹ä¸çè¾é线--> |
| | | <div style="margin-top: -30px;"> |
| | | <!-- <div style="margin-top: -30px;"> |
| | | <div class="box" > |
| | | <div v-for="items in plcList_one.section_fourteen" class="box_sto" |
| | | :style="{ 'background-color': getBackgroundColor2(items.r_wheel_SN) }"> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> --> |
| | | <!--车é´ä¹ä¸çè¾é线--> |
| | | |
| | | <div style="margin-top: -164px;margin-right: 30px;"> |
| | | <!--ä¸è½¦é´ä¸é´è¾é--> |
| | | <div class="box" style="height: 66px;display: flex;width: 210px;"> |
| | | <div style="margin-top: -124px;margin-right: 30px;"> |
| | | |
| | | <div class="box" style="height: 66px;display: flex;width: 350px;"> |
| | | <div v-for="items in plcList_one.section_sixteen" class="box_sto2" |
| | | :style="{ 'background-color': getBackgroundColor2(items.r_wheel_SN) }"> |
| | | <el-tooltip class="item" effect="dark" placement="left"> |
| | |
| | | </el-tooltip> |
| | | </div> |
| | | </div> |
| | | <!--ä¸è½¦é´ä¸é´è¾é--> |
| | | </div> |
| | | <!--ä¸è½¦é´ä¸é´è¾é--> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | Idt_management_timeRepository timeRepository = new dt_management_timeRepository(context); |
| | | |
| | | var val = timeRepository.Find(x => x.management_name == "FinishMesWork").FirstOrDefault().management_numericalvalue; |
| | | var mes_heads = mes_HeadRepository.Find(x => x.quantity == x.finishNum || x.CreateTime.AddDays(val) < DateTime.Now).ToList(); |
| | | var mes_heads = mes_HeadRepository.Find(x => x.quantity == x.finishNum || x.CreateTime.AddDays(val) < DateTime.Now).Take(10).ToList(); |
| | | |
| | | #region æ£æµçº¿å·¥å |
| | | var mes_head_jcxs = mes_heads.Where(x => x.processCode == "28").ToList(); |
| | |
| | | foreach (var mes_head in mes_head_jjgs) |
| | | { |
| | | var inventorys = inventoryRepository.Find(x => x.jobID == mes_head.jobID).ToList(); |
| | | if (inventorys.Count == mes_head.quantity) |
| | | if (inventorys.Count == mes_head.quantity || inventorys.Count==0) |
| | | AddHtyMesWork(mes_head, mes_HeadRepository); |
| | | } |
| | | var k = "å è½½å®æ"; |
| | | } |
| | | #endregion |
| | | } |
| | |
| | | var Section_one = DBIems.Where(x => IsInRange(x.StackerNo, 6, 13, 6, 20) || x.StackerNo == "6.24" || x.StackerNo == "7.21").ToList(); |
| | | |
| | | var Section_fourteen= DBIems.Where(x => IsInRange(x.StackerNo, 7, 26, 7, 27)).ToList(); //ä¸æå£ |
| | | var Section_sixteen = DBIems.Where(x => IsInRange(x.StackerNo, 7, 28, 7, 30)).ToList(); //ä¸æå£ |
| | | var Section_sixteen = DBIems.Where(x => IsInRange(x.StackerNo, 7, 26, 7, 30)).ToList(); //ä¸æå£ |
| | | |
| | | var Section_two = DBIems.Where(x => IsInRange(x.StackerNo, 6, 11, 6, 12)).ToList(); |
| | | var Section_three = DBIems.Where(x => IsInRange(x.StackerNo, 6, 9, 6, 10)).OrderByDescending(x => x.StackerNo).ToList(); |