| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@include file="/context/mytags.jsp"%>
- <!doctype html>
- <html>
- <head>
- <t:base type="jquery,easyui,tools,DatePicker"></t:base>
- <meta charset="utf-8" />
- <meta name="spreadjs culture" content="zh-cn" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <style>
- html{
- width:99%;
- height:90%;
- }
- body{
- width:100%;
- height:100%;
- }
- #easylayout{
- width:100%;
- height:100%;
- }
- .center {
- width:100%;
- height:100%;
- }
- .sample-spreadsheets {
- width: calc(99vw - 50px);
- height: calc(99vh - 100px);
- }
- .options-container{
- float: right;
- width: 280px;
- padding: 12px;
- height: 100%;
- box-sizing: border-box;
- background: #fbfbfb;
- overflow: auto;
- }
- .option-row {
- font-size: 14px;
- padding: 5px;
- margin-top: 10px;
- }
- </style>
- </head>
- <body style="background:#FFFFFF;">
- <div>
- <%@include file="budgetInst-buttons.jsp"%>
- </div>
- <c:if test="${view}"><%--查看去掉右侧查看 --%>
- <div id="ss" class="sample-spreadsheets" style="width:99%"></div>
- <div id="statusBar" class="sample-spreadsheets-statusBar"></div>
- </c:if>
- <c:if test="${!view}">
- <div class="easyui-layout" id="easylayout">
- <div region="center" class="center">
- <div id="ss" class="sample-spreadsheets"></div>
- <div id="statusBar" class="sample-spreadsheets-statusBar"></div>
- </div>
- <div data-options="region:'east',
- title:'维度信息',
- collapsed:true,
- split:true,
- border:false,
- onExpand : function(){
- li_east = 1;
- },
- onCollapse : function() {
- li_east = 0;
- }"
- style="width: 350px; overflow: hidden;" id="eastPanel">
- <div class="option-row" id="info1" style="display: none;">
- <fieldset style="border:1px solid #666666;padding:5px">
- <legend>单元格维度</legend>
- <table>
- <tr id="entityTr" style="display: none;">
- <td>预算主体:</td>
- <td>
- <input type="text" id="entityInput" style="width: 150px;" readonly="readonly">
- </td>
- </tr>
- <tr>
- <td>时间维度:</td>
- <td>
- <input type="text" id="timeInput" style="width: 150px;" readonly="readonly">
- </td>
- </tr>
- <tr>
- <td>指标维度:</td>
- <td><input type="text" id="measureInput" style="width: 150px;" readonly="readonly"></td>
- </tr>
- <tr>
- <td>含税维度:</td>
- <td>
- <input type="radio" name="includeTax" value="1" disabled="disabled">含税
- <input type="radio" name="includeTax" value="0" disabled="disabled">不含税
- </td>
- </tr>
- <tr>
- <td>预实维度:</td>
- <td>
- <input type="radio" name="expect" value="1" disabled="disabled">预算数
- <input type="radio" name="expect" value="0" disabled="disabled">实际数
- </td>
- </tr>
- </table>
- </fieldset>
- <fieldset style="border:1px solid #666666;padding:5px">
- <legend>单元格属性</legend>
- <table>
- <tr>
- <td>只读:</td>
- <td>
- <input type="text" id="readOnlyInput" style="width: 150px;" readonly="readonly">
- </td>
- </tr>
- <tr>
- <td>数据类型:</td>
- <td><input type="text" id="datatypeInput" style="width: 150px;" readonly="readonly"></td>
- </tr>
- <tr id="functionInputTr" style="display:none">
- <td>维度公式:</td>
- <td>
- <input type="text" id="functionInput" style="width: 150px;" readonly="readonly">
- </td>
- </tr>
- <tr id="controlFlagNameTr" style="display:none">
- <td>预算控制:</td>
- <td>
- <input type="text" id="controlFlagNameInput" style="width: 150px;" readonly="readonly">
- </td>
- </tr>
- </table>
- </fieldset>
- </div>
- <div class="option-row" id="info2" style="display: none;">
- <fieldset style="border:1px solid #666666;padding:5px">
- <legend>单元格维度</legend>
- <span id="otherTxt"></span>
- </fieldset>
- </div>
- </div>
- </div>
- </c:if>
- <script>
- var measureDataTypeList={};
- <c:forEach items="${measureDataTypeList}" var="type" varStatus="i">
- measureDataTypeList['${type.typecode}'] ='${type.typename}';
- </c:forEach>
- measureDataTypeList['formula']='维度公式';
- $(function(){
- setTimeout(function(){
- $('#easylayout').layout('expand','east');
- },500)
- setTimeout(function(){
- $('#easylayout').layout('collapse','east');
- },1000)
- })
- </script>
- <script src="webpage/cn/com/lzt/budget/inst/budgetInst-fill.js?v=11" type="text/javascript"></script>
- </body>
- </html>
|