继续重构模块列表前端样式

This commit is contained in:
2021-03-17 03:15:10 +08:00
parent 181fa17fdd
commit cd3a44340e
192 changed files with 3321 additions and 4596 deletions
+2 -6
View File
@@ -25,8 +25,8 @@ var master_id = '{{$form["row"]["id"]}}';
// grid初始化事件
gdoo.event.set('grid.produce_plan_data', {
init() {
grid = this;
ready(me) {
grid = me;
grid.enableCellTextSelection = false;
grid.enableRangeSelection = true;
grid.suppressContextMenu = false;
@@ -38,7 +38,6 @@ gdoo.event.set('grid.produce_plan_data', {
var field = params.colDef.field;
var value = params.value || 0;
var style = {};
// 'font-weight':'bold',
if (field == "xqzc_num" && value > 0) {
style = {'color':'red'};
}
@@ -56,9 +55,6 @@ gdoo.event.set('grid.produce_plan_data', {
}
return style;
};
},
ready(me) {
grid = me;
grid.dataKey = 'product_id';
},
onSaveAfter(res) {