Commit 6f1d1467 authored by Damon's avatar Damon

fix: 【ID1001634】【扳手会小程序-订单-申请物料】:从工单详情页面进入物料选择页面,样式和数据都是旧版本的。

parent 7c9f25e9
<template> <template>
<view class="u-flex content"> <view class="u-flex content">
<view class="categary" v-if="type === '2'"> <view class="categary">
<view class="u-flex u-col-center"> <view class="u-flex u-col-center">
<view <view
:class="['txt', {'active': classifyId === item.id }]" :class="['txt', {'active': classifyId === item.id }]"
...@@ -192,11 +192,11 @@ export default { ...@@ -192,11 +192,11 @@ export default {
onLoad(e) { onLoad(e) {
getApp().trackPage('选择配件页') getApp().trackPage('选择配件页')
if (e) { if (e) {
if (e.type == 1) { if (e.type == 1) { // 从订单进入
this.categoryId = e.categaryId || '' this.categoryId = e.categaryId || ''
this.type = e.type this.type = e.type
this.getBrandList(e.brandId) this.getClassify()
} else if (e.type == 2) { } else if (e.type == 2) { // 从物料库进入
this.type = e.type this.type = e.type
this.getCategaryList() this.getCategaryList()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment