1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
| @{
|
| ViewBag.Title = "FiSubject";
| Layout = "~/Views/Shared/_Layout_DataEdit.cshtml";
| }
| @section headerStyle{
| <script language="javascript" type="text/javascript">
| var subjecttype = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.subjecttype))';
| var qiyongstatus = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.qiyongstatus))';
| controllist = [
| {
| label: '科目信息', name: 'data', labtype: 'panel', islist: 'false', data: [
|
| { label: ' 科目id ', name: 'Id', labtype: 'txt', addvisible: false, editvisible: false, reg: '' }
| , { label: ' 科目类别 ', name: 'Subjecttype', labtype: 'combox', addvisible: true, editvisible: true, reg: '', ismust: true, data: JSON.parse(subjecttype) }
| , { label: ' 科目名称 ', name: 'Subjectname', labtype: 'txt', addvisible: true, editvisible: true, reg: '', ismust: true}
| , { label: ' 是否启用 ', name: 'QiyongStatus', labtype: 'combox', addvisible: true, editvisible: true, reg: '', ismust: true, data: JSON.parse(qiyongstatus) }
|
|
|
| , { label: ' 备注 ', name: 'Remark', labtype: 'textarea', addvisible: true, editvisible: true, reg: '' }
|
|
| ]}
|
| ];
|
|
|
| saveurl = '/FiSubject/Save';
| editurl = '/FiSubject/Get/';
| nullifyurl = "/FiSubject/Nullify/";//废弃取消单据时的url 返回json数据
| deldtlurl = "/FiSubject/NullifyDtl/";//删除单据明细时时配置的url 返回json数据
| comments ="科目信息";
|
| </script>
| }
|
|
| @section footerScripts{
| <script language="javascript" type="text/javascript">
|
| </script>
| }
|
|