Commit 6c7d3c42 by yiyu.li

add

parent 572eae4f
...@@ -263,7 +263,7 @@ export default { ...@@ -263,7 +263,7 @@ export default {
a: -1, a: -1,
b: -1, b: -1,
attr1: false, //上料、下料、上下料 attr1: false, //上料、下料、上下料
attr2: true, //上料、下料、上下料 attr2: false, //上料、下料、上下料
modal: false, modal: false,
code: "", //工令单 code: "", //工令单
columns1: [ columns1: [
...@@ -370,13 +370,13 @@ export default { ...@@ -370,13 +370,13 @@ export default {
this.b = index; this.b = index;
let status = this.stationList[index].status; let status = this.stationList[index].status;
this.sectionid = this.stationList[index].section; this.sectionid = this.stationList[index].section;
if (status == 3) { // if (status == 3) {
this.attr1 = true; // this.attr1 = true;
this.tabindex = "2"; // this.tabindex = "2";
this.getRunningDetail(index); // this.getRunningDetail(index);
} else { // } else {
this.attr2 = true; // this.attr2 = true;
} // }
if (status == 2) { if (status == 2) {
this.getRunningDetail(index); this.getRunningDetail(index);
} }
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
class="searchSelect" class="searchSelect"
:data="datalevel" :data="datalevel"
:value="leveldata" :value="leveldata"
change-on-select
@on-change="getSectionId" @on-change="getSectionId"
></Cascader> ></Cascader>
</div> </div>
...@@ -34,6 +35,10 @@ ...@@ -34,6 +35,10 @@
<div class="divborder"> <div class="divborder">
<div class="stateTitle flex"> <div class="stateTitle flex">
<p> <p>
<span>{{ summary.waittingTotal }}</span
>待上料
</p>
<p>
<span>{{ summary.produceTotal }}</span <span>{{ summary.produceTotal }}</span
>生产中 >生产中
</p> </p>
...@@ -41,10 +46,7 @@ ...@@ -41,10 +46,7 @@
<span>{{ summary.complateTotal }}</span <span>{{ summary.complateTotal }}</span
>待下料 >待下料
</p> </p>
<p>
<span>{{ summary.waittingTotal }}</span
>待上料
</p>
<p> <p>
<span>{{ summary.disableTotal }}</span <span>{{ summary.disableTotal }}</span
>不可用 >不可用
...@@ -347,10 +349,10 @@ export default { ...@@ -347,10 +349,10 @@ export default {
bgc = "red"; bgc = "red";
} }
if (ele.status == 1) { if (ele.status == 1) {
bgc = "#2db7f5"; bgc = "#ff9900";
} }
if (ele.status == 2) { if (ele.status == 2) {
bgc = "#ff9900"; bgc = "#2db7f5";
} }
if (ele.status == 3) { if (ele.status == 3) {
bgc = "#19be6b"; bgc = "#19be6b";
...@@ -445,13 +447,13 @@ export default { ...@@ -445,13 +447,13 @@ export default {
// border: 1px solid #333; // border: 1px solid #333;
} }
} }
p:nth-child(1) span { p:nth-child(3) span {
background-color: #2db7f5; background-color: #2db7f5;
} }
p:nth-child(2) span { p:nth-child(2) span {
background-color: #19be6b; background-color: #19be6b;
} }
p:nth-child(3) span { p:nth-child(1) span {
background-color: #ff9900; background-color: #ff9900;
} }
p:nth-child(4) span { p:nth-child(4) span {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment