lvhao 5 ماه پیش
والد
کامیت
0db2800df2
2فایلهای تغییر یافته به همراه10 افزوده شده و 2 حذف شده
  1. 7 1
      core/CoreApp/controllers/Typeclass.php
  2. 3 1
      template/erp/typeclass.html

+ 7 - 1
core/CoreApp/controllers/Typeclass.php

@@ -120,7 +120,7 @@ class Typeclass extends Start_Controller {
                 $start = ($page - 1)*$perpage;
             }
             //取得信息列表
-            $info_list = $this->typeclass->find_all($where,'id,classtitle,title,spare,bqsku,jm,zh,yzh,content,bm,hq,sequence,time',$order_str,$start,$perpage);
+            $info_list = $this->typeclass->find_all($where,'id,classtitle,title,spare,bqsku,jm,zh,yzh,content,bm,hq,is_check,sequence,time',$order_str,$start,$perpage);
 			foreach ($info_list as $key=>$value) 
 		    {
 				$u = $this->typeclass->read($value['id']);
@@ -137,6 +137,12 @@ class Typeclass extends Start_Controller {
 				{
 					$info_list[$key]['hq'] = "";
 				}
+				if($value['is_check'] == 0){
+					$info_list[$key]['is_check'] = "否";
+				}else
+				{
+					$info_list[$key]['is_check'] = "是";
+				}
 				$info_list[$key]['time'] = date('Y-m-d H:i',$value['time']);
 			}
 		    $total = $this->typeclass->find_count($where);

+ 3 - 1
template/erp/typeclass.html

@@ -38,6 +38,7 @@
 <td>备注</td>
 <td>编码</td>
 <td>获取</td>
+<td>订单核对</td>
 <td>排序</td>
 <td>添加时间</td>
 </tr>
@@ -72,7 +73,8 @@ $(this).find('td:eq(6)').css("width","10%");
 $(this).find('td:eq(7)').css("width","10%");
 $(this).find('td:eq(9)').css("width","3%");
 $(this).find('td:eq(10)').css("width","3%");
-$(this).find('td:eq(11)').css("width","5%");
+$(this).find('td:eq(11)').css("width","3%");
+$(this).find('td:eq(12)').css("width","5%");
 });}
 $(".tphq").click(function() {
 	var a = "";