Commit 925c2828 authored by Facius's avatar Facius

备件申请传值

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