|
@@ -14,13 +14,16 @@
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
color: #f5f5f5;
|
|
color: #f5f5f5;
|
|
|
}
|
|
}
|
|
|
|
|
+ .cus-detail .base-block {
|
|
|
|
|
+ border-top: 2px solid #f5f5f5;
|
|
|
|
|
+ padding: 0 16px 20px;
|
|
|
|
|
+ }
|
|
|
.cus-detail .com_title01 {
|
|
.cus-detail .com_title01 {
|
|
|
padding: 21px 7px;
|
|
padding: 21px 7px;
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
color: #5078cb;
|
|
color: #5078cb;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
- margin: 0 16px;
|
|
|
|
|
}
|
|
}
|
|
|
.cus-detail .com_title01::before {
|
|
.cus-detail .com_title01::before {
|
|
|
content: '';
|
|
content: '';
|
|
@@ -51,11 +54,19 @@
|
|
|
color: #666;
|
|
color: #666;
|
|
|
padding-right: 25px;
|
|
padding-right: 25px;
|
|
|
}
|
|
}
|
|
|
|
|
+ .cus-detail .supply-list01 dl {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+ .cus-detail .search {
|
|
|
|
|
+ width: 1027px;
|
|
|
|
|
+ margin-left: -16px;
|
|
|
|
|
+ margin-bottom: 15px;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|
|
|
<div class="user_right fr cus-detail">
|
|
<div class="user_right fr cus-detail">
|
|
|
<div class="head"><a class="head-link" href="vendor#/sale/customer">基础资料</a> > <span>客户详情</span></div>
|
|
<div class="head"><a class="head-link" href="vendor#/sale/customer">基础资料</a> > <span>客户详情</span></div>
|
|
|
- <!--供应商详情-->
|
|
|
|
|
- <div class="pro-add-data clearfix">
|
|
|
|
|
|
|
+ <!--基本信息-->
|
|
|
|
|
+ <div class="base-block">
|
|
|
<div class="com_title01 sty01">基本信息</div>
|
|
<div class="com_title01 sty01">基本信息</div>
|
|
|
<dl class="base-info">
|
|
<dl class="base-info">
|
|
|
<dd>
|
|
<dd>
|
|
@@ -71,97 +82,96 @@
|
|
|
<span class="title">主营:</span>{{customer.enType}}
|
|
<span class="title">主营:</span>{{customer.enType}}
|
|
|
</dd>
|
|
</dd>
|
|
|
</dl>
|
|
</dl>
|
|
|
- <!--客户联系人-->
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!--客户联系人-->
|
|
|
|
|
+ <div class="base-block">
|
|
|
<div class="com_title01">
|
|
<div class="com_title01">
|
|
|
客户联系人({{Contacts.length || 0}})
|
|
客户联系人({{Contacts.length || 0}})
|
|
|
<a class="operate" ng-click="addContact(customer.uu)"><i class="fa fa-plus-square fa-fw"></i>新增客户联系人</a>
|
|
<a class="operate" ng-click="addContact(customer.uu)"><i class="fa fa-plus-square fa-fw"></i>新增客户联系人</a>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="supply-list01 pro-info clearfix">
|
|
|
|
|
- <dl>
|
|
|
|
|
- <dt>
|
|
|
|
|
- <span class="wid01">姓名</span>
|
|
|
|
|
- <span class="wid01">性别</span>
|
|
|
|
|
- <span class="wid01">职务</span>
|
|
|
|
|
- <span>手机</span>
|
|
|
|
|
- <span>电话</span>
|
|
|
|
|
- <span>邮箱</span>
|
|
|
|
|
- <span class="wid02">操作</span>
|
|
|
|
|
- </dt>
|
|
|
|
|
- <dd ng-repeat = "contact in Contacts| orderBy:'-id'">
|
|
|
|
|
- <span class="wid01">{{contact.venduser}}</span>
|
|
|
|
|
- <span class="wid01" ng-bind="contact.sex == 'F' ? '女' : '男'"></span>
|
|
|
|
|
- <span class="wid01">{{contact.position}}</span>
|
|
|
|
|
- <span>{{contact.tel}}</span>
|
|
|
|
|
- <span>{{contact.phone}}</span>
|
|
|
|
|
- <span>{{contact.email}}</span>
|
|
|
|
|
- <span class="wid02"><a ng-click="edit(contact)" class="edit">编辑</a><a ng-click="deleteById(contact.id, $index)">删除</a></span>
|
|
|
|
|
- </dd>
|
|
|
|
|
- <dd ng-if="Contacts.length == 0">
|
|
|
|
|
|
|
+ <table class="b2b-com-table">
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th>姓名</th>
|
|
|
|
|
+ <th>性别</th>
|
|
|
|
|
+ <th>职务</th>
|
|
|
|
|
+ <th>手机</th>
|
|
|
|
|
+ <th>电话</th>
|
|
|
|
|
+ <th>邮箱</th>
|
|
|
|
|
+ <th>操作</th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ <tbody>
|
|
|
|
|
+ <tr ng-repeat="contact in Contacts| orderBy:'-id'">
|
|
|
|
|
+ <td>{{contact.venduser}}</td>
|
|
|
|
|
+ <td ng-bind="contact.sex == 'F' ? '女' : '男'"></td>
|
|
|
|
|
+ <td>{{contact.position}}</td>
|
|
|
|
|
+ <td>{{contact.tel}}</td>
|
|
|
|
|
+ <td>{{contact.phone}}</td>
|
|
|
|
|
+ <td>{{contact.email}}</td>
|
|
|
|
|
+ <td class="td-operate"><a ng-click="edit(contact)" class="edit">编辑</a><a ng-click="deleteById(contact.id, $index)">删除</a></td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr ng-if="Contacts.length == 0">
|
|
|
|
|
+ <td colspan="7">
|
|
|
<span style="width: 100%; color: #999;">您还未添加客户联系人!</span>
|
|
<span style="width: 100%; color: #999;">您还未添加客户联系人!</span>
|
|
|
- </dd>
|
|
|
|
|
- </dl>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!--已分配人员-->
|
|
|
|
|
+ <div class="base-block">
|
|
|
<div class="com_title01">
|
|
<div class="com_title01">
|
|
|
<span>已分配人员({{userdata.content.length || 0}})</span>
|
|
<span>已分配人员({{userdata.content.length || 0}})</span>
|
|
|
<a ng-click="addUserInfo()" class="operate"><i class="fa fa-plus-square fa-fw"></i>新增分配人员</a>
|
|
<a ng-click="addUserInfo()" class="operate"><i class="fa fa-plus-square fa-fw"></i>新增分配人员</a>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="supply-list01 pro-info clearfix">
|
|
|
|
|
- <dl>
|
|
|
|
|
- <dt>
|
|
|
|
|
- <span class="wid01">姓名</span>
|
|
|
|
|
- <span class="wid01">性别</span>
|
|
|
|
|
- <span class="wid01">职务</span>
|
|
|
|
|
- <span>手机</span>
|
|
|
|
|
- <span>UU</span>
|
|
|
|
|
- <span>邮箱</span>
|
|
|
|
|
- <span class="wid02"><!--操作--></span>
|
|
|
|
|
- </dt>
|
|
|
|
|
- <dd ng-repeat="userinfo in userdata.content">
|
|
|
|
|
- <span class="wid01" ng-bind="::userinfo.user.userName"></span>
|
|
|
|
|
- <span class="wid01" ng-bind="::userinfo.sex == 'F' ? '女' : '男'"></span>
|
|
|
|
|
- <span class="wid01" ng-bind="::userinfo.position"></span>
|
|
|
|
|
- <span ng-bind="::userinfo.user.userTel"></span>
|
|
|
|
|
- <span ng-bind="::userinfo.userUU"></span>
|
|
|
|
|
- <span ng-bind="::userinfo.user.userEmail"></span>
|
|
|
|
|
- <span class="wid02"><!--<a>删除</a>--></span>
|
|
|
|
|
- </dd>
|
|
|
|
|
- <dd ng-if="userdata.content.length == 0">
|
|
|
|
|
|
|
+ <table class="b2b-com-table">
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th>姓名</th>
|
|
|
|
|
+ <th>性别</th>
|
|
|
|
|
+ <th>职务</th>
|
|
|
|
|
+ <th>手机</th>
|
|
|
|
|
+ <th>UU</th>
|
|
|
|
|
+ <th>邮箱</th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ <tbody>
|
|
|
|
|
+ <tr ng-repeat="userinfo in userdata.content">
|
|
|
|
|
+ <td ng-bind="::userinfo.user.userName"></td>
|
|
|
|
|
+ <td ng-bind="::userinfo.sex == 'F' ? '女' : '男'"></td>
|
|
|
|
|
+ <td ng-bind="::userinfo.position"></td>
|
|
|
|
|
+ <td ng-bind="::userinfo.user.userTel"></td>
|
|
|
|
|
+ <td ng-bind="::userinfo.userUU"></td>
|
|
|
|
|
+ <td ng-bind="::userinfo.user.userEmail"></td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr ng-if="userdata.content.length == 0">
|
|
|
|
|
+ <td colspan="6">
|
|
|
<span style="width: 100%; color: #999;">当前客户还未分配人员!</span>
|
|
<span style="width: 100%; color: #999;">当前客户还未分配人员!</span>
|
|
|
- </dd>
|
|
|
|
|
- <dd ng-if="custInfos.length > 5">
|
|
|
|
|
- <div class="col-md-8 col-md-offset-1 col-sm-10 col-sm-offset-0 col-xs-12 col-xs-offset-0" style="margin-top: 10px;">
|
|
|
|
|
- <a ng-disabled="userdata.first"
|
|
|
|
|
- class="btn btn-default col-md-2 col-sm-3 col-xs-4"
|
|
|
|
|
- ng-click="first()">上一页</a>
|
|
|
|
|
- <div class="col-md-8 col-sm-6 col-xs-4 text-center f14"
|
|
|
|
|
- style="line-height: 34px;">{{userdata.page}}/{{userdata.totalPage}}页</div>
|
|
|
|
|
- <a ng-disabled="userdata.last"
|
|
|
|
|
- class="btn btn-default col-md-2 col-sm-3 col-xs-4"
|
|
|
|
|
- ng-click="last()">下一页</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- </dd>
|
|
|
|
|
- </dl>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- 客户物料信息 -->
|
|
|
|
|
+ <div class="base-block">
|
|
|
<div class="com_title01">
|
|
<div class="com_title01">
|
|
|
<span>查看客户物料信息</span>
|
|
<span>查看客户物料信息</span>
|
|
|
- <a ng-click="$open=!$open;viewProdList(customer.uu)">
|
|
|
|
|
|
|
+ <a class="operate" style="color: #5078cb;" ng-click="$open=!$open;viewProdList(customer.uu)">
|
|
|
<em ng-bind="$open ? '收起':'展开'" class="f14">展开</em>
|
|
<em ng-bind="$open ? '收起':'展开'" class="f14">展开</em>
|
|
|
<i class="fa fa-fw" ng-class="{'fa-angle-up': $open, 'fa-angle-down': !$open}"></i>
|
|
<i class="fa fa-fw" ng-class="{'fa-angle-up': $open, 'fa-angle-down': !$open}"></i>
|
|
|
</a>
|
|
</a>
|
|
|
</div>
|
|
</div>
|
|
|
- <!--已分配人员-->
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="pro-add-data02" ng-class="{'open': $open}">
|
|
|
|
|
- <div class="pro-search" >
|
|
|
|
|
- <div class="search-result fl"><img src="static/img/purc/search01.png"/>搜索“{{tip}}”,为您找到<em>{{total}}</em>个结果</div>
|
|
|
|
|
- <div class="search fr">
|
|
|
|
|
|
|
+ <div class="b2b-com-search search" >
|
|
|
|
|
+ <div class="search-result fl"><i class="fa fa-search"></i> 搜索“{{tip}}”,为您找到<em>{{total || 0}}</em>个结果</div>
|
|
|
|
|
+ <div class="search-content fr">
|
|
|
<input type="text" placeholder="输入供应商物料关键字查询" ng-model="keyword" autofocus ng-search="onSearch(keyword)"/>
|
|
<input type="text" placeholder="输入供应商物料关键字查询" ng-model="keyword" autofocus ng-search="onSearch(keyword)"/>
|
|
|
<a class="seek" ng-click="onSearch(keyword)">搜索</a>
|
|
<a class="seek" ng-click="onSearch(keyword)">搜索</a>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <table class="block table table-default table-striped" ng-table="tableParams" >
|
|
|
|
|
|
|
+ <table class="b2b-com-table" ng-table="tableParams" >
|
|
|
<thead>
|
|
<thead>
|
|
|
- <tr class="header">
|
|
|
|
|
|
|
+ <tr>
|
|
|
<th width="160">编号</th>
|
|
<th width="160">编号</th>
|
|
|
<th width="200">名称</th>
|
|
<th width="200">名称</th>
|
|
|
<th>规格</th>
|
|
<th>规格</th>
|
|
@@ -191,7 +201,7 @@
|
|
|
<td class="text-center" ng-bind="::product.title"></td>
|
|
<td class="text-center" ng-bind="::product.title"></td>
|
|
|
<td class="text-center f12" ng-bind="::product.spec"></td>
|
|
<td class="text-center f12" ng-bind="::product.spec"></td>
|
|
|
<td class="text-center" ng-bind="::product.unit"></td>
|
|
<td class="text-center" ng-bind="::product.unit"></td>
|
|
|
- <td class="text-center" ><a title="主动报价" href="javascript:void(0)" style="text-decoration: none; color: #3f84f6;" id="click" class="add01" ng-click="Quotation(customer.uu, product.id)">报价</a>
|
|
|
|
|
|
|
+ <td class="text-center td-operate" ><a title="主动报价" href="javascript:void(0)" style="text-decoration: none; color: #3f84f6;" id="click" class="add01" ng-click="Quotation(customer.uu, product.id)">报价</a>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|