Commit 0bb1d608 authored by 黄奎's avatar 黄奎

新增获取供应商登录信息方法

parent 6073b36e
......@@ -465,6 +465,15 @@ export default {
}
},
//获取登录的供应商信息
Vue.prototype.getLocalStorageSupplier = function () {
var localStorageData = window.localStorage["SupplierInfo"];
if (localStorageData !== undefined && localStorageData != 'undefined') {
return JSON.parse(localStorageData);
} else {
return null;
}
},
//PDF预览
Vue.prototype.previewPDF = function (url) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment