diff --git a/src/views/collect/CollectOrderAllot.vue b/src/views/collect/CollectOrderAllot.vue index 17099ca7..86965771 100644 --- a/src/views/collect/CollectOrderAllot.vue +++ b/src/views/collect/CollectOrderAllot.vue @@ -7,6 +7,7 @@ @@ -15,6 +16,7 @@ style="margin: -15px" :tagStatus="'0'" :viewType="1" + :workPlaceCode="workPlaceCode" > @@ -38,6 +40,16 @@ export default { name: "PrescribeTagCode", components: { CollectOrderAllotComponents,CollectOrderAllotCardComponents + }, + data() { + return { + workPlaceCode: null, + } + }, + created() { + if (this.$route.query.workplaceId != null){ + this.workPlaceCode = Number(this.$route.query.workplaceId); + } } } diff --git a/src/views/collect/CollectOrderAllotBlank.vue b/src/views/collect/CollectOrderAllotBlank.vue index 57e47b05..86965771 100644 --- a/src/views/collect/CollectOrderAllotBlank.vue +++ b/src/views/collect/CollectOrderAllotBlank.vue @@ -1,33 +1,13 @@