chenc 4 سال پیش
والد
کامیت
b9fad1647c
41فایلهای تغییر یافته به همراه337 افزوده شده و 112 حذف شده
  1. 2 0
      css/dashboard.css
  2. BIN
      images/content/1all--.jpg
  3. BIN
      images/content/1all.png
  4. BIN
      images/content/button.png
  5. BIN
      images/content/logo--.jpg
  6. BIN
      images/content/logo-1--.jpg
  7. BIN
      images/content/logo-1.jpg
  8. BIN
      images/content/logo-2--.jpg
  9. BIN
      images/content/logo-2.jpg
  10. BIN
      images/content/logo-3--.jpg
  11. BIN
      images/content/logo-3.jpg
  12. BIN
      images/content/logo-4--.jpg
  13. BIN
      images/content/logo-4.jpg
  14. BIN
      images/content/logo.jpg
  15. 21 12
      js/service/material.js
  16. 86 0
      pages/dashboard/aa.html
  17. 43 26
      pages/dashboard/esop.html
  18. 2 2
      pages/dashboard/produce.html
  19. 115 20
      pages/dashboard/video1.html
  20. 68 52
      pages/dashboard/warehouse.html
  21. BIN
      upFiles - 副本/123.mp4
  22. BIN
      upFiles - 副本/1603869447(1).jpg
  23. 0 0
      upFiles - 副本/66000112802/1111111111111111111111.pdf
  24. 0 0
      upFiles - 副本/66000112802/avata_2.jpg
  25. 0 0
      upFiles - 副本/66000112802/诗.jpg
  26. BIN
      upFiles - 副本/诗.jpg
  27. BIN
      upFiles/660001459/CV0101250000 - 副本.pdf
  28. BIN
      upFiles/660001704/1111111111111111111111.pdf
  29. BIN
      upFiles/660001704/avata_2.jpg
  30. BIN
      upFiles/660001704/诗.jpg
  31. BIN
      upFiles/CV0101010100_akfhkhf.pdf
  32. BIN
      upFiles/CV0101250000 - 副本 - 副本.pdf
  33. BIN
      upFiles/CV0101250000 - 副本.pdf
  34. BIN
      upFiles/CV0401030000 - 副本.pdf
  35. BIN
      upFiles/CV0409010000.pdf
  36. BIN
      upVedio/ABB/1.png
  37. 0 0
      upVedio/CCC/B/2.png
  38. 0 0
      upVedio/CCC/C/3.png
  39. BIN
      upVedio/CCC/D/1618544713(1).png
  40. BIN
      upVedio/CCC/D/3.png
  41. BIN
      upVedio/lALPD3W5MZx_E4HNAwPNBPE_1265_771.png_720x720q90g.jpg

+ 2 - 0
css/dashboard.css

@@ -24,6 +24,7 @@ body{
     color:#ffff00;
     font-size: 25px;
     font-weight: bold;
+    
 }
 .person-div{
     float:left;
@@ -44,6 +45,7 @@ body{
 }
 .no-padding{
     padding:0px 0px 0px 0px;
+    font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;
 }
 .padding-line{
     padding-top:20px;

BIN
images/content/1all--.jpg


BIN
images/content/1all.png


BIN
images/content/button.png


BIN
images/content/logo--.jpg


BIN
images/content/logo-1--.jpg


BIN
images/content/logo-1.jpg


BIN
images/content/logo-2--.jpg


BIN
images/content/logo-2.jpg


BIN
images/content/logo-3--.jpg


BIN
images/content/logo-3.jpg


BIN
images/content/logo-4--.jpg


BIN
images/content/logo-4.jpg


BIN
images/content/logo.jpg


+ 21 - 12
js/service/material.js

@@ -263,20 +263,29 @@ var ServiceMaterial={
     },
     getMoallocateList:function(){
         var moallocateList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getMoallocateList");
-        if(moallocateList){
-            moallocateList.forEach(element => {
-                element.orderSheetCode=element.mocode
-                element.materialCode=element.minvCode
-                element.materialName=element.mcinvname
-                element.specs=""//element.cinvstd
-                // element.needSum=element.qtys
-                element.needSum=element.qtys
-                element.stockSum=element.issQty
-                element.materialPreparationTotal=element.materialPreparationTotal
-            });
-        }
+        // if(moallocateList){
+        //     var orderSheetCode="";
+        //     moallocateList.forEach(element => {
+        //         element.orderSheetCode=element.mocode
+        //         element.materialCode=element.minvCode
+        //         element.materialName=element.mcinvname
+        //         element.specs=""//element.cinvstd
+        //         // element.needSum=element.qtys
+        //         element.needSum=element.qtys
+        //         element.stockSum=element.issQty
+        //         element.materialPreparationTotal=element.materialPreparationTotal
+        //         element.isShow="0"
+        //         if(orderSheetCode!=element.mocode){
+        //             orderSheetCode=element.mocode
+        //             element.isShow="1"
+        //         }
+        //     });
+        // }
         return moallocateList;
     },
+    getMoallocateListGroupCount:function(){
+        return MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getMoallocateListGroupCount");
+    },
     // 工单备料
     getListByOrderSheet:function(type){
         // const materialList = [];

+ 86 - 0
pages/dashboard/aa.html

@@ -0,0 +1,86 @@
+<html>
+
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
+    <script type="text/javascript" src="/lib/jquery-3.4.1.js"></script>
+    <script type="text/javascript" src="/lib/jquery-3.4.1.min.js"></script>
+    <script src="/lib/jquery.min.js"></script>
+    <script>
+         function quan() {
+            /*全屏iframe兼容*/
+            var docElm = document.documentElement;
+            if (docElm.requestFullscreen) {
+                docElm.requestFullscreen();
+            } else if (docElm.mozRequestFullScreen) {
+                docElm.mozRequestFullScreen();
+            } else if (docElm.msRequestFullscreen) {
+                docElm.msRequestFullscreen();
+            } else if (docElm.oRequestFullscreen) {
+                docElm.oRequestFullscreen();
+            } else if (docElm.webkitRequestFullScreen) {
+                docElm.webkitRequestFullScreen();
+            }
+            $(".grid_12").css("display", "none");
+            $("#site_info").css("display", "none");
+            $("#full-screen-btn").css("display", "none");
+            $("iframe").css("height", "100%");
+            $("iframe").css("width", "100%");
+            $("iframe").css("position", 'fixed');
+            $("iframe").css("left", "0px");
+            $("iframe").css("top", "0px");
+
+        }
+        function exitQ() {
+            var mainheight = $('.sidemenu').height();  
+            $(".grid_12").css("display", "");
+            $("#site_info").css("display", "");
+            $("#full-screen-btn").css("display", "");
+            /*退屏iframe兼容*/
+            if (document.exitFullscreen) {
+                document.exitFullscreen();
+            } else if (document.msExitFullscreen) {
+                document.msExitFullscreen();
+            } else if (document.mozCancelFullScreen) {
+                document.mozCancelFullScreen();
+            } else if (document.oRequestFullscreen) {
+                document.oCancelFullScreen();
+            } else if (document.webkitCancelFullScreen) {
+                document.webkitCancelFullScreen();
+            }
+            $("iframe").css("height",mainheight + 'px');    
+       $("iframe").css("width", "");
+        $("iframe").css("position", ""); 
+        $("iframe").css("left", ""); 
+        $("iframe").css("top", "");
+ }
+
+ $("#full-screen-btn").click(function () {
+                if ($("#full-screen-btn").text() == "全屏显示") {
+                    parent.quan(); 
+                    $("#full-screen-btn").text("退出全屏");
+                } else {
+                    parent.exitQ();
+                    $("#full-screen-btn").text("全屏显示");
+                }
+            });
+    </script>
+    <style>
+        body, html { 
+    height: 100%; 
+    margin: 0; 
+} 
+.fullScreen { 
+    width: 100%; 
+    height: 100%; 
+    position: absolute; 
+    top: 0; 
+    left: 0; 
+} 
+    </style>
+    </head>
+
+    <body>
+        <iframe id="iframe_view" class="embed-responsive-item container well well-small span6" style="height: 720px; width: 1280px; background-color: #2e2e2e;" src="https://www.baidu.com/" frameborder="0" scrolling="no" allowfullscreen> 
+   </iframe>
+   </body>
+            </html>

+ 43 - 26
pages/dashboard/esop.html

@@ -148,29 +148,34 @@ iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.doc
         $("#videoType").height($(window).height()-110);
 
 
-        const taskList2 = ServiceProduceTask.getEsopTaskList();
+        // const taskList2 = ServiceProduceTask.getEsopTaskList();
         
-        //获取总页数
-        var total=(taskList2.length/10).toFixed(0);
-        if(taskList2.length%10<5){
-            total=Number(total)+1
-        }
+        // //获取总页数
+        // var total=(taskList2.length/10).toFixed(0);
+        // if(taskList2.length%10<5){
+        //     total=Number(total)+1
+        // }
 
         var vm = new Vue({
             el: '#div-main',
             data: {
                 taskList: [],
                 taskList2: [],
+                taskList3: [],
                 filepath:"",
-                num:taskList2.length,
+                num:0,
                 pIndex:0,
-                pSize:10
+                pSize:10,
+                cacheDataObject: {}, // 从服务器加载的全数据,界面只取某几条
+                total:0,
+                timer_long: '' // 定时取服务器数据
             },
             methods: {
                 SYPage(){
                     this.pIndex = 0;
                     this.pSize = 10;
-                    this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
+                    this.taskList2 = this.taskList3.slice(this.pIndex, this.pSize);
+                    // this.taskList2 = this.taskList2.slice(this.pIndex, this.pSize);
                 },
                 beforePage(){
                     if(this.pIndex == 0){
@@ -179,16 +184,22 @@ iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.doc
                     }
                     this.pIndex = this.pIndex - 10;
                     this.pSize = this.pSize - 10;
-                    this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
+                    this.taskList2 = this.taskList3.slice(this.pIndex, this.pSize);
+                    // this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
                 },
                 afterPage(){
-                    if(this.pSize >= taskList2.length){
+                    // if(this.pSize >= taskList2.length){
+                    //     alert("已是最后一页");
+                    //     return;
+                    // }
+                    if(this.pSize >= this.taskList3.length){
                         alert("已是最后一页");
                         return;
                     }
                     this.pIndex = this.pSize;
                     this.pSize = this.pSize + 10;
-                    this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
+                    this.taskList2 = this.taskList3.slice(this.pIndex, this.pSize);
+                    // this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
                 },
                 showfile: function (name,file) {
                     if(file=='pdf'){
@@ -221,22 +232,27 @@ iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.doc
                     console.log(this.taskList)
                 },
                 loadData:function(){
-                    // this.cacheDataObject = {};
-                    // // 
-                    // const taskList2 = ServiceProduceTask.getEsopTaskList();
-                    // this.num = taskList2.length;
-                    // this.cacheDataObject.taskList2 = {
-                    //     data: taskList2,
-                    //     pagesize: 11,
-                    //     pageindex: 0
-                    // }
-                    // this.taskList2 = taskList2.slice(0, this.cacheDataObject.taskList2.pagesize);
+                    //获取最新数据
+                    const taskList2 = ServiceProduceTask.getEsopTaskList();
+                    //不分页全部数据
+                    this.taskList3=JSON.parse(JSON.stringify(taskList2))
+                    console.log(taskList2)
+                    this.num=taskList2.length;
+                    //获取总页数
+                    this.total=(taskList2.length/10).toFixed(0);
+                    if(taskList2.length%10<5){
+                        this.total=Number(this.total)+1
+                    }
+                    //分页当前数据
+                    this.pIndex = 0;
+                    this.pSize = 10;
+                    this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
                 },
                 // 从服务器加载数据并显示
                 refreshData: function () {
                     // 关闭定时器
                     // clearInterval(this.timer_short);
-                    // this.loadData();
+                    this.loadData();
                     // 开启定时器
                     // this.timer_short = setInterval(this.scrollData, 30000);
                 },
@@ -267,12 +283,13 @@ iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.doc
                 }
             },
             mounted() {
-                this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
-                // this.timer_long = setInterval(this.refreshData, 60000);
-                // this.refreshData();
+                // this.taskList2 = taskList2.slice(this.pIndex, this.pSize);
+                this.timer_long = setInterval(this.refreshData, 600000);
+                this.refreshData();
 
             },
             beforeDestroy() {
+                clearInterval(this.timer_long);
                 // clearInterval(this.timer_long);
                 // clearInterval(this.timer_short);
             }

+ 2 - 2
pages/dashboard/produce.html

@@ -73,7 +73,7 @@
                 </div>
                 <div class="row block-padding">
                     <div class="col-lg-1 col-md-1 center no-padding" >工单号</div>
-                    <div class="col-lg-2 col-md-2 center no-padding">项目名</div>
+                    <div class="col-lg-3 col-md-3 center no-padding">项目名</div>
                     <div class="col-lg-1 col-md-1 center no-padding">物料编码</div>
                     <!-- <div class="col-lg-2 col-md-2 center no-padding">型号规格</div> -->
                     <div class="col-lg-2 col-md-2 center no-padding">物料名称</div>
@@ -87,7 +87,7 @@
                     <div class="col-lg-12 col-md-12" style="height: 350px;">
                         <div class="row" v-for="product in mouthProduceTaskList">
                             <div class="col-lg-1 col-md-1 center no-padding">{{product.orderSheetCode}}</div>
-                            <div style="overflow:hidden; word-break:break-all;white-space:nowrap;padding: 0px 3px;" class="col-lg-2 col-md-2 center no-padding">{{product.define12}}</div>
+                            <div style="overflow:hidden; word-break:break-all;white-space:nowrap;" class="col-lg-3 col-md-3 center no-padding">{{product.define12}}</div>
                             <div style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-1 col-md-1 center no-padding">{{product.materialCode}}</div>
                             <!-- <div class="col-lg-2 col-md-2 center no-padding">{{product.specs}}</div> -->
                             <div style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-2 col-md-2 left no-padding">{{product.materialName}}</div>

+ 115 - 20
pages/dashboard/video1.html

@@ -15,7 +15,7 @@
 
 </head>
 
-<body id="container" class="container-fluid">
+<body id="container" class="container-fluid" style="background-color: aliceblue;">
     <style>
         body{    
             overflow-y: hidden;
@@ -43,8 +43,8 @@
         </div>-->
     <!-- </div>  -->
 
-    <div class="my-container" id="div-main">
-        <div id="two">
+    <div class="my-container" id="div-main" style="height: 100%;width: 100%;">
+        <div id="two" style="height: 100%;width: 100%;">
             
             <div style="width: 50%;height: 100%;float:left;margin-left: -25px;margin-right: 5px;" v-for="task in taskList">
                 <video autoplay="true" loop="true" muted="muted" id="twoVideo2"  v-if="task.isVideo" class="videoType" :src="'/upVedio/ABB/'+task.fileName"  controls width="100%" height="100%" > </video> 
@@ -58,6 +58,7 @@
                 <iframe class="pdfType" id="twoPdf"  width="100%" border="0" frameborder="0" v-bind:src="'/lib/pdfjs/web/viewer.html?file=/upVedio/ABB/'+firstFile" style="background-color:#ffffff"></iframe>
 
             </div>
+            
         </div>
         <div class="row" v-for="task in taskList" id="one" style="margin-left: -25px"> 
             <video v-if="task.isVideo" autoplay="true" loop="true" muted="muted" id="oneVideo"  class="videoType" :src="'/upVedio/AAA/'+task.fileName"  controls width="100%" height="100%" > </video> 
@@ -65,6 +66,33 @@
             <iframe v-if="task.isPdf" class="pdfType" width="100%" border="0" frameborder="0" v-bind:src="'/lib/pdfjs/web/viewer.html?file=/upVedio/AAA/'+task.fileName" style="background-color:#ffffff"></iframe>
 
        </div>  
+       <div id="three" style="max-height: 100%;">
+        <div style="height: 50%;">
+            <div class="threeImg" style="width: 50%;float:left;text-align: center;" v-for="task in taskA">
+                <video v-if="task.isVideo" autoplay="true" loop="true" muted="muted" :src="'/upVedio/CCC/A/'+task.fileName"  controls width="100%" height="100%" > </video> 
+                <img   v-if="task.isImg" :src="'/upVedio/CCC/A/'+task.fileName" style="max-height: 100%;
+                max-width: 100%;" />
+            </div>
+            <div class="threeImg" style="width: 50%;float:left;text-align: center;" v-for="task in taskB">
+                <video v-if="task.isVideo" autoplay="true" loop="true" muted="muted" :src="'/upVedio/CCC/B/'+task.fileName"  controls width="100%" height="100%" > </video> 
+                <img  v-if="task.isImg"  :src="'/upVedio/CCC/B/'+task.fileName" style="max-height: 100%;
+                max-width: 100%;" />
+            </div>
+       </div>
+       <div style="height: 50%;">
+            <div class="threeImg" style="width: 50%;float:left;text-align: center;" v-for="task in taskC">
+                <video v-if="task.isVideo" autoplay="true" loop="true" muted="muted" :src="'/upVedio/CCC/C/'+task.fileName"  controls width="100%" height="100%" > </video> 
+                <img   v-if="task.isImg" :src="'/upVedio/CCC/C/'+task.fileName" style="max-height: 100%;
+                max-width: 100%;" />
+            </div>
+            <div class="threeImg" style="width: 50%;float:left;text-align: center;" v-for="task in taskD">
+                <video v-if="task.isVideo" autoplay="true" loop="true" muted="muted" :src="'/upVedio/CCC/D/'+task.fileName"  controls width="100%" height="100%" > </video> 
+                <img  v-if="task.isImg"  :src="'/upVedio/CCC/D/'+task.fileName" style="max-height: 100%;
+                max-width: 100%;"/>
+            </div>
+        </div>
+       </div>
+       
     </div>
 
     <!-- jQuery  -->
@@ -80,6 +108,7 @@
         $(".videoType").height($(window).height());
         $(".imgType").height($(window).height());
         $(".pdfType").height($(window).height());
+        $(".threeImg").height($(window).height()/2);
         var vm = new Vue({
                     el: '#div-main',
                     data: {
@@ -90,7 +119,21 @@
                         pageIndex: 0,
                         timer: '',
                         upVideo:'',
-                        firstFile:''
+                        firstFile:'',
+                        taskA:[],
+                        taskB:[],
+                        taskC:[],
+                        taskD:[],
+                        page:{
+                            pageSizeA: 1,
+                            pageIndexA: 0,
+                            pageSizeB: 1,
+                            pageIndexB: 0,
+                            pageSizeC: 1,
+                            pageIndexC: 0,
+                            pageSizeD: 1,
+                            pageIndexD: 0
+                        }
                     },
                     methods: {
                         
@@ -98,37 +141,89 @@
                             this.upVideo = this.listInit[0].upVideo;
                             
                             this.firstFile = this.listInit[0].fileName;
-                            if(this.listInit[0].isImg){
-                                $("#twoVideo").hide();
-                                $("#twoPdf").hide();
-                            }else if(this.listInit[0].isVideo){
-                                $("#twoImg").hide();
-                                $("#twoPdf").hide();
+                            if(this.upVideo != 'CCC'){
+                                if(this.listInit[0].isImg){
+                                    $("#twoVideo").hide();
+                                    $("#twoPdf").hide();
+                                }else if(this.listInit[0].isVideo){
+                                    $("#twoImg").hide();
+                                    $("#twoPdf").hide();
+                                }else{
+                                    $("#twoVideo").hide();
+                                    $("#twoImg").hide();
+                                }
                             }else{
                                 $("#twoVideo").hide();
+                                $("#twoPdf").hide();
                                 $("#twoImg").hide();
                             }
+                            
                             if(this.upVideo == 'AAA'){
                                $("#two").hide();
-                            }else{
+                               $("#three").hide();
+                            }else if(this.upVideo=='ABB'){
                                $("#one").hide();
+                               $("#three").hide();
+                            //    $("#one").contents().hide();
+                            //    console.log($("#one").contents())
                             //    this.listInit.splice(0, 1);
+                            }else{
+                                $("#one").hide();
+                                $("#two").hide();
                             }
                             
                         },
                         get2(){
                             this.listInit=ServiceProduceTask.getVedioFileList();
-                            if(this.upVideo != 'AAA'){
-                                this.listInit.splice(0, 1);
-                            }
-                            this.taskList = this.listInit.slice(this.pageIndex,this.pageSize);
-                            if(this.pageSize >= this.listInit.length){
-                                this.pageIndex = 0;
-                                this.pageSize = 1;
+                            console.log(this.upVideo)
+                            if(this.upVideo!='CCC'){
+                                if(this.upVideo != 'AAA'){
+                                    this.listInit.splice(0, 1);
+                                }
+                                this.taskList = this.listInit.slice(this.pageIndex,this.pageSize);
+                                if(this.pageSize >= this.listInit.length){
+                                    this.pageIndex = 0;
+                                    this.pageSize = 1;
+                                }else{
+                                    this.pageIndex = this.pageIndex + 1;
+                                    this.pageSize = this.pageSize + 1;
+                                }
                             }else{
-                                this.pageIndex = this.pageIndex + 1;
-                                this.pageSize = this.pageSize + 1;
+                                
+                                this.taskA=this.listInit[0].CCCA.slice(this.page.pageIndexA,this.page.pageSizeA);
+                                if(this.page.pageSizeA >= this.listInit[0].CCCA.length){
+                                    this.page.pageIndexA = 0;
+                                    this.page.pageSizeA = 1;
+                                }else{
+                                    this.page.pageIndexA = this.page.pageIndexA + 1;
+                                    this.page.pageSizeA = this.page.pageSizeA + 1;
+                                }
+                                this.taskB=this.listInit[0].CCCB.slice(this.page.pageIndexB,this.page.pageSizeB);
+                                if(this.page.pageSizeB >= this.listInit[0].CCCB.length){
+                                    this.page.pageIndexB = 0;
+                                    this.page.pageSizeB = 1;
+                                }else{
+                                    this.page.pageIndexB = this.page.pageIndexB + 1;
+                                    this.page.pageSizeB = this.page.pageSizeB + 1;
+                                }
+                                this.taskC=this.listInit[0].CCCC.slice(this.page.pageIndexC,this.page.pageSizeC);
+                                if(this.page.pageSizeC >= this.listInit[0].CCCC.length){
+                                    this.page.pageIndexC = 0;
+                                    this.page.pageSizeC = 1;
+                                }else{
+                                    this.page.pageIndexC = this.page.pageIndexC + 1;
+                                    this.page.pageSizeC = this.page.pageSizeC + 1;
+                                }
+                                this.taskD=this.listInit[0].CCCD.slice(this.page.pageIndexD,this.page.pageSizeD);
+                                if(this.page.pageSizeD >= this.listInit[0].CCCD.length){
+                                    this.page.pageIndexD = 0;
+                                    this.page.pageSizeD = 1;
+                                }else{
+                                    this.page.pageIndexD = this.page.pageIndexD + 1;
+                                    this.page.pageSizeD = this.page.pageSizeD + 1;
+                                }
                             }
+                            
                             // this.getVideo();
                         },
                         getVideo(){

+ 68 - 52
pages/dashboard/warehouse.html

@@ -291,24 +291,22 @@
             </div>
             <div class="col-lg-3" style="width: 32%;height: 100%;">
                 <!--工单备料-->
-                <div class="row block-padding">
+                <!-- <div class="row block-padding">
 
                     <div class="col-lg-12  col-md-12">
-                        <span class="block-title-important">工单备料</span>
+                        <span class="block-title-important">工单</span>
                         &nbsp;&nbsp;
                         <span class="block-title-important">{{orderSheetMaterialNeedSum}}</span>
                         &nbsp;&nbsp;
-                        <!-- <span class="block-title-important">{{orderSheetMaterialPercent}}%</span> -->
                     </div>
                 </div>
                 <div class="row block-padding" >
                     <div class="col-lg-2 col-md-2 center no-padding">工单号</div>
                     <div class="col-lg-2 col-md-2 center no-padding">物料编码</div>
                     <div class="col-lg-3 col-md-3 center no-padding">物料名称</div>
-                    <!-- <div class="col-lg-2 col-md-2 center no-padding">规格</div> -->
                     <div class="col-lg-2 col-md-2 center no-padding">数量</div>
                     <div class="col-lg-2 col-md-2 center no-padding">已备数</div>
-                    <!-- <div class="col-lg-1 col-md-1 center no-padding">缺料</div> -->
+                    <div class="col-lg-1 col-md-1 center no-padding">缺料</div>
                 </div>
                 <div class="row"  style="overflow:hidden;min-height:160px;height:160px">
                     <div class="col-lg-12 col-md-12">
@@ -316,15 +314,37 @@
                             <div class="col-lg-2 col-md-2 center no-padding">{{material.orderSheetCode}}</div>
                             <div class="col-lg-2 col-md-2 center no-padding">{{material.materialCode}}</div>
                             <div style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-3 col-md-3 left no-padding">{{material.materialName}}</div>
-                            <!-- <div class="col-lg-2 col-md-2 center no-padding">{{material.specs}}</div> -->
-                            <!-- <div class="col-lg-2 col-md-2 center no-padding"
-                                :class="getOrderSheetStockNotEnoughClass(material)"
-                                > -->
+                           
                                 <div class="col-lg-2 col-md-2 center no-padding"
                                 >
                                 {{material.needSum}}</div>
                             <div class="col-lg-2 col-md-2 center no-padding">{{material.stockSum}}</div>
-                            <!-- <div class="col-lg-1 col-md-1 center no-padding error-font" :class="getshortageQuantity(material)">{{material.shortageQuantity}}</div> -->
+                            <div class="col-lg-1 col-md-1 center no-padding error-font" :class="getshortageQuantity(material)">{{material.shortageQuantity}}</div>
+                        </div>
+                    </div>
+                </div> -->
+                <div class="row block-padding">
+
+                    <div class="col-lg-12  col-md-12">
+                        <span class="block-title-important">生产工单配料</span>
+                        &nbsp;&nbsp;
+                        <span class="block-title-important">{{orderSheetMaterialNeedSum}}</span>
+                        &nbsp;&nbsp;
+                    </div>
+                </div>
+                <div class="row block-padding" style="padding-bottom: 4%;">
+                    <div class="col-lg-2 col-md-2 left no-padding">工单号</div>
+                    <div class="col-lg-3 col-md-3 center no-padding">产品编码</div>
+                    <div class="col-lg-4 col-md-4 left no-padding">产品名称</div>
+                    <div class="col-lg-2 col-md-2 center no-padding">产品数量</div>
+                </div>
+                <div class="row"  style="overflow:hidden;min-height:30px;height:30px">
+                    <div class="col-lg-12 col-md-12">
+                        <div class="row" v-for="material in orderSheetMaterialNotEnoughList">
+                            <div v-if="material.free1=='1'" class="col-lg-2 col-md-2 left no-padding">{{material.mocode}}</div>
+                            <div v-if="material.free1=='1'" class="col-lg-3 col-md-3 center no-padding">{{material.invcode}}</div>
+                            <div v-if="material.free1=='1'" style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-4 col-md-4 left no-padding">{{material.cinvname}}</div>
+                            <div v-if="material.free1=='1'" class="col-lg-2 col-md-2 center no-padding">{{material.modQty}}</div>
                         </div>
                     </div>
                 </div>
@@ -357,34 +377,29 @@
                     </div>
                 </div> -->
                 <!--工单缺料-->
+                <div class="row"><hr></div>
                 <div class="row block-padding">
-
-                    <div class="col-lg-12  col-md-12">
-                        <span class="block-title-important">工单缺料明细</span>
-                        &nbsp;&nbsp;
-                        <span class="block-title-important">{{orderSheetMaterialNotEnoughSum}}</span>
-                    </div>
-                </div>
-                <div class="row block-padding">
-                    <div class="col-lg-2 col-md-2 center no-padding">工单号</div>
-                    <div class="col-lg-2 col-md-3 center no-padding">产品名称</div>
-                    <div class="col-lg-2 col-md-2 center no-padding">物料编码</div>
-                    <div class="col-lg-3 col-md-3 center no-padding">物料名称</div>
+                    <!-- <div class="col-lg-2 col-md-2 center no-padding">工单号</div>
+                    <div class="col-lg-2 col-md-3 center no-padding">产品名称</div> -->
+                    <div class="col-lg-2 col-md-2 left no-padding">物料编码</div>
+                    <div class="col-lg-4 col-md-4 center no-padding">物料名称</div>
                     <!-- <div class="col-lg-2 col-md-2 center no-padding">规格</div> -->
-                    <div class="col-lg-2 col-md-2 center no-padding">数量</div>
-                    <div class="col-lg-1 col-md-1 center no-padding">库存</div>
+                    <div class="col-lg-2 col-md-2 center no-padding">应发</div>
+                    <div class="col-lg-2 col-md-2 center no-padding">实发</div>
+                    <div class="col-lg-2 col-md-2 center no-padding">库存</div>
                     <!-- <div class="col-lg-2 col-md-2 center no-padding">已备数</div> -->
                 </div>
                 <div class="row"  style="height: 44%;overflow:hidden;min-height:160px;height:360px">
                     <div class="col-lg-12 col-md-12">
                         <div class="row" v-for="material in orderSheetMaterialNotEnoughList">
-                            <div class="col-lg-2 col-md-2 center no-padding">{{material.orderSheetCode}}</div>
-                            <div style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-2 col-md-2 left no-padding">{{material.cinvname}}</div>
-                            <div class="col-lg-2 col-md-2 center no-padding">{{material.materialCode}}</div>
-                            <div style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-3 col-md-3 left no-padding">{{material.materialName}}</div>
+                            <!-- <div class="col-lg-2 col-md-2 center no-padding">{{material.orderSheetCode}}</div>
+                            <div style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-2 col-md-2 left no-padding">{{material.cinvname}}</div> -->
+                            <div class="col-lg-2 col-md-2 left no-padding">{{material.minvCode}}</div>
+                            <div style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-4 col-md-4 left no-padding">{{material.mcinvname}}</div>
                             <!-- <div class="col-lg-2 col-md-2 center no-padding">{{material.specs}}</div> -->
-                            <div class="col-lg-2 col-md-2 center no-padding">{{material.needSum}}</div>
-                            <div class="col-lg-1 col-md-1 center no-padding">{{material.materialPreparationTotal}}</div>
+                            <div class="col-lg-2 col-md-2 center no-padding">{{material.qtys}}</div>
+                            <div class="col-lg-2 col-md-2 center no-padding">{{material.issQty}}</div>
+                            <div class="col-lg-2 col-md-2 center no-padding">{{material.materialPreparationTotal}}</div>
                             <!-- <div class="col-lg-2 col-md-2 center no-padding">{{material.stockSum}}</div> -->
                         </div>
                     </div>
@@ -410,7 +425,7 @@
                     <div class="col-lg-2 col-md-2 center no-padding">申请人</div>
                 </div>
                 <div class="row">
-                    <div class="col-lg-12 col-md-12"  style="height: 23%;overflow:hidden;min-height:160px;height:160px">
+                    <div class="col-lg-12 col-md-12"  style="height: 23%;overflow:hidden;min-height:290px;height:290px">
                         <div class="row" v-for="material in applyMaterialList">
                             <div class="col-lg-2 col-md-2 center no-padding">{{material.ddate}}</div>
                             <div style="overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-2 col-md-2 center no-padding">{{material.materialCode}}</div>
@@ -710,33 +725,34 @@
                     /** 工单备料 **/
                     // var orderSheetList=ServiceMaterial.getListByOrderSheet("1");
                     // const orderSheetMaterialList = ServiceMaterial.getListByOrderSheet1(orderSheetList);
-                    const orderSheetMaterialList = ServiceMaterial.getOrderDetailList();
+                    // const orderSheetMaterialList = ServiceMaterial.getOrderDetailList();
 
-                    var orderSheetMaterialNeedSum = 0;
-                    var orderSheetMaterialStockSum = 0;
+                    // var orderSheetMaterialNeedSum = 0;
+                    // var orderSheetMaterialStockSum = 0;
 
-                    this.orderSheetMaterialNeedSum = orderSheetMaterialList.length;
-                    orderSheetMaterialNeedSum = orderSheetMaterialList.length;
-                    $.each(orderSheetMaterialList, function (index, item) {
-                        if (item.needSum * 1 > item.stockSum * 1)
-                            orderSheetMaterialStockSum++;
-                    });
+                    // this.orderSheetMaterialNeedSum = orderSheetMaterialList.length;
+                    // orderSheetMaterialNeedSum = orderSheetMaterialList.length;
+                    // $.each(orderSheetMaterialList, function (index, item) {
+                    //     if (item.needSum * 1 > item.stockSum * 1)
+                    //         orderSheetMaterialStockSum++;
+                    // });
                     
-                    this.orderSheetMaterialPercent = ((orderSheetMaterialNeedSum -
-                            orderSheetMaterialStockSum) /
-                        orderSheetMaterialNeedSum * 100).toFixed("0");
+                    // this.orderSheetMaterialPercent = ((orderSheetMaterialNeedSum -
+                    //         orderSheetMaterialStockSum) /
+                    //     orderSheetMaterialNeedSum * 100).toFixed("0");
                         
-                    this.cacheDataObject.orderSheetMaterialList = {
-                        data: orderSheetMaterialList,
-                        pagesize: 8,
-                        pageindex: 0
-                    }
-                    this.orderSheetMaterialList = orderSheetMaterialList.slice(0, this.cacheDataObject
-                        .orderSheetMaterialList.pagesize);
+                    // this.cacheDataObject.orderSheetMaterialList = {
+                    //     data: orderSheetMaterialList,
+                    //     pagesize: 8,
+                    //     pageindex: 0
+                    // }
+                    // this.orderSheetMaterialList = orderSheetMaterialList.slice(0, this.cacheDataObject
+                    //     .orderSheetMaterialList.pagesize);
                     /** 工单缺料 **/
                     // const orderSheetMaterialNotEnoughList = ServiceMaterial.getListByOrderSheetNotEnough();
                     // const orderSheetMaterialNotEnoughList = ServiceMaterial.getListByOrderSheet3(orderSheetList);
                     const orderSheetMaterialNotEnoughList = ServiceMaterial.getMoallocateList();
+                    this.orderSheetMaterialNeedSum=ServiceMaterial.getMoallocateListGroupCount();
                     if(orderSheetMaterialNotEnoughList){
                         this.orderSheetMaterialNotEnoughSum = orderSheetMaterialNotEnoughList.length;
                     }else{
@@ -771,7 +787,7 @@
                     this.applyCompleteSumPercent = applyCompleteSumPercent + '%';
                     this.cacheDataObject.applyMaterialList = {
                         data: applyMaterialList,
-                        pagesize: 8,
+                        pagesize: 13,
                         pageindex: 0
                     }
                     this.applyMaterialList = applyMaterialList.slice(0, this.cacheDataObject
@@ -780,7 +796,7 @@
 
             },
             mounted() {
-                this.timer_long = setInterval(this.refreshData, 60000);
+                this.timer_long = setInterval(this.refreshData, 600000);
                 this.refreshData();
 
             },

BIN
upFiles - 副本/123.mp4


BIN
upFiles - 副本/1603869447(1).jpg


+ 0 - 0
upFiles/660001501/1111111111111111111111.pdf → upFiles - 副本/66000112802/1111111111111111111111.pdf


+ 0 - 0
upFiles/660001501/avata_2.jpg → upFiles - 副本/66000112802/avata_2.jpg


+ 0 - 0
upFiles/660001501/诗.jpg → upFiles - 副本/66000112802/诗.jpg


BIN
upFiles - 副本/诗.jpg


BIN
upFiles/660001459/CV0101250000 - 副本.pdf


BIN
upFiles/660001704/1111111111111111111111.pdf


BIN
upFiles/660001704/avata_2.jpg


BIN
upFiles/660001704/诗.jpg


BIN
upFiles/CV0101010100_akfhkhf.pdf


BIN
upFiles/CV0101250000 - 副本 - 副本.pdf


BIN
upFiles/CV0101250000 - 副本.pdf


BIN
upFiles/CV0401030000 - 副本.pdf


BIN
upFiles/CV0409010000.pdf


BIN
upVedio/ABB/1.png


+ 0 - 0
upVedio/ABB/2.png → upVedio/CCC/B/2.png


+ 0 - 0
upVedio/ABB/3.png → upVedio/CCC/C/3.png


BIN
upVedio/CCC/D/1618544713(1).png


BIN
upVedio/CCC/D/3.png


BIN
upVedio/lALPD3W5MZx_E4HNAwPNBPE_1265_771.png_720x720q90g.jpg