gjy 2 лет назад
Родитель
Сommit
cb3197aee8

+ 6 - 0
src/views/profitable/cashoutaduit.vue

@@ -190,6 +190,12 @@
             </el-table>
           </div>
         </div>
+        <div style='margin-top:10px;text-align:right;width:90%;'>
+          <el-button class="bg-bottom" type="primary" size="small" @click="reject()">驳回
+          </el-button>
+          <el-button class="bg-bottom" type="primary" size="small" @click="pass()">通过
+        </el-button>
+        </div>
     <el-dialog
       :title="title"
       :visible.sync="rejectshow"

+ 8 - 5
src/views/profitable/expensemanagementdetails.vue

@@ -52,10 +52,10 @@
               <el-option v-for="item in personList" :key="item.id" :label="item.agent" :value="item.agent">
               </el-option>
             </el-select>
-            <!-- <el-select v-model="warehouseName"  filterable  clearable @change="getList1" class="options_css">
+            <el-select v-model="toExamineType"  filterable  clearable @change="getList1" class="options_css">
               <el-option label="全部状态" value=""></el-option>
-              <el-option label="待审核" value=""></el-option>
-            </el-select> -->
+              <el-option label="待审核" value="1"></el-option>
+            </el-select>
             <!-- <el-select v-model="deptBudgetList.otherPersonPhone" placeholder="请选择其他驻库人员,可选多人"  allow-create default-first-option @change="selectstaffOther" multiple filterable clearable>
             <el-option v-for="item in optionsOther" :key="item.staffMobilePhone" :label="item.staffName" :value="item.staffMobilePhone" />
           </el-select> -->
@@ -335,6 +335,7 @@ export default {
       expensesPurpose: '',
       recordList: [],
       dialogVisible:false,
+      toExamineType:'',
       compId: localStorage.getItem('ws-pf_compId'),
       dialogVisible1: false,
       deptCircularPage: {},
@@ -412,7 +413,8 @@ export default {
           unallocatedNumber:this.unallocatedAmount.length>0?this.unallocatedAmount.toString():'',
           agent:this.agent.length>0?this.agent.toString():'',
           flowTo:this.flowTo.length>0?this.flowTo.toString():'',
-          warehouseName:this.warehouseName
+          warehouseName:this.warehouseName,
+          toExamineType:this.toExamineType
         }
         const {
           data
@@ -526,6 +528,7 @@ export default {
       })
     },
     getList1(){
+      console.log(this.toExamineType)
       this.currentPage=1
       this.getList()
     },
@@ -857,7 +860,7 @@ export default {
         agent:this.agent.length>0?this.agent.toString():'',
         flowTo:this.flowTo.length>0?this.flowTo.toString():'',
         warehouseName:this.warehouseName,
-        warehouseName:this.warehouseName,
+        toExamineType:this.toExamineType,
       })
         .toPromise()
         .then((response) => {