diff --git a/src/main/resources/static/common/css/print.css b/src/main/resources/static/common/css/print.css new file mode 100644 index 0000000..a3457d7 --- /dev/null +++ b/src/main/resources/static/common/css/print.css @@ -0,0 +1,136 @@ +#printContainer { + display: none; + position: absolute; + background-color: #fff; + width: 100%; + /*height: 100%;*/ + left: 0; + top: 0; + overflow-y: auto; + overflow-x: hidden; + z-index: 999; + font-size: 14px; +} +#printContainer .am-text-lg { + font-size: 16px; +} + +#printContainer table { + max-width: 100%; + display: block; +} + +#printContainer table input{ + width: 100%; +} + +#printContainer table tbody { + display: block; + width: 100%; +} +#printContainer table tr { + width: 100%; + table-layout: fixed; + display: table; + /*border-right: 1px solid #ddd;*/ + /*border-left: 1px solid #ddd;*/ +} +#printContainer table td { + vertical-align: center; + /*border-right: 1px solid #ddd;*/ + /*border-left: 1px solid #ddd;*/ +} +#printContainer input { + border:0 none; + outline:none; +} +.am-modal.am-modal-prompt.am-modal-active { + transform: translate(-50%, -50%) scale(1); + left: 50%; + top: 50%; + margin-left: 0; + margin-top: 0 !important; +} + +select[readonly] option { + display: none; +} + +/** + 审核通过 + */ +.approve-passed{ + position:absolute; + right:10px; + top:10px; + border-radius: 100%; + width: 150px; + height: 150px; + border: 3px dashed green; + color: green; + white-space: nowrap; + display: flex; + align-items: center; + justify-content: center; + transform: rotateZ(20deg); + font-size: 14px; +} +.approve-passed:after { + content:"审核通过"; + color: green; +} +/** +待审核 + */ +#printContainer .approve-topass{ + position:absolute; + right:10px; + top:120px; + border-radius: 100%; + width: 150px; + height: 150px; + border: 3px dashed orange; + color: orange; + white-space: nowrap; + display: flex; + align-items: center; + justify-content: center; + transform: rotateZ(20deg); + font-size: 14px; +} +.approve-topass:after { + content:"待审核"; +} +/** +审核不过 + */ +.approve-nopass{ + position:absolute; + right:10px; + top:10px; + border-radius: 100%; + width: 150px; + height: 150px; + border: 3px dashed red; + color: red; + white-space: nowrap; + display: flex; + align-items: center; + justify-content: center; + transform: rotateZ(20deg); + font-size: 14px; +} +.approve-nopass:after { + content:"审核不通过"; + color: red; +} + +textarea { + overflow-x: hidden; + overflow-y:hidden; +} + +.huanhang { + table-layout:fixed; + word-break:break-all; +} \ No newline at end of file diff --git a/src/main/resources/templates/admin/project_approve.ftl b/src/main/resources/templates/admin/project_approve.ftl index 241a951..da020ef 100644 --- a/src/main/resources/templates/admin/project_approve.ftl +++ b/src/main/resources/templates/admin/project_approve.ftl @@ -4,7 +4,7 @@ <@defaultLayout.layout> - - -
费用项目 | 含税金额(元) | 不含税金额(元) | -税金(元) | +税金(元) | ||
成本 | @@ -1363,7 +1373,7 @@- | - | @@ -1391,7 +1401,7 @@ | - | @@ -1405,7 +1415,7 @@ | - | @@ -1419,21 +1429,21 @@ | - |
成本 | 其他 | -${project.otherName!} | +${project.otherName!} | - | - | @@ -1456,7 +1466,7 @@ |
类别 | -金额(元) | -计算方式 | +类别 | +金额(元) | +计算方式 |
销售商品、提供劳务收到的现金<#--a--> | @@ -1588,6 +1598,7 @@
类别 | @@ -1675,7 +1689,7 @@
类别 | @@ -1760,7 +1774,7 @@
类别 | @@ -1811,7 +1825,7 @@
类别 | @@ -1853,7 +1867,7 @@
类别 | @@ -1997,7 +2011,7 @@ 收入 -
类别 | @@ -2042,7 +2056,7 @@
类别 | @@ -2119,7 +2133,7 @@
类别 | @@ -2165,7 +2179,7 @@
类别 | @@ -2203,7 +2217,7 @@
类别 | @@ -2954,7 +2968,38 @@ @defaultLayout.layout>