From d5b955494f6d658959e50b9e87ea7ebafb86c6d4 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 05 三月 2025 17:13:09 +0800 Subject: [PATCH] art: 中心项 改为 必填 --- src/views/mdc/base/modules/mdcPassRate/mdcPassRateEdit.vue | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/views/mdc/base/modules/mdcPassRate/mdcPassRateEdit.vue b/src/views/mdc/base/modules/mdcPassRate/mdcPassRateEdit.vue index 18078ff..83b4b1d 100644 --- a/src/views/mdc/base/modules/mdcPassRate/mdcPassRateEdit.vue +++ b/src/views/mdc/base/modules/mdcPassRate/mdcPassRateEdit.vue @@ -123,6 +123,22 @@ }, ], }, + processQuantity:{ + rules:[ + { + required:true, + message: "璇疯緭鍏ュ姞宸ユ暟閲�" + }, + ], + }, + unqualifiedQuantity:{ + rules:[ + { + required:true, + message: "璇疯緭鍏ヤ笉鍚堟牸鏁伴噺" + }, + ], + }, // mdcRepairType:{ // rules:[ // { @@ -263,9 +279,9 @@ obj.then((res) => { if (res.success) { // that.$message.success("娣诲姞鎴愬姛") - that.$notification.warning({ + that.$notification.success({ message:'娑堟伅', - description:"娣诲姞鎴愬姛" + description:"淇敼鎴愬姛" }); // that.$message.success(res.message) that.$emit('ok', res.result) -- Gitblit v1.9.3