From 1be1b02ce28638c92076e4d40afec70a3f4c2249 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 五月 2024 14:37:02 +0800 Subject: [PATCH] 产品模块 启用多单位点击取消关闭复选框+点击确定的时候增加至少填写一项的校验 --- src/views/overview/AddOverviewDialog.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/overview/AddOverviewDialog.vue b/src/views/overview/AddOverviewDialog.vue index a02fc4b..a942362 100644 --- a/src/views/overview/AddOverviewDialog.vue +++ b/src/views/overview/AddOverviewDialog.vue @@ -1333,6 +1333,7 @@ { label: "浠�", prop: "fromLocationId", + min:120, sonLocation: true, isRequird: true, }, @@ -1361,6 +1362,7 @@ label: "浠�", prop: "fromLocationId", sonLocation: true, + min:120, isRequird: true, }, { @@ -1393,6 +1395,7 @@ { label: "浠�", prop: "fromLocationId", + min:120, sonLocation: true, isRequird: true, }, @@ -1420,6 +1423,7 @@ { label: "浠�", prop: "fromLocationId", + min:120, sonLocation: true, isRequird: true, }, @@ -1661,7 +1665,7 @@ if (this.workType == "鍐呴儴璋冩嫧"||this.workType==3) { this.tableColumn = [ { label: "浜у搧", prop: "name", productName: true, isRequird: true }, - { label: "浠�", prop: "number", select: true }, + { label: "浠�", prop: "number", select: true,min:120,}, { label: "鑷�", prop: "amount", select: true }, { label: "瀹屾垚", prop: "total", inputFloat: true }, { label: "璁¢噺鍗曚綅", prop: "total", select: true }, @@ -1669,7 +1673,7 @@ } else { this.tableColumn = [ { label: "浜у搧", prop: "name", productName: true, isRequird: true }, - { label: "浠�", prop: "number", select: true }, + { label: "浠�", prop: "number", select: true , min:120,}, { label: "瀹屾垚", prop: "total", inputFloat: true }, { label: "璁¢噺鍗曚綅", prop: "total", select: true }, ]; -- Gitblit v1.8.0