@@ -54,9 +54,10 @@ Ext.define('saas.util.FormUtil', {
// 设置必填
if(item.allowBlank==false){
- //item.fieldLabel = "<font color=\"red\" style=\"position:relative; top:2px;right:2px; font-weight: bolder;\">*</font>"+item.fieldLabel;
+ // TODO 需要判断类型
+ item.beforeLabelTextTpl = "<font color=\"red\" style=\"position:relative; top:2px;right:2px; font-weight: bolder;\">*</font>";
}
-
+
// 如果是从表为其绑定store
if(item.xtype == 'detailGridField') {
item.bind = {