|
@@ -24,6 +24,9 @@ import Pagination from "@/components/Pagination";
|
|
|
import RightToolbar from "@/components/RightToolbar"
|
|
|
import echarts from "echarts";
|
|
|
import '@/utils/dialog.js'
|
|
|
+import {toSuperFixed} from "./api/warehouseBusiness/restructure";
|
|
|
+// 解决浮点数的问题
|
|
|
+import _ from 'lodash';
|
|
|
|
|
|
import Print from '@/components/plugs/print'
|
|
|
Vue.use(Print) // 注册
|
|
@@ -58,6 +61,8 @@ Vue.prototype.msgError = function (msg) {
|
|
|
Vue.prototype.msgInfo = function (msg) {
|
|
|
this.$message.info(msg);
|
|
|
}
|
|
|
+// number原型链绑定四舍五入的方法
|
|
|
+Number.prototype.toSuperFixed = toSuperFixed
|
|
|
|
|
|
// 全局组件挂载
|
|
|
Vue.component('Pagination', Pagination)
|