Commit 0b40ac6b by 李长胜

加员工列表和省略

1 parent 40e395ee
......@@ -94,37 +94,49 @@
}
.merchant-right > div:first-child {
position: relative;
/* position: relative;
height: 40px;
line-height: 40px;
line-height: 40px; */
display: flex;
align-items: flex-start;
justify-content: space-between;
}
.layui-form-label {
width: 130px !important;
}
.merchant-right .companyName {
display: inline-block;
width: 300px;
max-width: 300px;
height: 36px;
font-size: 16px;
font-weight: 500;
color: #333333;
line-height: 22px;
/* line-height: 22px; */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-break: break-all;
}
.merchant-right .emloyeeListText{
display: inline-block;
height: 36px;
font-size: 16px;
font-weight: 500;
color: #333333;
/* line-height: 22px; */
}
.merchant-right .layui-btn {
position: absolute;
right: 0px;
/* position: absolute;
right: 0px; */
margin-left: 20px;
}
.merchant-right .layui-input-inline {
/* .merchant-right .layui-input-inline {
position: absolute;
right: 70px;
}
} */
.updateRecord {
text-align: left;
......@@ -472,11 +484,17 @@
</div>
<div class="merchant-right">
<div>
<span id="companyName" class="companyName"></span>
<div class="layui-input-inline">
<input class="layui-input" placeholder="请输入员工姓名/手机号" id="tableSearchForm" />
<div style="display: flex">
<span id="companyName" class="companyName"></span>
<span class="emloyeeListText">员工列表</span>
</div>
<div>
<div class="layui-input-inline">
<input class="layui-input" placeholder="请输入员工姓名/手机号" id="tableSearchForm" />
</div>
<button class="layui-btn" id="tableSearch">查询</button>
</div>
<button class="layui-btn" id="tableSearch">查询</button>
</div>
<table id="subMerchantTable" lay-filter="subMerchantTool"></table>
</div>
......@@ -714,6 +732,7 @@
$('#numberOfSubMerchants').text(data.numberOfSubMerchants)
$('#numberOfStores').text(data.numberOfStores)
$('#companyName').html(data.merchantName)
$('#companyName').attr('title', data.merchantName)
}
)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!