|
|
<?php echo HtmlTool::getStaticFile(array('bootstrap.3.3.7.min.js', 'bootstrap-dialog.min.js', 'underscore-1.8.3.min.js', 'layer-1.8.5/layer.min.js', 'layer-1.8.5/extend/layer.ext.js', 'clipboard.min.js', 'ZeroClipboard.min.js', 'biz/common.js', 'jq_puls/jquery.slimscroll.min.1.3.6.js', 'jq_puls/jquery.fileDownload.1.4.2.js', 'biz/global.js'), TsConst::jsGlobal);?>
|
|
|
<?php echo HtmlTool::getStaticFile(array('biz/zc-log.js', 'jq_puls/jquery.json.2.5.1.min.js', 'jq_puls/jquery.form.min.js')); ?>
|
|
|
<?php echo HtmlTool::getStaticFile(array('bts-datepicker/moment.min.js'), TsConst::jsGlobal)?>
|
|
|
<?php echo HtmlTool::getStaticFile(array('cookies.js'))?>
|
|
|
<script>if (typeof module === 'object') {window.moment = module.exports;};</script>
|
|
|
<?php echo HtmlTool::getStaticFile(array('bts-datepicker/jquery-datetimepicker.min.3.1.3.js', 'bts-datepicker/zh-cn.js', 'bts-datepicker/daterangepicker.js'));?>
|
|
|
<?php echo HtmlTool::getStaticFile('biz/sync_data.js', TsConst::jsSourceSync);?>
|
|
|
<?php echo HtmlTool::getStaticFile(array('biz/app_heartbeat.js'), TsConst::jsAppHearbeat); ?>
|
|
|
<?php echo HtmlTool::getStaticFile('biz/ms.js', TsConst::jsMakeSign);?>
|
|
|
<?php echo HtmlTool::getStaticFile(array('xiuxiu.js')); ?>
|
|
|
|
|
|
<?php if (Zc::C('env') == 'live') { ?>
|
|
|
<?php if (AppConst::isPddMsShApp()) { ?>
|
|
|
<script>
|
|
|
(function() {
|
|
|
var la = document.createElement('script');
|
|
|
la.type = "text/javascript";
|
|
|
la.async = true;
|
|
|
la.charset = 'utf-8';
|
|
|
la.src = '//js.users.51.la/19739561.js';
|
|
|
var s = document.getElementsByTagName('script')[0];
|
|
|
s.parentNode.insertBefore(la, s);
|
|
|
})();
|
|
|
</script>
|
|
|
<noscript><a href="https://www.51.la/?19739561" target="_blank"><img alt="" src="//ia.51.la/go1?id=19739561&pvFlag=1" style="border:none" /></a></noscript>
|
|
|
<?php } ?>
|
|
|
<?php if (AppConst::isPddMsOdApp()) { ?>
|
|
|
<!-- <script>-->
|
|
|
<!-- (function() {-->
|
|
|
<!-- var la = document.createElement('script');-->
|
|
|
<!-- la.type = "text/javascript";-->
|
|
|
<!-- la.async = true;-->
|
|
|
<!-- la.charset = 'utf-8';-->
|
|
|
<!-- la.src = '//js.users.51.la/20783781.js';-->
|
|
|
<!-- var s = document.getElementsByTagName('script')[0];-->
|
|
|
<!-- s.parentNode.insertBefore(la, s);-->
|
|
|
<!-- })();-->
|
|
|
<!-- </script>-->
|
|
|
<!-- <noscript><a href="https://www.51.la/?20783781" target="_blank"><img alt="" src="//ia.51.la/go1?id=20783781&pvFlag=1" style="border:none" /></a></noscript>-->
|
|
|
<?php } ?>
|
|
|
<?php if (AppConst::isPddDzJxcApp()) { ?>
|
|
|
<!-- <script>-->
|
|
|
<!-- (function() {-->
|
|
|
<!-- var la = document.createElement('script');-->
|
|
|
<!-- la.type = "text/javascript";-->
|
|
|
<!-- la.async = true;-->
|
|
|
<!-- la.charset = 'utf-8';-->
|
|
|
<!-- la.src = '//js.users.51.la/20584035.js';-->
|
|
|
<!-- var s = document.getElementsByTagName('script')[0];-->
|
|
|
<!-- s.parentNode.insertBefore(la, s);-->
|
|
|
<!-- })();-->
|
|
|
<!-- </script>-->
|
|
|
<!-- <noscript><a href="https://www.51.la/?20584035" target="_blank"><img alt="" src="//ia.51.la/go1?id=20584035&pvFlag=1" style="border:none" /></a></noscript>-->
|
|
|
<?php } ?>
|
|
|
<?php if (AppConst::isPddDzShApp()) { ?>
|
|
|
<!-- <script>-->
|
|
|
<!-- (function() {-->
|
|
|
<!-- var la = document.createElement('script');-->
|
|
|
<!-- la.type = "text/javascript";-->
|
|
|
<!-- la.async = true;-->
|
|
|
<!-- la.charset = 'utf-8';-->
|
|
|
<!-- la.src = '//js.users.51.la/20815103.js';-->
|
|
|
<!-- var s = document.getElementsByTagName('script')[0];-->
|
|
|
<!-- s.parentNode.insertBefore(la, s);-->
|
|
|
<!-- })();-->
|
|
|
<!-- </script>-->
|
|
|
<!-- <noscript><a href="https://www.51.la/?20815103" target="_blank"><img alt="" src="//ia.51.la/go1?id=20815103&pvFlag=1" style="border:none" /></a></noscript>-->
|
|
|
<?php } ?>
|
|
|
<?php if (AppConst::isPddDzOdApp()) { ?>
|
|
|
<script>
|
|
|
(function() {
|
|
|
var la = document.createElement('script');
|
|
|
la.type = "text/javascript";
|
|
|
la.async = true;
|
|
|
la.charset = 'utf-8';
|
|
|
la.src = '//js.users.51.la/20815115.js';
|
|
|
var s = document.getElementsByTagName('script')[0];
|
|
|
s.parentNode.insertBefore(la, s);
|
|
|
})();
|
|
|
</script>
|
|
|
<noscript><a href="https://www.51.la/?20815115" target="_blank"><img alt="" src="//ia.51.la/go1?id=20815115&pvFlag=1" style="border:none" /></a></noscript>
|
|
|
<?php } ?>
|
|
|
<?php } ?>
|
|
|
|
|
|
<?php
|
|
|
echo HtmlTool::getStaticFile('biz/mall_auth_group_util.js', TsConst::jsMallAuthGroupUtil);
|
|
|
?>
|
|
|
|
|
|
<?php
|
|
|
echo ZcHtml::hiddenInput('appName', Zc::C('appName'), array('id' => 'J_appName'));
|
|
|
echo ZcHtml::hiddenInput('jsSI', sprintf('%s000_%s_%s', time(), '1.1', 'jst'), array('id' => 'J_jsSI'));
|
|
|
?>
|
|
|
<?php Zc::W(WidgetConst::commonBaiduStat);?>
|
|
|
<div id="footer" class="footer hide">
|
|
|
<div class="container">
|
|
|
<p title="<?php echo gethostname(); ?>">Copyright©<?php echo date('Y');?> 呈极网络 All Rights.</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- ad -->
|
|
|
<div class="modal fade" id="adModal" tabindex="-1" role="dialog" aria-labelledby="adModalLabel" aria-hidden="true">
|
|
|
<div class="modal-dialog" style="margin-top: 12%;">
|
|
|
<div class="modal-content" style="width: 665px;">
|
|
|
<div class="modal-body">
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" style="position: absolute;right: 5px;top:5px;color: black">×</button>
|
|
|
<div style="width: 100%">
|
|
|
<map name="J_jubaoTarget">
|
|
|
<area shape="rect" coords="413,240,619,298" href="http://wpa.qq.com/msgrd?v=3&uin=1056261133&site=qq&menu=yes" target="_blank">
|
|
|
<area shape="rect" coords="412,301,621,356" href="http://fw.jd.com/417222.html?t=ms_banner1" target="_blank">
|
|
|
<area shape="poly" coords="7,5" href="#">
|
|
|
<area shape="poly" coords="18,326,391,343,390,233,612,218,614,8,9,8" href="http://fw.jd.com/417222.html?t=ms_banner2">
|
|
|
</map>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!-- /.modal-content -->
|
|
|
</div><!-- /.modal -->
|
|
|
</div>
|
|
|
|
|
|
<?php
|
|
|
$showGoodsRsync = true;
|
|
|
$showOrderRsync = !AppConst::isShAppCategory() && !AppConst::isSpAppCategory();
|
|
|
?>
|
|
|
|
|
|
<div class="modal" id="J_syncDataModal" tabindex="-1">
|
|
|
<div class="modal-dialog">
|
|
|
<div class="modal-content">
|
|
|
<div class="modal-header">
|
|
|
<button type="button" class="close" data-dismiss="modal"
|
|
|
aria-label="Close">
|
|
|
<span aria-hidden="true">×</span>
|
|
|
</button>
|
|
|
<h4 class="modal-title">数据同步</h4>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<ul class="im-tab nav nav-tabs text-center J_syncNav">
|
|
|
<?php if ($showGoodsRsync) {?>
|
|
|
<li class="active"><a data-toggle="tab" href="#J_manualRsyncWareData">同步商品</a></li>
|
|
|
<?php }?>
|
|
|
<?php if ($showOrderRsync) {?>
|
|
|
<li><a data-toggle="tab" href="#J_manualRsyncOrderData">同步订单</a></li>
|
|
|
<li><a data-toggle="tab" href="#J_manualRsyncFulfillmentOrderData">同步跨境托管订单</a></li>
|
|
|
<?php }?>
|
|
|
<?php if ($isMallRoleFactory) {?>
|
|
|
<li><a data-toggle="tab" href="#J_manualRsyncFdsOrderData">同步厂家代打订单</a></li>
|
|
|
<?php }?>
|
|
|
</ul>
|
|
|
<div class="tab-lg tab-content pd_10 form-inline">
|
|
|
<?php if ($showGoodsRsync) {?>
|
|
|
<div id="J_manualRsyncWareData" class="tab-pane active" role="tabpanel">
|
|
|
<div class="clearfix">
|
|
|
<div class="pull-left mr_5">
|
|
|
<label class="control-label" for="selectbasic"><h4>手动同步商品:</h4></label>
|
|
|
</div>
|
|
|
<div class="pull-left mr_5">
|
|
|
<input class="form-control" id="J_syncGoodsSingleKeyword" name="keyword" value="" placeholder="请输入商品ID,多个商品ID,用英文逗号(,)隔开" style="width: 330px;">
|
|
|
</div>
|
|
|
<div class="pull-left">
|
|
|
<button id="J_syncGoodsSingleBtn" type="button"
|
|
|
class="btn btn-info">
|
|
|
<b class="glyphicon glyphicon-cloud-download"></b> 同步
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="clearfix mt_20">
|
|
|
<div class="pull-left mr_5">
|
|
|
<label class="control-label mr_15" for="selectbasic"><h4>全量商品同步:</h4></label>
|
|
|
</div>
|
|
|
<div class="mb_10 form-inline">
|
|
|
<button id="J_syncGoodsAllBtn" name="singlebutton" class="btn btn-warning">
|
|
|
<i class="fa fa-cloud-download fa-fw fa-lg"></i> 全店商品重新同步
|
|
|
</button>
|
|
|
</div>
|
|
|
<div>
|
|
|
<h5>
|
|
|
<p>温馨提示:</p>
|
|
|
<p>1、软件会自动增量同步商品。如有发现自动同步不及时或很多遗漏,才需手动全量同步。</p>
|
|
|
<p>
|
|
|
2、全量同步需花费较长时间,<span class="red">就算退出本软件,不影响商品同步,</span>请放心。
|
|
|
</p>
|
|
|
</h5>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php }?>
|
|
|
|
|
|
<?php if ($showOrderRsync) {?>
|
|
|
<div id="J_manualRsyncOrderData" class="tab-pane" role="tabpanel">
|
|
|
<div class="mb_5 mt_5 ft_14"><b>手动同步订单:</b></div>
|
|
|
<div class="form-group mr_5">
|
|
|
<?php echo ZcHtml::dropDownList('authMallIds', $mallId, $multiShopOptions, ['class' => 'form-control span2', 'id' => 'J_syncMallId']); ?>
|
|
|
</div>
|
|
|
<div class="form-group mr_5">
|
|
|
<input class="form-control" id="J_manualRsyncOrderSingleKeyword" name="keyword" value="" placeholder="多个订单号请用逗号分隔" style="width: 300px;">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button id="J_manualRsyncOrderSingleBtn" type="button" class="btn btn-info"><b class="fa fa-cloud-download fa-fw"></b>同步</button>
|
|
|
</div>
|
|
|
<hr class="wide mb_10">
|
|
|
<div class="clearfix">
|
|
|
<div class="mb_5 mt_5 ft_14"><b>全量订单同步:</b></div>
|
|
|
<div class="mb_10">
|
|
|
<div class="form-group m-r J_manualRsyncOrderOption">
|
|
|
<div class="input-group ft_12">
|
|
|
<div class="input-group-addon">订单同步天数</div>
|
|
|
<?php echo ZcHtml::dropDownList('manualRsyncOrderDate', $opSetting['rsync_order_date'], $rsyncOrderDateList, array('id' => 'J_manualRsyncOrderDate', 'class' => 'form-control m-r-xs w90'))?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<button id="J_manualRsyncFullOrderBtn" class="btn btn-warning">
|
|
|
<i class="fa fa-cloud-download fa-fw fa-lg"></i> 开始同步订单
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="J_manualRsyncFulfillmentOrderData" class="tab-pane" role="tabpanel">
|
|
|
<div class="mb_5 mt_5 ft_14"><b>手动同步订单:</b></div>
|
|
|
<div class="form-group mr_5">
|
|
|
<?php echo ZcHtml::dropDownList('authMallIds', $mallId, $multiShopOptions, ['class' => 'form-control span2', 'id' => 'J_syncMallId']); ?>
|
|
|
</div>
|
|
|
<div class="form-group mr_5">
|
|
|
<input class="form-control" id="J_manualRsyncFulfillmentOrderSingleKeyword" name="keyword" value="" placeholder="多个订单号请用逗号分隔" style="width: 300px;">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button id="J_manualRsyncFulfillmentOrderSingleBtn" type="button" class="btn btn-info"><b class="fa fa-cloud-download fa-fw"></b>同步</button>
|
|
|
</div>
|
|
|
<hr class="wide mb_10">
|
|
|
<div class="clearfix">
|
|
|
<div class="mb_5 mt_5 ft_14"><b>全量订单同步:</b></div>
|
|
|
<div class="mb_10">
|
|
|
<div class="form-group m-r J_manualRsyncOrderOption">
|
|
|
<div class="input-group ft_12">
|
|
|
<div class="input-group-addon">订单同步天数</div>
|
|
|
<?php echo ZcHtml::dropDownList('manualRsyncOrderDate', $opSetting['rsync_order_date'], $rsyncOrderDateList, array('id' => 'J_manualRsyncOrderDate', 'class' => 'form-control m-r-xs w90'))?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<button id="J_manualRsyncFullFulfillmentOrderBtn" class="btn btn-warning">
|
|
|
<i class="fa fa-cloud-download fa-fw fa-lg"></i> 开始同步订单
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php }?>
|
|
|
|
|
|
<?php if ($isMallRoleFactory) {?>
|
|
|
<div id="J_manualRsyncFdsOrderData" class="tab-pane" role="tabpanel">
|
|
|
<div class="mb_5 mt_5 ft_14"><b>手动同步厂家待打印订单:</b></div>
|
|
|
<div class="form-group mr_5 m-b-md">
|
|
|
<input class="form-control span5" id="J_manualRsyncFdsOrderMallMaskId" name="mallMaskId" value="" placeholder="代打店铺ID" style="width: 330px;">
|
|
|
</div>
|
|
|
<div class="form-group mr_5 m-b-md">
|
|
|
<input class="form-control span5" id="J_manualRsyncFdsOrderOrderMaskSn" name="orderMaskSn" value="" placeholder="代打订单号" style="width: 330px;">
|
|
|
</div>
|
|
|
<div class="form-group" style="display: block;">
|
|
|
<button id="J_manualRsyncFdsOrderSingleBtn" type="button" class="btn btn-info"><b class="fa fa-cloud-download fa-fw"></b>同步</button>
|
|
|
</div>
|
|
|
<hr class="wide mb_10">
|
|
|
<div class="clearfix">
|
|
|
<div class="mb_5 mt_5 ft_14"><b>全量订单同步:</b></div>
|
|
|
<div class="mb_10">
|
|
|
<div class="form-group m-r">
|
|
|
<div class="input-group ft_12">
|
|
|
<div class="input-group-addon">订单同步天数</div>
|
|
|
<?php echo ZcHtml::dropDownList('manualRsyncFdsOrderDays', $opSetting['rsync_fds_order_days'], $rsyncFdsOrderDaysList, array('id' => 'J_manualRsyncFdsOrderDays', 'class' => 'form-control m-r-xs w90'))?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<button id="J_manualRsyncFullFdsOrderBtn" class="btn btn-warning">
|
|
|
<i class="fa fa-cloud-download fa-fw fa-lg"></i> 开始同步订单
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php }?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="modal-footer"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="modal fade" id="J_showOutstorageTipModal" tabindex="-1" role="dialog" aria-hidden="false">
|
|
|
<div class="modal-dialog">
|
|
|
<div class="modal-content form-horizontal">
|
|
|
<div class="modal-header">
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
<h4 class="modal-title text-center">上海订单发货提醒</h4>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
据悉,上海区域物流服务渐趋正常,拼多多平台将逐步恢复对物流赔付规则的要求(具体请留意拼多多平台后续相关公告)。建议各位商家及时沟通确认相关物流公司服务恢复情况,尽快完成订单发货。
|
|
|
</div>
|
|
|
<div class="modal-footer">
|
|
|
<div class="text-center">
|
|
|
<a href="" class="btn btn-info J_redirectUrl">立即发货</a>
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true">关闭</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php echo $_GET['previewBannerKey'] ? ZcHtml::hiddenInput('privewBannerKey', $_GET['previewBannerKey'], array('id' => 'J_privewBannerKey')) : '';?>
|
|
|
|
|
|
<div style="display:none;position:fixed;top:83px;right:2px;z-index:1111;background-color:#fff;box-shadow:1px 0 10px 1px rgba(0,0,0,.3);-webkit-box-shadow:1px 0 10px 1px rgba(0,0,0,.3);-moz-box-shadow:1px 0 10px 1px rgba(0,0,0,.3);padding:8px;" id="J_rsyncOrderResultFixedPanel">
|
|
|
<div>
|
|
|
<small class="pull-right">订单同步已完成同步 <span class="J_completed" style="color:#d73d32;font-weight:600;">--</span> 共 <span class="J_total" style="color:#d73d32;font-weight:600;">--</span></small>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<?php echo Zc::W(WidgetConst::commonToppingToolbar);?>
|
|
|
|
|
|
<?php if (CommonTool::isLoadCheckIsSelfMallJs()){ ?>
|
|
|
<?php echo HtmlTool::getStaticCommonFile('biz/check_is_self_mall.js', TsConst::jsGlobal);?>
|
|
|
<?php } ?>
|
|
|
|
|
|
<?php Zc::W(WidgetConst::commonAddLoginIp);?>
|
|
|
<?php Zc::W(WidgetConst::commonDwh);?>
|
|
|
<?php Zc::W(WidgetConst::commonPddIsvPageCode);?>
|
|
|
<?php Zc::W(WidgetConst::commonAppActive);?>
|