| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/View.master" AutoEventWireup="true" CodeFile="Order_Log.aspx.cs" Inherits="EOrder_Order_Log" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
- <script type="text/javascript" src="../js/address.js"></script>
- <script type="text/javascript">
- var logData = null;
- var logDataTotal = null;
- var curLog = 0;
- var ctid = '';
- //function downloadBillClick(tid) {
- //}
- //function downloadCashClick(tid) {
- //}
- function onClickChangeLog() {
- let inCtid = mini.get("inCtid").getValue()
- postAjax("getOrderLogInfo", { ctid: inCtid }, function (data) {
- var ahtml = "";
- for (var item of data.data) {
- 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>")
- }
- $("#idLogContent").empty().html(ahtml);
- });
- }
- $(function () {
- if (logData != null && logData.length > 0) {
- curLog = 0;
- var ahtml = "";
- for (var item of logData) {
- 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>")
- }
- $("#idLogContent").html(ahtml);
- mini.get("inCtid").setValue(ctid)
- }
- });
- </script>
- <style type="text/css">
- .win_tb {
- width: 96%;
- margin-left: auto;
- margin-right: auto;
- margin-top: 10px;
- background-color: #dedede;
- }
- .win_tb td {
- height: 36px;
- background-color: #fff;
- font-size: 14px;
- padding: 5px;
- }
- .win_tb input[type=text] {
- width: 90%;
- height: 24px;
- font-size: 14px;
- }
- .win_tb input[type=checkbox] {
- width: 18px;
- height: 18px;
- }
- .win_tb select {
- font-size: 14px;
- height: 30px;
- padding: 0px 5px;
- }
- .win_tb .td1 {
- color: #666;
- background-color: #F8F8F8;
- text-align: center;
- }
- .win_tb .td2 {
- }
- .word_tui {
- border-radius: 50%;
- background-color: red;
- color: white;
- font-size: 14px;
- text-align: center;
- padding: 3px;
- margin-left: 5px;
- }
- .word_shou {
- background-color: saddlebrown;
- }
- .word_green {
- background-color: forestgreen;
- }
- .state_word {
- width: 50px;
- display: flex;
- flex-direction: row;
- padding: 3px 6px 3px 6px;
- text-align: center;
- font-weight: bold;
- color: white;
- background-color: forestgreen;
- }
- .mini-grid-cell-nowrap {
- overflow: hidden;
- /* white-space: nowrap;
- text-overflow: ellipsis; */
- word-break: keep-all;
- word-wrap: break-word;
- white-space: normal;
- }
- /*.win_tb input{height:20px;}
- .win_tb .td1{height:35px;width:120px;font-size:12px;text-align:center;}
- .win_tb .td2{height:35px;width:280px;font-size:12pt;padding-left:5px;text-align:left;}*/
- </style>
- </asp:Content>
- <asp:Content ID="Content2" ContentPlaceHolderID="btn" runat="Server">
- <div style="display: flex; flex-direction: row">
- <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>
- </div>
- <div style="width: 600px; height: 600px; overflow: auto; float: left; margin-left: 3px;" id="idLogContent">
- </div>
- </asp:Content>
|