瀏覽代碼

完善巡检

408249787 2 年之前
父節點
當前提交
6e819eaa21
共有 1 個文件被更改,包括 1 次插入3 次删除
  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',