Showing
1 changed file
with
1 additions
and
17 deletions
| ... | ... | @@ -79,9 +79,6 @@ import { |
| 79 | 79 | import { |
| 80 | 80 | getDicByCodes |
| 81 | 81 | } from '@/utils/dic' |
| 82 | -import { | |
| 83 | - getDicName | |
| 84 | -} from '@/utils/dic.js' | |
| 85 | 82 | |
| 86 | 83 | export default { |
| 87 | 84 | components: { |
| ... | ... | @@ -276,22 +273,9 @@ export default { |
| 276 | 273 | if (!id) return |
| 277 | 274 | const query = '?id=' + encodeURIComponent(id) |
| 278 | 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 | 279 | onWorkshopChange(e) { |
| 296 | 280 | const raw = e && e.detail && e.detail.value !== undefined ? e.detail.value : (e && e.value !== undefined ? e.value : '') |
| 297 | 281 | this.filterForm.workshopId = raw | ... | ... |