Commit 925c2828 authored by Facius's avatar Facius

备件申请传值

parent 8c60485b
......@@ -68,6 +68,7 @@
},
mounted() {
this.getWorkOrderParts()
console.log('-------getWorkOrderParts--------', this.disabled)
},
methods: {
getWorkOrderParts() {
......
......@@ -250,7 +250,7 @@
"path": "deposit/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "件押金",
"navigationBarTitleText": "件押金",
"enablePullDownRefresh": false
}
},
......@@ -267,7 +267,7 @@
"path": "warehouse/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "件订单",
"navigationBarTitleText": "件订单",
"enablePullDownRefresh": false,
"disableScroll": true
}
......@@ -294,7 +294,7 @@
"path": "warehouse/searchParts",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": " ", // 件单搜索
"navigationBarTitleText": " ", // 件单搜索
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#F4F5F7",
"disableScroll": true
......@@ -304,7 +304,7 @@
"path": "warehouse/express",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": " ", // 件单物流
"navigationBarTitleText": " ", // 件单物流
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#F4F5F7",
"disableScroll": true
......@@ -323,7 +323,7 @@
"path": "warehouse/partsDetail",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "", // 件详情
"navigationBarTitleText": "", // 件详情
"enablePullDownRefresh": false,
"disableScroll": true
}
......@@ -539,7 +539,7 @@
{
"path":"application",
"style": {
"navigationBarTitleText": "件申请",
"navigationBarTitleText": "件申请",
"navigationStyle": "custom",
"disableScroll": true
}
......@@ -547,14 +547,14 @@
{
"path": "addParts",
"style": {
"navigationBarTitleText": "件选择"
"navigationBarTitleText": "件选择"
}
}
,{
"path" : "nodes",
"style" :
{
"navigationBarTitleText": "件申请、返件成功",
"navigationBarTitleText": "件申请、返件成功",
"navigationStyle":"custom",
"enablePullDownRefresh": false
}
......
......@@ -121,8 +121,9 @@ export default {
},
onLoad(e) {
getApp().trackPage('选择配件页')
if (e.categaryId) {
if (e) {
this.categoryId = e.categaryId
this.brandId = e.brandId
this.getBrandList()
} else {
this.getCategaryList()
......
......@@ -3,7 +3,7 @@
<w-navbar title="配件申请" navbar-color="#FFFFFF" />
<view class="content">
<view class="card parts">
<view class="title" v-if="isEmptyParts">件信息</view>
<view class="title" v-if="isEmptyParts">件信息</view>
<view class="u-flex u-row-between title" v-else>
<view>选择配件</view>
<u-icon name="arrow-right" size="24" color="#2272FF"
......@@ -140,7 +140,7 @@ export default {
} else {
data = {
type: 1,
brandId: this.order.brandId,
brandId: this.order.lianbaoBrandId,
categaryId: this.order.categoryId
}
}
......
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