2 Star 1 Fork 2

徐子玉 / 品贷网

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
shipmentsDistribute.html 14.18 KB
一键复制 编辑 原始数据 按行查看 历史
徐子玉 提交于 2017-07-05 11:21 . + pdw
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>品代网(www.pdw123.com)--国内首家建材行业供应链交易平台,F2B2C运营模式开创网络建材市场新纪元</title>
<meta name="keywords" content="代理,加盟,招商,批发,零售,掌上建材,PPR,PVC,PE,管材,管件,波纹管,缠绕管,卫浴,陶瓷,龙头,浴缸,地漏,吊顶,灯具,开关,插线板,插座,电线,电缆,水暖五金,地板,油漆,地暖,太阳能,净水器,装修材料" />
<meta name="description" content="品代网(www.pwd123.com)是中国首家采用云管理系统,互联网加实体营销管理为一体的交易平台。专业的建材行业综合网上购物平台,销售管材管件,水暖卫浴,厨卫洁具,灯具开关,板材五金,油漆涂料,电线电缆,家装材料,建筑材料,五金配件,防水等。正品低价,品质保证,便捷操作,诚信服务">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="author" content="Administrator">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<meta name="renderer" content="webkit">
<link rel="shortcut icon" href="favicon.ico"/>
<link rel="stylesheet" href="css/head.css" />
<link rel="stylesheet" href="css/index2.css" />
<link rel="stylesheet" href="css/topbannerSecond.css"/>
<link rel="stylesheet" href="css/indent.css" />
<link rel="stylesheet" href="css/add.css" />
<link rel="stylesheet" href="css/shipmentsDistribute.css"/>
<script src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/hd_nav.js"></script>
</head>
<body>
<!-- gg_top -->
{$ad_head_html}
<!-- top_header 顶部 -->
{$user_head_html}
<!-- top-main-->
{$search_head_html}
<!--导航分类-->
<div id="indexMain11">
<!--导航-->
<div id="headerNav">
<div class="wrap_1200 hd_header_nav clearfix">
<!--所有商品分类-->
<div id="allSortOuterbox" class="hd_header_nav_div clearfix">
<div class="allSortOuterbox_til">产品类别</div>
<img class="allSortOuter_trigon" src="images/images/oratil2_12.jpg" style="left: 149px;">
</div>
<!--快速导航-->
<ul id="global_menu" class="hd_header_nav_div">
<img src="images/images/oratil2_12.jpg" class="allSortOuter_trigon">
<li><a href="index.php" class="active">&nbsp;&nbsp;首页&nbsp;&nbsp;</a> </li>
<li id="applyAgent" class="header_nav_bigger"><a href="applicationAgency.php" target="_blank">申请代理意向</a> </li>
<li class="header_nav_bigger">
<div class="header_nav_order">装修师傅预约<i class="pullIcon"></i></div>
<div class="header_nav_pulldown" style="display: none;">
<ul>
<li><a href="seekMaster.php">查询装修师傅</a></li>
<li><a href="fitmentRegister.php">装修维修登记</a></li>
<li><a href="masterSeekJob.php">装修师傅找活</a></li>
</ul>
</div>
</li>
<li class="header_nav_bigger">
<div>同城顺带物流<i class="pullIcon"></i></div>
<div class="header_nav_pulldown" style="display: none;">
<ul>
<li><a href="shipments.php">我要发货</a></li>
<li><a href="deliverGoods.php">我要送货</a></li>
<li><a href="shipmentList.php">我的物流</a></li>
</ul>
</div>
</li>
<li><a href="quickorder.php" target="_blank">快速下单</a> </li>
<li><a href="./brandWall.php" target="_blank">品牌大全</a> </li>
<li><a href="./commodity.php" target="_blank">商品专区</a> </li>
</ul>
<!--手机品代-->
<div class="global_menu_mobile">
<i class="header_nav_mobile"></i>
<div class="header_nav_mobile_img" style="display: none;">
<img src="images/head/downloadAPP.jpg" />
</div>
</div>
</div>
</div>
</div>
<div id="shipmentsDistribute" class="shipmentsDistribute">
<div class="wrap_1200 clearfix">
<!--<div class="distributeChoose clearfix">
<div class="chooseMyFabu chooseOn">
<a href="shipmentsDistribute.html">
<i class="myFahuo"></i>
<p>我的发货</p>
</a>
</div>
<div class="chooseMySonghuo">
<a href="#">
<i class="mySong"></i>
<p>我的抢单</p>
</a>
</div>
</div>
-->
<div class="distributeContent">
<ul class="distributeHead clearfix">
<li class="distribute_first">
<i id="i1" class="disHead_icon"></i>
第一步:发布物流信息
</li>
<li class="distribute_last">
<i id="i2" class="distriHead_icon"></i>
第二步:已被抢单,正在配送中...
</li>
</ul>
<div class="distributeMain">
<div class="distributeMainHead">
<i class="distributeIcon"></i>
<p>我的发货</p>
<div class="distributeLogNum">
物流编号:
<span class="addLogNum"></span>
</div>
</div>
<div class="distributeCon clearfix">
<div class="discontent">
提货地址:
<span id="takeAddr"></span>
</div>
<div class="discontent">
到货地址:
<span id="arrAddr"></span>
</div>
<div class="discontent">
提货时间:
<span id="takeDateTime"></span>
</div>
<div class="discontent">
到货时间:
<span id="arrDateRange"></span>
</div>
</div>
<div class="distributeCon clearfix">
<div class="discontent">
货物种类:
<span id="goodsType"></span>
</div>
<div class="discontent">
货物特征:
<span id="goodsCharacter"></span>
</div>
<div class="discontent">
货物重量:
<span id="goodsWeight"></span>
</div>
<div class="discontent">
货物体积:
<span id="goodsVolumn"></span>
</div>
<div class="discontent">
货物数量:
<span id="goodsQuantity"></span>
</div>
<div class="discontent">
尺寸超限:
<span id="goodsBeyond"></span>
</div>
<div class="discontent">
装卸货物:
<span id="goodsBeLoad"></span>
</div>
<div class="discontent">
备注信息:
<span id="goodsRemark"></span>
</div>
</div>
<div class="distributeCon clearfix">
<div class="discontent">
品代参考价:
<span id="ReferencePrice"></span>
</div>
<div class="discontent">
实际出价:
<span id="myOffer"></span>
</div>
<div class="discontent disSamll" >
小费:
<span id="fee"></span>
</div>
</div>
<!--有人送货 配送中-->
<div class="distributeCon clearfix" style="display: ;">
<img src="images/images/topHead.png" class="dispeopleIcon" />
<div class="dispeopleR clearfix">
<span id="ownerName"></span>
<!--<span class="yellowPeople">已送货</span>-->
<span class="grayPeople" id="ownerPhone"></span>
</div>
<div class="dispeoplePush">
发布于:
<span id="addDate"></span>
</div>
</div>
</div>
<!--无人送货,添加消费-->
<div class="noPeople clearfix">
<div class="noPeopleButton">无人抢单,添加小费</div>
<div class="noPeople_div" style="display: none;">
<input type="text" class="noPeople_input" onkeyup="clearNoNum(this)" maxlength="9"/><span></span>
<div class="noPeople_button nopeople_sure">确定</div>
<div class="noPeople_button nopeople_chanel">取消</div>
</div>
</div>
</div>
</div>
</div>
<!--footer-->
<div class="comfooter">
{$foot_html}
</div>
<script type="text/javascript">
Date.prototype.format = function(pattern) {
/*初始化返回值字符串*/
var returnValue = pattern;
/*正则式pattern类型对象定义*/
var format = {
"y+": this.getFullYear(),
"M+": this.getMonth()+1,
"d+": this.getDate(),
"H+": this.getHours(),
"m+": this.getMinutes(),
"s+": this.getSeconds(),
"S": this.getMilliseconds(),
"h+": (this.getHours()%12),
"a": (this.getHours()/12) <= 1? "AM":"PM"
};
/*遍历正则式pattern类型对象构建returnValue对象*/
for(var key in format) {
var regExp = new RegExp("("+key+")");
if(regExp.test(returnValue)) {
var zero = "";
for(var i = 0; i < RegExp.$1.length; i++) { zero += "0"; }
var replacement = RegExp.$1.length == 1? format[key]:(zero+format[key]).substring(((""+format[key]).length));
returnValue = returnValue.replace(RegExp.$1, replacement);
}
}
return returnValue;
};
function clearNoNum(obj){
//先把非数字的都替换掉,除了数字和.
obj.value = obj.value.replace(/[^\d.]/g,"");
//必须保证第一个为数字而不是.
obj.value = obj.value.replace(/^\./g,"");
//保证只有出现一个.而没有多个.
obj.value = obj.value.replace(/\.{2,}/g,".");
//保证.只出现一次,而不能出现两次以上
obj.value = obj.value.replace(".","$#$").replace(/\./g,"").replace("$#$",".");
}
var ownerId = 0;
(function ($) {
$.getUrlParam = function (name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null)
return unescape(r[2]);
return null;
};
})(jQuery);
var Id = $.getUrlParam('id');
$.ajax({
type:"post",
url:"api.php?act=logisticInfo",
data:{
logisticId:Id
},
async:false,
success:function(result){
if(result != "Failure"){
result = $.parseJSON(result)
$.each(result, function(n,value) {
ownerId = value.ownerId;
$('.addLogNum').html(value.logisticNo);
$('#takeAddr').html(value.getGoodsDistrict+" "+value.getGoodsTown+" "+value.getGoodsAddr);
$('#arrAddr').html(value.sendGoodsDistrict+" "+value.sendGoodsTown+" "+value.sendGoodsAddr);
var getGoodsDate = new Date(value.getGoodsDate).format("yyyy-MM-dd");
$('#takeDateTime').html(getGoodsDate+" "+value.getGoodsTime);
var sendGoodsDateStart = new Date(value.sendGoodsDateStart).format("yyyy-MM-dd");
var sendGoodsDateEnd = new Date(value.sendGoodsDateEnd).format("yyyy-MM-dd");
$('#arrDateRange').html(sendGoodsDateStart+"~"+sendGoodsDateEnd);
$('#goodsType').html(value.goodsType);
$('#goodsCharacter').html(value.goodsCharacter);
$('#goodsWeight').html(value.goodsWeight);
$('#goodsVolumn').html(value.goodsVolume);
$('#goodsQuantity').html(value.goodsQuantity+value.goodsUnit);
$('#goodsBeyond').html(value.goodsBeyond);
var loadInfo = "";
if(value.goodsBeLoad == "0"){
loadInfo += "不需要司机装货";
}
else if(value.goodsBeLoad == "1"){
loadInfo += "需要司机装货";
}
if(value.goodsBeUnload == "0"){
loadInfo += " 不需要司机卸货";
}
else if(value.goodsBeUnload == "1"){
loadInfo += " 需要司机卸货";
}
$('#goodsBeLoad').html(loadInfo);
$('#goodsRemark').html(value.remark);
$('#ReferencePrice').html(value.referencePrice);
$('#myOffer').html(value.myOffer);
$('#fee').html(value.fee);
$('#ownerName').html(value.ownerName);
$('#ownerPhone').html(value.ownerPhone);
$('#addDate').html(value.addDate);
if(value.state == "0"){
$('#i1').removeClass('disHead_icon').addClass('disHead_icon1');
$('#i2').removeClass('distriHead_icon').addClass('distriHead_icon1');
}
else{
$('.noPeople').hide();
}
if(value.ownerFace != "" && value.ownerFace != null && value.ownerFace != "http://114.55.88.9:8002/"){
$('.dispeopleIcon').attr("src",value.ownerFace);
}
});
}
}
});
$('.nopeople_sure').on('click',function(){
if(parseFloat($('.noPeople_input').val()) > 0){
$.ajax({
type:"post",
url:"api.php?act=logisticFee",
data:{
logisticId:Id,
fee:$('.noPeople_input').val()
},
async:true,
success:function(result){
if(result == "success"){
alert("提交成功!");
window.location.reload();
}
}
});
}
else{
alert('小费输入有误!请重新输入');
}
});
$(function(){
$('.noPeopleButton').click(function(){
$('.noPeople_div').show();
});
$('.nopeople_chanel').click(function(){
$('.noPeople_input').val("");
});
$('.nopeople_sure').click(function(){
$('.disSamll').show();
var smallFee = $('.noPeople_input').val();
$('.disSamll span').html(smallFee+'');
});
$('.nopeople_chanel').click(function(){
$('.noPeople_div').hide();
});
});
</script>
</body>
</html>
1
https://gitee.com/xuqipeter/pdw.git
git@gitee.com:xuqipeter/pdw.git
xuqipeter
pdw
品贷网
master

搜索帮助