ソースを参照

添加消息模板的状态

lvhao 2 週間 前
コミット
9a0ca85f0a
2 ファイル変更11 行追加0 行削除
  1. 4 0
      core/CoreApp/controllers/Notice.php
  2. 7 0
      template/erp/notice.html

+ 4 - 0
core/CoreApp/controllers/Notice.php

@@ -82,11 +82,15 @@ class Notice extends Start_Controller {
 			$ordertatus = $this->input->post('ordertatus',true);
 			$arg = $this->input->post('arg',true);
 			$logisticstatus = $this->input->post('logisticstatus',true);
+			$state = $this->input->post('state',true);
 			$where = "1=1 and (".rtrim($fgshop,'or').")";
 			if($shop)
             {
                 $where  .= " and shop = '$shop'";
             }
+			if($state){
+				$where  .= " and state = '$state'";
+			}
 			if($type)
             {
                 $where  .= " and type = '$type'";

+ 7 - 0
template/erp/notice.html

@@ -24,6 +24,13 @@
 <option value="6">已签收</option>
 <option value="1">派送异常</option>
 </select></li>
+
+<li>使用状态:<select name="state" class="select">
+    <option value="">请选择</option>
+    <option value="1">启用</option>
+    <option value="2">未启用</option>
+    </select></li>
+
 <input id="arg" name="arg" type="hidden" value="{$arg}">
 <li><span>确 定</span></li>
 </ul>