Browse Source

卖家订单中心增加修改物流。

ouxq 8 years ago
parent
commit
a9dcf55e12
1 changed files with 108 additions and 2 deletions
  1. 108 2
      src/main/webapp/resources/view/vendor/forstore/vendor_order.html

+ 108 - 2
src/main/webapp/resources/view/vendor/forstore/vendor_order.html

@@ -806,11 +806,12 @@
                                 <a class="oder_d action-link" href="vendor#/logistics/query/{{purchase.purchaseid | EncryptionFilter}}" ng-if="purchase.status == 404 || purchase.status == 520 || purchase.status == 405 || purchase.status == 503 || purchase.status == 514" target="_blank">查看物流</a>
                             </div>
                         </span>
-						<span class="click_shop">
+						<span class="click_shop" style="position: relative">
                             <div ng-if="$index == 0">
                                 <a class="order-operation" href="javascript:void(0)" ng-if="(purchase.status == 502 || purchase.status == 406)&&(purchase.uasPurcid == null)" ng-click="toBeShiped(purchase)">点击发货</a>
 								<a ng-if="purchase.uasPurcid" style="text-decoration: none;color: #323232;">来源UAS</a>
-                                <a class="order-operation" href="javascript:void(0)" ng-if="purchase.status == 404 && purchase.lgtId&&!purchase.uasPurcid" ng-click="toBeShiped(purchase)" style="position: relative;">修改物流</a>
+                                <!--<a class="order-operation" href="javascript:void(0)" ng-if="purchase.status == 404 && purchase.lgtId&&!purchase.uasPurcid" ng-click="toBeShiped(purchase)" style="position: relative;">修改物流</a>-->
+								<a class="order-operation" href="javascript:void(0)" ng-if="purchase.status == 404 && purchase.lgtId&&!purchase.uasPurcid" ng-click="modifyLogostic()" style="position: relative;">修改物流</a>
                                 <div class="seller-ship-tip" ng-if="purchase.status == 404 && purchase.lgtId &&!purchase.uasPurcid" style="position: relative;">
                                     <img src="static/img/common/notice-tip.png" ng-mouseover="purchase.noticeTip = true" ng-mouseleave="purchase.noticeTip = false"/>
                                     <div class="ship-notify" ng-if="purchase.noticeTip">
@@ -818,6 +819,111 @@
                                       <div class="content">若物流信息填写有误,请重新填写</div>
                                     </div>
                                 </div>
+								<!--修改物流-->
+								<div class="edit-logistic-box" style="display: none;">
+									<div class="title"><a ng-click="">&times;</a></div>
+									<div class="content">
+										<div class="row">配送方式: <em>第三方配送</em></div>
+										<div class="row">物流公司:
+											<em>
+												<input type="text" class="form-control"/>
+												<em name="companyName" class="btn-position"><i class="fa fa-caret-down"></i></em>
+											</em>
+										</div>
+										<div class="row">物流单号: <em><input type="text" class="form-control"/></em></div>
+										<div class="edit-deal">
+											<a ng-click="" class="off">取消</a>
+											<a ng-click="" class="ok">确认</a>
+										</div>
+									</div>
+								</div>
+								<style>
+									.edit-logistic-box{
+										position: absolute;
+										width: 295px;
+										height: 184px;
+										box-shadow: 1px 1px 2px #ccc;
+										background: #fff;
+										right: 200px;
+										top: 30px;
+										border: #E8E8E8 1px solid;
+									}
+									.edit-logistic-box .title{
+										width: 100%;
+										height: 10px;
+										line-height: 25px;
+										position: relative;
+									}
+									.edit-logistic-box .title a{
+										position: absolute;
+										top: -3px;
+										right: 3px;
+										float: right;
+										color: #999 !important;
+										font-size: 16px !important;
+										text-decoration: none !important;
+									}
+									.edit-logistic-box .content{
+										width: 100%;
+										margin: 0 auto;
+										margin: 0 18px;
+									}
+									.edit-logistic-box .content .row{
+										line-height: 30px;
+										font-size: 14px;
+										text-align: left;
+										margin: 0;
+										margin-bottom: 14px;
+									}
+									.edit-logistic-box .content .row em{
+										display: inline-block;
+										width: 178px;
+										height: 30px;
+										position: absolute;
+										margin-left: 15px;
+									}
+									.edit-logistic-box .content .row em.btn-position{
+										position: absolute;
+										top: 0;
+										right: 0px;
+										height: 30px;
+										width: 20px;
+										text-align: center;
+										display: inline-block;
+										font-size: 24px;
+										color: #fff;
+										background: #5078cb;
+										cursor: pointer;
+										border-bottom-right-radius: 3px;
+										border-top-right-radius: 3px;
+									}
+									.edit-logistic-box .content .row em input{
+										display: inline-block;
+										height: 30px;
+									}
+									.edit-logistic-box .edit-deal a{
+										width: 70px;
+										height: 30px;
+										display: inline-block;
+										text-align: center;
+										line-height: 30px;
+										font-size: 14px;
+										text-decoration: none !important;
+									}
+									.edit-logistic-box .edit-deal a.off{
+										background: #cdcccc;
+										color: #666;
+										margin-right: 8px;
+									}
+									.edit-logistic-box .edit-deal a.ok{
+										background: #5078cb;
+										color: #fff;
+									}
+									.edit-logistic-box .edit-deal a:hover{
+										background: #337ab7;
+										color: #fff !important;
+									}
+								</style>
                             </div>
                         </span>
 					</dd>