From a1be93c41dd38c3ba6bd0eb7428e703f27304584 Mon Sep 17 00:00:00 2001 From: zhangdi <15053473693@163.com> Date: Mon, 22 Dec 2025 15:56:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E4=BA=A7=E5=9F=BA=E7=A1=80=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionSchedulingPlan/basic/equipmentCapacity.vue | 6 +++--- src/views/productionSchedulingPlan/basic/nonSameFurnace.vue | 6 +++--- .../productionSchedulingPlan/basic/personnelCapacity.vue | 6 +++--- .../productionSchedulingPlan/schedulingDashboard/index.vue | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/productionSchedulingPlan/basic/equipmentCapacity.vue b/src/views/productionSchedulingPlan/basic/equipmentCapacity.vue index 69f246f..e6ee1d8 100644 --- a/src/views/productionSchedulingPlan/basic/equipmentCapacity.vue +++ b/src/views/productionSchedulingPlan/basic/equipmentCapacity.vue @@ -255,13 +255,13 @@ export default { }, methods: { onChangeData(val, type) { - if (type == 'workCenterId') { + if (val&&type == 'workCenterId') { this.form.workCenterName = val.wcCode; } - if (type == 'equipName') { + if (val&&type == 'equipName') { this.form.equipCode = val.deviceCode; } - if(type=='craftId'){ + if(val&&type=='craftId'){ this.form.craftName=val.caName } }, diff --git a/src/views/productionSchedulingPlan/basic/nonSameFurnace.vue b/src/views/productionSchedulingPlan/basic/nonSameFurnace.vue index 281b440..4863bba 100644 --- a/src/views/productionSchedulingPlan/basic/nonSameFurnace.vue +++ b/src/views/productionSchedulingPlan/basic/nonSameFurnace.vue @@ -253,13 +253,13 @@ export default { }, methods: { onChangeData(val,type){ - if(type=='workCenterId'){ + if(val&&type=='workCenterId'){ this.form.workCenterName=val.wcCode } - if(type=='processId'){ + if(val&&type=='processId'){ this.form.processName=val.name } - if(type=='craftId'){ + if(val&&type=='craftId'){ this.form.craftName=val.caName } }, diff --git a/src/views/productionSchedulingPlan/basic/personnelCapacity.vue b/src/views/productionSchedulingPlan/basic/personnelCapacity.vue index 8e2f3dd..ee09734 100644 --- a/src/views/productionSchedulingPlan/basic/personnelCapacity.vue +++ b/src/views/productionSchedulingPlan/basic/personnelCapacity.vue @@ -193,13 +193,13 @@ export default { }, methods: { onChangeData(val,type){ - if(type=='workCenterId'){ + if(val&&type=='workCenterId'){ this.form.workCenterName=val.wcCode } - if(type=='processId'){ + if(val&&type=='processId'){ this.form.processName=val.name } - if(type=='craftId'){ + if(val&&type=='craftId'){ this.form.craftName=val.caName } }, diff --git a/src/views/productionSchedulingPlan/schedulingDashboard/index.vue b/src/views/productionSchedulingPlan/schedulingDashboard/index.vue index da13f89..b658b2b 100644 --- a/src/views/productionSchedulingPlan/schedulingDashboard/index.vue +++ b/src/views/productionSchedulingPlan/schedulingDashboard/index.vue @@ -318,7 +318,7 @@ export default { // 分页参数 currentPage: 1, - pageSize: 6, + pageSize: 7, // 提示框相关 tooltipVisible: false,