You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

319 lines
25 KiB

2 years ago
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Expires" content="0">
  6. <meta http-equiv="Pragma" content="no-cache">
  7. <meta http-equiv="Cache-control" content="no-cache">
  8. <meta http-equiv="Cache" content="no-cache">
  9. <title data-i18n="common.BillChangeApply_Upd">帳單更改申請單編輯</title>
  10. <link href="/Content/googleapis.css" rel="stylesheet" type='text/css' />
  11. <link href="/Scripts/plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css" />
  12. <link href="/Scripts/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  13. <link href="/Scripts/3rd/datetimepicker-addon/jquery-ui-timepicker-addon.min.css" rel="stylesheet" />
  14. <link href="/Scripts/plugins/fontawesome/css/font-awesome.css" rel="stylesheet" type="text/css" />
  15. <link href="/Scripts/plugins/line-icons/simple-line-icons.css" rel="stylesheet" type="text/css" />
  16. <link href="/Scripts/plugins/uniform/css/uniform.default.min.css" rel="stylesheet" />
  17. <link href="/Scripts/plugins/toastr/toastr.min.css" rel="stylesheet" type="text/css" />
  18. <link href="/Scripts/3rd/jquery.filer/jquery.filer.css" rel="stylesheet" />
  19. <link href="/Scripts/3rd/jquery.filer/jquery.filer-dragdropbox-theme.css" rel="stylesheet" />
  20. <link href="/Scripts/3rd/jquery.filer/file.theme.list.css" rel="stylesheet" />
  21. <link href="/Scripts/3rd/jGrid/jsgrid.min.css" rel="stylesheet" />
  22. <link href="/Scripts/3rd/jGrid/jsgrid-theme.min.css" rel="stylesheet" />
  23. <link href="/Scripts/3rd/select2/css/select2.min.css" rel="stylesheet" />
  24. <link href="/Content/modern.min.css" rel="stylesheet" />
  25. <link href="/Content/custom.min.css" rel="stylesheet" type="text/css" />
  26. <link href="/Content/themes/red.css" rel="stylesheet" type="text/css" />
  27. <link href="/Content/style2.0.css" rel="stylesheet" type="text/css" />
  28. <style>
  29. .Applicant {
  30. padding-top: 6px;
  31. }
  32. .file-list .jFiler-input-dragDrop {
  33. margin-left: 0;
  34. width: 60px;
  35. height: 50px;
  36. font-size: 23px;
  37. }
  38. .file-list .jFiler-input-dragDrop:hover {
  39. margin-left: 0;
  40. width: 60px;
  41. height: 50px;
  42. font-size: 23px;
  43. border-color: #225067;
  44. color: #225067;
  45. cursor: pointer;
  46. }
  47. .jsgrid-cell {
  48. padding: 0.5em 0.2em;
  49. }
  50. .table-bordered > tbody > tr > td {
  51. vertical-align: middle;
  52. }
  53. .plustemplkey {
  54. padding: 0 5px;
  55. }
  56. </style>
  57. </head>
  58. <body>
  59. <div class="page-inner">
  60. <div class="page-title">
  61. </div>
  62. <div id="Toolbar">
  63. </div>
  64. <div id="main-wrapper">
  65. <div class="row">
  66. <div class="panel-info">
  67. <div class="panel-body">
  68. <form id="form_main" class="form-horizontal">
  69. <div class="form-group">
  70. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.SignedNumber">簽呈編號</span></label>
  71. <div class="col-sm-3">
  72. <input type="text" class="form-control w100p" name="SignedNumber" id="SignedNumber" disabled maxlength="20" placeholderid="common.AutomaticCoding" placeholder="自動編碼">
  73. </div>
  74. </div>
  75. <div class="form-group">
  76. <label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red">*</b><span data-i18n="common.KeyNote">簽核主旨</span></label>
  77. <div class="col-sm-8">
  78. <input type="text" class="form-control w100p" name="KeyNote" id="KeyNote" maxlength="200" required data-msg="common.KeyNote_required" datamsg="請輸入簽核主旨" placeholderid="common.Instruction_KeyNote" placeholder="簽核主旨">
  79. </div>
  80. </div>
  81. <div class="form-group">
  82. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.Important">重要性</span></label>
  83. <div class="col-sm-3">
  84. <input id="Important_0" type="radio" name="Important" value="3" />
  85. <label for="Important_0" data-i18n="common.Important_3">很重要</label>
  86. <input id="Important_1" type="radio" name="Important" value="2" />
  87. <label for="Important_1" data-i18n="common.Important_2">重要</label>
  88. <input id="Important_2" type="radio" name="Important" value="1" checked="checked" />
  89. <label for="Important_2" data-i18n="common.Important_1">普通</label>
  90. </div>
  91. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.CrosssignTurn">轉呈</span></label>
  92. <div class="col-sm-3">
  93. <input id="CrosssignTurn_1" type="radio" name="CrosssignTurn" value="Y" checked="checked" />
  94. <label for="CrosssignTurn_1" data-i18n="common.CrosssignTurn_2">簽核者可直接轉呈給他人簽核</label>
  95. <input id="CrosssignTurn_2" type="radio" name="CrosssignTurn" value="N" />
  96. <label for="CrosssignTurn_2" data-i18n="common.CrosssignTurn_1">簽核者不可轉呈給他人簽核</label>
  97. </div>
  98. </div>
  99. <div class="form-group">
  100. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.Applicant">申請人</span></label>
  101. <div class="col-sm-3 Applicant">
  102. </div>
  103. <input type="hidden" id="Applicant" name="Applicant">
  104. </div>
  105. <div class="form-group">
  106. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.FileUpload">附件上傳</span></label>
  107. <div class="col-sm-8 file-list">
  108. <input type="file" class="displayNone" name="files[]" id="fileInput" multiple>
  109. </div>
  110. </div>
  111. <hr>
  112. <div class="form-group">
  113. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.BillChanges">帳單更改明細</span></label>
  114. <div class="col-sm-8">
  115. <table class="table table-bordered">
  116. <tbody id="table_box">
  117. <tr>
  118. <td class="wright w18p"><b class="t-red">*</b><span data-i18n="common.Customer">客戶名稱</span></td>
  119. <td class="w32p">
  120. <select class="form-control w100p" name="BillChanges[CustomerID]" id="BillChanges_CustomerID" data-type="select2" required data-msg="common.Customer_required" datamsg="請選擇客戶"></select>
  121. </td>
  122. <td class="wright w18p"><b class="t-red">*</b><span data-i18n="common.FillingDate">填表日期</span></td>
  123. <td class="w32p">
  124. <input type="text" name="BillChanges[FillingDate]" id="BillChanges_FillingDate" class="form-control w100p date-picker" required data-msg="common.FillingDate_required" datamsg="請輸入填表日期">
  125. </td>
  126. </tr>
  127. <tr>
  128. <td class="wright"><b class="t-red">*</b><span data-i18n="common.BillNO">帳單號碼</span></td>
  129. <td colspan="3">
  130. <input type="text" name="BillChanges[BillNO]" id="BillChanges_BillNO" class="form-control w36p" required data-msg="common.BillNO_required" datamsg="請輸入帳單號碼">
  131. </td>
  132. </tr>
  133. <tr>
  134. <td class="wright"><b class="t-red">*</b><span data-i18n="common.ExhibitionName">展覽名稱</span></td>
  135. <td>
  136. <select class="form-control w100p" name="BillChanges[ExhibitionNO]" id="BillChanges_ExhibitionNO" data-type="select2" required data-msg="common.ImportBillName_required" datamsg="請輸入活動/展覽名稱"></select>
  137. </td>
  138. <td class="wright"><b class="t-red">*</b><span data-i18n="common.ResponsiblePerson">負責業務</span></td>
  139. <td>
  140. <select class="form-control w100p" name="BillChanges[ResponsiblePerson]" id="BillChanges_ResponsiblePerson" data-type="select2" required data-msg="common.ResponsiblePerson_required" datamsg="請選擇負責業務"></select>
  141. </td>
  142. </tr>
  143. <tr>
  144. <td class="wright"><span data-i18n="common.CaseDescription">案件說明(問題描述)</span></td>
  145. <td colspan="3">
  146. <textarea name="BillChanges[CaseDescription]" id="BillChanges_CaseDescription" class="form-control" rows="3" cols="20"></textarea>
  147. </td>
  148. </tr>
  149. <tr>
  150. <td class="wright"><span data-i18n="common.BillChangeInfo">新增、修改品項及金額</span></td>
  151. <td class="wcenter" colspan="3">
  152. <table class="table table-bordered billchangeinfo">
  153. <tbody>
  154. <tr>
  155. <th data-i18n="common.OldItem">原品項</th>
  156. <th data-i18n="common.OldAmount">原金額</th>
  157. <th data-i18n="common.NewItem">新增、修改後品項</th>
  158. <th data-i18n="common.NewAmount">新增、修改後金額</th>
  159. <th><button type="button" class="btn-custom plustemplkey blue" title="新增"><i class="fa fa-plus"></i></button></th>
  160. </tr>
  161. <tr class="data-item">
  162. <td class="wcenter">
  163. <textarea class="form-control" data-id="OldItem" rows="2" cols="20"></textarea>
  164. </td>
  165. <td class="wcenter">
  166. <select class="form-control w50p left select_currency" data-id="OldAmountCurrency"></select>
  167. <input type="text" class="form-control w50p wright left" data-id="OldAmount" data-type="int" data-name="int">
  168. </td>
  169. <td class="wcenter">
  170. <textarea class="form-control" rows="2" cols="20" data-id="NewItem"></textarea>
  171. </td>
  172. <td>
  173. <select class="form-control w50p left select_currency" data-id="NewAmountCurrency"></select>
  174. <input type="text" class="form-control w50p wright left" data-id="NewAmount" data-type="int" data-name="int">
  175. </td>
  176. <td>
  177. <i class="glyphicon glyphicon-trash" title="刪除"></i>
  178. </td>
  179. </tr>
  180. <tr>
  181. <td class="wright">
  182. <span data-i18n="common.Financial_Sum">合計</span>
  183. </td>
  184. <td class="wcenter">
  185. <select name="BillChanges[OldSumCurrency]" id="BillChanges_OldSumCurrency" class="form-control w50p left select_currency"></select>
  186. <input type="text" name="BillChanges[OldSumAmount]" id="BillChanges_OldSumAmount" class="form-control w50p wright left" data-type="int" data-name="int">
  187. </td>
  188. <td class="wright">
  189. <span data-i18n="common.Financial_Sum">合計</span>
  190. </td>
  191. <td>
  192. <select name="BillChanges[NewSumCurrency]" id="BillChanges_NewSumCurrency" class="form-control w50p left select_currency"></select>
  193. <input type="text" name="BillChanges[NewSumAmount]" id="BillChanges_NewSumAmount" class="form-control w50p wright left" data-type="int" data-name="int">
  194. </td>
  195. <td></td>
  196. </tr>
  197. </tbody>
  198. </table>
  199. </td>
  200. </tr>
  201. <tr>
  202. <td class="wright"><b class="t-red">*</b><span data-i18n="common.ProfitDiff">利潤差異</span></td>
  203. <td class="wcenter" colspan="3">
  204. <table class="table table-bordered">
  205. <tbody>
  206. <tr>
  207. <th data-i18n="common.Reduce">減少</th>
  208. <th data-i18n="common.Increase">增加</th>
  209. </tr>
  210. <tr>
  211. <td class="wcenter w50p">
  212. <select name="BillChanges[ReduceCurrency]" id="BillChanges_ReduceCurrency" class="form-control w50p left select_currency"></select>
  213. <input type="text" name="BillChanges[ReduceProfitDiff]" id="BillChanges_ReduceProfitDiff" class="form-control w50p wright left" required data-msg="common.ReduceProfitDiff_required" datamsg="請輸入利潤減少差異" data-type="int" data-name="int">
  214. </td>
  215. <td class="wcenter w50p">
  216. <select name="BillChanges[IncreaseCurrency]" id="BillChanges_IncreaseCurrency" class="form-control w50p left select_currency"></select>
  217. <input type="text" name="BillChanges[IncreaseProfitDiff]" id="BillChanges_IncreaseProfitDiff" class="form-control w50p wright left" required data-msg="common.IncreaseProfitDiff_required" datamsg="請輸入利潤增加差異" data-type="int" data-name="int">
  218. </td>
  219. </tr>
  220. </tbody>
  221. </table>
  222. </td>
  223. </tr>
  224. <tr>
  225. <td class="wright"><span data-i18n="common.Memo">備註</span></td>
  226. <td class="wcenter" colspan="3">
  227. <textarea name="BillChanges[Memo]" id="BillChanges_Memo" class="form-control" rows="3" cols="20"></textarea>
  228. </td>
  229. </tr>
  230. </tbody>
  231. </table>
  232. </div>
  233. </div>
  234. <hr>
  235. <div class="form-group">
  236. <label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red">*</b><span data-i18n="common.CheckOrder">簽核順序</span></label>
  237. <div class="col-sm-8">
  238. <select class="form-control w100p" name="FlowId" id="FlowId" required data-msg="common.CheckFlows_required" datamsg="請選則簽核流程"></select>
  239. </div>
  240. </div>
  241. <div class="form-group">
  242. <label class="col-sm-2 control-label wright" for="input-Default"><span></span></label>
  243. <div class="col-sm-8">
  244. <div>
  245. <div id="jsGrid"></div>
  246. </div>
  247. <br />
  248. <div class="col-md-12 checkordertoolbox" hidden>
  249. <div class="form-group">
  250. <label class="col-sm-1 wright" for="input-Default"><span data-i18n="common.Toolbar_Add">新增</span></label>
  251. <div class="col-sm-1">
  252. <span><img src="../../images/flow1.gif" align="middle"><a href="javascript:void(0)" id="flow1" class="flowlink" data-i18n="common.flow1">串簽</a></span>
  253. </div>
  254. <div class="col-sm-1">
  255. <span><img src="../../images/flow2.gif" align="middle"><a href="javascript:void(0)" id="flow2" class="flowlink" data-i18n="common.flow2">會辦</a></span>
  256. </div>
  257. <div class="col-sm-1">
  258. <span><img src="../../images/flow3.gif" align="middle"><a href="javascript:void(0)" id="flow3" class="flowlink" data-i18n="common.flow3">擇辦</a></span>
  259. </div>
  260. <div class="col-sm-1">
  261. <span><img src="../../images/flow4.gif" align="middle"><a href="javascript:void(0)" id="flow4" class="flowlink" data-i18n="common.flow4">通知</a></span>
  262. </div>
  263. </div>
  264. </div>
  265. </div>
  266. </div>
  267. <div class="form-group">
  268. <label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red">*</b><span data-i18n="common.Handle_Person">經辦人</span></label>
  269. <div class="col-sm-3">
  270. <select class="form-control w100p" name="Handle_DeptID" id="Handle_DeptID" data-msg="common.Handle_DeptID_required" datamsg="請選擇經辦部門"></select>
  271. </div>
  272. <div class="col-sm-3">
  273. <select class="form-control w100p" name="Handle_Person" id="Handle_Person" required data-msg="common.Handle_Person_required" datamsg="請選擇經辦人"></select>
  274. </div>
  275. </div>
  276. <div class="form-group">
  277. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.Memo">備註</span></label>
  278. <div class="col-sm-8">
  279. <textarea name="Memo" id="Memo" class="form-control" rows="5" cols="20"></textarea>
  280. </div>
  281. </div>
  282. <div class="form-group">
  283. <label class="col-sm-2 control-label"><span data-i18n="common.CreateUser">創建人</span></label>
  284. <div class="col-sm-3">
  285. <div class="form-control-static" name="CreateUser" id="CreateUser" data-source="members.MemberID.MemberName"></div>
  286. </div>
  287. <label class="col-sm-2 control-label"><span data-i18n="common.CreateDate">創建時間</span></label>
  288. <div class="col-sm-3">
  289. <div class="form-control-static" name="CreateDate" id="CreateDate"></div>
  290. </div>
  291. </div>
  292. <div class="form-group">
  293. <label class="col-sm-2 control-label"><span data-i18n="common.ModifyUser">最新修改人</span></label>
  294. <div class="col-sm-3">
  295. <div class="form-control-static" name="ModifyUser" id="ModifyUser" data-source="members.MemberID.MemberName"></div>
  296. </div>
  297. <label class="col-sm-2 control-label"><span data-i18n="common.ModifyDate">最新修改時間</span></label>
  298. <div class="col-sm-3">
  299. <div class="form-control-static" name="ModifyDate" id="ModifyDate"></div>
  300. </div>
  301. </div>
  302. </form>
  303. </div>
  304. </div>
  305. </div>
  306. </div>
  307. </div>
  308. </body>
  309. </html>
  310. <script src="/Scripts/loadjs.min.js"></script>
  311. <script src="/Scripts/JSLoader.js?v=20180801"></script>
  312. <script src="/Scripts/3rd/jquery-2.1.3.min.js"></script>
  313. <script src="/Scripts/3rd/layer/layui/layui.all.min.js"></script>
  314. <script src="/Scripts/pages/Eip/BillChangeApply_Upd.js?v=20180801"></script>