|
|
@@ -15,17 +15,17 @@ var bootstrap = function ($, learun) { |
|
|
|
page.initData(); |
|
|
|
}, |
|
|
|
bind: function () { |
|
|
|
$('#Formula').lrDataSourceSelect({ code: 'FormulaMain', value: 'id', text: 'name' }); |
|
|
|
$('#Formula').lrDataSourceSelect({ code: 'FormulaMain', value: 'id', text: 'name' }); |
|
|
|
$('#Formula').lrGirdSelect({ |
|
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=FormulaMain', |
|
|
|
selectWord: 'name', |
|
|
|
value: 'id', |
|
|
|
text: 'name', |
|
|
|
headData: |
|
|
|
[ |
|
|
|
{ label: "公式", name: "result", width: 300, align: "left" }, |
|
|
|
{ label: "公式名称", name: "name", width: 300, align: "left" } |
|
|
|
], |
|
|
|
[ |
|
|
|
{ label: "公式", name: "result", width: 300, align: "left" }, |
|
|
|
{ label: "公式名称", name: "name", width: 300, align: "left" } |
|
|
|
], |
|
|
|
select: function (item) { |
|
|
|
} |
|
|
|
}); |
|
|
@@ -63,6 +63,7 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
$('#State').val('0'); |
|
|
|
$('#IsFlag').val('0'); |
|
|
|
$('#IsDel').val('0'); |
|
|
|
} |
|
|
|
}; |
|
|
|
// 保存数据 |
|
|
|