Showing
1 changed file
with
1 additions
and
17 deletions
| @@ -79,9 +79,6 @@ import { | @@ -79,9 +79,6 @@ import { | ||
| 79 | import { | 79 | import { |
| 80 | getDicByCodes | 80 | getDicByCodes |
| 81 | } from '@/utils/dic' | 81 | } from '@/utils/dic' |
| 82 | -import { | ||
| 83 | - getDicName | ||
| 84 | -} from '@/utils/dic.js' | ||
| 85 | 82 | ||
| 86 | export default { | 83 | export default { |
| 87 | components: { | 84 | components: { |
| @@ -276,22 +273,9 @@ export default { | @@ -276,22 +273,9 @@ export default { | ||
| 276 | if (!id) return | 273 | if (!id) return |
| 277 | const query = '?id=' + encodeURIComponent(id) | 274 | const query = '?id=' + encodeURIComponent(id) |
| 278 | uni.navigateTo({ | 275 | uni.navigateTo({ |
| 279 | - url: '/pages/car_request_order/detail' + query | 276 | + url: '/pages/replenishment_order/detail' + query |
| 280 | }) | 277 | }) |
| 281 | }, | 278 | }, |
| 282 | - getDicName: getDicName, | ||
| 283 | - getCategoryClass(categoryName) { | ||
| 284 | - if (!categoryName) return '' | ||
| 285 | - if (categoryName.includes('A') || categoryName.includes('a')) { | ||
| 286 | - return 'category_A' | ||
| 287 | - } else if (categoryName.includes('B') || categoryName.includes('b')) { | ||
| 288 | - return 'category_B' | ||
| 289 | - } else if (categoryName.includes('C') || categoryName.includes('c')) { | ||
| 290 | - return 'category_C' | ||
| 291 | - } else if (categoryName.includes('D') || categoryName.includes('d')) { | ||
| 292 | - return 'category_D' | ||
| 293 | - } | ||
| 294 | - }, | ||
| 295 | onWorkshopChange(e) { | 279 | onWorkshopChange(e) { |
| 296 | const raw = e && e.detail && e.detail.value !== undefined ? e.detail.value : (e && e.value !== undefined ? e.value : '') | 280 | const raw = e && e.detail && e.detail.value !== undefined ? e.detail.value : (e && e.value !== undefined ? e.value : '') |
| 297 | this.filterForm.workshopId = raw | 281 | this.filterForm.workshopId = raw |