You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
184 lines
6.8 KiB
184 lines
6.8 KiB
<?php
|
|
include "header.php";
|
|
?>
|
|
<script>
|
|
$(function () {
|
|
$('#quantity').keyup(function(){ $(this).val($(this).val().replace(/^\D*(\d*(?:\.\d)?).*$/g, '$1')); })
|
|
});
|
|
</script>
|
|
<div class="container">
|
|
<?php
|
|
include "purchase-record-submit.php";
|
|
/*
|
|
if($_SERVER["REQUEST_METHOD"] == "POST"){
|
|
if(empty($_POST["id"]) && empty($_POST["expert_id"]) && empty($_POST["personal_id"])){
|
|
echo "<p class='error'>Please fill up the required field!</p>";
|
|
} else {
|
|
echo "<p class='success'>Record has added successfully</p>";
|
|
}
|
|
}
|
|
*/
|
|
?>
|
|
|
|
<form class="form-inline" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" enctype="multipart/form-data">
|
|
<div>
|
|
<label for="accountid">申請單號</label>
|
|
<input type="text" name="accountid" id="accountid" value="202303001" readonly>
|
|
</div>
|
|
<div>
|
|
<label for="facilityno">作成單位</label>
|
|
<input type="text" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">作成者</label>
|
|
<input type="text" name="creater" id="creater" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">收文單位</label>
|
|
<input type="text" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">回答期限</label><br>
|
|
<input type="date" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">項目名稱</label>
|
|
<input type="text" name="facilityno" id="facilityno" size="60" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">年度議價件</label>
|
|
<input type="text" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">緊急件</label>
|
|
<select name="process" id="process" required>
|
|
<option value="Y">是</option>
|
|
<option value="N">否</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">指定廠商</label>
|
|
<input type="text" name="facilityno" id="facilityno">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">現場勘查</label>
|
|
<select name="process" id="process" required>
|
|
<option value="Y">是</option>
|
|
<option value="N">否</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">項目名稱</label>
|
|
<input type="text" name="facilityno" id="facilityno" size="60">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">類別</label>
|
|
<select name="process" id="process" required>
|
|
<option value="1">治具類</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">原廠或原代理商</label>
|
|
<select name="process" id="process" required>
|
|
<option value="Y">是</option>
|
|
<option value="N">否</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">理由</label>
|
|
<input type="text" name="facilityno" id="facilityno" size="60">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">品牌</label>
|
|
<input type="text" name="facilityno" id="facilityno">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">型號</label>
|
|
<input type="text" name="facilityno" id="facilityno">
|
|
</div>
|
|
<div>
|
|
<label for="quantity">預估數量</label>
|
|
<input type="text" name="quantity" id="quantity" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">備選品牌</label>
|
|
<input type="text" name="facilityno" id="facilityno" size="60">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">付款方式(每家廠商需一致)</label>
|
|
<input type="text" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">交期/施工期(天)</label>
|
|
<input type="text" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">質保金</label>
|
|
<select name="process" id="process" required>
|
|
<option value="Y">是</option>
|
|
<option value="N">否</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">質保期限(天)</label>
|
|
<input type="text" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">驗收標準</label>
|
|
<input type="text" name="facilityno" id="facilityno" size="60" required>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">歷史購買記錄</label>
|
|
<input type="text" name="facilityno" id="facilityno">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">附件</label>
|
|
<input type="text" name="facilityno" id="facilityno" size="30">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">附件</label>
|
|
<input type="text" name="facilityno" id="facilityno" size="30">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">項目描述</label>
|
|
<input type="text" name="facilityno" id="facilityno" size="80">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">設備維修單號</label>
|
|
<input type="text" name="facilityno" id="facilityno">
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">類別</label>
|
|
<select name="process" id="process" required>
|
|
<option value="1">治具類</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">內容</label><br>
|
|
<textarea class="form-control2" name="content" id="content" rows="4" cols="100" ></textarea>
|
|
</div>
|
|
<div>
|
|
<label for="issue_time">採購報價單</label>
|
|
<input type="text" name="facilityno" id="facilityno" readonly>
|
|
</div>
|
|
|
|
<div>
|
|
<!-- <label for="create_at">create_at</label> -->
|
|
<input type="hidden" name="create_at" id="create_at">
|
|
<p class="error"><?php echo $create_at_error; ?></p>
|
|
</div>
|
|
<div class="bottom-margin">
|
|
<label for="fileToUpload">上傳檔案</label>
|
|
<div>
|
|
<input type="file" name="fileToUpload" id="fileToUpload">
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<br>
|
|
<button type="submit" name="submit">確定</button>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
|
|
<?php include "footer.php"; ?>
|