瀏覽代碼

费用报销提交报销人会被清空的bug

Lijy 2 年之前
父節點
當前提交
70a5cebfc8
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      fhKeeper/formulahousekeeper/timesheet/src/views/expense/expense.vue

+ 6 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/expense/expense.vue

@@ -1004,7 +1004,12 @@ export default {
                 return;
               }
               this.add();
-                  this.addForm = {code:null,ownerId:null,createDate: null,type:this.z, ticketNum:1,remark:null,totalAmount:0,}
+                  this.addForm = {
+                    code:null,
+                    ownerId:this.user.id,
+                    createDate: null,
+                    type:this.z, 
+                    ticketNum:1,remark:null,totalAmount:0,}
                   this.invoiceList = []
               
             }