From 7df23c739201c4413e3e64affae1707a694a2e1b Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 16 六月 2022 12:56:47 +0800 Subject: [PATCH] 打印合同 --- zhengcaioa/zhengcaioa/Controllers/BusinessOrder/OrderBanciController.cs | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/BusinessOrder/OrderBanciController.cs b/zhengcaioa/zhengcaioa/Controllers/BusinessOrder/OrderBanciController.cs index 7fe4a39..e48f004 100644 --- a/zhengcaioa/zhengcaioa/Controllers/BusinessOrder/OrderBanciController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/BusinessOrder/OrderBanciController.cs @@ -214,7 +214,7 @@ - ViewData["shangxiawu"] = _liaotianService.GetSYScode("order_banci_dtl", "shangxiawu"); + ViewData["shangxiawu"] = _liaotianService.GetSYScode("order_banci_order", "kechengleixing_id"); @@ -334,10 +334,18 @@ returnMsg.error = "娌℃湁鏌ヨ鍒扮彮娆�"; returnMsg.count = 0; } + else + { + OrderBanciDtlDTOSearch searchEntity = new OrderBanciDtlDTOSearch(); + searchEntity.page = 1; + searchEntity.rows = 1000; + searchEntity.OrderBanciId = id; + orderBanciDTO.orderBanciDtlDTOs = _orderBanciDtlService.SearchByPaging(searchEntity).DataList; + returnMsg.code = 1; + returnMsg.count = 1; + returnMsg.returnObj = orderBanciDTO; + } - returnMsg.code = 1; - returnMsg.count = 1; - returnMsg.returnObj = orderBanciDTO; } catch (Exception ex) { -- Gitblit v1.9.1