duy 1 年之前
父节点
当前提交
411696da31
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      src/views/other-file/image-form.vue

+ 8 - 1
src/views/other-file/image-form.vue

@@ -261,7 +261,14 @@ const nodeWbsElTreeClick = ({ data, keys }) => {
         treeItemInfo.value = data
         wbsId.value = data['primaryKeyId']
         if (dataId.value.length < 1) {
-            formValue.value = {}
+          formValue.value = {
+            uploadTime: toDayDate,
+            shootingTimeStr: toDayDate,
+            shootingUser: userInfo.value['real_name'],
+            filmCode: '',
+            seeAlsoCode: '',
+        }
+    
             uploadFileList.value = []
             previewFileList.value = []
         }