优化单据中的仓库信息
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
currentPage: 1,
|
||||
pageSize: 100
|
||||
}),
|
||||
async: false,
|
||||
async: false, //设置为同步
|
||||
success: function (res) {
|
||||
if (res && res.code === 200) {
|
||||
if(res.data && res.data.page) {
|
||||
@@ -152,6 +152,26 @@
|
||||
return info;
|
||||
}
|
||||
|
||||
//初始化系统基础信息
|
||||
function getSystemDepot(){
|
||||
var depotList = null;
|
||||
$.ajax({
|
||||
type:"get",
|
||||
url: "/depot/getAllList",
|
||||
async:false, //设置为同步
|
||||
dataType: "json",
|
||||
success: function (res) {
|
||||
if(res && res.code === 200) {
|
||||
depotList = res.data;
|
||||
} else {
|
||||
$.messager.alert('提示', '查找系统基础信息异常,请与管理员联系!', 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
return depotList;
|
||||
}
|
||||
|
||||
/**
|
||||
* js生成唯一ID值 32位值随机值
|
||||
* @returns 生成的字符串
|
||||
|
||||
Reference in New Issue
Block a user