Order_Log.aspx 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/View.master" AutoEventWireup="true" CodeFile="Order_Log.aspx.cs" Inherits="EOrder_Order_Log" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
  3. <script type="text/javascript" src="../js/address.js"></script>
  4. <script type="text/javascript">
  5. var logData = null;
  6. var logDataTotal = null;
  7. var curLog = 0;
  8. var ctid = '';
  9. //function downloadBillClick(tid) {
  10. //}
  11. //function downloadCashClick(tid) {
  12. //}
  13. function onClickChangeLog() {
  14. let inCtid = mini.get("inCtid").getValue()
  15. postAjax("getOrderLogInfo", { ctid: inCtid }, function (data) {
  16. var ahtml = "";
  17. for (var item of data.data) {
  18. ahtml += ("<div style=\"font-size:16px;color:#3C3C3C; margin-top:15px;line-height:25px; display:flex;flex-direction:column; \"> <div> <span style='color:darkblue;font-size:16px;'>❥" + formatCommonDate(item.OperateTime) + "</span>-<span style='color:green;'>" + item.UserName + "</span></div><div style='margin-left:12px;'>" + item.Con + "</div></div>")
  19. }
  20. $("#idLogContent").empty().html(ahtml);
  21. });
  22. }
  23. $(function () {
  24. if (logData != null && logData.length > 0) {
  25. curLog = 0;
  26. var ahtml = "";
  27. for (var item of logData) {
  28. ahtml += ("<div style=\"font-size:16px;color:#3C3C3C; margin-top:15px;line-height:25px; display:flex;flex-direction:column; \"> <div> <span style='color:darkblue;font-size:16px;'>❥" + formatCommonDate(item.OperateTime) + "</span>-<span style='color:green;'>" + item.UserName + "</span></div><div style='margin-left:12px;'>" + item.Con + "</div></div>")
  29. }
  30. $("#idLogContent").html(ahtml);
  31. mini.get("inCtid").setValue(ctid)
  32. }
  33. });
  34. </script>
  35. <style type="text/css">
  36. .win_tb {
  37. width: 96%;
  38. margin-left: auto;
  39. margin-right: auto;
  40. margin-top: 10px;
  41. background-color: #dedede;
  42. }
  43. .win_tb td {
  44. height: 36px;
  45. background-color: #fff;
  46. font-size: 14px;
  47. padding: 5px;
  48. }
  49. .win_tb input[type=text] {
  50. width: 90%;
  51. height: 24px;
  52. font-size: 14px;
  53. }
  54. .win_tb input[type=checkbox] {
  55. width: 18px;
  56. height: 18px;
  57. }
  58. .win_tb select {
  59. font-size: 14px;
  60. height: 30px;
  61. padding: 0px 5px;
  62. }
  63. .win_tb .td1 {
  64. color: #666;
  65. background-color: #F8F8F8;
  66. text-align: center;
  67. }
  68. .win_tb .td2 {
  69. }
  70. .word_tui {
  71. border-radius: 50%;
  72. background-color: red;
  73. color: white;
  74. font-size: 14px;
  75. text-align: center;
  76. padding: 3px;
  77. margin-left: 5px;
  78. }
  79. .word_shou {
  80. background-color: saddlebrown;
  81. }
  82. .word_green {
  83. background-color: forestgreen;
  84. }
  85. .state_word {
  86. width: 50px;
  87. display: flex;
  88. flex-direction: row;
  89. padding: 3px 6px 3px 6px;
  90. text-align: center;
  91. font-weight: bold;
  92. color: white;
  93. background-color: forestgreen;
  94. }
  95. .mini-grid-cell-nowrap {
  96. overflow: hidden;
  97. /* white-space: nowrap;
  98. text-overflow: ellipsis; */
  99. word-break: keep-all;
  100. word-wrap: break-word;
  101. white-space: normal;
  102. }
  103. /*.win_tb input{height:20px;}
  104. .win_tb .td1{height:35px;width:120px;font-size:12px;text-align:center;}
  105. .win_tb .td2{height:35px;width:280px;font-size:12pt;padding-left:5px;text-align:left;}*/
  106. </style>
  107. </asp:Content>
  108. <asp:Content ID="Content2" ContentPlaceHolderID="btn" runat="Server">
  109. <div style="display: flex; flex-direction: row">
  110. <input id="inCtid" class="mini-textbox inp" /><a class="mini-button" onclick="onClickChangeLog">查询</a><div id="tipTxt" style="font-size: 20px; color: orangered; margin-left: 5px; line-height: 25px;">(当前为本单的日志)</div>
  111. </div>
  112. <div style="width: 600px; height: 600px; overflow: auto; float: left; margin-left: 3px;" id="idLogContent">
  113. </div>
  114. </asp:Content>