半成品入库

This commit is contained in:
2023-04-13 16:41:42 +08:00
parent 97466c8e6b
commit 1ddb60576b
9 changed files with 229 additions and 17 deletions

View File

@@ -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()
}
}
}