diff --git a/src/views/system/details/index.vue b/src/views/system/details/index.vue index 422d494..cc38a9b 100644 --- a/src/views/system/details/index.vue +++ b/src/views/system/details/index.vue @@ -305,13 +305,14 @@ import {align} from "quill/ui/icons"; export default { name: "Details", + props: ['params'], computed: { align() { return align }, - upload() { - return upload - } + // upload() { + // return upload + // } }, data() { return { @@ -376,10 +377,11 @@ export default { }; }, created() { - const totalWeight = this.$route.query.productionOrderNo; - if (totalWeight) { - this.queryParams.totalWeight = totalWeight; - }else {} + this.queryParams.totalWeight = ""; + if (this.params && this.params.productionOrderNo) { + this.queryParams.totalWeight = this.params.productionOrderNo; + } + this.getList(); }, diff --git a/src/views/system/orderPro/index.vue b/src/views/system/orderPro/index.vue index 5bc6ed1..61a627c 100644 --- a/src/views/system/orderPro/index.vue +++ b/src/views/system/orderPro/index.vue @@ -126,9 +126,9 @@ @@ -178,7 +178,16 @@ @@ -399,6 +410,21 @@ + + +
+ +
+
+ + +
+ +
+
+ @@ -448,6 +474,18 @@ + +