| | |
| | | |
| | | foreach (var coreCmsPlanOrder in coreCmsPlanOrders) |
| | | { |
| | | biaotou = "<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse;width: 98%; \"><tr>"; |
| | | biaotou = "<table id=\"myTable\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse;width: 98%; \"><tr>"; |
| | | biaowei = ""; |
| | | var cmsPlanOrderItems = bll_CoreCmsPlanOrderItemBLL.GetModelsByOrderid(coreCmsPlanOrder.id).Where(x => x.nums > 0).OrderBy(x => x.specification).ThenBy(x => x.name).ToList(); |
| | | int i = 1; |
| | |
| | | |
| | | foreach (var cmsPlanOrderItem in cmsPlanOrderItems) |
| | | { |
| | | biaotou += " <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"> " + cmsPlanOrderItem.specification + cmsPlanOrderItem.name + " </td> "; |
| | | biaotou += " <td style=\"text-align:center;height: 40px;\"> " + cmsPlanOrderItem.specification + cmsPlanOrderItem.name + " </td> "; |
| | | |
| | | biaowei += " <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"> " + cmsPlanOrderItem.nums + " </td> "; |
| | | biaowei += " <td style=\"text-align:center;height: 40px;\"> " + cmsPlanOrderItem.nums + " </td> "; |
| | | if (i % 8 == 0) |
| | | { |
| | | biaotou += " </tr> <tr>"+ biaowei + " </tr>";//<td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"></td> |
| | | biaotou += " </tr> <tr>"+ biaowei + " </tr>";//<td style=\"text-align:center;height: 40px;\"></td> |
| | | biaowei = ""; |
| | | } |
| | | |
| | |
| | | { |
| | | for (int j = 0; j < 8; j++) |
| | | { |
| | | biaotou += " <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"> </td> "; |
| | | biaowei += " <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"> </td> "; |
| | | biaotou += " <td style=\"text-align:center;height: 40px;\"> </td> "; |
| | | biaowei += " <td style=\"text-align:center;height: 40px;\"> </td> "; |
| | | i = i + 1; |
| | | if (i % 8 == 0) |
| | | { |
| | |
| | | } |
| | | |
| | | |
| | | biaotou += " <tr> <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"> 验收意见</td > <td style=\"text-align:left;border: 1px solid #999999;height: 40px;\" colspan=\"7\"> 产品质量:<input type=\"checkbox\" />非常满意 <input type=\"checkbox\" />满意<input type=\"checkbox\" />一般<input type=\"checkbox\" />不满意<br/> 配送服务:<input type=\"checkbox\" />非常满意 <input type=\"checkbox\" />满意<input type=\"checkbox\" />一般<input type=\"checkbox\" />不满意<br/>其他意见:<br/></td></tr>"; |
| | | biaotou += " <tr> <td style=\"text-align:center;height: 40px;\"> 验收意见</td > <td style=\"text-align:left;height: 40px;\" colspan=\"7\"> 产品质量:<input type=\"checkbox\" />非常满意 <input type=\"checkbox\" />满意<input type=\"checkbox\" />一般<input type=\"checkbox\" />不满意<br/> 配送服务:<input type=\"checkbox\" />非常满意 <input type=\"checkbox\" />满意<input type=\"checkbox\" />一般<input type=\"checkbox\" />不满意<br/>其他意见:<br/></td></tr>"; |
| | | |
| | | biaotou += "</table>"; |
| | | |