diff --git a/wms/cont/sign_list.php b/wms/cont/sign_list.php index 90c7295b..a1f2ad4d 100644 --- a/wms/cont/sign_list.php +++ b/wms/cont/sign_list.php @@ -43,6 +43,15 @@ $user_department_id = $row[0]; mysqli_free_result($res); if (in_array($user_department_id, $depart_arr) || $user_id == "M0008" || $user_id == "M0012" || $user_id == "M0006") $where = ""; +// 電梯廠牌 +$elevator_brand_arr = []; +$sql = "select code_name ,content from code where field_name='elevator_brand'"; +$res = mysqli_query($link, $sql); +while ($row = mysqli_fetch_row($res)) { + $elevator_brand_arr[$row[0]] = $row[1]; +} +mysqli_free_result($res); + $sql = "SELECT apply_key, vol_no, @@ -112,13 +121,12 @@ if ($data) :