|
@@ -1,154 +1,185 @@
|
|
|
<style>
|
|
<style>
|
|
|
- .order-table .header>th {
|
|
|
|
|
- height: 40px;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- border-bottom: 1px solid #e8e8e8;
|
|
|
|
|
- }
|
|
|
|
|
- .order-table .header:hover th{
|
|
|
|
|
- border: none !important;
|
|
|
|
|
- }
|
|
|
|
|
- .order-table .sep-row {
|
|
|
|
|
- height: 10px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .selector {
|
|
|
|
|
- vertical-align: middle;
|
|
|
|
|
- margin: 0 0 2px 0;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .toolbar label {
|
|
|
|
|
- margin-right: 10px;
|
|
|
|
|
- margin-bottom: 0;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .toolbar .select_all {
|
|
|
|
|
- margin: 0 6px 0 10px;
|
|
|
|
|
- line-height: 20px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .toolbar .btn {
|
|
|
|
|
- -moz-border-radius: 2px;
|
|
|
|
|
- margin-right: 5px;
|
|
|
|
|
- border: 1px solid #dcdcdc;
|
|
|
|
|
- border-radius: 2px;
|
|
|
|
|
- -webkit-border-radius: 2px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .order-hd {
|
|
|
|
|
- /*background: #f5f5f5;*/
|
|
|
|
|
- height: 60px;
|
|
|
|
|
- line-height: 60px;
|
|
|
|
|
- font-size: 14px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .order-hd td.first {
|
|
|
|
|
- /*padding-left: 20px;*/
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .order-hd .order-main span {
|
|
|
|
|
- margin-right: 8px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .order-hd .order-code {
|
|
|
|
|
- font-style: normal;
|
|
|
|
|
- font-family: verdana;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .order-hd .order-sum {
|
|
|
|
|
- padding: 0 5px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table>tbody {
|
|
|
|
|
- border-top: #e8e8e8 1px solid;
|
|
|
|
|
- }
|
|
|
|
|
- .order-table{
|
|
|
|
|
- border-bottom: #e8e8e8 1px solid;
|
|
|
|
|
- }
|
|
|
|
|
- .order-table>tbody:hover {
|
|
|
|
|
- /* border-color: #56a022;
|
|
|
|
|
|
|
+.order-table .header>th {
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ border-bottom: 1px solid #e8e8e8;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .header:hover th {
|
|
|
|
|
+ border: none !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .sep-row {
|
|
|
|
|
+ height: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .selector {
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ margin: 0 0 2px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.toolbar label {
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.toolbar .select_all {
|
|
|
|
|
+ margin: 0 6px 0 10px;
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.toolbar .btn {
|
|
|
|
|
+ -moz-border-radius: 2px;
|
|
|
|
|
+ margin-right: 5px;
|
|
|
|
|
+ border: 1px solid #dcdcdc;
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+ -webkit-border-radius: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .order-hd {
|
|
|
|
|
+ /*background: #f5f5f5;*/
|
|
|
|
|
+ height: 60px;
|
|
|
|
|
+ line-height: 60px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .order-hd td.first {
|
|
|
|
|
+ /*padding-left: 20px;*/
|
|
|
|
|
+
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .order-hd .order-main span {
|
|
|
|
|
+ margin-right: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .order-hd .order-code {
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ font-family: verdana;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .order-hd .order-sum {
|
|
|
|
|
+ padding: 0 5px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table>tbody {
|
|
|
|
|
+ border-top: #e8e8e8 1px solid;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table {
|
|
|
|
|
+ border-bottom: #e8e8e8 1px solid;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table>tbody:hover {
|
|
|
|
|
+ /* border-color: #56a022;
|
|
|
border-width: 2px;*/
|
|
border-width: 2px;*/
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .operates {
|
|
|
|
|
- display: none;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table>tbody:hover .operates {
|
|
|
|
|
- display: block;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .order-hd {
|
|
|
|
|
- border-bottom: 1px solid #e6e6e6;
|
|
|
|
|
- }
|
|
|
|
|
- .order-table .order-bd>td {
|
|
|
|
|
- padding: 10px 5px;
|
|
|
|
|
- vertical-align: top;
|
|
|
|
|
- position: relative;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .order-table .order-bd .product {
|
|
|
|
|
- padding-left: 20px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .input-xs,.input-group-xs>.form-control,.input-group-xs>.input-group-addon,.input-group-xs>.input-group-btn>.btn
|
|
|
|
|
- {
|
|
|
|
|
- height: 26px;
|
|
|
|
|
- padding: 0 5px;
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
- line-height: 1.5;
|
|
|
|
|
- border-radius: 3px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .input-group-xs .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn {
|
|
|
|
|
- border-top-left-radius: 0;
|
|
|
|
|
- border-bottom-left-radius: 0;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .modal-dialog {
|
|
|
|
|
- margin-top: 110px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .file {
|
|
|
|
|
- color: #336699;
|
|
|
|
|
- text-decoration: underline;
|
|
|
|
|
- }
|
|
|
|
|
-.condition{
|
|
|
|
|
- padding: 10px 0;
|
|
|
|
|
-}
|
|
|
|
|
-.order-hd td{
|
|
|
|
|
- word-break: break-word;
|
|
|
|
|
- padding: 10px 5px !important;
|
|
|
|
|
-}
|
|
|
|
|
-.toolbar td a{
|
|
|
|
|
- margin-left: 18px;
|
|
|
|
|
-}
|
|
|
|
|
-#public .com_title{
|
|
|
|
|
- margin-bottom: 10px;
|
|
|
|
|
-}
|
|
|
|
|
-.order-hd td a{
|
|
|
|
|
- margin: 0 8px;
|
|
|
|
|
-}
|
|
|
|
|
- .order-table .header th label{
|
|
|
|
|
- margin-left: 34px;
|
|
|
|
|
- }
|
|
|
|
|
- .order-table .header th label input{
|
|
|
|
|
- margin: 0;
|
|
|
|
|
- position: relative;
|
|
|
|
|
- top: 3px;
|
|
|
|
|
- }
|
|
|
|
|
- /*.order-table tr.header th:first-child{
|
|
|
|
|
|
|
+
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .operates {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table>tbody:hover .operates {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .order-hd {
|
|
|
|
|
+ border-bottom: 1px solid #e6e6e6;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .order-bd>td {
|
|
|
|
|
+ padding: 10px 5px;
|
|
|
|
|
+ vertical-align: top;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .order-bd .product {
|
|
|
|
|
+ padding-left: 20px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.input-xs, .input-group-xs>.form-control, .input-group-xs>.input-group-addon,
|
|
|
|
|
+ .input-group-xs>.input-group-btn>.btn {
|
|
|
|
|
+ height: 26px;
|
|
|
|
|
+ padding: 0 5px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ line-height: 1.5;
|
|
|
|
|
+ border-radius: 3px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.input-group-xs .form-control:last-child, .input-group-addon:last-child,
|
|
|
|
|
+ .input-group-btn:first-child>.btn:not (:first-child ), .input-group-btn:last-child>.btn
|
|
|
|
|
+ {
|
|
|
|
|
+ border-top-left-radius: 0;
|
|
|
|
|
+ border-bottom-left-radius: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.modal-dialog {
|
|
|
|
|
+ margin-top: 110px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.file {
|
|
|
|
|
+ color: #336699;
|
|
|
|
|
+ text-decoration: underline;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.condition {
|
|
|
|
|
+ padding: 10px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-hd td {
|
|
|
|
|
+ word-break: break-word;
|
|
|
|
|
+ padding: 10px 5px !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.toolbar td a {
|
|
|
|
|
+ margin-left: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+#public .com_title {
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-hd td a {
|
|
|
|
|
+ margin: 0 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .header th label {
|
|
|
|
|
+ margin-left: 34px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-table .header th label input {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ top: 3px;
|
|
|
|
|
+}
|
|
|
|
|
+/*.order-table tr.header th:first-child{
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
}*/
|
|
}*/
|
|
|
- .edit.col-xs-3{
|
|
|
|
|
- padding-right: 0;
|
|
|
|
|
- width: 215px;
|
|
|
|
|
- float: right;
|
|
|
|
|
- }
|
|
|
|
|
- .edit.col-xs-3 a{
|
|
|
|
|
- font-size: 14px;
|
|
|
|
|
- line-height: 34px;
|
|
|
|
|
- color: #5078cb;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+.edit.col-xs-3 {
|
|
|
|
|
+ padding-right: 0;
|
|
|
|
|
+ width: 215px;
|
|
|
|
|
+ float: right;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.edit.col-xs-3 a {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ line-height: 34px;
|
|
|
|
|
+ color: #5078cb;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.edit a[disabled] {
|
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.edit .btn {
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.edit.col-xs-3 a:hover {
|
|
|
|
|
+ background: #fff !important;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|
|
|
<link rel="stylesheet" href="static/css/public.css">
|
|
<link rel="stylesheet" href="static/css/public.css">
|
|
|
<div class="block" id="public">
|
|
<div class="block" id="public">
|
|
@@ -205,7 +236,7 @@
|
|
|
<option value="品牌">品牌</option>
|
|
<option value="品牌">品牌</option>
|
|
|
<option value="名称(类目)">名称(类目)</option>
|
|
<option value="名称(类目)">名称(类目)</option>
|
|
|
</select>
|
|
</select>
|
|
|
- <a ng-click="updateByBatch(product.updatetype)" class="fr">批量修改</a>
|
|
|
|
|
|
|
+ <a ng-click="updateByBatch(product.updatetype)" class="btn btn-default btn-sm" ng-disabled="active == 'standard'">批量修改</a>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -235,10 +266,14 @@
|
|
|
<td class="text-center" title="{{product.code}}" ng-bind="::product.code"></td>
|
|
<td class="text-center" title="{{product.code}}" ng-bind="::product.code"></td>
|
|
|
<td class="line-h20 first text-center">
|
|
<td class="line-h20 first text-center">
|
|
|
<div class="order-main">
|
|
<div class="order-main">
|
|
|
- <a ng-bind="::product.title" ui-sref="sale.productDetail({id:product.id})" target="_self" title="查看详情"></a>
|
|
|
|
|
|
|
+ <a ng-bind="::product.title" ui-sref="sale.productDetail({id:product.id})" target="_self" title="查看详情" ng-if="product.kind == null"></a>
|
|
|
|
|
+ <a ng-bind="::product.title" ui-sref="sale.productDetail({id:product.id})" target="_self" title="查看详情" ng-if="product.kind != null"></a>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
- <td class="hover-show text-center" ng-class="{'bg01' : product.cmpUuId != null && product.cmpCode != null , 'bg02' : product.cmpUuId == null && product.cmpCode != null , '': product.cmpCode == null}"><a href="http://www.usoftmall.com/product#/component/{{product.cmpUuId}}" title="产品型号" ng-bind="::product.cmpCode" ng-disabled="product.cmpUuId==null" target="_blank"></a></td>
|
|
|
|
|
|
|
+ <td class="hover-show text-center" ng-class="{'bg01' : product.cmpUuId != null && product.cmpCode != null , 'bg02' : product.cmpUuId == null && product.cmpCode != null , '': product.cmpCode == null}">
|
|
|
|
|
+ <a href="http://www.usoftmall.com/product#/component/{{product.cmpUuId}}/" title="产品型号" ng-bind="::product.cmpCode" target="_blank" ng-if="product.cmpUuId != null"></a>
|
|
|
|
|
+ <span title="产品型号" ng-bind="::product.cmpCode" ng-if="product.cmpUuId == null"></span>
|
|
|
|
|
+ </td>
|
|
|
<td class="line-h20 text-center" title="{{product.brand}}" ng-bind="::product.brand"></td>
|
|
<td class="line-h20 text-center" title="{{product.brand}}" ng-bind="::product.brand"></td>
|
|
|
<td class="text-center" title="单位" ng-bind="::product.unit"></td>
|
|
<td class="text-center" title="单位" ng-bind="::product.unit"></td>
|
|
|
<td class="text-center"><a ui-sref="sale.productDetail({id:product.id})" ng-click="isProductEdit()" target="_self" title="编辑" style="position: relative;top:1px;"><i class="fa fa-lg fa-edit"></i></a>|<a ng-click="deleteById(product.id)" title="删除"><i class="fa fa-lg fa-trash"></i></a></td>
|
|
<td class="text-center"><a ui-sref="sale.productDetail({id:product.id})" ng-click="isProductEdit()" target="_self" title="编辑" style="position: relative;top:1px;"><i class="fa fa-lg fa-edit"></i></a>|<a ng-click="deleteById(product.id)" title="删除"><i class="fa fa-lg fa-trash"></i></a></td>
|