| | |
| | | > |
| | | <div v-if="currentLocation"> |
| | | <p><strong>è´§ä½å·:</strong>{{ currentLocation.locationCode }}</p> |
| | | <p> |
| | | <!-- <p> |
| | | <strong>è´§ä½æåå±:</strong> {{ currentLocation.row }}æ{{ |
| | | currentLocation.layer |
| | | }}å{{ currentLocation.index }}å± |
| | | </p> |
| | | }}å{{ currentLocation.layer }}å± |
| | | </p> --> |
| | | <p><strong>ç¶æ:</strong> {{ getStatusText(currentLocation) }}</p> |
| | | <p> |
| | | <strong>ç¦ç¨:</strong> |
| | |
| | | |
| | | getStatusText(location) { |
| | | // if (location.location_lock === 3) return "ç¦ç¨"; |
| | | if (location.location_state === 0) return "空货ä½"; |
| | | if (location.location_state === 1) return "éå®"; |
| | | if (location.location_state === 10) return "æè´§éå®"; |
| | | if (location.location_state === 20) return "空é²éå®"; |
| | | if (location.location_state === 100) return "æè´§"; |
| | | if (location.location_state === '0') return "空货ä½"; |
| | | if (location.location_state === '1') return "éå®"; |
| | | if (location.location_state === '3') return "æè´§éå®"; |
| | | if (location.location_state === '4') return "空é²éå®"; |
| | | if (location.location_state === '2') return "æè´§"; |
| | | // if (location.location_state > 0 && location.location_state < 100) |
| | | // return "éå®"; |
| | | return "å
¶ä»"; |