<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
    <title>添加结算书</title>
    <link rel="stylesheet" href="${ctxp}/static/plugin/assets/layui/css/layui.css">
    <link rel="stylesheet" href="${ctxp}/static/plugin/assets/common.css"/>
    <script type="text/javascript" src="${ctxp}/static/plugin/assets/jquery-3.2.1.min.js"></script>
    <style>
        .mydiv{padding: 5px 7px;min-height: 17px;text-align: left;color:#333333;line-height: 17px}
        .mydiv:empty:before{content: attr(placeholder);color:#999999;text-align: left}
        .mydiv:focus:before{content:none;text-align: left}
        .layui-input{ height: 28px;line-height: 28px}
         td{text-align: center;font-size: 14px;margin-top: 20px;color: #555}
        .layui-form{padding: 4px}
    </style>
</head>
<body>
<form id="inputForm"class="layui-form" action="${ctx}/project/tem/importfile" method="post" enctype="multipart/form-data">
    <div class="layui-form">
        <table class="layui-table">
            <tbody>
            <tr>
                <td width="30%"><input type="button" class="layui-btn layui-btn-primary layui-btn-sm" value="选择结算文件" id="btnxz"/></td>
                <td>
                    <input type="text" autocomplete="off" readonly="readonly" class="layui-input" placeholder="*结算书文件为博微导出xls/xlsx格式文件" id="view_input" style="background-color: whitesmoke">
                </td>
            </tr>
            <tr>
                <td width="30%">*结算书名称</td>
                <td>
                    <input type="text" style="display: none" name="itemName" autocomplete="off" class="layui-input" id="inputwrite">
                    <div contenteditable="true" id="mydiv1" class="mydiv" placeholder="请输入结算书名称"></div>
                </td>
            </tr>
            <tr>
                <td width="30%">*供应商名称</td>
                <td>
                    <input type="text" style="display: none" name="unit" autocomplete="off" class="layui-input" id="inputUnit">
                    <div contenteditable="true" id="mydiv2" class="mydiv" placeholder="请输入供应商名称"></div>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <input type="file" style="display: none;" accept=".xls,.xlsx"  name="file" id="myfile"/>
    <input id="newText1" style="display: none;" name="projectId" value=""/>
</form>
</body>
<script src="${ctxp}/static/plugin/assets/layui/layui.js"></script>
<%@include file="addItem.js"%>
</html>
