stock/create.jsp
stock/list.jsp
stock/read.jsp
stock/update.jsp
WarehouseController.java
WarehouseMapper.xml
This commit is contained in:
sungsu
2024-01-19 18:25:14 +09:00
parent c09b676be6
commit 7a24bd48eb
8 changed files with 16 additions and 15 deletions

View File

@@ -135,9 +135,9 @@
return false;
}
if (quantity < shipment_quantity) {
if (shipment_quantity > quantity) {
alert("출고수가 재고량보다 많을 수 없습니다.");
$("#quantity").focus();
$("#shipment_quantity").focus();
return false;
}

View File

@@ -111,7 +111,7 @@
type : 'post', // 타입 (get, post, put 등등)
url : '/stock/show_modal', // 요청할 서버url
dataType : 'html', // 데이터 타입 (html, xml, json, text 등등)
data : product_id,data,
data : {"product_id" : product_id},data,
success : function(result) { // 결과 성공 콜백함수
$("#search_modal_body").html(result);
searchModalBootStrap.show();

View File

@@ -82,7 +82,7 @@
$("#submitBtn").on("click", function () {
var managerId = $("#managerId").val();
var managerId = $("#manager_id").val();
var name = $("#name").val();
var capacity = $("#capacity").val();
var address = $("#address").val();

View File

@@ -37,7 +37,7 @@
</div>
<input type="text" name="search" id="search" class="form-control"
aria-label="Text input with dropdown button" placeholder="검색어를 입력하세요">
<input class="btn btn-info" type="submit" id="searchBtn" value="검색"/>
<button class="btn btn-info" type="button" id="searchBtn">검색</button>
<!-- 페이징작업용 -->
<input type="hidden" id="searchn1" value="${searchn}">