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,