information.ejs 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. <% include ../tender/tender_sub_menu.ejs %>
  2. <div class="panel-content">
  3. <div class="panel-title"><!--收起详解目录添加类名 fluid -->
  4. <div class="title-main d-flex"><!--工具-->
  5. <% include ../tender/tender_sub_mini_menu.ejs %>
  6. <div>
  7. <% if(auditStatus === auditConst.status.uncheck || auditStatus === auditConst.status.back) { %>
  8. <div class="d-inline-block">
  9. <a class="btn btn-sm btn-primary" href="#add-bj" data-toggle="modal" data-target="#add-bj">拷贝其他变更令数据</a>
  10. </div>
  11. <% } %>
  12. <% if (auditStatus === 1 || auditStatus === 2) { %>
  13. <div class="d-inline-block">
  14. <a href="#addlist" data-toggle="modal" class="btn btn-sm btn-light text-primary" id="open-list-modal" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="添加清单"><i class="fa fa-plus" aria-hidden="true"></i> 添加台账清单</a>
  15. </div>
  16. <div class="d-inline-block mr-3">
  17. <a href="javascript:void(0);" class="btn btn-sm btn-light text-primary" id="add-white-btn" data-original-title="添加清单"><i class="fa fa-plus" aria-hidden="true"></i> 添加空白清单</a>
  18. </div>
  19. <% } %>
  20. <div class="d-inline-block">
  21. <div class="custom-control custom-checkbox" style="line-height: normal;">
  22. <input type="checkbox" class="custom-control-input change-detail-checkbox" id="customCheck1">
  23. <label class="custom-control-label" for="customCheck1">变更详情</label>
  24. </div>
  25. </div>
  26. <% if (auditStatus === 3 || auditStatus === 4 || auditStatus === 5 || auditStatus === 7) { %>
  27. <div class="d-inline-block ml-3">
  28. <div class="custom-control custom-checkbox" style="line-height: normal;">
  29. <input type="checkbox" class="custom-control-input" id="show-table-detail">
  30. <label class="custom-control-label" for="show-table-detail">审批过程</label>
  31. </div>
  32. </div>
  33. <% } %>
  34. </div>
  35. <div class="ml-auto" id="sp-btn">
  36. <!--info状态区分-->
  37. <% if (auditStatus === 1) { %>
  38. <a href="#sub-ap" data-category="up_change" data-toggle="modal" data-target="#sub-ap" class="btn btn-primary btn-sm">上报审批</a>
  39. <a href="#sub-ap" data-category="up_change" data-toggle="modal" data-target="#sub-ap" class="btn btn-primary btn-sm">上报审批</a>
  40. <% } else if (auditStatus === 2) { %>
  41. <a href="#sub-sp2" data-category="up_change" data-toggle="modal" data-target="#sub-sp2" class="btn btn-primary btn-sm">重新上报</a>
  42. <% } else if (auditStatus === 3) { %>
  43. <a href="#sp-list" data-toggle="modal" data-target="#sp-list" class="btn btn-outline-warning btn-sm text-muted">审批退回</a>
  44. <% } else if (auditStatus === 4) { %>
  45. <a href="#sp-list" data-toggle="modal" data-target="#sp-list" class="btn btn-outline-success btn-sm">审批完成</a>
  46. <% } else if (auditStatus === 5) { %>
  47. <a href="#sp-list" data-toggle="modal" data-target="#sp-list" class="btn btn-outline-danger btn-sm">审批终止</a>
  48. <% } else if (auditStatus === 6) { %>
  49. <a href="#sp-done" data-toggle="modal" data-target="#sp-done" class="btn btn-success btn-sm">审批通过</a>
  50. <a href="#sp-back" data-toggle="modal" data-target="#sp-back" class="btn btn-warning btn-sm">审批退回</a>
  51. <% } else if (auditStatus === 7) { %>
  52. <a href="#sp-list" data-toggle="modal" data-target="#sp-list" class="btn btn-outline-secondary btn-sm">审批中</a>
  53. <% } %>
  54. <% if (auditStatus === 4 && ctx.session.sessionUser.accountId === auditList[auditList.length-1].uid) { %>
  55. <% if (stageChangeNum === 0) { %>
  56. <!--重新审批-->
  57. <a href="javascript: void(0);" data-toggle="modal" data-target="#sp-down-back" class="btn btn-warning btn-sm">重新审批</a>
  58. <% } else { %>
  59. <button class="btn btn-outline-secondary btn-sm" data-toggle="tooltip" data-placement="bottom" title="已被调用">重新审批</button>
  60. <% } %>
  61. <% } %>
  62. </div>
  63. <!--info状态区分-->
  64. <% if (auditStatus === 1 || auditStatus === 2) { %>
  65. <div class="ml-auto px-4" id="show-save-btn" style="display: none">
  66. <span>您修改了变更信息,记得保存修改。</span>
  67. <button class="btn btn-sm btn-primary save_change_btn" id="save_change"><i class="fa fa-save"></i> 保存修改</button>
  68. <button class="btn btn-sm btn-light" id="cancel_change">取消</button>
  69. </div>
  70. <% } %>
  71. </div>
  72. </div>
  73. <div class="content-wrap">
  74. <div class="c-header p-0"></div>
  75. <div class="w-100 sub-content row">
  76. <div class="c-body col-4">
  77. <div class="sjs-bar-1">
  78. <input type="hidden" id="tenderId" value="<%- ctx.tender.id %>">
  79. <input type="hidden" id="changeId" value="<%- ctx.change.cid %>">
  80. <ul class="nav nav-tabs">
  81. <li class="nav-item">
  82. <a class="nav-link active" data-toggle="tab" data-tab="bgxinxi" href="#bgxinxi" role="tab">变更信息</a>
  83. </li>
  84. <li class="nav-item">
  85. <a class="nav-link" data-toggle="tab" data-tab="bgfujian" href="#bgfujian" role="tab">附件</a>
  86. </li>
  87. <li class="nav-item ml-auto pt-1" id="fujian_btn" style="display:none;">
  88. <!--所有附件 翻页-->
  89. <a href="javascript: void(0);" data-toggle="modal" class="btn btn-sm btn-primary" id="bach-download"><i class="fa fa-download "></i> 批量下载</a>
  90. <!--<a href="#" class=" ml-3"><i class="fa fa-chevron-left"></i></a> 1/10 <a href="#" class="mr-3"><i class="fa fa-chevron-right"></i></a>-->
  91. <a href="#addfujian" data-toggle="modal" class="btn btn-sm btn-light text-primary" data-placement="bottom" title="" data-original-title="上传附件"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 上传附件</a>
  92. <a href="" id="downloadZip" style="display: none;" download></a>
  93. </li>
  94. </ul>
  95. </div>
  96. <div class="tab-content">
  97. <div class="tab-pane active" id="bgxinxi">
  98. <div class="sjs-sh-1" style="overflow-y: auto;">
  99. <% if (auditStatus === 1 || auditStatus === 2) { %>
  100. <form class="p-2" action="/tender/<%- change.tid %>/change/<%- change.cid %>/information/save?_csrf=<%= ctx.csrf %>" method="post" id="change_form">
  101. <div class="form-group">
  102. <label><b class="text-danger">*&nbsp;</b>申请编号</label>
  103. <a href="javascript:void(0);" class="pull-right reduction-code" data-toggle="tooltip" data-placement="bottom" title="" data-code="<%- change.code %>" data-original-title="重置"><i class="fa fa-repeat"></i></a>
  104. <input class="form-control form-control-sm" name="code" value="<%- change.code %>" type="text">
  105. </div>
  106. <div class="form-group">
  107. <label><b class="text-danger">*&nbsp;</b>工程名称</label>
  108. <input class="form-control form-control-sm" name="name" value="<%- change.name %>" type="text">
  109. </div>
  110. <div class="form-group">
  111. <label>桩号</label>
  112. <input class="form-control form-control-sm" name="peg" value="<%- change.peg %>" type="text">
  113. </div>
  114. <div class="form-group">
  115. <label>原设计图名称</label>
  116. <input class="form-control form-control-sm" name="org_name" placeholder="" type="text" value="<%- change.org_name %>">
  117. </div>
  118. <div class="form-group">
  119. <label>原图号</label>
  120. <input class="form-control form-control-sm" name="org_code" placeholder="" type="text" value="<%- change.org_code %>">
  121. </div>
  122. <div class="form-group">
  123. <label>变更设计图名称</label>
  124. <input class="form-control form-control-sm" name="new_name" placeholder="" type="text" value="<%- change.new_name %>">
  125. </div>
  126. <div class="form-group">
  127. <label>变更图号</label>
  128. <input class="form-control form-control-sm" name="new_code" placeholder="" type="text" value="<%- change.new_code %>">
  129. </div>
  130. <div class="form-group">
  131. <label><b class="text-danger">*&nbsp;</b>工程变更理由及内容</label>
  132. <textarea class="form-control form-control-sm" name="content" rows="6"><%- change.content %></textarea>
  133. </div>
  134. <div class="form-group">
  135. <label>工程变更合同依据</label>
  136. <textarea class="form-control form-control-sm" name="basis" rows="6"><%- change.basis %></textarea>
  137. </div>
  138. <div class="form-group">
  139. <label>变更工程量数量计算式</label>
  140. <textarea class="form-control form-control-sm" name="expr" rows="2"><%- change.expr %></textarea>
  141. </div>
  142. <div class="form-group">
  143. <label>备注</label>
  144. <textarea class="form-control form-control-sm" name="memo" rows="3"><%- change.memo %></textarea>
  145. </div>
  146. <div class="form-group">
  147. <label>变更类型</label>
  148. <div class="checkbox">
  149. <% const changeType = change.type !== null && change.type !== '' ? change.type.split(',') : '' %>
  150. <% for (const t in changeConst.type) { %>
  151. <% const cType = changeConst.type[t] %>
  152. <label class="checkbox-inline">
  153. <input value="<%- cType.value %>" name="type[]"
  154. type="checkbox"<% if (changeType.indexOf(cType.value.toString()) !== -1) { %> checked<% } %>><%- cType.name %>
  155. </label>
  156. <% } %>
  157. </div>
  158. </div>
  159. <div class="form-group">
  160. <label>变更类别 </label>
  161. <select class="form-control form-control-sm" name="class">
  162. <% for (const c in changeConst.class) { %>
  163. <% const cClass = changeConst.class[c] %>
  164. <option value="<%- cClass.value %>"<% if (cClass.value === change.class) { %> selected<% } %>><%- cClass.name %></option>
  165. <% } %>
  166. </select>
  167. </div>
  168. <div class="form-group">
  169. <label>变更性质 </label>
  170. <select class="form-control form-control-sm" name="quality">
  171. <% for (const q in changeConst.quality) { %>
  172. <% const cQuality = changeConst.quality[q] %>
  173. <option value="<%- cQuality.value %>"<% if (cQuality.value === change.quality) { %> selected<% } %>><%- cQuality.name %></option>
  174. <% } %>
  175. </select>
  176. </div>
  177. <div class="form-group">
  178. <label>变更提出单位</label>
  179. <a href="#editcompany" style="float:right;" class="" data-toggle="modal">编辑</a>
  180. <select class="form-control form-control-sm" id="company" name="company">
  181. <% for (const company of companyList) { %>
  182. <option <% if (company.name === change.company) { %>selected<% } %>><%- company.name %></option>
  183. <% } %>
  184. </select>
  185. </div>
  186. <div class="form-group">
  187. <label>费用承担方</label>
  188. <div class="radio">
  189. <% for (const c in changeConst.charge) { %>
  190. <% const cCharge = changeConst.charge[c] %>
  191. <label class="radio-inline">
  192. <input value="<%- cCharge.value %>" name="charge" type="radio"<% if (cCharge.value === change.charge) { %> checked<% } %>> <%- cCharge.name %>
  193. </label>
  194. <% } %>
  195. </div>
  196. </div>
  197. </form>
  198. <% } else { %>
  199. <form class="p-2">
  200. <div class="form-group">
  201. <label>申请编号</label>
  202. <input class="form-control form-control-sm" value="<%- change.code %>" type="text" readonly>
  203. </div>
  204. <% if (auditStatus === 4) { %>
  205. <div class="form-group">
  206. <label>变更令号(批复编号)</label>
  207. <input class="form-control form-control-sm" value="<%- change.p_code %>" type="text" readonly>
  208. </div>
  209. <% } %>
  210. <div class="form-group">
  211. <label>工程名称</label>
  212. <input class="form-control form-control-sm" value="<%- change.name %>" type="text" readonly>
  213. </div>
  214. <div class="form-group">
  215. <label>桩号</label>
  216. <input class="form-control form-control-sm" value="<%- change.peg %>" type="text" readonly>
  217. </div>
  218. <div class="form-group">
  219. <label>原设计图名称</label>
  220. <input class="form-control form-control-sm" placeholder="" type="text" value="<%- change.org_name %>" readonly>
  221. </div>
  222. <div class="form-group">
  223. <label>原图号</label>
  224. <input class="form-control form-control-sm" placeholder="" type="text" value="<%- change.org_code %>" readonly>
  225. </div>
  226. <div class="form-group">
  227. <label>变更设计图名称</label>
  228. <input class="form-control form-control-sm" placeholder="" type="text" value="<%- change.new_name %>" readonly>
  229. </div>
  230. <div class="form-group">
  231. <label>变更图号</label>
  232. <input class="form-control form-control-sm" placeholder="" type="text" value="<%- change.new_code %>" readonly>
  233. </div>
  234. <div class="form-group">
  235. <label>工程变更理由及内容</label>
  236. <textarea class="form-control form-control-sm" rows="6" readonly><%- change.content %></textarea>
  237. </div>
  238. <div class="form-group">
  239. <label>工程变更合同依据</label>
  240. <textarea class="form-control form-control-sm" rows="6" readonly><%- change.basis %></textarea>
  241. </div>
  242. <div class="form-group">
  243. <label>变更工程量数量计算式</label>
  244. <textarea class="form-control form-control-sm" rows="2" readonly><%- change.expr %></textarea>
  245. </div>
  246. <div class="form-group">
  247. <label>备注</label>
  248. <textarea class="form-control form-control-sm" rows="3" readonly><%- change.memo %></textarea>
  249. </div>
  250. <div class="form-group">
  251. <label>变更类型</label>
  252. <div class="checkbox">
  253. <% const changeType = change.type !== null && change.type !== '' ? change.type.split(',') : '' %>
  254. <% for (const t in changeConst.type) { %>
  255. <% const cType = changeConst.type[t] %>
  256. <label class="checkbox-inline">
  257. <% if (changeType.indexOf(cType.value.toString()) !== -1) { %>
  258. <input value="<%- cType.value %>" type="checkbox" disabled checked><%- cType.name %>
  259. <% } %>
  260. </label>
  261. <% } %>
  262. </div>
  263. </div>
  264. <div class="form-group">
  265. <label>变更类别 </label>
  266. <select class="form-control form-control-sm" disabled>
  267. <% for (const c in changeConst.class) { %>
  268. <% const cClass = changeConst.class[c] %>
  269. <% if (cClass.value === change.class) { %>
  270. <option value="<%- cClass.value %>"><%- cClass.name %></option>
  271. <% } %>
  272. <% } %>
  273. </select>
  274. </div>
  275. <div class="form-group">
  276. <label>变更性质 </label>
  277. <select class="form-control form-control-sm" disabled>
  278. <% for (const q in changeConst.quality) { %>
  279. <% const cQuality = changeConst.quality[q] %>
  280. <% if (cQuality.value === change.quality) { %>
  281. <option value="<%- cQuality.value %>"><%- cQuality.name %></option>
  282. <% } %>
  283. <% } %>
  284. </select>
  285. </div>
  286. <div class="form-group">
  287. <label>变更提出单位</label>
  288. <select class="form-control form-control-sm" disabled>
  289. <option><%- change.company %></option>
  290. </select>
  291. </div>
  292. <div class="form-group">
  293. <label>费用承担方</label>
  294. <div class="radio">
  295. <% for (const c in changeConst.charge) { %>
  296. <% const cCharge = changeConst.charge[c] %>
  297. <label class="radio-inline">
  298. <% if (cCharge.value === change.charge) { %>
  299. <input value="<%- cCharge.value %>" type="radio" disabled checked> <%- cCharge.name %>
  300. <% } %>
  301. </label>
  302. <% } %>
  303. </div>
  304. </div>
  305. <div class="form-group">
  306. <label>批复文号</label>
  307. <input class="form-control form-control-sm" id="w_code" placeholder="" type="text" value="<%- change.w_code %>" <% if (auditStatus !== 6) { %>readonly<% } %>>
  308. </div>
  309. </form>
  310. <% } %>
  311. </div>
  312. </div>
  313. <div class="tab-pane" id="bgfujian">
  314. <div class="sjs-sh-1">
  315. <div class="p-2">
  316. <table class="table table-bordered">
  317. <thead>
  318. <tr>
  319. <td width="20" style="background-color: #e9ecef;"><input type="checkbox" id="check-all-file" ></td>
  320. <th width="40">序号</th>
  321. <th>名称</th>
  322. <th width="100">上传时间/大小</th>
  323. <th width="60">操作</th>
  324. </tr>
  325. </thead>
  326. <tbody id="attList">
  327. <% if (attList !== undefined && attList !== '') { %>
  328. <% for (const [index,att] of attList.entries()) { %>
  329. <tr>
  330. <td width="20"><input type="checkbox" class="check-file" file-id=<%- att.id %>></td>
  331. <td><%- index+1 %></td>
  332. <td><a href="javascript: void(0);" class="file-atn" f-id="<%- att.id %>"><%- att.filename %><%- att.fileext %></a></td>
  333. <td><%- moment(att.in_time * 1000).format('YYYY-MM-DD') %><br><%- ctx.helper.bytesToSize(att.filesize) %></td>
  334. <td>
  335. <a href="/change/download/file/<%- att.id %>" class="mr-2" title="下载"><span class="fa fa-download text-primary"></span></a>
  336. <% if (att.uid === ctx.session.sessionUser.accountId && (auditStatus === 4 ? Boolean(att.extra_upload) : true )) { %>
  337. <a href="javascript:void(0)" class="mr-2 delete-file" data-attid="<%- att.id %>" title="删除附件"><span class="fa fa-trash text-danger"></span></a>
  338. <% } %>
  339. </td>
  340. </tr>
  341. <% } %>
  342. <% } %>
  343. </tbody>
  344. </table>
  345. <a href="" id="file-upload" target="_blank" style="display: none;"></a>
  346. </div>
  347. </div>
  348. </div>
  349. </div>
  350. </div>
  351. <div class="c-body col-8">
  352. <div class="sjs-height-0" id="change-spread">
  353. </div>
  354. </div>
  355. </div>
  356. </div>
  357. </div>
  358. <script>
  359. let table = '';
  360. const totalPriceUnit = '<%- tpUnit %>';
  361. const unitPriceUnit = '<%- upUnit %>';
  362. const accountId = '<%- ctx.session.sessionUser.accountId %>';
  363. const ledgeStatus = '<%- tender.ledger_status %>';
  364. const ledgerConsts = JSON.parse('<%- JSON.stringify(ledgerConsts) %>');
  365. const auditStatus = '<%- auditStatus %>'
  366. const auditList = JSON.parse('<%- JSON.stringify(auditList) %>');
  367. const precision = JSON.parse('<%- JSON.stringify(precision) %>');
  368. autoFlashHeight();
  369. $('a[href="#sub-ap"').click(function() {
  370. if (parseInt(ledgeStatus) === ledgerConsts.uncheck) {
  371. $('#warning-ledger').modal('show');
  372. return false
  373. }
  374. });
  375. const readOnly = <%- change.readOnly %>;
  376. const changeSpread = SpreadJsObj.createNewSpread($('#change-spread')[0]);
  377. const changeSpreadSheet = changeSpread.getActiveSheet();
  378. let changeList = JSON.parse('<%- JSON.stringify(changeList) %>');
  379. console.log(changeList);
  380. const style1 = new GC.Spread.Sheets.Style();
  381. style1.locked = true;
  382. </script>
  383. <script>
  384. const whiteList = JSON.parse('<%- JSON.stringify(whiteList) %>');
  385. </script>
  386. <% if (auditStatus === 1 || auditStatus === 2) { %>
  387. <script>
  388. let changeUnits = JSON.parse('<%- JSON.stringify(changeUnits) %>');
  389. changeUnits = _.map(changeUnits, 'unit');
  390. changeUnits.push('');
  391. const accountGroup = JSON.parse('<%- JSON.stringify(accountGroup) %>');
  392. const accountList = JSON.parse('<%- JSON.stringify(accountList) %>');
  393. const shenpi_status = <%- ctx.tender.info.shenpi.change %>;
  394. const shenpiConst = JSON.parse('<%- JSON.stringify(shenpiConst) %>');
  395. const changesUid = <%- change.uid %>;
  396. let back_changeInfo = {
  397. code: '<%- change.code %>',
  398. name: '<%- change.name %>',
  399. peg: '<%- change.peg %>',
  400. org_name: '<%- change.org_name %>',
  401. org_code: '<%- change.org_code %>',
  402. new_name: '<%- change.new_name %>',
  403. new_code: '<%- change.new_code %>',
  404. content: '<%- ctx.helper.replaceRntoBr(change.content) %>',
  405. basis: '<%- ctx.helper.replaceRntoBr(change.basis) %>',
  406. expr: '<%- ctx.helper.replaceRntoBr(change.expr) %>',
  407. memo: '<%- ctx.helper.replaceRntoBr(change.memo) %>',
  408. type: '<%- change.type %>',
  409. class: '<%- change.class %>',
  410. quality: '<%- change.quality %>',
  411. company: '<%- change.company %>',
  412. charge: '<%- change.charge %>',
  413. };
  414. let changeInfo = Object.assign({}, back_changeInfo);
  415. const changeSpreadSetting = {
  416. cols: [
  417. {title: '清单编号', colSpan: '1', rowSpan: '2', field: 'code', hAlign: 0, width: 80, formatter: '@', readOnly: 'readOnly.isEdit'},
  418. {title: '名称', colSpan: '1', rowSpan: '2', field: 'name', hAlign: 0, width: 120, formatter: '@', readOnly: 'readOnly.isEdit'},
  419. {title: '变更部位', colSpan: '1', rowSpan: '2', field: 'bwmx', hAlign: 0, width: 120, formatter: '@', readOnly: 'readOnly.isEdit'},
  420. {title: '变更详情', colSpan: '1', rowSpan: '2', field: 'detail', hAlign: 0, width: 120, formatter: '@', readOnly: false},
  421. {title: '单位', colSpan: '1', rowSpan: '2', field: 'unit', hAlign: 1, width: 60, formatter: '@', readOnly: 'readOnly.isEdit', cellType: 'unit', comboItems: changeUnits},
  422. {title: '单价', colSpan: '1', rowSpan: '2', field: 'unit_price', hAlign: 2, width: 60, type: 'Number', readOnly: 'readOnly.isEdit', getValue: 'getValue.unit_price'},
  423. {title: '原设计|数量', colSpan: '2|1', rowSpan: '1|1', field: 'oamount', hAlign: 2, width: 60, type: 'Number', readOnly: 'readOnly.isEdit', getValue: 'getValue.oamount'},
  424. {title: '|金额', colSpan: '|1', rowSpan: '|1', field: 'oa_tp', hAlign: 2, width: 80, formatter: '@', type: 'Number', readOnly: true, getValue: 'getValue.oa_tp'},
  425. {title: '申请变更增(+)减(-)|数量', colSpan: '2|1', rowSpan: '1|1', field: 'camount', hAlign: 2, width: 60, type: 'Number', readOnly: false, getValue: 'getValue.camount'},
  426. {title: '|金额', colSpan: '|1', rowSpan: '|1', field: 'ca_tp', hAlign: 2, width: 80, formatter: '@', type: 'Number', readOnly: true, getValue: 'getValue.ca_tp'},
  427. {title: '操作', colSpan: '1', rowSpan: '2', field: 'del_list', hAlign: 1, width: 40, readOnly: true, cellType: 'mouseTouch', getValue: 'getValue.del_list'},
  428. ],
  429. emptyRows: 0,
  430. headRows: 2,
  431. headRowHeight: [25, 25],
  432. defaultRowHeight: 21,
  433. headerFont: '12px 微软雅黑',
  434. font: '12px 微软雅黑',
  435. readOnly: readOnly,
  436. };
  437. </script>
  438. <script src="/public/js/change_information_set.js"></script>
  439. <script src="/public/js/change_audit.js"></script>
  440. <% } else if (auditStatus === 3 || auditStatus === 4 || auditStatus === 5 || auditStatus === 7) { %>
  441. <script>
  442. const auditList2 = JSON.parse('<%- JSON.stringify(auditList2) %>');
  443. const aidList = _.map(auditList2, 'uid');
  444. aidList.splice(0, 1);
  445. </script>
  446. <script src="/public/js/change_information_show.js"></script>
  447. <% } else if (auditStatus === 6) { %>
  448. <!--<script src="/public/js/change_approval.js"></script>-->
  449. <% } %>
  450. <!--<script src="/public/js/change_detail.js"></script>-->