From f43a353a53a49f0fcdf8682e02bce365b42caefc Mon Sep 17 00:00:00 2001 From: zhangdi <1104545947@qq.com> Date: Wed, 15 Apr 2026 17:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E7=AE=A1=E7=90=86=E5=92=8C?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=AE=A1=E7=90=86=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/detailsLogisticsDialog.vue | 8 ++- .../logisticsDistribution.vue | 8 ++- .../reworkOrder/index.vue | 16 ++++-- .../productionManagement/reworkPlan/index.vue | 55 ++++++++++++------- 4 files changed, 55 insertions(+), 32 deletions(-) diff --git a/src/views/logisticsManagement/components/detailsLogisticsDialog.vue b/src/views/logisticsManagement/components/detailsLogisticsDialog.vue index 98d6d8d..6fcf5dc 100644 --- a/src/views/logisticsManagement/components/detailsLogisticsDialog.vue +++ b/src/views/logisticsManagement/components/detailsLogisticsDialog.vue @@ -1,7 +1,7 @@ @@ -332,11 +332,11 @@ export default { }, currentChange(currentPage) { this.page.currentPage = currentPage; - // this.onLoad(this.page, this.query); + this.onLoad(this.page, this.query); }, sizeChange(pageSize) { this.page.pageSize = pageSize; - // this.onLoad(this.page, this.query); + this.onLoad(this.page, this.query); }, refreshChange() { this.onLoad(this.page, this.query); @@ -365,4 +365,10 @@ export default { }, }; - + diff --git a/src/views/productionManagement/reworkPlan/index.vue b/src/views/productionManagement/reworkPlan/index.vue index 0b65446..a85aa3c 100644 --- a/src/views/productionManagement/reworkPlan/index.vue +++ b/src/views/productionManagement/reworkPlan/index.vue @@ -24,14 +24,19 @@ --> - + @@ -39,11 +44,11 @@ import { getList } from '@/api/productionManagement/reworkPlan.js'; import reworkDetails from '../reworkOrder/components/reworkDetails.vue'; export default { - components: {reworkDetails}, + components: { reworkDetails }, data() { return { - detailsShow:false, - rowItem:{}, + detailsShow: false, + rowItem: {}, form: {}, selectionList: [], query: {}, @@ -181,13 +186,13 @@ export default { }, methods: { // 跳转详情 - detailsFn(row){ - this.detailsShow = true - this.rowItem = row + detailsFn(row) { + this.detailsShow = true; + this.rowItem = row; }, - closeDialog(){ - this.detailsShow = false - this.onLoad(this.page,this.query) + closeDialog() { + this.detailsShow = false; + this.onLoad(this.page, this.query); }, rowSave(row, done, loading) { // addPersonAbility(row).then( @@ -278,17 +283,25 @@ export default { onLoad(page, params = {}) { this.loading = true; - getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { - this.data = res.data.data.records; - this.loading = false; - this.page.total = res.data.data.total; - // this.selectionClear(); - }).catch(() => { - this.loading = false; - }); + getList(page.currentPage, page.pageSize, Object.assign(params, this.query)) + .then(res => { + this.data = res.data.data.records; + this.loading = false; + this.page.total = res.data.data.total; + // this.selectionClear(); + }) + .catch(() => { + this.loading = false; + }); }, }, mounted() {}, }; -d \ No newline at end of file + \ No newline at end of file