Merge branch 'master' of https://gitee.com/tearn/JSH_ERP
# Conflicts: # src/main/java/com/jsh/erp/service/app/AppService.java # src/main/java/com/jsh/erp/service/userBusiness/UserBusinessService.java
This commit is contained in:
@@ -486,8 +486,11 @@
|
||||
{
|
||||
$.ajax({
|
||||
type:"post",
|
||||
url: "/accountHead/" + accountHeadID + "/delete",
|
||||
url: "/accountHead/batchDeleteAccountHeadByIds",
|
||||
dataType: "json",
|
||||
data:{
|
||||
ids: accountHeadID
|
||||
},
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -576,7 +579,7 @@
|
||||
//批量删除
|
||||
$.ajax({
|
||||
type:"post",
|
||||
url: "/accountHead/batchDelete",
|
||||
url: "/accountHead/batchDeleteAccountHeadByIds",
|
||||
dataType: "json",
|
||||
async : false,
|
||||
data: ({
|
||||
|
||||
@@ -170,8 +170,11 @@
|
||||
var supplierTotalInfo = supplierInfo.split("AaBb");
|
||||
$.ajax({
|
||||
type:"post",
|
||||
url: "/supplier/" + supplierTotalInfo[0] + "/delete",
|
||||
url: "/supplier/batchDeleteSupplierByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids : supplierTotalInfo[0]
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -210,7 +213,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type:"post",
|
||||
url: "/supplier/batchDelete",
|
||||
url: "/supplier/batchDeleteSupplierByIds",
|
||||
dataType: "json",
|
||||
async : false,
|
||||
data: ({
|
||||
|
||||
@@ -225,8 +225,11 @@
|
||||
var accountTotalInfo = accountInfo.split("AaBb");
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/account/" + accountTotalInfo[0] + "/delete",
|
||||
url: "/account/batchDeleteAccountByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: accountTotalInfo[0]
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -264,7 +267,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/account/batchDelete",
|
||||
url: "/account/batchDeleteAccountByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -270,8 +270,11 @@
|
||||
if (r) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/app/" + appID + "/delete",
|
||||
url: "/app/batchDeleteAppByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: appID
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -309,7 +312,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/app/batchDelete",
|
||||
url: "/app/batchDeleteAppByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -255,8 +255,11 @@
|
||||
if (r) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/depot/" + depotID + "/delete",
|
||||
url: "/depot/batchDeleteDepotByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: depotID
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -294,7 +297,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/depot/batchDelete",
|
||||
url: "/depot/batchDeleteDepotByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -268,8 +268,11 @@
|
||||
if (r) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/functions/" + functionsID + "/delete",
|
||||
url: "/functions/batchDeleteFunctionsByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: functionsID
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -307,7 +310,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/functions/batchDelete",
|
||||
url: "/functions/batchDeleteFunctionsByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -225,8 +225,11 @@
|
||||
var inOutItemTotalInfo = inOutItemInfo.split("AaBb");
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/inOutItem/" + inOutItemTotalInfo[0] + "/delete",
|
||||
url: "/inOutItem/batchDeleteInOutItemByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: inOutItemTotalInfo[0]
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -264,7 +267,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/inOutItem/batchDelete",
|
||||
url: "/inOutItem/batchDeleteInOutItemByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -203,8 +203,11 @@
|
||||
if (r) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/role/" + roleID + "/delete",
|
||||
url: "/role/batchDeleteRoleByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: roleID,
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -242,7 +245,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/role/batchDelete",
|
||||
url: "/role/batchDeleteRoleByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -192,8 +192,11 @@
|
||||
if (r) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/systemConfig/" + systemConfigId + "/delete",
|
||||
url: "/systemConfig/batchDeleteSystemConfigByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: systemConfigId
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -235,7 +238,7 @@
|
||||
} else {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/systemConfig/batchDelete",
|
||||
url: "/systemConfig/batchDeleteSystemConfigByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -197,8 +197,11 @@
|
||||
if (r) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/unit/" + unitID + "/delete",
|
||||
url: "/unit/batchDeleteUnitByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: unitID
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -237,7 +240,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/unit/batchDelete",
|
||||
url: "/unit/batchDeleteUnitByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -771,8 +771,11 @@
|
||||
if (r) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/material/" + materialID + "/delete",
|
||||
url: "/material/batchDeleteMaterialByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: materialID
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -811,7 +814,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/material/batchDelete",
|
||||
url: "/material/batchDeleteMaterialByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
@@ -249,8 +249,11 @@
|
||||
if (r) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/person/" + personID + "/delete",
|
||||
url: "/person/batchDeletePersonByIds",
|
||||
dataType: "json",
|
||||
data: ({
|
||||
ids: personID
|
||||
}),
|
||||
success: function (res) {
|
||||
if(res && res.code == 200) {
|
||||
$("#searchBtn").click();
|
||||
@@ -289,7 +292,7 @@
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/person/batchDelete",
|
||||
url: "/person/batchDeletePersonByIds",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
data: ({
|
||||
|
||||
Reference in New Issue
Block a user