lvhao hace 1 día
padre
commit
7db85fc523
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      core/CoreApp/controllers/Whlabelfz.php

+ 3 - 2
core/CoreApp/controllers/Whlabelfz.php

@@ -542,7 +542,7 @@ class Whlabelfz extends Start_Controller
 				$where  .= " and status = '$status'";
 			}
             //数据排序
-            $order_str = "id asc";
+            $order_str = "id desc";
             if(empty($page))
 		    {
                 $start = 0;
@@ -877,6 +877,7 @@ class Whlabelfz extends Start_Controller
 				'details'=>$info['details'],
 				'cpbz'=>$info['cpbz'],
 				'cpid'=>$cpid,
+				'jm'=>$u9_data[0]['jm'],
 			];
 			$this->whlabellabel->insert($insert_arr);
 			$text = [];
@@ -888,7 +889,7 @@ class Whlabelfz extends Start_Controller
 			}
 			$purchase = $this->purchase->read($info['purchase']);
 			
-			$text['title'] = $info['title'];
+			$text['title'] = $u9_data[0]['jm'];
 			$text['num'] = $info['label'];
 			$text['bqsku'] = $info['sku'];
 			$text['xbqnum'] = $info['dynum'];