|
@@ -812,8 +812,8 @@ const handleStationClick = (station: StationItem) => {
|
|
|
showReissueConfirm(station)
|
|
showReissueConfirm(station)
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
- // 空料箱状态弹出解绑确认框
|
|
|
|
|
- if (station.status === 'emptyBox') {
|
|
|
|
|
|
|
+ // 空料箱状态弹出解绑确认框(仅当料箱无分割,即料箱即库位时才能触发)
|
|
|
|
|
+ if (station.status === 'emptyBox' && (!station.splitCount || station.splitCount === 1)) {
|
|
|
showUnbindConfirm(station)
|
|
showUnbindConfirm(station)
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|