From 0e4933fe67a777d7069a1c9be7a09c6d227e64c4 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期一, 14 七月 2025 15:18:07 +0800 Subject: [PATCH] 仓库管理-新增时存在默认值的情况下保存出现“展示序号不能小于0!”的验证信息 --- src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue b/src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue index 73e9c7c..f0bd60b 100644 --- a/src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue +++ b/src/views/mdc/base/modules/DeviceParamThresholdManagement/ParamThresholdModal.vue @@ -144,7 +144,7 @@ minThreshold: '', maxThreshold: '' } - console.log('driveType',this.driveTypeList) + console.log('driveType', this.driveTypeList) this.handleDriveTypeChange(this.driveTypeList[0]) this.$nextTick(() => { this.form.setFieldsValue(pick(this.model, 'controlSystemType', 'chineseName', 'minThreshold', 'maxThreshold')) @@ -226,6 +226,7 @@ * @param value 椹卞姩鍙傛暟绫诲瀷閫変腑椤� */ handleDriveTypeChange(value) { + this.paramList = [] api.getParamListByDriveTypeApi(value) .then(res => { if (res.success) { -- Gitblit v1.9.3