|
|
|
@ -1,4 +1,6 @@
|
|
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DT_SecondHand2.aspx.cs" Inherits="TradeManageNew.DingDan.DT_SecondHand2" %>
|
|
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DT_OrderReturn.aspx.cs" Inherits="TradeManageNew.DingDan.DT_OrderReturn" %>
|
|
|
|
|
|
|
|
|
|
DingDan/DD_OrderListForTM2.aspx
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
@ -100,7 +102,10 @@
|
|
|
|
|
top: 0;
|
|
|
|
|
max-width: 100vw;
|
|
|
|
|
max-height: 100vh;
|
|
|
|
|
/* overflow: hidden; */
|
|
|
|
|
page-break-after: avoid;
|
|
|
|
|
/* display:flex;
|
|
|
|
|
justify-content:center; */
|
|
|
|
|
}
|
|
|
|
|
#printArea *{
|
|
|
|
|
position: absolute;
|
|
|
|
@ -112,6 +117,8 @@
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/jsbarcode@3.11.5/dist/JsBarcode.all.min.js"></script>
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.7.1/jszip.min.js"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/file-saver@2.0.5/dist/FileSaver.min.js"></script>
|
|
|
|
|
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jQuery.print/1.6.2/jQuery.print.min.js" integrity="sha512-t3XNbzH2GEXeT9juLjifw/5ejswnjWWMMDxsdCg4+MmvrM+MwqGhxlWeFJ53xN/SBHPDnW0gXYvBx/afZZfGMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> -->
|
|
|
|
|
<script src="../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/jquery.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/jquery.easyui.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/DataGrid.js?a=3445" type="text/javascript"></script>
|
|
|
|
@ -198,9 +205,9 @@
|
|
|
|
|
$("#" + datagrid1.TableID + " [CommandName='outboundImg']").live("click", function () {
|
|
|
|
|
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
|
|
|
|
|
var model = datagrid1.Get_Model(RowIndex);
|
|
|
|
|
$("#img_1").attr("src", model.ImageUrls[0]);
|
|
|
|
|
$("#img_1").attr("src", model.imgList[0]);
|
|
|
|
|
$("#div_img").empty();
|
|
|
|
|
model.ImageUrls.forEach(pic => {
|
|
|
|
|
model.imgList.forEach(pic => {
|
|
|
|
|
$("#div_img").append("<img src='../" + pic + "' width='100px' height='80px' style='margin-right:5px'/>");
|
|
|
|
|
})
|
|
|
|
|
$.fancybox({
|
|
|
|
@ -399,6 +406,7 @@
|
|
|
|
|
data.d.DataSource.forEach(it=>{
|
|
|
|
|
it.orginData = JSON.parse(JSON.stringify(it))
|
|
|
|
|
it.firstImg = it.ImageUrls && it.ImageUrls.length ? it.ImageUrls[0] : ""
|
|
|
|
|
it.imgList = it.imgList ? it.split(',') : []
|
|
|
|
|
})
|
|
|
|
|
datagrid1.Set_RowCount(data.d.RowCount);
|
|
|
|
|
datagrid1.DataBind(data.d.DataSource);
|
|
|
|
|