From 3ada277251e78f9a3a46fb652055bf69863e2253 Mon Sep 17 00:00:00 2001 From: fxc <541723947@qq.com> Date: Fri, 14 Feb 2025 10:00:00 +0800 Subject: [PATCH] 11 --- .../Huowu/HW_GoodsDetailList2TemuSku.aspx | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/TradeManageNew/Huowu/HW_GoodsDetailList2TemuSku.aspx b/TradeManageNew/Huowu/HW_GoodsDetailList2TemuSku.aspx index 645176e..ff5adfd 100644 --- a/TradeManageNew/Huowu/HW_GoodsDetailList2TemuSku.aspx +++ b/TradeManageNew/Huowu/HW_GoodsDetailList2TemuSku.aspx @@ -74,7 +74,7 @@ col = new nblf.ui.DataGridColumn(); col.HeaderText = "毛利"; - col.CellTemplate = "{Bind GrossProfit}"; + col.CellTemplate = "{Bind GrossProfit}"; Array.add(datagrid1.Columns, col); col = new nblf.ui.DataGridColumn(); @@ -199,6 +199,32 @@ }); } //#endregion + + //#region 显示各店铺毛利 + function showShopGrossProfitDialog(GoodsId) { + var param = { GoodsId } + WindowLoadModel.Show(); + $.ajax({ + url: "../SysManageServiceNew.asmx/GetTemuShopGrossProfit", + data: Sys.Serialization.JavaScriptSerializer.serialize(param), + success: function (res) { + WindowLoadModel.Hide(); + data = JSON.parse(res.Data) + datagrid1.Set_RowCount(res.rowCount); + datagrid1.DataBind(data); + $.fancybox({ + 'width': '40%', + 'height': '40%', + 'autoScale': false, + 'transitionIn': 'elastic', + 'transitionOut': 'elastic', + 'href': '#mlDialog', + 'onComplete': function () { } + }); + } + }); + } + //#endregion @@ -224,6 +250,11 @@ + + +