Edit.cshtml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. @model EMIS.ViewModel.EducationManagement.ExecutablePlanView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. var isEnable = Request["type"] == "detail" ? false : true;
  7. var isDisable = Request["type"] == "detail" ? false : (Request["type"] == "edit" ? false : true);
  8. var isOther = Request["type"] == "detail" ? false : (Request["type"] == "edit" ? (Request["planType"] == "outside" ? true : false) : true);
  9. //年级专业
  10. ComboGridOptions cgopGrademajor = new ComboGridOptions
  11. {
  12. TextField = "Name",
  13. ValueField = "GrademajorID",
  14. OnSelect = "queryGrademajor",
  15. IsEnabled = isDisable,
  16. GridOptions = new DataGridOptions
  17. {
  18. Columns = new List<DataGridColumn>()
  19. {
  20. new LinkButtonColumn { FieldName="Code", HeaderText="年级专业代码", Align=AlignStyle.Center, Width=0.2 },
  21. new BoundFieldColumn { FieldName="Name", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.4 }
  22. },
  23. PageSize = 5,
  24. IsCheckOnSelect = true,
  25. DataSourceUrl = Url.Content("~/Grademajor/List"),
  26. IsPagination = true,
  27. IsShowRowNumbers = true,
  28. IsSingleSelect = false
  29. }
  30. };
  31. //院系所
  32. ComboGridOptions cgopCollege = new ComboGridOptions
  33. {
  34. ID = "CollegeID",
  35. TextField = "Name",
  36. ValueField = "CollegeID",
  37. IsEnabled = false,
  38. GridOptions = new DataGridOptions
  39. {
  40. Columns = new List<DataGridColumn>()
  41. {
  42. //new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.1 },
  43. new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 }
  44. },
  45. IsCheckOnSelect = true,
  46. DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
  47. IsPagination = true,
  48. IsShowRowNumbers = true,
  49. IsSingleSelect = false,
  50. }
  51. };
  52. //课程信息
  53. ComboGridOptions cgopCourse = new ComboGridOptions
  54. {
  55. ID = "CoursematerialID",
  56. TextField = "CourseName",
  57. ValueField = "CoursematerialID",
  58. IsEnabled = isDisable,
  59. GridOptions = new DataGridOptions
  60. {
  61. Columns = new List<DataGridColumn>()
  62. {
  63. new LinkButtonColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.1 },
  64. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.2 },
  65. new BoundFieldColumn { FieldName="IsEnableName", HeaderText="是否启用", Align=AlignStyle.Center, Width=0.1, CustomFormatFun="SetRedColumn" }
  66. },
  67. IsCheckOnSelect = true,
  68. DataSourceUrl = Url.Content("~/Coursematerial/GetEnableAndUseCoursematerialView?coursematerialID=" + Model.CoursematerialID),
  69. IsPagination = true,
  70. IsShowRowNumbers = true,
  71. IsSingleSelect = false
  72. }
  73. };
  74. //教研室
  75. ComboGridOptions cgopDepartment = new ComboGridOptions
  76. {
  77. TextField = "Name",
  78. ValueField = "DepartmentID",
  79. IsEnabled = isOther,
  80. GridOptions = new DataGridOptions
  81. {
  82. Columns = new List<DataGridColumn>()
  83. {
  84. new LinkButtonColumn { FieldName="No", HeaderText="教研室代码", Align=AlignStyle.Center, Width=0.1 },
  85. new BoundFieldColumn { FieldName="Name", HeaderText="开课教研室", Align=AlignStyle.Center, Width=0.2 },
  86. new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("CourseCollege"), Align=AlignStyle.Center, Width=0.2 }
  87. },
  88. IsCheckOnSelect = true,
  89. DataSourceUrl = Url.Content("~/Department/List"),
  90. IsPagination = true,
  91. IsShowRowNumbers = true,
  92. IsSingleSelect = false
  93. }
  94. };
  95. //授课方式
  96. ListControlOptions lcoptm = new ListControlOptions
  97. {
  98. ID = "TeachingModeIDList",
  99. Name = "TeachingModeIDList",
  100. TextField = "Name",
  101. ValueField = "Value",
  102. ColumnCount = 4,
  103. IsEnabled = isEnable,
  104. SelectedValueUrl = @Url.Content("~/ExecutablePlan/TeachingModeTypeList?executablePlanID=" + Model.ExecutablePlanID)
  105. };
  106. //授课地点
  107. ListControlOptions lcoptp = new ListControlOptions
  108. {
  109. ID = "TeachingPlaceIDList",
  110. Name = "TeachingPlaceIDList",
  111. TextField = "Name",
  112. ValueField = "Value",
  113. ColumnCount = 4,
  114. IsEnabled = isEnable,
  115. SelectedValueUrl = @Url.Content("~/ExecutablePlan/TeachingPlaceList?executablePlanID=" + Model.ExecutablePlanID)
  116. };
  117. }
  118. @section scripts{
  119. <script src="~/Scripts/Business/EducationManage/ExecutablePlanEdit.js" type="text/javascript"></script>
  120. <script type="text/javascript">
  121. var nonSelect = "@DropdownList.SELECT_ALL";
  122. </script>
  123. }
  124. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  125. @using (Ajax.BeginForm(new AjaxOptions
  126. {
  127. OnSuccess = "EMISFunction.FormSuccess",
  128. OnBegin = "EMISFunction.FormSubmit",
  129. OnComplete = "EMISFunction.FormComplete"
  130. }))
  131. {
  132. <div class="p_title">
  133. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
  134. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  135. @if (Request["type"] != "detail")
  136. {
  137. @Html.ContextMenuBar("Edit")
  138. }
  139. </div>
  140. </div>
  141. <div class="search_list">
  142. @Html.HiddenFor(x => x.ExecutablePlanID)
  143. <table cellpadding="0" cellspacing="0" id="specialtyplantable">
  144. <tr>
  145. <td style="color: red;">
  146. @Html.LabelFor(x => x.SchoolyearCode):
  147. </td>
  148. <td>
  149. @Html.DropdownListFor((x => x.SchoolyearID), new DropdownListOptions
  150. {
  151. BindType = DropdownListBindType.PleaseSelect,
  152. TextField = "Text",
  153. ValueField = "Value",
  154. IsEnabled = isDisable,
  155. ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid")
  156. })
  157. </td>
  158. <td>
  159. @Html.LabelFor(x => x.SourceTypeName):
  160. </td>
  161. <td>
  162. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EM_SourceType, (x => x.SourceTypeID), new DropdownListOptions() { IsEnabled = isOther })
  163. </td>
  164. </tr>
  165. <tr>
  166. <td style="color:red;">
  167. @Html.LabelFor(x => x.GrademajorName):
  168. </td>
  169. <td>
  170. @Html.ComboGridFor(x => x.GrademajorID, cgopGrademajor)
  171. </td>
  172. <td>
  173. @Html.LabelFor(x => x.GradeID):
  174. </td>
  175. <td>
  176. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Grade, (x => x.GradeID), new DropdownListOptions() { IsEnabled = false })
  177. </td>
  178. </tr>
  179. <tr>
  180. <td>
  181. @Html.LabelFor(x => x.CollegeName):
  182. </td>
  183. <td>
  184. @Html.ComboGridFor(x => x.CollegeID, cgopCollege)
  185. </td>
  186. <td>
  187. @Html.LabelFor(x => x.StandardCode):
  188. </td>
  189. <td>
  190. @Html.TextBoxFor(x => x.StandardCode, new TextBoxOptions() { IsEnabled = false })
  191. </td>
  192. </tr>
  193. <tr>
  194. <td>
  195. @Html.LabelFor(x => x.StandardName):
  196. </td>
  197. <td>
  198. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Standard, (x => x.StandardID), new DropdownListOptions() { IsEnabled = false })
  199. </td>
  200. <td>
  201. @Html.LabelFor(x => x.EducationID):
  202. </td>
  203. <td>
  204. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Education, (x => x.EducationID), new DropdownListOptions() { IsEnabled = false })
  205. </td>
  206. </tr>
  207. <tr>
  208. <td>
  209. @Html.LabelFor(x => x.LearningformID):
  210. </td>
  211. <td>
  212. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Learningform, (x => x.LearningformID), new DropdownListOptions() { IsEnabled = false })
  213. </td>
  214. <td>
  215. @Html.LabelFor(x => x.LearnSystem):
  216. </td>
  217. <td>
  218. @Html.TextBoxFor(x => x.LearnSystem, new TextBoxOptions() { IsEnabled = false })
  219. </td>
  220. </tr>
  221. <tr>
  222. <td style="color:red;">
  223. @Html.LabelFor(x => x.CourseName):
  224. </td>
  225. <td>
  226. @Html.ComboGridFor(x => x.CoursematerialID, cgopCourse)
  227. </td>
  228. <td style="color:red;">
  229. @Html.LabelFor(x => x.DepartmentName):
  230. </td>
  231. <td>
  232. @Html.ComboGridFor(x => x.DepartmentID, cgopDepartment)
  233. </td>
  234. </tr>
  235. <tr>
  236. <td>
  237. @Html.LabelFor(x => x.CourseStructureName):
  238. </td>
  239. <td>
  240. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CourseStructure, x => x.CourseStructureID, new DropdownListOptions() { IsEnabled = isOther })
  241. </td>
  242. <td>
  243. @Html.LabelFor(x => x.CourseCategoryName):
  244. </td>
  245. <td>
  246. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CourseCategory, x => x.CourseCategoryID, new DropdownListOptions() { IsEnabled = isOther })
  247. </td>
  248. </tr>
  249. <tr>
  250. <td style="color:red;">
  251. @Html.LabelFor(x => x.CourseTypeName):
  252. </td>
  253. <td>
  254. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CourseType, x => x.CourseTypeID, new DropdownListOptions() { IsEnabled = isOther })
  255. </td>
  256. <td>
  257. @Html.LabelFor(x => x.CourseQualityName):
  258. </td>
  259. <td>
  260. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CourseQuality, x => x.CourseQualityID, new DropdownListOptions() { IsEnabled = isOther })
  261. </td>
  262. </tr>
  263. <tr>
  264. @if (!isDisable)
  265. {
  266. <td style="color:red;">
  267. @Html.LabelFor(x => x.PlanTypeName):
  268. </td>
  269. <td>
  270. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EM_PlanType, x => x.PlanTypeID, new DropdownListOptions() { IsEnabled = false })
  271. </td>
  272. <td style="color:red;">
  273. @Html.LabelFor(x => x.ExecuteStatusName):
  274. </td>
  275. <td>
  276. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EM_ExecuteStatus, x => x.ExecuteStatus, new DropdownListOptions() { IsEnabled = false })
  277. </td>
  278. }
  279. </tr>
  280. <tr>
  281. <td colspan="4" style="padding:1px;height:10px;">
  282. <div id="teachingSettingExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  283. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  284. onclick="swapTeachingSetting();">
  285. </div>
  286. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapTeachingSetting();">
  287. 教学设置信息
  288. </div>
  289. </td>
  290. </tr>
  291. <tr>
  292. <td style="color:red;">
  293. @Html.LabelFor(x => x.Credit):
  294. </td>
  295. <td>
  296. @*@Html.TextBoxFor(x => x.Credit, new Dictionary<string, object> { { "readOnly", "true" } })*@
  297. @Html.TextBoxFor(x => x.Credit, new TextBoxOptions() { IsEnabled = isOther })
  298. </td>
  299. <td style="color:red;">
  300. @Html.LabelFor(x => x.HandleModeName):
  301. </td>
  302. <td>
  303. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_HandleMode, (x => x.HandleModeID), new DropdownListOptions() { IsEnabled = isOther })
  304. </td>
  305. </tr>
  306. <tr>
  307. <td>
  308. @Html.LabelFor(x => x.TheoryCourse):
  309. </td>
  310. <td>
  311. @Html.TextBoxFor(x => x.TheoryCourse, new TextBoxOptions() { IsEnabled = isOther })
  312. </td>
  313. <td>
  314. @Html.LabelFor(x => x.Practicehours):
  315. </td>
  316. <td>
  317. @Html.TextBoxFor(x => x.Practicehours, new TextBoxOptions() { IsEnabled = isOther })
  318. </td>
  319. </tr>
  320. <tr>
  321. <td>
  322. @Html.LabelFor(x => x.Trialhours):
  323. </td>
  324. <td>
  325. @Html.TextBoxFor(x => x.Trialhours, new TextBoxOptions() { IsEnabled = isOther })
  326. </td>
  327. <td>
  328. @Html.LabelFor(x => x.Totalhours):
  329. </td>
  330. <td>
  331. @Html.TextBoxFor(x => x.Totalhours, new TextBoxOptions { IsEnabled = false })
  332. </td>
  333. </tr>
  334. <tr>
  335. <td>
  336. @Html.LabelFor(x => x.TheoryWeeklyNum):
  337. </td>
  338. <td>
  339. @Html.TextBoxFor(x => x.TheoryWeeklyNum, new TextBoxOptions() { IsEnabled = isEnable })
  340. </td>
  341. <td>
  342. @Html.LabelFor(x => x.PracticeWeeklyNum):
  343. </td>
  344. <td>
  345. @Html.TextBoxFor(x => x.PracticeWeeklyNum, new TextBoxOptions() { IsEnabled = isEnable })
  346. </td>
  347. </tr>
  348. <tr>
  349. <td>
  350. @Html.LabelFor(x => x.TrialWeeklyNum):
  351. </td>
  352. <td>
  353. @Html.TextBoxFor(x => x.TrialWeeklyNum, new TextBoxOptions() { IsEnabled = isEnable })
  354. </td>
  355. <td>
  356. @Html.LabelFor(x => x.SchoolweeksNum):
  357. </td>
  358. <td>
  359. @Html.TextBoxFor(x => x.SchoolweeksNum, new TextBoxOptions { IsEnabled = false })
  360. </td>
  361. </tr>
  362. <tr>
  363. <td style="color:red;">
  364. @Html.LabelFor(x => x.WeeklyHours):
  365. </td>
  366. <td>
  367. @Html.TextBoxFor(x => x.WeeklyHours, new TextBoxOptions() { IsEnabled = isEnable })
  368. </td>
  369. <td style="color:red;">
  370. @Html.LabelFor(x => x.WeeklyNum):
  371. </td>
  372. <td>
  373. @Html.TextBoxFor(x => x.WeeklyNum, new TextBoxOptions() { IsEnabled = isEnable })
  374. </td>
  375. </tr>
  376. <tr>
  377. <td>
  378. @Html.LabelFor(x => x.StartWeeklyNum):
  379. </td>
  380. <td>
  381. @Html.TextBoxFor(x => x.StartWeeklyNum, new TextBoxOptions() { IsEnabled = isEnable })
  382. </td>
  383. <td>
  384. @Html.LabelFor(x => x.EndWeeklyNum):
  385. </td>
  386. <td>
  387. @Html.TextBoxFor(x => x.EndWeeklyNum, new TextBoxOptions() { IsEnabled = isEnable })
  388. </td>
  389. </tr>
  390. <tr>
  391. <td colspan="4" style="padding:1px;height:10px;">
  392. <div id="otherExpander" style="width: 16px; float: left; height: 16px; cursor: pointer;
  393. background: url('../../Content/Bowin.Control.Core/themes/metro-blue/images/tree_icons.png') no-repeat -32px 0;"
  394. onclick="swapother();">
  395. </div>
  396. <div style="float: left;height: 10px; cursor: pointer; color: red;" onclick="swapother();">
  397. 其它信息
  398. </div>
  399. </td>
  400. </tr>
  401. <tr>
  402. <td>
  403. @Html.LabelFor(x => x.IsSpecialtycore):
  404. </td>
  405. <td>
  406. @if (!isOther)
  407. {
  408. @Html.CheckBoxFor(x => x.IsSpecialtycore, new Dictionary<string, object>() { { "disabled", isOther } })
  409. }
  410. else
  411. {
  412. @Html.CheckBoxFor(x => x.IsSpecialtycore)
  413. }
  414. </td>
  415. <td>
  416. @Html.LabelFor(x => x.IsCooperation):
  417. </td>
  418. <td>
  419. @if (!isOther)
  420. {
  421. @Html.CheckBoxFor(x => x.IsCooperation, new Dictionary<string, object>() { { "disabled", isOther } })
  422. }
  423. else
  424. {
  425. @Html.CheckBoxFor(x => x.IsCooperation)
  426. }
  427. </td>
  428. </tr>
  429. <tr>
  430. <td>
  431. @Html.LabelFor(x => x.IsRequired):
  432. </td>
  433. <td>
  434. @if (!isOther)
  435. {
  436. @Html.CheckBoxFor(x => x.IsRequired, new Dictionary<string, object>() { { "disabled", isOther } })
  437. }
  438. else
  439. {
  440. @Html.CheckBoxFor(x => x.IsRequired)
  441. }
  442. </td>
  443. <td>
  444. @Html.LabelFor(x => x.IsElective):
  445. </td>
  446. <td>
  447. @if (!isOther)
  448. {
  449. @Html.CheckBoxFor(x => x.IsElective, new Dictionary<string, object>() { { "disabled", isOther } })
  450. }
  451. else
  452. {
  453. @Html.CheckBoxFor(x => x.IsElective)
  454. }
  455. </td>
  456. </tr>
  457. <tr>
  458. <td>
  459. @Html.LabelFor(x => x.IsNetworkCourse):
  460. </td>
  461. <td>
  462. @if (!isOther)
  463. {
  464. @Html.CheckBoxFor(x => x.IsNetworkCourse, new Dictionary<string, object>() { { "disabled", isOther } })
  465. }
  466. else
  467. {
  468. @Html.CheckBoxFor(x => x.IsNetworkCourse)
  469. }
  470. </td>
  471. <td>
  472. @Html.LabelFor(x => x.IsMainCourse):
  473. </td>
  474. <td>
  475. @if (!isOther)
  476. {
  477. @Html.CheckBoxFor(x => x.IsMainCourse, new Dictionary<string, object>() { { "disabled", isOther } })
  478. }
  479. else
  480. {
  481. @Html.CheckBoxFor(x => x.IsMainCourse)
  482. }
  483. </td>
  484. </tr>
  485. <tr>
  486. <td>
  487. @Html.LabelFor(x => x.IsNeedMaterial):
  488. </td>
  489. <td>
  490. @if (!isOther)
  491. {
  492. @Html.CheckBoxFor(x => x.IsNeedMaterial, new Dictionary<string, object>() { { "disabled", isOther } })
  493. }
  494. else
  495. {
  496. @Html.CheckBoxFor(x => x.IsNeedMaterial)
  497. }
  498. </td>
  499. <td>
  500. @Html.LabelFor(x => x.CourseFineID):
  501. </td>
  502. <td>
  503. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CourseFine, x => x.CourseFineID, new DropdownListOptions() { IsEnabled = isOther })
  504. </td>
  505. </tr>
  506. <tr>
  507. <td>
  508. @Html.LabelFor(x => x.PracticeTypeID):
  509. </td>
  510. <td>
  511. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EM_PracticeType, x => x.PracticeTypeID, new DropdownListOptions() { IsEnabled = isOther })
  512. </td>
  513. <td>
  514. @Html.LabelFor(x => x.TeachinglanguageID):
  515. </td>
  516. <td>
  517. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Teachinglanguage, x => x.TeachinglanguageID, new DropdownListOptions() { IsEnabled = isOther })
  518. </td>
  519. </tr>
  520. <tr>
  521. <td>
  522. @Html.LabelFor(x => x.ExaminationModeID):
  523. </td>
  524. <td>
  525. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ExaminationMode, x => x.ExaminationModeID, new DropdownListOptions() { IsEnabled = true })
  526. </td>
  527. <td>
  528. @Html.LabelFor(x => x.ResultTypeID):
  529. </td>
  530. <td>
  531. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ResultType, (x => x.ResultTypeID), new DropdownListOptions() { IsEnabled = isOther })
  532. </td>
  533. </tr>
  534. <tr>
  535. <td>
  536. @Html.LabelFor(x => x.TeachingModeIDList):
  537. </td>
  538. <td colspan="3">
  539. @Html.DictionaryCheckList(EMIS.ViewModel.DictionaryItem.CF_TeachingMode, lcoptm)
  540. </td>
  541. </tr>
  542. <tr>
  543. <td>
  544. @Html.LabelFor(x => x.TeachingPlaceIDList):
  545. </td>
  546. <td colspan="3">
  547. @Html.DictionaryCheckList(EMIS.ViewModel.DictionaryItem.EM_TeachingPlace, lcoptp)
  548. </td>
  549. </tr>
  550. <tr>
  551. <td>
  552. @Html.LabelFor(x => x.Remark):
  553. </td>
  554. <td colspan="3">
  555. @if (!isEnable)
  556. {
  557. @Html.TextAreaFor(x => x.Remark, new Dictionary<string, object>
  558. {
  559. { "style", "width: 90%;min-height: 15px" },
  560. { "disabled", "true" }
  561. })
  562. }
  563. else
  564. {
  565. @Html.TextAreaFor(x => x.Remark, new Dictionary<string, object>
  566. {
  567. { "style", "width: 90%;min-height: 15px" }
  568. })
  569. }
  570. </td>
  571. </tr>
  572. </table>
  573. </div>
  574. }
  575. </div>