|
@@ -335,19 +335,19 @@ var ServiceProduceTask = {
|
|
|
// element.completeSum=element.qualifiedinqty
|
|
|
if(element.state==='0'){
|
|
|
element.stateName="派工";
|
|
|
- element.color="red";
|
|
|
+ element.color="yellow";
|
|
|
}
|
|
|
if(element.state==='1'){
|
|
|
element.stateName="上岗";
|
|
|
- element.color="blueviolet";
|
|
|
+ element.color="green";
|
|
|
}
|
|
|
if(element.state==='2'){
|
|
|
element.stateName="暂停";
|
|
|
- element.color="yellow";
|
|
|
+ element.color="red";
|
|
|
}
|
|
|
if(element.state==='3'&&element.latestCompletedQuantity!==element.numberOfTasks){
|
|
|
element.stateName="进行中";
|
|
|
- element.color="yellow";
|
|
|
+ element.color="green";
|
|
|
}
|
|
|
})
|
|
|
|