Procházet zdrojové kódy

提交移动端端费用报销加审核流程

Lijy před 1 rokem
rodič
revize
78076d9585

+ 12 - 2
fhKeeper/formulahousekeeper/timesheet_h5/src/views/expense/index.vue

@@ -272,6 +272,12 @@
                             <div><span>填报日期:</span><span>{{ item.createDate }}</span></div>
                             <div v-if="user.timeType.easyExpense==0"><span>发票张数:</span><span>{{ item.ticketNum }}</span></div>
                             <div><span>费用类型:</span><span>{{ item.expenseMainTypeName }}</span></div>
+                            <div>
+                                <span>审核流程:</span>
+                                <span v-if="item.reviewProcess == 0">待第一审核人审核</span>
+                                <span v-if="item.reviewProcess == 1">待第二审核人审核</span>
+                                <span v-if="item.reviewProcess == 2">审核完成</span>
+                            </div>
                             <!-- <div><span>状态:</span><span>{{item.status}}</span></div> -->
                             <!-- <div><span>驳回原因:</span><span>{{item.denyReason}}</span></div> -->
                             <div><span>备注:</span><span>{{ item.remark }}</span></div>
@@ -421,9 +427,9 @@ export default {
         if (!this.canExamine) {
             this.editForm.ownerId = this.user.id
             this.formshowText.name = this.user.name
-        } else {
-            this.getUserList()
         }
+        
+        this.getUserList()
         this.getProjectList()
         this.getExpensMainTypes()
         this.getExTypeList()
@@ -895,9 +901,13 @@ export default {
             }).catch(err => { this.$toast.clear(); console.log(err) });
         },
         ownerIdShowCli(type) {
+            console.log('执行')
             this.ownerIdShowType = type
             this.userRadio = ''
             this.ownerIdShow = true
+            if(type > 1) {
+                this.canExamine = true
+            }
         }
     },
 }