|
|
@@ -166,7 +166,7 @@ class StationTaskMaterialBoxService
|
|
|
$stationTask = $this->stationTaskService->getProcessing();
|
|
|
$this->stationService->broadcastBinMonitor($stationTaskMaterialBox['station_id'], $stationTask);
|
|
|
$stationTaskMaterialBox->materialBox['status']='在U型线';
|
|
|
- $stationTaskMaterialBox->materialBox->save();
|
|
|
+ $stationTaskMaterialBox->materialBox->update();
|
|
|
break;
|
|
|
case '入立库':
|
|
|
$this->set($stationTaskMaterialBox,[
|
|
|
@@ -175,11 +175,11 @@ class StationTaskMaterialBoxService
|
|
|
]);
|
|
|
$this->cacheShelfService->putStationTaskMaterialBoxProcess($stationTaskMaterialBox);
|
|
|
$stationTaskMaterialBox->materialBox['status']='在立库';
|
|
|
- $stationTaskMaterialBox->materialBox->save();
|
|
|
+ $stationTaskMaterialBox->materialBox->update();
|
|
|
break;
|
|
|
case '入缓存架':
|
|
|
$stationTaskMaterialBox->materialBox['status']='在缓存架';
|
|
|
- $stationTaskMaterialBox->materialBox->save();
|
|
|
+ $stationTaskMaterialBox->materialBox->update();
|
|
|
break;
|
|
|
default:;
|
|
|
}
|
|
|
@@ -323,6 +323,11 @@ class StationTaskMaterialBoxService
|
|
|
){
|
|
|
return '入立库';
|
|
|
}
|
|
|
+ if($isCacheShelf=(
|
|
|
+ $stationTaskMaterialBox['station']['stationType']['name'] == '缓存架')
|
|
|
+ ){
|
|
|
+ return '入缓存架';
|
|
|
+ }
|
|
|
// if($isStoring=false){
|
|
|
// return '入库';
|
|
|
// }
|