baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)

This commit is contained in:
Gaussian committed 2026-11-06 18:38:38 +08:00
commit c2b0e7be0d
6522 files changed
+3530643

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
export default {
globalReturnType:new Map(),
globalData: {
requestUrl: '', //http://localhost:8300
printUrl: '' //打印服务器地址
},
setGlobalObj(data) {
//设置服务器变量
this.globalData = Object.assign({}, this.globalData, data);
//缓存数据
uni.setStorage({
key: 'RequestUrl',
data: data.requestUrl
});
uni.setStorage({
key: 'PrintUrl',
data: data.printUrl
});
},
getReturnType(url){
if (url) {
return this.globalReturnType.get(url);
}
},
setReturnType(url, returnType) {
if (url && returnType) {
this.globalReturnType.set(url, returnType);
}
},
deleteReturnType(url) {
if (url) {
this.globalReturnType.delete(url);
}
},
}