国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shops_operations.htm 7.4KB

пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 6 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>订单管理</title>
  6. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. <style>
  10. .table td,.table th{border-top:0}
  11. </style>
  12. <script src="js/main.js" language="javascript"></script>
  13. <script language="javascript">
  14. //获得选中项
  15. function getCheckboxItem() {
  16. var allSel = "";
  17. if (document.form1.aids.value) return document.form1.aids.value;
  18. for (i = 0; i < document.form1.aids.length; i++) {
  19. if (document.form1.aids[i].checked) {
  20. if (allSel == "")
  21. allSel = document.form1.aids[i].value;
  22. else
  23. allSel = allSel + "`" + document.form1.aids[i].value;
  24. }
  25. }
  26. return allSel;
  27. }
  28. function ReSel() {
  29. for (i = 0; i < document.form1.aids.length; i++) {
  30. if (document.form1.aids[i].checked) document.form1.aids[i].checked = false;
  31. else document.form1.aids[i].checked = true;
  32. }
  33. }
  34. function DelSel() {
  35. var nid = getCheckboxItem();
  36. if (nid == "") {
  37. alert("请选择要删除的业务记录");
  38. return;
  39. }
  40. location.href = "shops_operations.php?dopost=delete&nid=" + nid;
  41. }
  42. function UpSel() {
  43. var nid = getCheckboxItem();
  44. if (nid == "") {
  45. alert("请选择要修改的订单记录");
  46. return;
  47. }
  48. location.href = "shops_operations.php?dopost=up&nid=" + nid;
  49. }
  50. function OkSel() {
  51. var nid = getCheckboxItem();
  52. if (nid == "") {
  53. alert("请选择要修改的订单记录");
  54. return;
  55. }
  56. location.href = "shops_operations.php?dopost=ok&nid=" + nid;
  57. }
  58. function PushSel() {
  59. var nid = getCheckboxItem();
  60. if (nid == "") {
  61. alert("请选择要修改的订单记录");
  62. return;
  63. }
  64. location.href = "shops_operations.php?dopost=push&nid=" + nid;
  65. }
  66. function OpenMyWinN(surl, w, h) {
  67. var pos = GetWinPos(w,h);
  68. window.open(surl, "popUpMyWinN", "scrollbars=yes,resizable=yes,statebar=no,width=" + w + ",height=" + h + ",left="+pos.left+", top="+pos.top);
  69. }
  70. </script>
  71. </head>
  72. <body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'>
  73. <form name="form2" method="get" action="shops_operations.php">
  74. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  75. <tr>
  76. <td height="36" bgcolor="#f8f8f8">
  77. <table border="0" cellpadding="0" cellspacing="0">
  78. <tr>
  79. <td>输入订单号:</td>
  80. <td><input name="buyid" type="text" id="buyid" style="margin-right:10px;width:260px"></td>
  81. <td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
  82. </tr>
  83. </table>
  84. </td>
  85. </tr>
  86. </table>
  87. </form>
  88. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered">
  89. <tr>
  90. <td height="26" colspan="11" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif'>
  91. <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  92. <tr>
  93. <td width="30%" style="padding-left:10px">订单列表:</td>
  94. <td width="45%" align="right" style="padding-top:10px">
  95. <button type="button" onClick="location='shops_operations.php?sta=0'" class="btn btn-success btn-sm">未付款</button>
  96. <button type="button" onClick="location='shops_operations.php?sta=1';" class="btn btn-success btn-sm">已付款</button>
  97. <button type="button" onClick="location='shops_operations.php?sta=2';" class="btn btn-success btn-sm">已发货</button>
  98. <button type="button" onClick="location='shops_operations.php?sta=4';" class="btn btn-success btn-sm">已完成</button>
  99. <button type="button" onClick="location='shops_operations.php';" class="btn btn-success btn-sm">全部</button>
  100. </td>
  101. <td width="25%" align="right" style="padding-top:10px">
  102. <button type="button" onClick="location='shops_operations.php';" class="btn btn-success btn-sm">订单管理</button>
  103. </td>
  104. </tr>
  105. </table>
  106. </td>
  107. </tr>
  108. <tr bgcolor="#FBFCE2">
  109. <td width="8%" align="center">选择</td>
  110. <td width="25%" align="center">订单号</td>
  111. <td align="center">收货人</td>
  112. <td align="center">数量</td>
  113. <td width="22%" align="center">生成日期</td>
  114. <td align="center">订单价</td>
  115. <td align="center">配送费</td>
  116. <td align="center">总计</td>
  117. <td align="center">支付方式</td>
  118. <td align="center">状态</td>
  119. <td align="center">用户</td>
  120. </tr>
  121. <form name="form1">
  122. {dede:datalist}
  123. <tr bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  124. <td align="center">
  125. <input type='checkbox' name='aids' value='<?php echo $fields['oid']?>' class='np'></td>
  126. <td align="center">
  127. <?php echo $fields['oid']; ?>
  128. </td>
  129. <td align="center">
  130. <a href="javascript:OpenMyWinN('shops_operations_userinfo.php?oid=<?php echo $fields['oid']?>',800,600);"><?php echo $fields['consignee']?></a>
  131. </td>
  132. <td align="center">
  133. <?php echo $fields['cartcount']?>
  134. <a class="btn btn-success btn-sm" href="javascript:OpenMyWinN('shops_operations_cart.php?oid=<?php echo $fields['oid']?>',800,600);">详情</a>
  135. </td>
  136. <td align="center">
  137. <?php echo GetDateTimeMk($fields['stime'])?>
  138. (<span>{dede:field.stime function="floorTime(time()-@me,@me)"/}</span>)
  139. </td>
  140. <td align="center">
  141. <?php echo $fields['price']?>
  142. </td>
  143. <td align="center">
  144. <?php echo $fields['dprice']?>
  145. </td>
  146. <td align="center">
  147. <?php echo $fields['priceCount']?>
  148. </td>
  149. <td align="center">
  150. <?php echo GetsType($fields['paytype'])?>
  151. </td>
  152. <td align="center">
  153. <?php echo GetSta($fields['state'])?>
  154. </td>
  155. <td align="center">
  156. <?php echo GetMemberID($fields['userid'])?>
  157. </td>
  158. </tr>
  159. {/dede:datalist}
  160. </form>
  161. <tr>
  162. <td height="26" colspan="11" bgcolor="#FCFDF7" style="padding-top:10px">&nbsp;
  163. <button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
  164. <button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除</button>
  165. <button type="button" onClick="UpSel();" class="btn btn-success btn-sm">设为已付款状态</button>
  166. <button type="button" onClick="PushSel();" class="btn btn-success btn-sm">设为已发货状态</button>
  167. <button type="button" onClick="OkSel();" class="btn btn-success btn-sm">设为已完成状态</button>
  168. </td>
  169. </tr>
  170. <tr>
  171. <td height="36" colspan="11" bgcolor="#f8f8f8" align="center">
  172. {dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}
  173. </td>
  174. </tr>
  175. </table>
  176. </body>
  177. </html>