diff --git a/src/views/keyprojects/outsourced/components/edit.vue b/src/views/keyprojects/outsourced/components/edit.vue index e5cb9f6..afb621c 100644 --- a/src/views/keyprojects/outsourced/components/edit.vue +++ b/src/views/keyprojects/outsourced/components/edit.vue @@ -454,17 +454,17 @@ export default { immediate: false }, - 'form.ENDTIME': { - handler: function() { - // eslint-disable-next-line no-unused-vars - var time = formatDate(new Date(), 'YYYY-MM-DD') - if (this.form.ENDTIME > time) { - this.form.STATE = '1' - } else { - this.form.STATE = '2' - } - } - }, + // 'form.ENDTIME': { + // handler: function() { + // // eslint-disable-next-line no-unused-vars + // var time = formatDate(new Date(), 'YYYY-MM-DD') + // if (this.form.ENDTIME > time) { + // this.form.STATE = '1' + // } else { + // this.form.STATE = '2' + // } + // } + // }, TRAINING_TIME: function(newData, oldData) { if (!newData) {