From 28cf54f3fe6b0e31be4efb2f1222a80d9ba55691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Sat, 10 Jan 2026 16:08:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(wms/coil/do):=20=E4=BF=AE=E5=A4=8D=E9=A2=86?= =?UTF-8?q?=E6=96=99=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA=E5=92=8C=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整领料按钮仅当dataType为1时显示,并将分页参数从materialQueryParams迁移至form对象以统一管理 --- klp-ui/src/views/wms/coil/do/search.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/klp-ui/src/views/wms/coil/do/search.vue b/klp-ui/src/views/wms/coil/do/search.vue index 29113546..e13838b7 100644 --- a/klp-ui/src/views/wms/coil/do/search.vue +++ b/klp-ui/src/views/wms/coil/do/search.vue @@ -267,15 +267,15 @@ - + @@ -320,6 +320,8 @@ export default { }, // 表单参数 form: { + dataType: 1, + // materialType: '原料', materialType: null, enterCoilNo: null, currentCoilNo: null, @@ -441,14 +443,14 @@ export default { }, /** 物料搜索 */ handleMaterialQuery() { - this.materialQueryParams.pageNum = 1 + this.form.pageNum = 1 this.getMaterialCoil() }, /** 重置物料搜索 */ resetMaterialQuery() { this.resetForm('materialQueryForm') - this.materialQueryParams.enterCoilNo = null - this.materialQueryParams.currentCoilNo = null + this.form.enterCoilNo = null + this.form.currentCoilNo = null this.handleMaterialQuery() }, /** 领料操作 */