diff --git a/wms/WriteOff.xlsx b/wms/WriteOff.xlsx index 72bfafda..2cb16743 100644 Binary files a/wms/WriteOff.xlsx and b/wms/WriteOff.xlsx differ diff --git a/wms/rib02-create.php b/wms/rib02-create.php index 3a77e4d9..7cc5dd20 100644 --- a/wms/rib02-create.php +++ b/wms/rib02-create.php @@ -3,6 +3,7 @@ include "./header.php"; $rib_id = isset($_GET['id']) ? $_GET['id'] : null; $BillNo = isset($_GET['BillNo']) ? $_GET['BillNo'] : null; +$CurrId = isset($_GET['CurrId']) ? $_GET['CurrId'] : null; $sql_rib = ""; if (empty($rib_id)) { $sql_rib = "SELECT * FROM rib WHERE BillNo = '$BillNo' && CurrentState=0"; @@ -97,9 +98,6 @@ $sql_department = "SELECT DeptId,DeptName FROM comDepartment WHERE DeptId!='0001 $deptype = $conn->query($sql_department); -//取得幣別 -$CurrId = $_GET['CurrId']; - //取得計量單位 $sql_unit = "SELECT * FROM unit"; $unit_query = mysqli_query($link, $sql_unit); @@ -286,7 +284,7 @@ $materials = $conn->query($sql_Material);