Commit 7281ddb0 by 胡悦

合并

2 parents f7a674a5 0b40ac6b
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<label class="layui-form-label">商户名称</label> <label class="layui-form-label">商户名称</label>
<div class="layui-input-block"> <div class="layui-input-block">
<!-- <select name="merchantId" id="merchantName" lay-verify="required"></select> --> <!-- <select name="merchantId" id="merchantName" lay-verify="required"></select> -->
<div id="merchantNameSelect" style="width: 300px;" class="xm-select-demo"></div> <div id="merchantNameSelect" style="width: 300px" class="xm-select-demo"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -341,8 +341,6 @@ ...@@ -341,8 +341,6 @@
}) })
} }
// 查询所有商户 // 查询所有商户
function findAllMerchant() { function findAllMerchant() {
var params = { method: 'cn.com.glsx.merchants.menu.findAllMerchant' } var params = { method: 'cn.com.glsx.merchants.menu.findAllMerchant' }
......
...@@ -66,16 +66,22 @@ ...@@ -66,16 +66,22 @@
overflow: auto; overflow: auto;
} }
.ztree .wrapper-tree { .ztree .wrapper-tree {
overflow: auto; overflow-y: auto;
}
.wrapper-tree::-webkit-scrollbar{
display: none;
} }
.wrapper-tree .node_name { .wrapper-tree .node_name {
display: inline-block; display: inline-block;
max-width: 315px; max-width: 235px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
word-break: break-all; word-break: break-all;
} }
.detail .wrapper-tree{
margin-left: 0;
}
.merchant-right { .merchant-right {
padding-top: 15px; padding-top: 15px;
...@@ -88,37 +94,49 @@ ...@@ -88,37 +94,49 @@
} }
.merchant-right > div:first-child { .merchant-right > div:first-child {
position: relative; /* position: relative;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px; */
display: flex;
align-items: flex-start;
justify-content: space-between;
} }
.layui-form-label { .layui-form-label {
width: 130px !important; width: 130px !important;
} }
.merchant-right .companyName { .merchant-right .companyName {
display: inline-block; display: inline-block;
width: 300px; max-width: 300px;
height: 36px; height: 36px;
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
line-height: 22px; /* line-height: 22px; */
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
word-break: break-all; 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 { .merchant-right .layui-btn {
position: absolute; /* position: absolute;
right: 0px; right: 0px; */
margin-left: 20px;
} }
.merchant-right .layui-input-inline { /* .merchant-right .layui-input-inline {
position: absolute; position: absolute;
right: 70px; right: 70px;
} } */
.updateRecord { .updateRecord {
text-align: left; text-align: left;
...@@ -467,12 +485,18 @@ ...@@ -467,12 +485,18 @@
</div> </div>
<div class="merchant-right"> <div class="merchant-right">
<div> <div>
<div style="display: flex">
<span id="companyName" class="companyName"></span> <span id="companyName" class="companyName"></span>
<span class="emloyeeListText">员工列表</span>
</div>
<div>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input class="layui-input" placeholder="请输入员工姓名/手机号" id="tableSearchForm" /> <input class="layui-input" placeholder="请输入员工姓名/手机号" id="tableSearchForm" />
</div> </div>
<button class="layui-btn" id="tableSearch">查询</button> <button class="layui-btn" id="tableSearch">查询</button>
</div> </div>
</div>
<table id="subMerchantTable" lay-filter="subMerchantTool"></table> <table id="subMerchantTable" lay-filter="subMerchantTool"></table>
</div> </div>
</div> </div>
...@@ -707,6 +731,7 @@ ...@@ -707,6 +731,7 @@
$('#numberOfSubMerchants').text(data.numberOfSubMerchants) $('#numberOfSubMerchants').text(data.numberOfSubMerchants)
$('#numberOfStores').text(data.numberOfStores) $('#numberOfStores').text(data.numberOfStores)
$('#companyName').html(data.merchantName) $('#companyName').html(data.merchantName)
$('#companyName').attr('title', data.merchantName)
} }
) )
} }
......
...@@ -31,9 +31,7 @@ ...@@ -31,9 +31,7 @@
.layui-form-label { .layui-form-label {
width: 130px; width: 130px;
} }
/* .channel {
margin-left: 24px;
} */
.accountLevel, .accountLevel,
.customerState, .customerState,
.accountType, .accountType,
...@@ -540,7 +538,7 @@ ...@@ -540,7 +538,7 @@
// console.log(row) // console.log(row)
var area = ['560px', '230px'] var area = ['560px', '230px']
if (row.merchantAccountLevel == 4) { if (row.merchantAccountLevel == 4) {
area = ['560px', '230px'] area = ['750px', '450px']
} }
layer.open({ layer.open({
type: 2, type: 2,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!