|
@@ -114,11 +114,14 @@ export default {
|
|
watch: {},
|
|
watch: {},
|
|
created() { },
|
|
created() { },
|
|
mounted() {
|
|
mounted() {
|
|
- const { id, topText, leftText } = this.$route.params
|
|
|
|
- console.log(this.$route.params, '携带')
|
|
|
|
|
|
+ // const { id, topText, leftText } = this.$route.params
|
|
|
|
+ // const { id, topText, leftText } = this.$route.query
|
|
|
|
+ // console.log(this.$route.query, '携带')
|
|
|
|
+ const planDetilData = JSON.parse(localStorage.getItem('planDetilData'))
|
|
|
|
+ const { id, productSchedulingNum, productName } = planDetilData
|
|
this.id = id
|
|
this.id = id
|
|
- this.topText = topText
|
|
|
|
- this.leftText = leftText
|
|
|
|
|
|
+ this.topText = productSchedulingNum
|
|
|
|
+ this.leftText = productName
|
|
this.getPlanDetail()
|
|
this.getPlanDetail()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|