From 30c8d72f0d75126a729e89aaeb1e194f63a75c9f Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 19 二月 2025 16:57:59 +0800 Subject: [PATCH] 原材料报检联调 --- src/main.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index e82c37b..2e9f017 100644 --- a/src/main.js +++ b/src/main.js @@ -26,6 +26,7 @@ selectDictLabels, handleTree, } from "@/utils/ruoyi"; +import { dictToValue } from "@/utils/index"; // 鍒嗛〉缁勪欢 import Pagination from "@/components/Pagination"; // 鑷畾涔夎〃鏍煎伐鍏风粍浠� @@ -42,6 +43,8 @@ import DictTag from "@/components/DictTag"; // 澶撮儴鏍囩缁勪欢 import VueMeta from "vue-meta"; +// 鏉″舰鐮佺敓鎴愮粍浠� +import VueBarcode from "vue-barcode"; // 瀛楀吀鏁版嵁缁勪欢 import DictData from "@/components/DictData"; import { checkPermi } from "@/utils/permission"; // 鏉冮檺鍒ゆ柇鍑芥暟 @@ -56,6 +59,7 @@ Vue.prototype.selectDictLabels = selectDictLabels; Vue.prototype.download = download; Vue.prototype.handleTree = handleTree; +Vue.prototype.dictToValue = dictToValue; Vue.prototype.HaveJson = (val) => { return JSON.parse(JSON.stringify(val)); }; @@ -70,6 +74,7 @@ Vue.component("FileUpload", FileUpload); Vue.component("ImageUpload", ImageUpload); Vue.component("ImagePreview", ImagePreview); +Vue.component('barcode', VueBarcode) Vue.use(directive); Vue.use(plugins); -- Gitblit v1.9.3