|
@@ -170,7 +170,7 @@
|
|
|
<td class="align-center w200">
|
|
|
<a href="index.php?act=merchant&op=OrderStatsReload&stat_id=<?php echo $v['stat_id'];?>">重新统计</a>
|
|
|
|<a href="index.php?act=merchant&op=OrderStatsCheck&stat_id=<?php echo $v['stat_id'] ?>">编辑</a>
|
|
|
- <a href="#" class="examine">11</a>
|
|
|
+ <!-- <a href="#" class="examine">11</a> -->
|
|
|
</td>
|
|
|
</tr>
|
|
|
<?php } ?>
|
|
@@ -191,6 +191,12 @@
|
|
|
</table>
|
|
|
</form>
|
|
|
</div>
|
|
|
+<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
|
|
|
+<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/jquery-ui/jquery.ui.js"></script>
|
|
|
+<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/ajaxfileupload/ajaxfileupload.js"></script>
|
|
|
+<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/jquery.Jcrop/jquery.Jcrop.js"></script>
|
|
|
+<link href="<?php echo RESOURCE_SITE_URL; ?>/js/jquery.Jcrop/jquery.Jcrop.min.css" rel="stylesheet" type="text/css"
|
|
|
+ id="cssfile2"/>
|
|
|
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/jquery.edit.js" charset="utf-8"></script>
|
|
|
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/laydate/laydate.js"></script>
|
|
|
<script type="text/javascript" src="<?php echo ADMIN_TEMPLATES_URL;?>/layui/layui.js"></script>
|
|
@@ -346,67 +352,72 @@
|
|
|
area: ['900px', '500px'],
|
|
|
shadeClose: true, //点击遮罩关闭
|
|
|
content: `<form id="user_form" enctype="multipart/form-data" method="post">
|
|
|
- <input type="hidden" name="form_submit" value="ok"/>
|
|
|
- <input type="hidden" name="stat_id" value="<?php echo $_GET['stat_id'];?>"/>
|
|
|
- <table class="table tb-type2">
|
|
|
- <tbody>
|
|
|
- <tr class="noborder">
|
|
|
- <td colspan="2" class="required"><label class="validation" for="corder_success_count"><?php echo $output['stats_type'];?>成功订单数量:</label></td>
|
|
|
- </tr>
|
|
|
- <tr class="noborder">
|
|
|
- <td class="vatop rowform"><input type="text" value="" name="corder_success_count" id="corder_success_count" class="txt"></td>
|
|
|
- <td class="vatop tips"></td>
|
|
|
- </tr>
|
|
|
- <tr class="noborder">
|
|
|
- <td colspan="2" class="required"><label class="validation" for="name"><?php echo $output['stats_type'];?>成功订单金额:</label></td>
|
|
|
- </tr>
|
|
|
- <tr class="noborder">
|
|
|
- <td class="vatop rowform"><input type="text" value="" name="corder_success_amounts" id="corder_success_amounts" class="txt"></td>
|
|
|
- <td class="vatop tips"></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="2" class="required"><label>备注信息:</label></td>
|
|
|
- </tr>
|
|
|
- <tr class="noborder">
|
|
|
- <td class="vatop rowform"><textarea name="remark" rows="6" class="tarea"></textarea></td>
|
|
|
- <td class="vatop tips"></td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- <tfoot>
|
|
|
- <tr class="tfoot">
|
|
|
- <td colspan="15"><a href="JavaScript:void(0);" class="btn" id="submitBtn"><span><?php echo $lang['nc_submit']; ?></span></a></td>
|
|
|
- </tr>
|
|
|
- </tfoot>
|
|
|
- </table>
|
|
|
- </form>`,
|
|
|
- $("#submitBtn").click(function () {
|
|
|
- if ($("#user_form").valid()) {
|
|
|
- $("#user_form").submit();
|
|
|
- }
|
|
|
- });
|
|
|
- $('#user_form').validate({
|
|
|
- errorPlacement: function (error, element) {
|
|
|
- error.appendTo(element.parent().parent().prev().find('td:first'));
|
|
|
- },
|
|
|
- rules: {
|
|
|
- corder_success_count: {
|
|
|
- required: true,
|
|
|
- },
|
|
|
- corder_success_amounts: {
|
|
|
- required: true,
|
|
|
- },
|
|
|
- },
|
|
|
- messages: {
|
|
|
- corder_success_count: {
|
|
|
- required: '不能为空',
|
|
|
- },
|
|
|
- corder_success_amounts: {
|
|
|
- required: '不能为空',
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
+ <input type="hidden" name="form_submit" value="ok"/>
|
|
|
+ <input type="hidden" name="stat_id" value="<?php echo $_GET['stat_id'];?>"/>
|
|
|
+ <table class="table tb-type2">
|
|
|
+ <tbody>
|
|
|
+ <tr class="noborder">
|
|
|
+ <td colspan="2" class="required"><label class="validation" for="corder_success_count"><?php echo $output['stats_type'];?>成功订单数量:</label></td>
|
|
|
+ </tr>
|
|
|
+ <tr class="noborder">
|
|
|
+ <td class="vatop rowform"><input type="text" value="" name="corder_success_count" id="corder_success_count" class="txt"></td>
|
|
|
+ <td class="vatop tips"></td>
|
|
|
+ </tr>
|
|
|
+ <tr class="noborder">
|
|
|
+ <td colspan="2" class="required"><label class="validation" for="name"><?php echo $output['stats_type'];?>成功订单金额:</label></td>
|
|
|
+ </tr>
|
|
|
+ <tr class="noborder">
|
|
|
+ <td class="vatop rowform"><input type="text" value="" name="corder_success_amounts" id="corder_success_amounts" class="txt"></td>
|
|
|
+ <td class="vatop tips"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="2" class="required"><label>备注信息:</label></td>
|
|
|
+ </tr>
|
|
|
+ <tr class="noborder">
|
|
|
+ <td class="vatop rowform"><textarea name="remark" rows="6" class="tarea"></textarea></td>
|
|
|
+ <td class="vatop tips"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ <tfoot>
|
|
|
+ <tr class="tfoot">
|
|
|
+ <td colspan="15"><a href="JavaScript:void(0);" class="btn" id="submitBtn"><span><?php echo $lang['nc_submit']; ?></span></a></td>
|
|
|
+ </tr>
|
|
|
+ </tfoot>
|
|
|
+ </table>
|
|
|
+ </form>`,
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ //按钮先执行验证再提交表单
|
|
|
+ $("#submitBtn").click(function () {
|
|
|
+ if ($("#user_form").valid()) {
|
|
|
+ $("#user_form").submit();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ $('#user_form').validate({
|
|
|
+ errorPlacement: function (error, element) {
|
|
|
+ error.appendTo(element.parent().parent().prev().find(td:first));
|
|
|
+ },
|
|
|
+ rules: {
|
|
|
+ corder_success_count: {
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
+ corder_success_amounts: {
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ messages: {
|
|
|
+ corder_success_count: {
|
|
|
+ required: '不能为空',
|
|
|
+ },
|
|
|
+ corder_success_amounts: {
|
|
|
+ required: '不能为空',
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
});
|
|
|
-
|
|
|
|
|
|
});
|
|
|
});
|