|
@@ -24,7 +24,7 @@
|
|
|
<div class="col py-3 h4">
|
|
<div class="col py-3 h4">
|
|
|
<div>波次号:</div>
|
|
<div>波次号:</div>
|
|
|
<div class=" text-center">
|
|
<div class=" text-center">
|
|
|
- <b>@{{ task.taskBatch.batch.code }}</b>
|
|
|
|
|
|
|
+ <b>@{{ station.currentStationTask.stationTaskBatch.batch.code }}</b>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -35,7 +35,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
<div class="col py-3 h4">
|
|
<div class="col py-3 h4">
|
|
|
- 料箱号:<b v-if="task.currentCommodityIndex && task.currentCommodityIndex!==-1">@{{task.taskCommodities[task.currentCommodityIndex]['materialBox']['code']}}</b>
|
|
|
|
|
|
|
+ 料箱号:
|
|
|
|
|
+ <b v-for="taskCommodity in station.stationTask.stationTaskCommodities">
|
|
|
|
|
+ <span v-if="taskCommodity.status==='处理中'">
|
|
|
|
|
+ @{{station.currentStationTask.stationTaskCommodities['materialBox']['code']}}
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </b>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="row pt-2">
|
|
<div class="row pt-2">
|
|
@@ -47,11 +52,11 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col text-center">
|
|
<div class="col text-center">
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
- <div class="col py-3 h4" v-for="stationTypeBinMonitor in stationTypeBinMonitors">
|
|
|
|
|
|
|
+ <div class="col py-3 h4" v-for="wall in station.stationTypeBinMonitor.bin_wall_amount">
|
|
|
<table class="table border">
|
|
<table class="table border">
|
|
|
- <tr v-for="row in stationTypeBinMonitor">
|
|
|
|
|
|
|
+ <tr v-for="row in station.stationTypeBinMonitor.bin_row_length">
|
|
|
<td class="border p-0"
|
|
<td class="border p-0"
|
|
|
- v-for="column in row"
|
|
|
|
|
|
|
+ v-for="column in station.stationTypeBinMonitor.bin_column_length"
|
|
|
:class="
|
|
:class="
|
|
|
task.currentCommodityIndex
|
|
task.currentCommodityIndex
|
|
|
&& task.currentCommodityIndex!==-1
|
|
&& task.currentCommodityIndex!==-1
|
|
@@ -127,8 +132,9 @@
|
|
|
{{--},--}}
|
|
{{--},--}}
|
|
|
// color:"red",
|
|
// color:"red",
|
|
|
// error:"",
|
|
// error:"",
|
|
|
- stationTypeBinMonitor:{!! $stationTypeBinMonitor !!},
|
|
|
|
|
- task:{!! $task !!},
|
|
|
|
|
|
|
+ station:{!! $station??'' !!},
|
|
|
|
|
+ task:{!! $station??[] !!},
|
|
|
|
|
+ {{--stationTypeBinMonitor:{!! $stationTypeBinMonitor !!},--}}
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this._makeMenuHiding();
|
|
this._makeMenuHiding();
|
|
@@ -179,12 +185,12 @@
|
|
|
console.log(task)
|
|
console.log(task)
|
|
|
this.task = task;
|
|
this.task = task;
|
|
|
},
|
|
},
|
|
|
- //渲染墙格口
|
|
|
|
|
- _renderingstationTypeBinMonitor(amount, row, column){
|
|
|
|
|
- for (let i=0;i<amount;i++){
|
|
|
|
|
- this.stationTypeBinMonitors.push(this._createstationTypeBinMonitor(row, column, i*(row*column)));
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // //渲染墙格口
|
|
|
|
|
+ // _renderingstationTypeBinMonitor(amount, row, column){
|
|
|
|
|
+ // for (let i=0;i<amount;i++){
|
|
|
|
|
+ // this.stationTypeBinMonitors.push(this._createstationTypeBinMonitor(row, column, i*(row*column)));
|
|
|
|
|
+ // }
|
|
|
|
|
+ // },
|
|
|
_setColor(status){
|
|
_setColor(status){
|
|
|
switch (status) {
|
|
switch (status) {
|
|
|
case "待处理":return "";
|
|
case "待处理":return "";
|