Просмотр исходного кода

点击发货、买卖家订单详情新增样式功能。

ouxq 8 лет назад
Родитель
Сommit
3193032e8a

+ 24 - 1
src/main/webapp/resources/css/common.css

@@ -782,4 +782,27 @@ div.ng-table-pager a.page-a{
 #left-nav-fragment .user_left ul li a:focus,#left-nav-fragment .user_left p:hover{
 	color: #fff !important;
 }
-input:required:invalid, input:focus:invalid, textarea:required:invalid, textarea:focus:invalid{box-shadow: none;}
+input:required:invalid, input:focus:invalid, textarea:required:invalid, textarea:focus:invalid{box-shadow: none;}
+
+.color333{
+	color: #333 !important;
+}
+.color666{
+	color: #666 !important;
+}
+.color999{
+	color: #999 !important;
+}
+
+::-webkit-input-placeholder { /* WebKit, Blink, Edge */
+	color:    #999;
+}
+:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
+	color:    #999;
+}
+::-moz-placeholder { /* Mozilla Firefox 19+ */
+	color:    #999;
+}
+:-ms-input-placeholder { /* Internet Explorer 10-11 */
+	color:    #999;
+}

+ 3 - 0
src/main/webapp/resources/js/usercenter/controllers/forstore/order_detail_ctrl.js

@@ -188,6 +188,9 @@ define(['app/app'], function(app) {
 				//发票信息
 				$scope.order.invoiceInfo = angular.fromJson($scope.order.invoiceAddress);
 
+				// 取消原因
+				$scope.order.unavailableReason = angular.fromJson($scope.order.unavailableReason);
+
 				//收货地址
 				$scope.order.deliveryAddress = angular.fromJson($scope.order.jsonAddress);
 

+ 2 - 0
src/main/webapp/resources/js/vendor/controllers/forstore/purchase_detail.js

@@ -166,6 +166,8 @@ define(['app/app'], function(app) {
 				$scope.purchase = result.data;
 				$scope.purchase.purchaseHistory = angular.fromJson($scope.purchase.statushistory);
 				$scope.purchase.currentTotal = $scope.purchase.price;
+				// 取消原因
+				$scope.purchase.unavailableReason = angular.fromJson($scope.purchase.unavailableReason)
 				// 设置状态样式
 				$scope.stepStyle($scope.purchase.status);
 				// 获取物流信息

+ 290 - 3
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_delivery_ctrl.js

@@ -4,12 +4,23 @@
  */
 define(['app/app'], function(app) {
     "use strict";
-    app.register.controller('vendorDeliveryCtrl', ['$scope', '$rootScope', 'InvoiceFPurchase', 'ChineseToPinYin', 'Order' , 'Purchase', '$modal', '$stateParams', 'ComponentActive','$window','$state', 'BaseService', 'ShippingAddress', 'Logistics', '$filter', 'toaster', 'KdnLogistics', '$q', '$timeout', function($scope, $rootScope, InvoiceFPurchase, ChineseToPinYin, Order , Purchase, $modal, $stateParams, ComponentActive, $window, $state, BaseService, ShippingAddress, Logistics, $filter, toaster, KdnLogistics, $q, $timeout) {
+    app.register.controller('vendorDeliveryCtrl', ['$scope', '$rootScope', 'InvoiceFPurchase', 'ChineseToPinYin', 'Order' , 'Purchase', '$modal', '$stateParams', 'ComponentActive','$window','$state', 'BaseService', 'ShippingAddress', 'Logistics', '$filter', 'toaster', 'KdnLogistics', '$q', '$timeout','Distributor', function($scope, $rootScope, InvoiceFPurchase, ChineseToPinYin, Order , Purchase, $modal, $stateParams, ComponentActive, $window, $state, BaseService, ShippingAddress, Logistics, $filter, toaster, KdnLogistics, $q, $timeout, Distributor) {
 
         $scope.logistics = {};
         $scope.jsonSdAddress = {};
         $scope.selfDeliveryPerson = {};
-        
+        // 获取已有物流配送商列表
+        $scope.initData = function () {
+            Distributor.findAllSelected({},function (data) {
+                if (data){
+                    $scope.data_list = data;
+                }
+                angular.forEach($scope.data_list, function (data) {
+                    data.isOpen = false;
+                })
+            })
+        };
+        $scope.initData();
 		// 获取快递鸟快递公司列表
         $scope.selectedName = ""; // 选中的物流公司名称
         var getKdnLogistics = function () {
@@ -576,7 +587,28 @@ define(['app/app'], function(app) {
             $scope.logistics.companyId = company.id;
             $scope.isCompany = false;
         };
-
+        // 新增配送商
+        $scope.addDistributor = function () {
+            $modal.open({
+                templateUrl : $rootScope.rootPath + '/static/view/vendor/modal/vendor_distributor_manage.html',
+                controller : 'vendorDistributorManageCtrl',
+                size : 'lg',
+                resolve : {
+                    allKdnList : function () {
+                        return $scope.kdnList;
+                    },
+                    selectedList : function () {
+                        return $scope.data_list;
+                    }
+                }
+            }).result.then(function(data){
+                if (data) {
+                    $scope.initData();
+                }
+            }, function(){
+                // toaster.pop('info', '提示 ' + '您已取消配送商的编辑');
+            });
+        }
     }]);
 
     //地址编辑模态框
@@ -656,6 +688,261 @@ define(['app/app'], function(app) {
         };
     }]);
 
+    app.register.controller('vendorDistributorManageCtrl', ['$scope','$rootScope','$modal','toaster','KdnLogistics','Distributor','BaseService','ngTableParams','allKdnList','selectedList','$modalInstance', function ($scope, $rootScope, $modal, toaster, KdnLogistics, Distributor, BaseService, ngTableParams, allKdnList, selectedList, $modalInstance) {
+        //获取快递鸟信息
+        $scope.$$kdnData = {};
+        $scope.allKdnList = allKdnList;
+        $scope.chooseList = [];
+        $scope.selectFlag = [];
+
+        $scope.initArrayData = function () {
+            angular.forEach(allKdnList, function (data) {
+                $scope.selectFlag[data.code] = {};
+                $scope.selectFlag[data.code].isChoosed = false;
+                console.log($scope.selectFlag[data.code].isChoosed)
+            });
+            angular.forEach(selectedList, function (data, index) {
+                $scope.chooseList[index] = {};
+                if (data.code){
+                    $scope.chooseList[index].code = data.code;
+                    $scope.selectFlag[data.code].isChoosed = true;
+                }
+                $scope.chooseList[index].companyName = data.companyName;
+            });
+        };
+        $scope.initArrayData();
+
+        $scope.distributorTableParams = new ngTableParams({
+            page : 1,
+            count : 30
+        },{
+            total : 0,
+            getData : function ($defer, params) {
+                var param = BaseService.parseParams(params.url());
+                KdnLogistics.findKdnPage(param, function (page) {
+                    $scope.$$kdnData.totalElements = page.totalElements;
+                    if(Number(page.totalElements) > 0) {
+                        $scope.$$kdnData.start = Number(page.size) * (Number(page.number) - 1) + 1;
+                    }else {
+                        $scope.$$kdnData.start = 0;
+                    }
+                    $scope.$$kdnData.end = Number(page.size) * (Number(page.number) - 1) + Number(page.numberOfElements);
+                    $scope.pageList = page.content;
+                    params.total(page.totalElements);
+                    $defer.resolve(page.content);
+                    //划分数据
+                    var row = Math.ceil(page.numberOfElements/6.0);
+                    $scope.showList = [];
+                    var count = 0;
+                    for (var i = 0; i<row; i++){
+                        $scope.showList[i] = [];
+                        for (var j = 0; j<6; j++){
+                            // var code = $scope.pageList[count].code;
+                            // $scope.pageList[count].isChoosed = $scope.selectFlag[code].isChoosed;
+                            $scope.showList[i].push($scope.pageList[count]);
+                            count++;
+                            if (count == page.numberOfElements){
+                                return;
+                            }
+                        }
+                    }
+                }, function () {
+                    toaster.pop('error', '获取快递鸟信息失败');
+                });
+            }
+        });
+
+        var countLength = function (string) {
+            return string.replace(/[^x00-xFF]/g,'**').length;
+        };
+
+        $scope.inputContent = function () {
+            for (var i=0; i<$scope.keyword.length;i++){
+                if (countLength($scope.keyword.substr(0, i)) >= 26){
+                    $scope.keyword = $scope.keyword.substr(0, i);
+                    break;
+                }
+            }
+            var addrPatt = new RegExp("^[A-Za-z0-9\u4e00-\u9fa5]+$");
+            if (!addrPatt.test($scope.keyword) && $scope.keyword.length > 0){
+                $scope.companyError = true;
+            }else {
+                $scope.companyError = false;
+            }
+            initIndex();
+            $scope.showDownFrame = true;
+            matchArray();
+            $scope.containsAttr($scope.keyword);
+        };
+
+        var initIndex = function () {
+            $scope.selectIndex = -1;
+            $scope.downIndex = 0;
+        };
+
+        $scope.getFocus = function() {
+            initIndex();
+        };
+
+        /**
+         * 根据输入内容获取匹配数据的长度
+         */
+        var matchArray = function () {
+            $scope.resultList = $scope.allKdnList.filter(function (data) {
+                if (data.companyName.indexOf($scope.keyword) >= 0){
+                    return data;
+                }
+            });
+            if ($scope.resultList.length > 0){
+                $scope.matchData = true;
+            }else{
+                $scope.matchData = false;
+            }
+        };
+
+        $scope.onBlur = function () {
+            setTimeout(function () {
+                $scope.showDownFrame = false;
+            }, 120);
+        };
+
+        $scope.onKeyDown = function () {
+            var dom = document.getElementById("ulContent");
+            // console.log(dom.scrollTop);
+            if ($scope.showDownFrame && $scope.matchData){
+                if(event.keyCode == 40) { //监听到按下键
+                    $scope.selectIndex ++;
+                    if ($scope.downIndex == 5){
+                        dom.scrollTop += 23;
+                    }
+                    if ($scope.downIndex <= 4){
+                        $scope.downIndex++;
+                    }
+                    if($scope.selectIndex >= $scope.resultList.length){
+                        $scope.selectIndex = 0;
+                        dom.scrollTop = 0;
+                        $scope.downIndex = 1;
+                    }
+                    $scope.inputObject = $scope.resultList[$scope.selectIndex];
+                    $scope.keyword = $scope.inputObject.companyName;
+                    $scope.containsAttr($scope.keyword);
+                } else if(event.keyCode == 38) { //监听到按上键
+                    $scope.selectIndex --;
+                    if ($scope.downIndex == 1){
+                        dom.scrollTop -= 22.67 ;
+                    }
+                    if ($scope.downIndex >= 2){
+                        $scope.downIndex--;
+                    }
+                    if($scope.selectIndex < 0){
+                        $scope.selectIndex = $scope.resultList.length - 1;
+                        dom.scrollTop = 2400;
+                        $scope.downIndex = 5;
+                    }
+                    $scope.inputObject = $scope.resultList[$scope.selectIndex];
+                    $scope.keyword = $scope.inputObject.companyName;
+                    $scope.containsAttr($scope.keyword);
+                } else if(event.keyCode == 13) { //确定键
+                    $scope.showDownFrame = false;
+                }
+            }
+        };
+
+        $scope.clickItem = function (data) {
+            // $scope.inputObject = data;
+            $scope.keyword = data.companyName;
+            $scope.containsAttr($scope.keyword);
+            $scope.showDownFrame = false;
+        };
+
+        /**
+         * 判断快递鸟是否包含输入的快递
+         * @param value
+         */
+        $scope.containsAttr = function (value) {
+            var key = 1;
+            if (value){
+                angular.forEach($scope.allKdnList, function (data) {
+                    if (data.companyName == value){
+                        key = 0;
+                        return;
+                    }
+                });
+                if (key == 1){
+                    $scope.containsItem = false;
+                }else {
+                    $scope.containsItem = true;
+                }
+            }
+        };
+
+        $scope.addItemInSelected = function () {
+            if ($scope.containsItem){
+                angular.forEach($scope.allKdnList, function (data) {
+                    if (data.companyName == $scope.keyword){
+                        if ($scope.selectFlag[data.code].isChoosed){
+                            var indexItem = null;
+                            if ($scope.chooseList){
+                                angular.forEach($scope.chooseList, function (item, index) {
+                                    if (item.code == data.code){
+                                        indexItem = index;
+                                    }
+                                });
+                            }
+                            $scope.chooseList.splice(indexItem, 1);
+                            $scope.selectFlag[data.code].isChoosed = !$scope.selectFlag[data.code].isChoosed;
+                        }
+                        $scope.ChooseDistributor(data);
+                    }
+                });
+            }else {
+                var indexItem = null;
+                angular.forEach($scope.chooseList, function (item, index) {
+                    if (item.companyName == $scope.keyword){
+                        indexItem = index;
+                    }
+                });
+                if (indexItem){
+                    $scope.chooseList.splice(indexItem, 1);
+                }
+                var item = {};
+                item.companyName = $scope.keyword;
+                $scope.chooseList.push(item);
+            }
+            $scope.keyword = "";
+        };
+
+        $scope.ChooseDistributor = function (data) {
+            if ($scope.selectFlag[data.code].isChoosed){
+                if ($scope.chooseList){
+                    angular.forEach($scope.chooseList, function (item, index) {
+                        if (item.code == data.code){
+                            $scope.index = index;
+                        }
+                    });
+                }
+                $scope.chooseList.splice($scope.index, 1);
+            }else {
+                $scope.chooseList.push(data);
+            }
+            $scope.selectFlag[data.code].isChoosed = !$scope.selectFlag[data.code].isChoosed;
+        };
+
+        $scope.saveChooseList = function () {
+            Distributor.saveDistributor({}, $scope.chooseList ,function (data) {
+                if(data){
+                    toaster.pop('success', '成功', '保存配送商成功');
+                }
+                $modalInstance.close(data);
+            },function (error) {
+                toaster.pop('error', '成功', '保存配送商失败');
+            });
+        };
+
+        $scope.cancel = function() {
+            $modalInstance.dismiss();
+        };
+    }]);
     app.register.controller('chooseAddrCtrl', ['$scope', 'selectedAddr', 'address', '$modalInstance', function ($scope, selectedAddr, address, $modalInstance) {
 
         $scope.address = address;

+ 17 - 4
src/main/webapp/resources/view/usercenter/forstore/order_detail.html

@@ -112,7 +112,7 @@
 	.oder-remark span em {
 		float: left;
 		color: #333 !important;
-		margin-left: 20px;
+		margin-left: 40px;
 	}
 	.oder_xq_list dl span.total-price{
 		float: right;
@@ -245,6 +245,13 @@
 		font-size: 12px;
 		color: #666;
 	}
+	.oder_xq_list dl span.user-address{
+		width: 100% !important;
+		line-height: 30px;
+		position: relative;
+		top: -23px;
+		background: #f1f6ff;
+	}
 </style>
 <div class="user_right fr">
 	<!--叮当详情-->
@@ -350,7 +357,7 @@
 							<a href="javascript:void(0)" class="contact_btn" title="联系卖家">联系卖家</a>
 						</span>
 					</dd>
-					<div ng-class="{'limit-3': !open}">
+					<div ng-class="{'limit-3': !open}" style="width: 100%; margin: 0 auto; overflow: hidden;">
 						<dd class="oder_l" ng-repeat="detail in order.orderDetails">
                         <span class="wd02">
                             <a href="store/{{detail.storeid}}/{{::detail.batchCode}}" target="_blank">
@@ -388,7 +395,7 @@
 						</span>
 						</dd>
 					</div>
-					<div class="open-more row" ng-class="{'none': order.orderDetails.length < 3}">
+					<div class="open-more row" ng-class="{'none': order.orderDetails.length <= 3}">
 						<a href="javascript:void(0)" ng-click="open=!open" ng-class="{'active': open}">
 							<em ng-bind="open ? '收起' : '查看所有产品'"></em>
 							<i class="fa fa-angle-up" ng-if="open"></i>
@@ -403,7 +410,7 @@
 						</span>
 					</dd>
 					<dd class="line60">
-						<span class="wd02" style="width: 60%; text-align: left; margin-left: 20px; line-height: 30px;">配送方式:第三方配送
+						<span class="wd02" style="width: 60%; text-align: left; margin-left: 40px; line-height: 30px;">配送方式:第三方配送
 							<!--<i style="color: #666;">(满1000元包邮,未满足的订单收取运费20元)</i>-->
 						</span>
 						<span class="total-price">
@@ -418,6 +425,12 @@
 						<!--<span><em ng-bind="freight | number : 2 | currencySysmbol : purchase.currency">¥20.00</em></span>-->
 						<!--物流的价格先隐藏-->
 					</dd>
+					<dd class="line60">
+						<span class="user-address" style="padding-left: 40px;">
+							<i class="fl"><strong style="font-weight: inherit; margin-right: 30px;">自提点A</strong>营业时间:周一至周五 8:30-18:00</i><br/>
+							<i class="fl">地址:广东省  深圳市  南山区  科技园英唐大厦6楼 优软商城科技园英唐大厦6楼 优软商城</i>
+						</span>
+					</dd>
 					<!--<dd class="price">-->
 					<!--<span style="width: 100%;">总计:<i  ng-bind="order.price | formateNumber : 2 | currencySysmbol : order.currency">¥820.00</i></span>-->
 					<!--</dd>-->

+ 72 - 47
src/main/webapp/resources/view/usercenter/forstore/order_pay.html

@@ -306,7 +306,7 @@
 	.oder_xq_list dl .price-step .dropdown-menu{
 		min-width: 330px;
 		top: 0;
-		left: -280px;
+		left: -310px;
 		padding-top: 0;
 		padding-bottom: 0;
 		border-bottom: none;
@@ -367,6 +367,56 @@
 	.oder_xq_list dl .price-step p a,.oder_xq_list dl .price-step p a:hover{
 		color: #5078cb;
 	}
+
+	/*自提点样式*/
+	.self-list{
+		width: 100%;
+		margin: 0 auto;
+		padding: 0 0 8px 0;
+		border-bottom: #5078CB 1px solid;
+		background: #f1f6ff;
+		position: relative;
+		top: -1px;
+	}
+	.check-act input{
+		display: none;
+	}
+	.check-act label{
+		width: 12px;
+		height: 12px;
+		margin-right: 5px;
+		display: inline-block;
+		background: url(static/img/icon/check-rule.png) no-repeat;
+		position: relative;
+		top: 7px;
+	}
+	.check-act label{
+		background-position: 0 0;
+	}
+	.check-act input:checked + label{
+		background-position: -15px 0;
+	}
+	.oder_xq_list dl .self-advice{
+		width: 100%;
+		margin: 0 auto;
+		display: inline-block;
+	}
+	.oder_xq_list dl .self-advice li{
+		text-align: left;
+		float: left;
+		padding-left: 40px;
+		font-size: 14px;
+		line-height: 20px;
+	}
+	.oder_xq_list dl .self-advice li strong{
+		font-weight: normal;
+		font-size: 14px;
+		margin-left: 40px;
+	}
+	.oder_xq_list dl .self-advice li strong i{
+		font-size: 14px;
+		margin-left: 0;
+	}
 </style>
 <!--右侧主体部分-->
 <div class="user_right fr" id="pay-cart">
@@ -551,8 +601,9 @@
 									<em ng-if="order.status!=501" ng-bind="order.ensurePrice | formateNumber :2 | currencySysmbol : order.currency.substring(0,3)" style="font-weight: bold"></em>
 								</p>
 							</span>
+						</dd>
+						<div class="self-list">
 							<!--自提点列表-->
-							<span style="width: 100%">
 								<ul class="self-advice">
 									<li>
 										<label class="check-act">
@@ -572,52 +623,26 @@
 										<strong>地址:<i>广东省  深圳市  南山区  科技园英唐大厦6楼 优软商城科技园英唐大厦6楼 优软商城</i></strong>
 										<strong>营业时间:<i>周一至周五 8:30-18:00</i></strong>
 									</li>
+									<li>
+										<label class="check-act">
+											<input type="radio" id="3" name="3"/>
+											<label for="3"></label>
+										</label>
+										<strong style="margin-left: 0">自提点A</strong>
+										<strong>地址:<i>广东省  深圳市  南山区  科技园英唐大厦6楼 优软商城科技园英唐大厦6楼 优软商城</i></strong>
+										<strong>营业时间:<i>周一至周五 8:30-18:00</i></strong>
+									</li>
+									<li>
+										<label class="check-act">
+											<input type="radio" id="4" name="4"/>
+											<label for="4"></label>
+										</label>
+										<strong style="margin-left: 0">自提点A</strong>
+										<strong>地址:<i>广东省  深圳市  南山区  科技园英唐大厦6楼 优软商城科技园英唐大厦6楼 优软商城</i></strong>
+										<strong>营业时间:<i>周一至周五 8:30-18:00</i></strong>
+									</li>
 								</ul>
-							</span>
-							<style>
-								.check-act input{
-									display: none;
-								}
-								.check-act label{
-									width: 12px;
-									height: 12px;
-									margin-right: 5px;
-									display: inline-block;
-									background: url(static/img/icon/check-rule.png) no-repeat;
-									position: relative;
-									top: 7px;
-								}
-								.check-act label{
-									background-position: 0 0;
-								}
-								.check-act input:checked + label{
-									background-position: -15px 0;
-								}
-								.oder_xq_list dl .self-advice{
-									width: 100%;
-									background: #f1f6ff;
-									margin: 0 auto;
-									display: inline-block;
-									border-bottom: #5078CB 1px solid;
-								}
-								.oder_xq_list dl .self-advice li{
-									text-align: left;
-									float: left;
-									padding-left: 40px;
-									font-size: 14px;
-									line-height: 25px;
-								}
-								.oder_xq_list dl .self-advice li strong{
-									font-weight: normal;
-									font-size: 14px;
-									margin-left: 40px;
-								}
-								.oder_xq_list dl .self-advice li strong i{
-									font-size: 14px;
-									margin-left: 0;
-								}
-							</style>
-						</dd>
+						</div>
 					</div>
 					<dd class="pay_price">
 						<div>

+ 72 - 31
src/main/webapp/resources/view/vendor/forstore/purchase_detail.html

@@ -17,7 +17,7 @@
 		width: 14%;
 	}
 	#oder-detail .oder_xq_list dl span.wd01{
-		width: 16%;
+		width: 13%;
 	}
 	#oder-detail .oder_xq_list dl span.wd02{
 		width: 25%;
@@ -135,7 +135,7 @@
 		background: #f1f6ff;
 	}
 	.oder_xq_list dl .line60{
-		height: 50px;
+		height: 60px;
 		border-bottom: #5078cb 1px solid;
 	}
 	.oder-remark .form-control {
@@ -149,7 +149,7 @@
 	.oder-remark span em {
 		float: left;
 		color: #333 !important;
-		margin-left: 20px;
+		margin-left: 40px;
 	}
 	.oder_xq_list dl span.total-price{
 		float: right;
@@ -186,12 +186,6 @@
 		top: -23px;
 		background: #f1f6ff;
 	}
-	.oder_xq_list dl span.user-address i:nth-of-type(1){
-		margin-left: 20px;
-	}
-	.oder_xq_list dl span.user-address i:nth-of-type(2){
-		margin-left: 70px;
-	}
 	.open-more{
 		text-align: center;
 		background: #f6f9ff;
@@ -290,6 +284,29 @@
 		width: 60px;
 		height: 60px;
 	}
+	.color999{
+		color: #999 !important;
+	}
+	.log_menu span{
+		margin-left: 11px;
+	}
+	.text-area{
+		width: 120px;
+		height: 60px;
+		background: #fff;
+		margin-top: 15px;
+		overflow-y: auto;
+		text-align: left;
+		padding: 0 3px;
+		margin-left: 5px;
+	}
+	.text-area i{
+		text-align: left;
+		position: relative;
+		top: 4px;
+		font-size: 12px;
+		color: #666;
+	}
 </style>
 <div class="user_right fr">
 	<!--叮当详情-->
@@ -317,7 +334,7 @@
 					<p ng-bind="steps.time4 | date : 'yyyy-MM-dd HH:mm:ss'">2017-03-12 15:12:30</p>
 				</li>
 				<li>
-					<p>评价</p>
+					<p>评价</p>No
 					<em><i ng-class="{ 'active' : steps.step5 }"><b>5</b></i></em>
 					<p ng-bind="steps.time5 | date : 'yyyy-MM-dd HH:mm:ss'"></p>
 				</li>
@@ -325,7 +342,17 @@
 		</div>-->
 		<!--订单信息-->
 		<div class="logistics_list01" style="margin-top: 0;">
-			<div class="log_menu"><span>订单信息<b>订单号:{{purchase.orderid}} <em><font style="color: #333; margin-left: 20px">订单状态:</font>{{purchase.status | purchaseStatus}}</em></b></span></div>
+			<div class="log_menu">
+				<!--<span>订单信息<b>订单号:{{purchase.orderid}} <em><font style="color: #333; margin-left: 20px">订单状态:</font>{{purchase.status | purchaseStatus}}</em></b></span>-->
+				<span ng-if="purchase.status != 602 && purchase.status != 603 && purchase.status != 604 && purchase.status != 605 && purchase.status != 606 && purchase.status != 315">订单信息<b>订单号:{{purchase.orderid}}<em style="margin-left: 25px;"><font style="color: #333;">订单状态:</font>{{purchase.status | purchaseStatus}}</em></b></span>
+				<span ng-if="purchase.status == 602 || purchase.status == 603 || purchase.status == 604 || purchase.status == 605 || purchase.status == 606 || purchase.status == 315">
+					<i class="f14">订单号:{{purchase.orderid}}</i>
+					<b>
+						<em style="margin-right: 25px;"><font class="color999">取消原因:</font>{{purchase.unavailableReason.reason}}</em>
+						<em><font class="color999">订单状态:</font>{{purchase.status | purchaseStatus}}</em>
+					</b>
+				</span>
+			</div>
 			<div class="oder_xq clearfix" style="background: #f8f8f8; width: 98%;">
 				<p>
 					<b>收货人:</b>
@@ -349,6 +376,7 @@
 						<span class="wd01">单价</span>
 						<span style="width: 10%;">数量</span>
 						<span class="wd01">小计</span>
+						<span class="wd01">物料编码</span>
 						<span class="wd01">备注</span>
 					</dt>
 					<!--<dd>-->
@@ -357,51 +385,61 @@
 					<dd class="order-company">
 						<span style="white-space: nowrap; width: 100%; text-align: left; line-height: 50px;">
 							<i style="min-width: 315px; display: inline-block">
-								&nbsp;&nbsp;{{purchase.buyername}} <!--<a ng-if="purchase.pu_buyentername" name="{{purchase.id}}" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">|{{purchase.pu_buyentername}}</a>-->
+								<i ng-bind="purchase.buyername" style="color: #333; margin-left: 20px;"></i>
+                                <i style="color: #999; margin: 0 5px;">|</i>
+                                <i ng-bind="purchase.buyentername"></i>
+								<!--<a ng-if="purchase.pu_buyentername" name="{{purchase.id}}" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">|{{purchase.pu_buyentername}}</a>-->
 							</i>
 							<img src="static/img/common/songguo.png" style="margin-right:0; ">
 							<!--<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">联系买家</a>-->
 							<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" >联系买家</a>
 						</span>
 					</dd>
-					<div ng-class="{'limit-3': !open}">
+					<div ng-class="{'limit-3': !open}" style="width: 100%; margin: 0 auto; overflow: hidden;">
 						<dd class="oder_l" ng-repeat="detail in purchase.purchaseDetails">
 						<span class="wd02">
 							<a href="store/{{detail.storeid}}/{{::detail.batchCode}}" target="_blank"><img ng-src="{{detail.img ? detail.img : 'static/img/user/images/pro02.jpg'}}"/></a>
 							<p class="style01" style="margin-top: 10px;">类目:
-								<a ng-bind="detail.kiName" href="store/{{detail.storeid}}/{{::detail.batchCode}}" title="{{detail.kiName}}" target="_blank"></a>
+								<a ng-bind="detail.kiName" href="store/{{detail.storeid}}/{{::detail.kindUuid}}" title="{{detail.kiName}}" target="_blank"></a>
 							</p>
 							<p class="style01">型号:
 								<a ng-bind="detail.cmpCode" href="store/{{detail.storeid}}/{{::detail.batchCode}}" title="{{detail.cmpCode}}" target="_blank"></a>
 							</p>
 							<p class="style01">品牌:
-								<a ng-bind="detail.brName" href="store/{{detail.storeid}}/{{::detail.batchCode}}" title="{{detail.brName}}" target="_blank"></a>
+								<a ng-bind="detail.brName" href="store/{{detail.storeid}}/{{::detail.branduuid}}" title="{{detail.brName}}" target="_blank"></a>
 							</p>
 						</span>
-						<span class="wd01">交期:
+							<span class="wd01">交期:
 							<i ng-if="detail.b2cMinDelivery != detail.b2cMaxDelivery" ng-bind="detail.b2cMinDelivery + '-' + detail.b2cMaxDelivery"></i>
 							<i ng-if="detail.b2cMinDelivery == detail.b2cMaxDelivery" ng-bind="detail.b2cMinDelivery"></i>
 						</span>
-						<span class="wd01">
+							<span class="wd01">
 							<em  ng-show="!isChange" ng-bind="detail.taxUnitPrice | formateNumber : 6 | currencySysmbol : detail.currencyName" style="color: #333;"></em>
 							<em ng-show="isChange" class="price-style">
 								<em  ng-bind="'' | currencySysmbol : detail.currencyName"></em>
 								<input ng-model="detail.currentTaxUnitPrice" type="number" ng-change="updateTotal()"/>
 							</em>
 						</span>
-						<span style="width: 10%;" ng-bind="detail.number">100</span>
-						<span ng-show="!isChange" class="wd01 red" ng-bind="detail.taxUnitPrice * detail.number | formateNumber : 6 | currencySysmbol : detail.currencyName"></span>
-						<span ng-show="isChange" class="wd01 red" ng-bind="detail.currentTaxUnitPrice * detail.number | formateNumber : 6 | currencySysmbol : detail.currencyName"></span>
-						<span class="wd01" style="line-height: 20px;">
+							<span style="width: 10%;" ng-bind="detail.number">100</span>
+							<span ng-show="!isChange" class="wd01 red" ng-bind="detail.taxUnitPrice * detail.number | formateNumber : 6 | currencySysmbol : detail.currencyName"></span>
+							<span ng-show="isChange" class="wd01 red" ng-bind="detail.currentTaxUnitPrice * detail.number | formateNumber : 6 | currencySysmbol : detail.currencyName"></span>
+							<!--物料编码-->
+							<span class="wd01" style="line-height: 18px;">
+						<!--<textarea placeholder="可填写产品备注!例如物料编号"></textarea>-->
+							<div class="text-area">
+								<i>金石为开取数据五块钱叫稍微亲上加亲</i>
+							</div>
+						</span>
+							<span class="wd01" style="line-height: 18px;">
 							<!--<textarea placeholder="可填写产品备注!例如物料编号"></textarea>-->
-							<div style="width: 133px; height: 74px; background: #fff; margin-top: 7px; overflow-y: auto;" ng-if="detail.remark">
-								<i style="line-height: 20px; text-align: left; position: relative; top: 4px;" ng-bind="detail.remark">金石为开取数据五块钱叫稍微亲上加亲</i>
+							<div class="text-area" ng-if="detail.remark">
+								<i ng-bind="detail.remark">金石为开取数据五块钱叫稍微亲上加亲</i>
 							</div>
 						</span>
-					</dd>
+						</dd>
 					</div>
-					<div class="open-more row" ng-class="{'none': purchase.purchaseDetails.length < 3}">
-						<a href="javascript:void(0)" ng-click="$open=!open" ng-class="{'active': open}">
+					<div class="open-more row" ng-class="{'none': purchase.purchaseDetails.length <= 3}">
+						<a href="javascript:void(0)" ng-click="open=!open" ng-class="{'active': open}">
 							<em ng-bind="open ? '收起' : '查看所有产品'"></em>
 							<i class="fa fa-angle-up" ng-if="open"></i>
 							<i class="fa fa-angle-down" ng-if="!open"></i>
@@ -415,7 +453,7 @@
 						</span>
 					</dd>
 					<dd class="line60">
-						<span class="wd02" style="width: 60%; text-align: left; margin-left: 20px; line-height: 30px;">配送方式:第三方配送
+						<span class="wd02" style="width: 60%; text-align: left; margin-left: 40px; line-height: 30px;">配送方式:第三方配送
 							<!--<i style="color: #666;">(满1000元包邮,未满足的订单收取运费20元)</i>-->
 						</span>
 						<span class="total-price">
@@ -425,10 +463,7 @@
 									<em ng-if="isChange" ng-bind="purchase.currentTotal | formateNumber : 2 | currencySysmbol : purchase.currency" style="font-weight: bold"></em>
 								</p>
 						</span>
-						<!--<span class="user-address">-->
-							<!--<i class="fl"><strong style="font-weight: inherit">自提点:</strong>营业时间:周一至周五 8:30-18:00</i><br/>-->
-							<!--<i class="fl">地址:广东省  深圳市  南山区  科技园英唐大厦6楼 优软商城科技园英唐大厦6楼 优软商城</i>-->
-							<!--&lt;!&ndash;<input type="text"  class="form-control" placeholder="请填写订单备注" ng-model="order.orderRemark"/>&ndash;&gt;-->
+						<!--&lt;!&ndash;<input type="text"  class="form-control" placeholder="请填写订单备注" ng-model="order.orderRemark"/>&ndash;&gt;-->
 						<!--</span>-->
 						<!--<span ng-if="!noLogisticInfoArray[purchase.status]" class="wd02">物流:{{logistics.companyName || '空'}}</span>-->
 						<!--<span ng-if="!noLogisticInfoArray[purchase.status]" class="wd01">物流单号:{{logistics.number || '空'}}</span>-->
@@ -436,6 +471,12 @@
 						<!--<span ng-show="!canShowInfo" class="wd01">系统无法提供</span>-->
 						<!--<span><em ng-bind="freight | number : 2 | currencySysmbol : purchase.currency">¥20.00</em></span>-->
 					</dd>
+					<dd class="line60">
+						<span class="user-address" style="padding-left: 40px;">
+							<i class="fl"><strong style="font-weight: inherit; margin-right: 30px;">自提点A</strong>营业时间:周一至周五 8:30-18:00</i><br/>
+							<i class="fl">地址:广东省  深圳市  南山区  科技园英唐大厦6楼 优软商城科技园英唐大厦6楼 优软商城</i>
+						</span>
+					</dd>
 					<dd class="change price">
 						<!--<span style="width: 100%">店铺合计:<i ng-bind="purchase.price | formateNumber : 2 | currencySysmbol : purchase.currency"></i></span>-->
 						<span class="change-price" ng-show="purchase.status == 501">

+ 87 - 58
src/main/webapp/resources/view/vendor/forstore/vendor_delivery.html

@@ -11,8 +11,13 @@
 
     .taggle-address {
         vertical-align: baseline;
-        margin-left: 15px;
+        margin-left: 0;
         color: #5078cb;
+        font-size: 12px;
+    }
+    a.taggle-address:last-child{
+        color: #666;
+        margin-right: 10px;
     }
     .sell_oder .sure_oder .oder_xq_list dl span.wid01 p{
         text-overflow: ellipsis;
@@ -440,6 +445,49 @@
         font-size: 12px;
         color: #666;
     }
+
+    #oder-detail .line60.logistic-input{
+        position: relative;
+        top: -15px;
+        height: 80px;
+    }
+    #oder-detail .line60.logistic-input span{
+        height: 30px;
+        line-height: 30px;
+        float: left;
+        margin-top: 10px;
+    }
+    #oder-detail .line60.logistic-input span .form-control{
+        border-radius: 2px;
+        border: #ccc 1px solid;
+    }
+    #oder-detail .line60.logistic-input span.input-ul{
+        width: 170px;
+        margin-right: 55px;
+        float: left
+    }
+    #oder-detail .line60.logistic-input span.input-ul input{
+        vertical-align: middle;
+        width:170px;
+        margin-top: -1px;
+        height: 32px;
+    }
+    #oder-detail .line60.logistic-input span.input-ul em{
+    }
+    #oder-detail .line60.logistic-input .logistic-input-01{
+        font-size: 14px;
+        margin-left: 40px;
+        line-height: 30px;
+    }
+    .com_log_list ul li p{
+        max-height: 40px;
+        overflow: hidden;
+        margin-bottom: 10px;
+    }
+    .com_log_list ul li span.adderss-name{
+        max-height: 40px;
+        overflow: hidden;
+    }
 </style>
 <div class="user_right fr">
     <!--订单发货-->
@@ -448,8 +496,8 @@
         <div class="sure_oder">
             <div class="log_menu">
                 <span><em class="title">订单信息</em>
-                    <b>订单号:<em ng-bind="::checkinvoice.orid" style="padding-right: 15px; width: 162px;"></em>
-                        <em><font class="gray">订单状态:</font>
+                    <b>订单号:<em ng-bind="::checkinvoice.orid" style="padding-right: 15px;" class="color333"></em>
+                        <em><font style="color: #333;">订单状态:</font>
                             <em ng-bind="checkinvoice.status | statusAndTypeFilter"></em>
                         </em>
                     </b>
@@ -460,18 +508,18 @@
                     <li class="log_line">收货人信息:</li>
                     <li>
                         <h4 ng-bind="checkinvoice.jsonSpAddress.company || '空'"></h4>
-                        <p class="textmore"><em ng-bind="::checkinvoice.jsonSpAddress.area"></em>,<em ng-bind="::checkinvoice.jsonSpAddress.detailAddress"></em></p>
-                        <span><em ng-bind="checkinvoice.jsonSpAddress.tel"></em>&nbsp;&nbsp;<em ng-bind="checkinvoice.buyerentername"></em></span>
+                        <p class="" title=""><em ng-bind="::checkinvoice.jsonSpAddress.area"></em> <em ng-bind="::checkinvoice.jsonSpAddress.detailAddress"></em></p>
+                        <span class="adderss-name"><em ng-bind="checkinvoice.jsonSpAddress.tel"></em>&nbsp;&nbsp;<em ng-bind="checkinvoice.buyerentername"></em></span>
                     </li>
                     <li class="log_line">发货人信息:</li>
                     <li ng-if="jsonSdAddress.area">
                         <h4 ng-bind="jsonSdAddress.company"></h4>
-                        <p class="textmore">{{jsonSdAddress.area}},{{jsonSdAddress.detailAddress}}</p>
-                        <span><em ng-bind="jsonSdAddress.tel"></em>&nbsp;&nbsp;<em ng-bind="jsonSdAddress.name"></em>
-                            <div>
-                                <a ng-if="checkinvoice.status!=404" class="taggle-address edit-address" ng-click="editAddr(jsonSdAddress)"><i class="fa fa-pencil-square-o" aria-hidden="true"></i>&nbsp;编辑</a>
-                                <a ng-if="checkinvoice.status!=404" class="taggle-address" ng-click="taggleAddress(jsonSdAddress)"><i class="fa fa-refresh" aria-hidden="true"></i>&nbsp;切换</a>
-                                <a ng-if="checkinvoice.status!=404" class="taggle-address" ng-click="editAddr()"><i class="fa fa-plus-square" aria-hidden="true"></i>&nbsp;新建</a>
+                        <p class="">{{jsonSdAddress.area}},{{jsonSdAddress.detailAddress}}</p>
+                        <span class="adderss-name"><em ng-bind="jsonSdAddress.tel"></em>&nbsp;&nbsp;<em ng-bind="jsonSdAddress.name"></em>
+                            <div style="float: right; color: #ccc;">
+                                <a ng-if="checkinvoice.status!=404" class="taggle-address edit-address" ng-click="editAddr(jsonSdAddress)">编辑</a> |
+                                <!--<a ng-if="checkinvoice.status!=404" class="taggle-address" ng-click="taggleAddress(jsonSdAddress)"><i class="fa fa-refresh" aria-hidden="true"></i>&nbsp;切换</a>-->
+                                <a ng-if="checkinvoice.status!=404" class="taggle-address" ng-click="editAddr()">新增</a>
                             </div>
                         </span>
                     </li>
@@ -498,14 +546,17 @@
                     <dd class="order-company">
 						<span style="white-space: nowrap; width: 100%; text-align: left; line-height: 50px;">
 							<i style="min-width: 315px; display: inline-block">
-								&nbsp;&nbsp;{{checkinvoice.buyerentername}} <!--<a ng-if="purchase.pu_buyentername" name="{{purchase.id}}" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">|{{purchase.pu_buyentername}}</a>-->
+                                <i ng-bind="checkinvoice.buyername" style="color: #333; margin-left: 20px;"></i>
+                                <i style="color: #999; margin: 0 5px;">|</i>
+                                <i href="store/{{checkinvoice.storeid}}#/home" ng-bind="checkinvoice.buyerentername"></i>
+								<!--<a ng-if="purchase.pu_buyentername" name="{{purchase.id}}" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">|{{purchase.pu_buyentername}}</a>-->
 							</i>
 							<img src="static/img/common/songguo.png" style="margin-right:0; ">
                             <!--<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">联系买家</a>-->
 							<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" >联系买家</a>
 						</span>
                     </dd>
-                    <div ng-class="{'limit-3': !open}">
+                    <div ng-class="{'limit-3': !open}" style="width: 100%; margin: 0 auto; overflow: hidden;">
                         <dd class="oder_l" ng-repeat="detail in checkinvoice.invoiceFPurchaseDetails">
 						<span class="wd02">
 							<a href="store/{{detail.storeid}}/{{::detail.batchCode}}" target="_blank"><img ng-src="{{detail.img ? detail.img : 'static/img/user/images/pro02.jpg'}}"/></a>
@@ -537,10 +588,10 @@
                             <!--物料编码-->
                             <span class="wd01" style="line-height: 18px;">
 						<!--<textarea placeholder="可填写产品备注!例如物料编号"></textarea>-->
-							<div class="text-area">
-								<i>金石为开取数据五块钱叫稍微亲上加亲</i>
-							</div>
-						</span>
+                                <div class="text-area">
+                                    <i>金石为开取数据五块钱叫稍微亲上加亲</i>
+                                </div>
+						    </span>
                             <span class="wd01" style="line-height: 18px;">
 							<!--<textarea placeholder="可填写产品备注!例如物料编号"></textarea>-->
 							<div class="text-area" ng-if="detail.remark">
@@ -549,22 +600,24 @@
 						</span>
                         </dd>
                     </div>
-                    <div class="open-more row" ng-class="{'none': purchase.purchaseDetails.length < 3}">
+                    <div class="open-more row" ng-class="{'none': checkinvoice.invoiceFPurchaseDetails.length <= 3}">
                         <a href="javascript:void(0)" ng-click="$open=!open" ng-class="{'active': open}">
                             <em ng-bind="open ? '收起' : '查看所有产品'"></em>
                             <i class="fa fa-angle-up" ng-if="open"></i>
                             <i class="fa fa-angle-down" ng-if="!open"></i>
                         </a>
                     </div>
-                    <dd class="oder-remark" ng-class="{'length3': purchase.purchaseDetails.length > 3}">
-						<span style="width: 100%;">
+                    <dd class="oder-remark" ng-class="{'length3': checkinvoice.invoiceFPurchaseDetails.length > 3}">
+						<span style="width: 100%; padding-left: 20px;">
 							<em>订单备注:</em>
 							<i class="fl" ng-bind="purchase.purchaseRemark || '无'">用便宜的物流最好!</i>
                             <!--<input type="text"  class="form-control" placeholder="请填写订单备注" ng-model="order.orderRemark"/>-->
 						</span>
                     </dd>
                     <dd class="line60" style="border-bottom: none;">
-						<span class="wd02" style="width: 60%;text-align: left; margin-left: 20px;line-height: 30px; max-height: min-content;">配送方式:第三方配送
+						<span class="wd02" style="width: 60%;text-align: left; margin-left: 40px;line-height: 30px; max-height: min-content;">
+                            配送方式:<em class="color333">第三方配送</em>
+                            <em class="color333">上门自提</em>
                             <!--<i style="color: #666;">(满1000元包邮,未满足的订单收取运费20元)</i>-->
 						</span>
                         <span class="total-price">
@@ -586,61 +639,37 @@
                         <!--<span ng-show="!canShowInfo" class="wd01">系统无法提供</span>-->
                         <!--<span><em ng-bind="freight | number : 2 | currencySysmbol : purchase.currency">¥20.00</em></span>-->
                     </dd>
-                    <style>
-                        #oder-detail .line60.logistic-input{
-                            position: relative;
-                            top: -15px;
-                            height: 80px;
-                        }
-                        #oder-detail .line60.logistic-input span{
-                            height: 30px;
-                            line-height: 30px;
-                            float: left;
-                            margin-top: 10px;
-                        }
-                        #oder-detail .line60.logistic-input span .form-control{
-                            border-radius: 2px;
-                            border: #ccc 1px solid;
-                        }
-                        #oder-detail .line60.logistic-input span.input-ul{
-                            width: 170px;
-                            margin-right: 55px;
-                            float: left
-                        }
-                        #oder-detail .line60.logistic-input span.input-ul input{
-                            vertical-align: middle;
-                            width:170px;
-                            margin-top: -1px;
-                            height: 32px;
-                        }
-                        #oder-detail .line60.logistic-input span.input-ul em{
-                        }
-                    </style>
                     <dd class="line60 logistic-input">
-                        <span style="width: 10%;"> 物流公司 :&nbsp;</span>
-                        <span class="input-ul">
+                        <div  class="logistic-input-01" style="display: none;">
+                            自提点A 营业时间:<em>周一至周五 8:30-18:00</em><br/>
+                            地址:<em>广东省  深圳市  南山区  科技园英唐大厦6楼 优软商城科技园英唐大厦6楼 优软商城    </em>
+                        </div>
+                        <div>
+                            <span style="width: 10%; margin-left: 22px;"> 物流公司 :&nbsp;</span>
+                            <span class="input-ul">
                             <input id="addr" type="text" class="form-control" ng-change="textChange()" ng-blur="onBlur()" ng-focus="getFocus()" ng-keydown="onKeyup()" ng-model="logistics.companyName"  placeholder="请输入物流公司" autocomplete="off"  maxlength="15">
                             <em name="companyName" ng-click="changeShowLogistics()" class="btn-position"><i class="fa fa-caret-down" aria-hidden="true"></i></em>
                             <ul id="ulContent" ng-if="showCompanyName && matchData" class="dropdown-menu">
-                            <li ng-click="showText(companyName)" ng-repeat="companyName in resultList" ng-class="{'active': $index==selectIndex}" ng-bind="companyName"></li>
+                            <li ng-click="showText(data.companyName)" ng-repeat="data in data_list" ng-class="{'active': $index==selectIndex}" ng-bind="data.companyName"></li>
                             </ul>
                         </span>
-                        <span  style="width: 10%;"> 物流单号 :&nbsp;</span>
-                        <span style="margin-right: 20px; width: 160px; float: left;">
+                            <span  style="width: 10%;"> 物流单号 :&nbsp;</span>
+                            <span style="margin-right: 20px; width: 160px; float: left;">
                             <form name="myForm">
                             <input name="number" type="text" class="form-control" ng-model="logistics.number" placeholder="请输入物流单号" ng-pattern="/^[A-Za-z0-9]+$/" maxlength="20"/>
                             </form>
                         </span>
-                        <em ng-if="showTip" style="color: #b0b0b0;
+                            <em ng-if="showTip" style="color: #b0b0b0;
                             font-size: 12px;
                             float: left;
                             line-height: 33px;"><i class="fa fa-info-circle"></i>系统无法提供此物流信息,请根据物流单号到相应的官网查询。</em>
+                        </div>
                     </dd>
                     <dd class="pay_price">
                         <div ng-if="checkinvoice.status==406">
                             <a href="javascript:void(0)" ng-click="saveCheck()" class="confirm">确认发货</a>
                             <a href="vendor#/order/center" class="cancel">取消</a>
-                            <a href="" class="add">新增供应商</a>
+                            <a ng-click="addDistributor()" class="add">新增配送商</a>
                         </div>
                     </dd>
                 </dl>

+ 1 - 1
src/main/webapp/resources/view/vendor/forstore/vendor_delivery_rule.html

@@ -298,7 +298,7 @@
 					<span style="width: 70px;">优先级排序</span>
 					<input type="text" class="form-control sort" ng-model="modifyRule.num">
 					<span><strong>*</strong>规则名称</span>
-					<input type="text" class="form-control rule" style="text-align: left;" ng-blur="checkRuleName()" ng-model="modifyRule.ruleName">
+					<input type="text" class="form-control rule" style="text-align: left;" ng-blur="checkRuleName()" ng-model="modifyRule.ruleName" placeholder="会在购物车中显示">
 				</div>
 				<div class="row radio-1">
 					<span>是否生效</span>

+ 1 - 1
src/main/webapp/resources/view/vendor/modal/vendor_distributor_manage.html

@@ -395,7 +395,7 @@
             </tr>
             <tr class="record-num">
                 <td colspan="6">
-                    <span class="count-tip">显示<span ng-bind="$$kdnData.start">23</span>-<span ng-bind="$$kdnData.end">10</span>,共:<span ng-bind="$$kdnData.totalElements" style="color: #5078cb;">23</span>个</span>
+                    <span class="count-tip">显示 <span ng-bind="$$kdnData.start">23</span>-<span ng-bind="$$kdnData.end">10</span> ,共:<span ng-bind="$$kdnData.totalElements" style="color: #5078cb;">23</span> 个</span>
                 </td>
             </tr>
         </table>