diff --git a/src/main/resources/templates/pages/applicationForStorageCenter/application-out.html b/src/main/resources/templates/pages/applicationForStorageCenter/application-out.html
index 6aa2f3e2..65d54623 100644
--- a/src/main/resources/templates/pages/applicationForStorageCenter/application-out.html
+++ b/src/main/resources/templates/pages/applicationForStorageCenter/application-out.html
@@ -262,7 +262,8 @@
@@ -578,8 +579,8 @@
});
};
- $("#openCompanyAdminorg").on('click',selectPost);
- $("#openCompanyAdminorgForGroup").on('click',selectPost);
+ $("#openCompanyAdminorg").on('click', selectPost);
+ $("#openCompanyAdminorgForGroup").on('click', selectPost);
// 提交(物料出库)
form.on('submit(formStep)', function (data) {
@@ -609,7 +610,7 @@
}
data.params = remove(data.params, Number(keyNumber));
}
- /*$.ajax({
+ $.ajax({
url: "/depositoryRecord/applicationOut",
type: 'post',
dataType: 'json',
@@ -637,9 +638,9 @@
complete: function () {
layer.close(this.layerIndex);
}
- });*/
+ });
}
- console.log(data)
+
return false;
});
@@ -671,8 +672,7 @@
}
data.params = remove(data.params, Number(keyNumber));
}
- console.log(data)
- /*$.ajax({
+ $.ajax({
url: "/group/applicationOutForGroup",
type: 'post',
dataType: 'json',
@@ -698,7 +698,7 @@
complete: function () {
layer.close(this.layerIndex);
}
- });*/
+ });
}
});
@@ -710,19 +710,19 @@
let id = data.elem.id;
if (isAgency) {
// 如果开启了代领功能
- $("#agencyItem"+ id).show();
+ $("#agencyItem" + id).show();
// 添加必填
- $("#agencyUid"+ id).attr("lay-verify", "required");
+ $("#agencyUid" + id).attr("lay-verify", "required");
- $("#openCompanyAdminorg"+ id).off("click");
+ $("#openCompanyAdminorg" + id).off("click");
} else {
- $("#agencyItem"+ id).hide();
+ $("#agencyItem" + id).hide();
// 删除必填
- $("#agencyUid"+ id).removeAttr("lay-verify");
+ $("#agencyUid" + id).removeAttr("lay-verify");
- $("#openCompanyAdminorg"+ id).on('click',selectPost);
+ $("#openCompanyAdminorg" + id).on('click', selectPost);
}
});
@@ -1864,7 +1864,6 @@
};
-
selectConstructionUnit = function (obj) {
let id = obj.id;
layer.open({
@@ -1980,7 +1979,7 @@
let id = obj.id;
if (id.indexOf("ForGroup") !== -1) {
id = "ForGroup";
- }else{
+ } else {
id = '';
}
let name = obj.value;