|
|
@@ -339,7 +339,32 @@
|
|
|
},
|
|
|
},
|
|
|
watch:{
|
|
|
-
|
|
|
+ station(newStation){
|
|
|
+ let taskMaterialBox=null;
|
|
|
+ newStation.current_station_task.station_task_material_boxes.some(function(taskMaterialBox_in){
|
|
|
+ if(taskMaterialBox_in.status==='处理中'){
|
|
|
+ taskMaterialBox=taskMaterialBox_in;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ let gridsAmount=taskMaterialBox.grids_amount;
|
|
|
+ let commoditiesProcessing
|
|
|
+ this.grids={
|
|
|
+ single:{status:'',},
|
|
|
+ half:{
|
|
|
+ left:{status:'',},
|
|
|
+ right:{status:'',}
|
|
|
+ },
|
|
|
+ quarter:{
|
|
|
+ left:{top:{status:'',},bottom:{status:'',},},
|
|
|
+ right:{top:{status:'',},bottom:{status:'',},},
|
|
|
+ },
|
|
|
+ sixth:{
|
|
|
+ left:{top:{status:'',},bottom:{status:'',},},
|
|
|
+ mid:{top:{status:'',},bottom:{status:'',},},
|
|
|
+ right:{top:{status:'',},bottom:{status:'',},},
|
|
|
+ },
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
</script>
|