|
@@ -0,0 +1,143 @@
|
|
|
+<!DOCTYPE HTML>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta name="renderer" content="webkit|ie-comp|ie-stand">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta name="viewport"
|
|
|
+ content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
|
|
|
+ <meta http-equiv="Cache-Control" content="no-siteapp"/>
|
|
|
+<#include "/base/add_base.ftl">
|
|
|
+
|
|
|
+ <style>
|
|
|
+ .tit{position: relative;text-align: left;font-size: 16px;padding-left: 10px;}
|
|
|
+ .tit:after{content: '';position: absolute;left: 0;top: 20%;height: 60%;width: 3px;background-color: #32a3d8;}
|
|
|
+ .tit-2{position: relative;text-align: left;font-size: 16px;padding-left: 10px;color: #50a2ea;}
|
|
|
+ .tit-2:after{content: '';position: absolute;left: 0;top: 45%;height: 6px;width: 6px;border-radius: 6px;background-color: #32a3d8;}
|
|
|
+ #province select{margin-right:10px; width:100px;height: 31px;-webkit-appearance:none !important;appearance:none;background: url(${path}/common/images/cm/select-1.png) right center no-repeat;background-size: auto 100%;padding-left:3px;padding-right: 25px;}
|
|
|
+ .ac_results li a {white-space: nowrap;text-decoration:none;display:block;color:#05a;padding:1px 3px}
|
|
|
+ .ac_results li {border:1px solid #fff}
|
|
|
+ .ac_results li a span {float:right}
|
|
|
+ .select-box{background: url(${path}/common/images/cm/select-1.png) right center no-repeat;background-size: auto 100%;}
|
|
|
+ .select-box select{-webkit-appearance:none !important;background-color: transparent; appearance:none;padding-right: 15px;}
|
|
|
+ .dalog-ask{position: absolute;left:60%;top:0;-webkit-transform: translateY(-30%);transform: translateY(-30%);display: none;background-color: #fff;z-index: 10;}
|
|
|
+ .tag{ width:300px; min-height:300px; border:1px solid #32a3d8; position:relative;background-color: #fff;line-height: 1.5;padding: 10px 12px;}
|
|
|
+ .tag em{display:block; border-width:15px; position:absolute; top:30%; left:-30px;border-style:solid dashed dashed; border-color:transparent #32a3d8 transparent transparent;font-size:0; line-height:0;}
|
|
|
+ .time-line-list{list-style: none;width: 100%;margin-left: -20px;}
|
|
|
+ .time-line-list>li{position: relative;float: left; text-align: center;width: 100px;overflow: hidden;white-space: nowrap;word-break: break-all;padding: 2px 0;}
|
|
|
+ .time-line-list .number{display: inline-block; padding: 2px; background: #32a3d8;border: 2px solid #fff;box-shadow:0 0 0 1px #32a3d8;width: 20px;height: 20px;color: #fff;line-height: 20px;border-radius: 50%;}
|
|
|
+ .time-line-list>li:before{content:'';position: absolute;height: 1px;width: 30%;right:0;top: 15px; background-color: #32a3d8;}
|
|
|
+ .time-line-list>li:after{content: '';position: absolute;height: 1px;width: 30%;left: 0;top: 15px;background:#32a3d8;}
|
|
|
+ .time-line-list>li:first-child:after,.time-line-list>li:last-child:before{display: none;}
|
|
|
+ .time-line-list .arrow{border-width:7px; position:absolute; left:25%; top:9px;border-style:solid dashed dashed; border-color:transparent transparent transparent #32a3d8;font-size:0; line-height:0;}
|
|
|
+ .time-line-list>li:first-child .arrow{display: none;}
|
|
|
+ .table-bg th{background-color: #e2f6ff;}
|
|
|
+ .update-parts>span{margin-right: 10px;padding: 3px 4px;background-color: #effaff;border: 1px solid #32a3d8;}
|
|
|
+ .msg-phone{height: 35px;line-height: 35px;}
|
|
|
+ .col-sm-1{width: 150px;}
|
|
|
+ .all_down{text-decoration: underline;color: #f00;}
|
|
|
+
|
|
|
+ .my-title{font-weight: 500;padding-left: 15px;position: relative;}
|
|
|
+ .my-title:after{content: '';position: absolute;left: 0;top:12%;width: 3px;height: 80%;background: #32a3d8;}
|
|
|
+ .my-input{padding: 5px 10px;width: 80%;border: 1px solid rgba(0,0,0,.1);}
|
|
|
+ .input-box{margin: 18px 0;}
|
|
|
+ .input-dic{float: left;margin:5px 10px 0 0;font-size: 12px;}
|
|
|
+ .add-list{list-style-type: none;padding: 10px;background-color: #f5f5f5;width: 60%;float: left;margin: 0;}
|
|
|
+ .my-btn-edit{padding: 8px 20px;background-color: #fff;color: #32a3d8;border: 1px solid #32a3d8;cursor:pointer;margin:0 10px;}
|
|
|
+ .my-btn-reset{padding: 10px 20px;width: 150px; background-color: #fff;color: #32a3d8;border: 1px solid #32a3d8;cursor:pointer;margin: 10px 10px 0 10px;}
|
|
|
+ .my-btn-submit{padding: 10px 20px;width: 150px; background-color: #32a3d8;color: #fff;border: 1px solid #32a3d8;cursor:pointer;margin: 10px 10px 0 10px;}
|
|
|
+ .add-list>li{margin: 10px 0;}
|
|
|
+ .cp-list{list-style-type: none;margin: 0;padding: 0;}
|
|
|
+ .cp-list>li{position: relative; cursor: pointer;clear: both;padding: 15px 0;}
|
|
|
+ .my-select{border: 1px solid rgba(0,0,0,.1);padding:6px 50px 6px 15px;height: 34px; -webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-11.png) right center no-repeat;background-size:auto 100%;}
|
|
|
+ input[type=radio]{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-1.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
+ input[type=radio]:checked{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
+ select{border: 1px solid rgba(0,0,0,.1);border-radius: 5px;padding:6px 35px 6px 5px;height: 32px;-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-1.png) right center no-repeat !important;background-size:auto 100% !important;margin-right: 10px;width: 85px;}
|
|
|
+
|
|
|
+ </style>
|
|
|
+ <title>通知配货 - 订单管理 - RST</title>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+
|
|
|
+<article class="page-container" style="padding: 10px;">
|
|
|
+ <div class="pd-20 cl" style="width: 450px;margin: 0 auto;">
|
|
|
+
|
|
|
+ <#if orderWarehouseList?? && (orderWarehouseList?size > 0) >
|
|
|
+ <#list orderWarehouseList as warehouse>
|
|
|
+ <div class="input-box" style="margin-bottom: 35px;"><span class="input-dic"></span>
|
|
|
+ <label>
|
|
|
+ <input type="radio" style="margin-top: 0px;float:left;display: block;" name="warehouseId" value="${warehouse.warehouseId!''}" <#if warehouse_index = 0>checked</#if>>
|
|
|
+ <span style="width: 400px;float:left;display: block;font-weight: bold;">${warehouse.warehouseName!''}</span>
|
|
|
+ <div style="padding-left: 40px;width: 400px;">注:${warehouse.warehouseIntroduction!''}</div>
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+
|
|
|
+ <div class="row cl" style="padding-top: 30px;">
|
|
|
+ <div class="col-3 col-sm-2 col-offset-3" style="float:left;">
|
|
|
+ <button class="btn btn-block btn-primary " type="button" onclick="chooseWarehouseById()">确认</button>
|
|
|
+ </div>
|
|
|
+ <div class="col-3 " style="float:left;">
|
|
|
+ <button class="btn btn-primary-outline btn-block" type="button" onclick="chooseWarehouseCancel()" >取消</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</article>
|
|
|
+
|
|
|
+<script type="text/javascript">
|
|
|
+ var url_path = "${path}";
|
|
|
+</script>
|
|
|
+
|
|
|
+<script>
|
|
|
+ function chooseWarehouseById(){
|
|
|
+ var type = "${type!""}";
|
|
|
+ var ids = "${ids!""}";
|
|
|
+ var warehouseId = $("input[name='warehouseId']").val();
|
|
|
+
|
|
|
+ if(!isEmpty(warehouseId) || !isEmpty(ids)){
|
|
|
+ layer.msg("通知配货数据有误!", {icon: 5, time: 3000});
|
|
|
+ }
|
|
|
+
|
|
|
+ if(isEmpty(warehouseId)){
|
|
|
+ var index = layer.load(1, {
|
|
|
+ shade: [0.5,'#fff'] //0.1透明度的白色背景
|
|
|
+ });
|
|
|
+
|
|
|
+ $.ajax({
|
|
|
+ type:'POST',
|
|
|
+ url: '${path}/admin/salesOrder/choose_warehouse',
|
|
|
+ data:{
|
|
|
+ "type" : type, //salesId 标识id为传入订单id(数组) batchId标识id为批次ID
|
|
|
+ "ids" : ids,
|
|
|
+ "warehouseId" : warehouseId
|
|
|
+ },
|
|
|
+ dataType: 'json',
|
|
|
+ success:function(res) {
|
|
|
+ layer.close(index);
|
|
|
+ parent.chooseWarehouseBack(res);
|
|
|
+ parent.layer.close(parent.layer.getFrameIndex(window.name));
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ error: function(XmlHttpRequest, textStatus, errorThrown){
|
|
|
+ layer.msg("通知配货失败!", {icon: 5, time: 3000});
|
|
|
+ layer.close(index);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ layer.msg("未选择仓库!", {icon: 5, time: 3000});
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 取消弹窗
|
|
|
+ */
|
|
|
+ function chooseWarehouseCancel() {
|
|
|
+ parent.layer.close(parent.layer.getFrameIndex(window.name));
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</body>
|
|
|
+</html>
|