From 6c5fa5ba99591d31a2ec458f45f97f8aa5cab35a Mon Sep 17 00:00:00 2001 From: fxc <541723947@qq.com> Date: Mon, 17 Feb 2025 15:06:16 +0800 Subject: [PATCH] 111 --- TradeManageNew/DingDan/DT_SecondHand2.aspx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/TradeManageNew/DingDan/DT_SecondHand2.aspx b/TradeManageNew/DingDan/DT_SecondHand2.aspx index fb5472a..974003c 100644 --- a/TradeManageNew/DingDan/DT_SecondHand2.aspx +++ b/TradeManageNew/DingDan/DT_SecondHand2.aspx @@ -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 @@ -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 @@ + + @@ -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(""); }) $.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);