You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pdd-order-api/app/views/widget/goods/batch_goods_btn.php

47 lines
3.1 KiB
PHP

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
$allowFastModeBatchTypeArr = CommonTool::getAllowFastModeBatchTypeArr();
$defaultFastModeBatchTypeArr = CommonTool::getDefaultFastModeBatchTypeArr();
$allowPlanModeBatchTypeArr = CommonTool::getAllowPlanModeBatchTypeArr();
?>
<div class="form-group">
<div class="col-md-10 mt_10 col-md-push-2">
<button type="button" class="btn btn-success btn-md" id="J_goodsBatchFilterBtn">预览修改效果</button>
<span id="J_tipPreviewModify" class="hide throw-num-tip"><i class="mticon"></i><b></b>请先预览修改结果</span>
<button type="button" class="btn btn-success btn-md hide" id="J_goodsBatchSaveBtn" style="margin-left: 20px;">开始批量修改</button>
<div class="inline m-l-md m-b-sm J_batchIsFastMode">
<label class="checkbox-inline" data-toggle="tooltip" data-container="body" data-title="极速模式批量修改速度将会更快2-3倍但不支持一键恢复还原如果没有恢复的需要追求更快修改速度可以勾上。" style="margin-bottom: 0px;">
<input type="checkbox" id="J_isFastMode" name="isFastMode" value="1" <?php echo in_array($batchType, $defaultFastModeBatchTypeArr) ? 'checked' : '';?>>极速模式
</label>
</div>
<?php if ($batchType == BatchConst::batchTypeAcrossCateAttr) {?>
<div class="ml_5 inline red hide" id="J_goodsBatchSaveBtnTip"> 如果二、三级属性为必填属性项未填写,系统将随机默认选择一个属性。</div>
<?php } ?>
<?php if (!in_array($batchType, array(BatchConst::batchTypeStock, BatchConst::batchTypeIsOnsale, BatchConst::batchTypeGoodsDelete, BatchConst::batchTypeCps))) {?>
<div class="mt_5 red">注意:批量修改成功,拼多多审核后会上架。请谨慎修改待售的商品!!!</div>
<?php }?>
<div style="display:none;" class="J_batchIsPlanMode">
<label data-toggle="tooltip" data-title="设定任务时间后到点自动执行" style="margin-bottom: 0px;margin-left: 20px;">
<input type="checkbox" id="J_isPlanMode" name="isPlanMode" value="1">&nbsp;定时执行
</label>
<div style="display: none;" class="J_setPlanModeTime">
<div class="inline ml_20">
<b>执行时间:&nbsp;</b>
</div>
<div class="col-md-3 inline input-group" style="width:210px;">
<?php
echo ZcHtml::input('text', 'gmtPlan', '', array('class' => 'form-control inline J_planModeDatetimePicker', 'readonly' => true, 'style' => 'width:165px;height:30px;line-height:30px;'));
?>
<span class="input-group-btn input-append">
<button type="button" class="btn btn-default J_clearPlanModeTime" data-toggle="tooltip" title="清空时间" style="height:30px;">
<span class="glyphicon glyphicon-remove"></span>
</button>
</span>
</div>
</div>
</div>
<input type="hidden" id="J_allowFastModeBatchTypeJson" value="<?php echo htmlentities(json_encode($allowFastModeBatchTypeArr));?>" />
<input type="hidden" id="J_allowPlanModeBatchTypeJson" value="<?php echo htmlentities(json_encode($allowPlanModeBatchTypeArr));?>" />
</div>
</div>