Ver Fonte

完善巡检

408249787 há 2 anos atrás
pai
commit
6e819eaa21
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      src/views/fill/gather/modules/BaseForm.vue

+ 1 - 3
src/views/fill/gather/modules/BaseForm.vue

@@ -161,9 +161,7 @@ export default {
       this.modalTitle = '编辑'
       const { form: { setFieldsValue } } = this
       // 日期处理
-      record.infoIds = record.fillInfos.map(res => {
-        return res.id
-      })
+      record.infoIds = record.fillInfos.map(res => res.id)
       this.$nextTick(() => {
         setFieldsValue(Object.assign(pick(record, [
           'id',