chenc 4 年之前
父节点
当前提交
f888a0f593
共有 2 个文件被更改,包括 11 次插入2 次删除
  1. 0 1
      js/service/produce-task.js
  2. 11 1
      pages/dashboard/esop.html

+ 0 - 1
js/service/produce-task.js

@@ -539,7 +539,6 @@ var ServiceProduceTask = {
 
 
     // 日生产计划
     // 日生产计划
     getEsopTaskList: function () {
     getEsopTaskList: function () {
-
         return getService.methodGet("/fbsMomOrder/fbsMomOrder/getEsopTaskList");
         return getService.methodGet("/fbsMomOrder/fbsMomOrder/getEsopTaskList");
         // const taskList = [];
         // const taskList = [];
         // taskList.push({
         // taskList.push({

+ 11 - 1
pages/dashboard/esop.html

@@ -65,7 +65,17 @@
                         <!-- <div class="col-lg-2 col-md-2 center no-padding" style="width: 20%;">{{task.specs}}</div> -->
                         <!-- <div class="col-lg-2 col-md-2 center no-padding" style="width: 20%;">{{task.specs}}</div> -->
                         <div class="col-lg-2 col-md-2 center no-padding" style="width: 12%;">{{task.qty}}</div>
                         <div class="col-lg-2 col-md-2 center no-padding" style="width: 12%;">{{task.qty}}</div>
                         <div class="col-lg-1 col-md-2 center no-padding" style="width: 10%;">
                         <div class="col-lg-1 col-md-2 center no-padding" style="width: 10%;">
-                            <button type="button" class="btn btn-xs btn-warning" @click="selectFile(task.materialCode)">文件</button>
+                            <button type="button" class="btn btn-xs " :style="{background:task.color}" @click="selectFile(task.materialCode)">文件</button>
+                    </div>
+                    </div>
+                    <div class="row" >
+                        <div class="col-lg-2 col-md-2 center no-padding" style="width: 19%;"></div>
+                        <div class="col-lg-2 col-md-2 center no-padding" style="width: 19%;"></div>
+                        <div style="width: 35%;overflow:hidden; word-break:break-all;white-space:nowrap" class="col-lg-2 col-md-2 left no-padding" ></div>
+                        <!-- <div class="col-lg-2 col-md-2 center no-padding" style="width: 20%;">{{task.specs}}</div> -->
+                        <div class="col-lg-2 col-md-2 center no-padding" style="width: 12%;"></div>
+                        <div class="col-lg-1 col-md-2 center no-padding" style="width: 10%;">
+                            <h4>第{{(pIndex+10)/10}}页</h4>
                     </div>
                     </div>
                     </div>
                     </div>
                 </div>
                 </div>