Parcourir la source

修改独立站 不是admin用户不允许进行退货标签清除

lvhao il y a 1 mois
Parent
commit
8009bc098e
2 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 2 0
      core/CoreApp/controllers/Fullorder.php
  2. 1 1
      template/erp/fullorder_edit.html

+ 2 - 0
core/CoreApp/controllers/Fullorder.php

@@ -924,9 +924,11 @@ class Fullorder extends Start_Controller {
 			{
 				$vip = 0;
 			}
+			$this->data['userid'] = $user['id'];
 		}
 		else
 		{
+			$this->data['userid'] = 0;
 			$vip = 0;
 		}
 		$post = $this->input->post(NULL, TRUE);

Fichier diff supprimé car celui-ci est trop grand
+ 1 - 1
template/erp/fullorder_edit.html