半成品入库
This commit is contained in:
@@ -54,14 +54,25 @@
|
||||
val1: '',
|
||||
dataList: [],
|
||||
pkId: '',
|
||||
pkObj: {}
|
||||
pkObj: {},
|
||||
page: ''
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
this.page = options.page
|
||||
},
|
||||
methods: {
|
||||
goIn () {
|
||||
uni.navigateTo({
|
||||
url: `/pages/management/hcxcheck`
|
||||
})
|
||||
if (this.page === 'p1') {
|
||||
uni.redirectTo({
|
||||
url: '/pages/management/hcxcheck'
|
||||
})
|
||||
}
|
||||
if (this.page === 'p2') {
|
||||
uni.redirectTo({
|
||||
url: '/pages/management/HalfFinishedInStore'
|
||||
})
|
||||
}
|
||||
},
|
||||
async _materialQuery () {
|
||||
let res = await materialQuery(this.val1)
|
||||
@@ -76,7 +87,7 @@
|
||||
return
|
||||
}
|
||||
this.$store.dispatch('setPublicObj', this.pkObj)
|
||||
uni.navigateBack()
|
||||
this.goIn()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user