From 1c491af3f37a498eee580afb89019009ddfbd0ab Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Wed, 29 May 2024 19:43:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=BB=91=E5=8A=A8=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/productReceipt/job/productReceiptJob.vue | 7 ++----- src/pages/purchaseReceipt/job/receiptJob.vue | 7 +++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/pages/productReceipt/job/productReceiptJob.vue b/src/pages/productReceipt/job/productReceiptJob.vue index 2644e255..381b406b 100644 --- a/src/pages/productReceipt/job/productReceiptJob.vue +++ b/src/pages/productReceipt/job/productReceiptJob.vue @@ -87,13 +87,10 @@ type: 'assemble', }, - onReady() { - this.detailOptions = getDetailOption(); - this.detailGiveupOptions = getDetailGiveupOption(); - }, - mounted() { + this.detailOptions = getDetailOption(); + this.detailGiveupOptions = getDetailGiveupOption(); this.getList('refresh'); }, diff --git a/src/pages/purchaseReceipt/job/receiptJob.vue b/src/pages/purchaseReceipt/job/receiptJob.vue index 605c80f0..a6da0528 100644 --- a/src/pages/purchaseReceipt/job/receiptJob.vue +++ b/src/pages/purchaseReceipt/job/receiptJob.vue @@ -101,10 +101,6 @@ // this.getList('refresh'); // }, - // onReady() { - // this.detailOptions = getDetailOption(); - // this.detailGiveupOptions = getDetailGiveupOption(); - // }, // onReachBottom() { // //避免多次触发 @@ -137,7 +133,10 @@ // } // }, mounted() { + this.detailOptions = getDetailOption(); + this.detailGiveupOptions = getDetailGiveupOption(); this.refresh(); + }, methods: {