From cdb17c9bdc1daf96a9bd6113b481b34fbc87e850 Mon Sep 17 00:00:00 2001 From: zhangsiqi <2825463979@qq.com> Date: Fri, 31 May 2024 14:18:05 +0800 Subject: [PATCH] =?UTF-8?q?[feat]bom=E6=B7=BB=E5=8A=A0=E6=98=AFtable?= =?UTF-8?q?=E7=94=A8=E9=87=8F=E6=9D=A1=E4=BB=B6=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/erp/bom/edit.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/templates/erp/bom/edit.html b/ruoyi-admin/src/main/resources/templates/erp/bom/edit.html index 2f89e32a..55e20437 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/bom/edit.html +++ b/ruoyi-admin/src/main/resources/templates/erp/bom/edit.html @@ -227,6 +227,7 @@ editable : { type : 'text', title : '用量', + mode:'inline', validate : function(value) { if (!value) { return '用量不能为空'; @@ -244,6 +245,7 @@ editable : { type : 'text', title : '损耗率(%)', + mode:'inline', validate : function(value) { if (!value) { return '损耗率不能为空'; @@ -269,7 +271,16 @@ field: 'remark', align: 'center', title: '备注', - editable: true + editable : { + type : 'text', + title : '损耗率', + mode:'inline', + validate : function(value) { + if (!value) { + return '用量不能为空'; + } + } + } } ] };