diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index bcc4b31b..61d8d748 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -364,11 +364,13 @@ }).catch(res => { console.log("包装规格获取失败", res) }) + + var switchCode="FgPutawayLocationCodeValidate,SemiPutawayLocationCodeValidate,PurchasePutawayToLocationCodeValidate,IssueToLocationCodeValidate"; - // getSwitchByCode(code).then(res=>{ - // uni.setStorageSync("switch", res.data) - // }).catch(error=>{ - // }) + getSwitchByCode(switchCode).then(res=>{ + uni.setStorageSync("switch", res.data) + }).catch(error=>{ + }) }, openCheck(url) { diff --git a/src/pages/productPutaway/job/fgProductPutawayJob.vue b/src/pages/productPutaway/job/fgProductPutawayJob.vue index 9e7c41c1..fa9385a2 100644 --- a/src/pages/productPutaway/job/fgProductPutawayJob.vue +++ b/src/pages/productPutaway/job/fgProductPutawayJob.vue @@ -8,7 +8,6 @@ import productPutawayJob from '@/pages/productPutaway/job/productPutawayJob.vue' export default { - name: 'productPutawayJob', components: { productPutawayJob }, @@ -29,9 +28,9 @@ }, onNavigationBarButtonTap(e) { if (e.index === 0) { - this.$refs.productreceiptjob.toHome(); + this.$refs.productPutawayJob.toHome(); } else if (e.index == 1) { - this.$refs.productreceiptjob.openFilter(); + this.$refs.productPutawayJob.openFilter(); } }, diff --git a/src/pages/productPutaway/job/productPutawayJob.vue b/src/pages/productPutaway/job/productPutawayJob.vue index fea1585f..57105a1e 100644 --- a/src/pages/productPutaway/job/productPutawayJob.vue +++ b/src/pages/productPutaway/job/productPutawayJob.vue @@ -49,7 +49,6 @@ import jobInfoPopup from '@/pages/productPutaway/coms/jobInfoPopup.vue' export default { - name: 'Putaway', components: { comEmptyView, jobFilter, diff --git a/src/pages/productPutaway/job/semiProductPutawayJob.vue b/src/pages/productPutaway/job/semiProductPutawayJob.vue index 6506d86b..ef249e3e 100644 --- a/src/pages/productPutaway/job/semiProductPutawayJob.vue +++ b/src/pages/productPutaway/job/semiProductPutawayJob.vue @@ -8,7 +8,6 @@ import productPutawayJob from '@/pages/productPutaway/job/productPutawayJob.vue' export default { - name: 'productPutawayJob', components: { productPutawayJob }, @@ -29,9 +28,9 @@ }, onNavigationBarButtonTap(e) { if (e.index === 0) { - this.$refs.productreceiptjob.toHome(); + this.$refs.productPutawayJob.toHome(); } else if (e.index == 1) { - this.$refs.productreceiptjob.openFilter(); + this.$refs.productPutawayJob.openFilter(); } },