diff --git a/src/main.js b/src/main.js
index 58388e8..bbd531c 100644
--- a/src/main.js
+++ b/src/main.js
@@ -11,7 +11,7 @@ import './style/index.less'
import '@/icons'
import _ from 'lodash'
import VueCookie from 'vue-cookies'
-import { debounce, departGetForm, personlGetForm, handleInput, messageSuccess, loading, loadingClose } from '@/utils/common'
+import { debounce, departGetForm, personlGetForm, handleInput, messageSuccess, loading, loadingClose, handleBlur } from '@/utils/common'
import { format } from '@/utils/dateFormat'
Vue.prototype._ = _
Vue.mixin(Mixin)
@@ -24,6 +24,8 @@ Vue.prototype.debounce = debounce
Vue.prototype.$personlGetForm = personlGetForm
Vue.prototype.$departGetForm = departGetForm
Vue.prototype.$handleInputInt = handleInput
+
+Vue.prototype.$handleBlur = handleBlur
Vue.prototype.$msg = messageSuccess
/* eslint-disable no-new */
diff --git a/src/utils/common.js b/src/utils/common.js
index 5937513..9ac9b57 100644
--- a/src/utils/common.js
+++ b/src/utils/common.js
@@ -78,9 +78,14 @@ export function departGetForm (arr = []) {
export function handleInput (form) {
let value = this[form.split('.')[0]][form.split('.')[1]]
+ console.log('value: ', typeof value)
if (String(value).split('.').length > 2) value = String(parseFloat(value))
const a = Number(value) > 100 ? 0 : value.replace(/[^.\d]/g, '')
- this[form.split('.')[0]][form.split('.')[1]] = String(a) || 0
+ this[form.split('.')[0]][form.split('.')[1]] = String(a)
+}
+
+export function handleBlur (form) {
+ this[form.split('.')[0]][form.split('.')[1]] = this[form.split('.')[0]][form.split('.')[1]] || '0'
}
export function messageSuccess (params) {
diff --git a/src/views/kpi/assessment/goals/index.vue b/src/views/kpi/assessment/goals/index.vue
index 0a01b4f..ff8acce 100644
--- a/src/views/kpi/assessment/goals/index.vue
+++ b/src/views/kpi/assessment/goals/index.vue
@@ -96,7 +96,7 @@