diff --git a/wms/contract/contract-input.php b/wms/contract/contract-input.php index 361ae9ba..e098a317 100644 --- a/wms/contract/contract-input.php +++ b/wms/contract/contract-input.php @@ -13,18 +13,6 @@ $stmt = $conn->prepare($sql_str); $stmt->bindParam(':accounttype',$accounttype); $stmt->execute(); $contractpersons = $stmt->fetchAll(PDO::FETCH_ASSOC); -$accounttype = "B"; -$sql_str = "SELECT accountid, name FROM account WHERE accounttype = :accounttype"; -$stmt = $conn->prepare($sql_str); -$stmt->bindParam(':accounttype',$accounttype); -$stmt->execute(); -$workers = $stmt->fetchAll(PDO::FETCH_ASSOC); -$accounttype = "M"; -$sql_str = "SELECT id,accountid, name FROM account WHERE accounttype = :accounttype"; -$stmt = $conn->prepare($sql_str); -$stmt->bindParam(':accounttype',$accounttype); -$stmt->execute(); -$contractpersons = $stmt->fetchAll(PDO::FETCH_ASSOC); ?> @@ -172,7 +160,7 @@ $contractpersons = $stmt->fetchAll(PDO::FETCH_ASSOC); this.data.numberoffloor = '' this.data.speed = '' this.data.takecertificatedate = '' - this.data.step = 1 + this.step = 1 }, save(){ this.isLoading = true @@ -257,25 +245,6 @@ $contractpersons = $stmt->fetchAll(PDO::FETCH_ASSOC); - - - -