mirror of
https://github.com/suhf/No1WMS.git
synced 2026-02-04 12:13:24 +09:00
#수정
This commit is contained in:
17
src/main/webapp/WEB-INF/views/vendor/create.jsp
vendored
17
src/main/webapp/WEB-INF/views/vendor/create.jsp
vendored
@@ -126,7 +126,7 @@
|
|||||||
|
|
||||||
|
|
||||||
$("#submitBtn").on("click", function () {
|
$("#submitBtn").on("click", function () {
|
||||||
var managerId = $("#manager_id").val();
|
var manager_id = $("#manager_id").val();
|
||||||
|
|
||||||
var name = $("#name").val();
|
var name = $("#name").val();
|
||||||
var president_name = $("#president_name").val();
|
var president_name = $("#president_name").val();
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
$("#name").focus();
|
$("#name").focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!presidentName) {
|
if (!president_name) {
|
||||||
alert("대표자명을 입력해야 합니다.");
|
alert("대표자명을 입력해야 합니다.");
|
||||||
$("#president_name").focus();
|
$("#president_name").focus();
|
||||||
return false;
|
return false;
|
||||||
@@ -156,7 +156,7 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!registrationNumber) {
|
if (!registration_number) {
|
||||||
alert("사업자등록번호를 입력해야 합니다.");
|
alert("사업자등록번호를 입력해야 합니다.");
|
||||||
$("#registration_number").focus();
|
$("#registration_number").focus();
|
||||||
return false;
|
return false;
|
||||||
@@ -168,25 +168,25 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!presidentTelephone) {
|
if (!president_telephone) {
|
||||||
alert("대표번호를 입력해야 합니다.");
|
alert("대표번호를 입력해야 합니다.");
|
||||||
$("#president_telephone").focus();
|
$("#president_telephone").focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!vendorManager) {
|
if (!vendor_manager) {
|
||||||
alert("거래처 담당자 이름을 입력해야 합니다.");
|
alert("거래처 담당자 이름을 입력해야 합니다.");
|
||||||
$("#vendor_manager").focus();
|
$("#vendor_manager").focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!vendorManagerTelephone) {
|
if (!vendor_manager_telephone) {
|
||||||
alert("거래처 담당자 연락 번호를 입력해야 합니다.");
|
alert("거래처 담당자 연락 번호를 입력해야 합니다.");
|
||||||
$("#vendor_manager_telephone").focus();
|
$("#vendor_manager_telephone").focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mainProduct) {
|
if (!main_product) {
|
||||||
alert("주요품목을 입력해야 합니다.");
|
alert("주요품목을 입력해야 합니다.");
|
||||||
$("#main_product").focus();
|
$("#main_product").focus();
|
||||||
return false;
|
return false;
|
||||||
@@ -196,8 +196,6 @@
|
|||||||
url: "/vendor/create_process",
|
url: "/vendor/create_process",
|
||||||
type: "post",
|
type: "post",
|
||||||
data: {
|
data: {
|
||||||
"manager_id": manager_id,
|
|
||||||
|
|
||||||
"name": name,
|
"name": name,
|
||||||
"president_name": president_name,
|
"president_name": president_name,
|
||||||
"address": address,
|
"address": address,
|
||||||
@@ -207,6 +205,7 @@
|
|||||||
"vendor_manager": vendor_manager,
|
"vendor_manager": vendor_manager,
|
||||||
"vendor_manager_telephone": vendor_manager_telephone,
|
"vendor_manager_telephone": vendor_manager_telephone,
|
||||||
"main_product": main_product,
|
"main_product": main_product,
|
||||||
|
"manager_id": manager_id,
|
||||||
"activation" : activation
|
"activation" : activation
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user