liuhj пре 1 недеља
родитељ
комит
79286cb401
1 измењених фајлова са 21 додато и 2 уклоњено
  1. 21 2
      src/components/statistics/Reportstbale.vue

+ 21 - 2
src/components/statistics/Reportstbale.vue

@@ -31,7 +31,15 @@
                     </div>
                 </div>
                 <div>
-                    <el-button size="mini" type="primary" @click="goback()">返 回</el-button>
+                    <el-select @change="PostGroupStatementDetails" size="small" v-model="isAudit" placeholder="请选择">
+                        <el-option
+                        v-for="item in isAuditoptions"
+                        :key="item.value"
+                        :label="item.label"
+                        :value="item.value">
+                        </el-option>
+                    </el-select>
+                    <el-button size="small" type="primary" @click="goback()">返 回</el-button>
                 </div>
             </div>
             <div v-html="feeTotalStr" class="zctitle"></div>
@@ -1206,6 +1214,17 @@ export default {
             fullscreenLoading:false,
 
             isShow:false,
+            isAuditoptions:[ 
+                {
+                    value:0,
+                    label:'查看所有已录入费用',
+                },
+                {
+                    value:1,
+                    label:'只看已审核通过的费用',
+                }
+            ],
+            isAudit:1
         }
     },
     methods:{
@@ -1250,7 +1269,7 @@ export default {
                     userId: that.userid,
                     pageId: that.pageId,
                     diId: that.diid,
-                    isAudit:true
+                    isAudit:that.isAudit==1?true:false
                 }
             }).then(function (res) {
                 if(res.data.code==200){