achao 3 éve
szülő
commit
4c93dba249
1 módosított fájl, 16 hozzáadás és 1 törlés
  1. 16 1
      src/views/houseSelfCollect/inspectionManagementNew.vue

+ 16 - 1
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -30,8 +30,10 @@
         </el-col>
         <el-col :span="8">
           <div style='text-align:right;'>
+            <el-button @click='refreshClick' type="primary">{{refresh}}</el-button>
             <el-button @click='record' type="primary">记录</el-button>
           </div>
+          
         </el-col>
       </el-row>
     </div>
@@ -435,6 +437,8 @@
 },
     data() {
       return {
+        
+        refresh:60,
         //分页
         currentPage: 1,
         cost:'',
@@ -562,7 +566,7 @@
         // searchKeyWord:''
       }
     },
-    activated(){debugger
+    activated(){
        this.selectWarehouse()
        var _saomaData = JSON.parse(localStorage.getItem('saoma_data'))
        if(_saomaData){//缓存中有值,证明扫码进来的
@@ -592,6 +596,17 @@
       debugger
     },
     methods: {
+      refreshClick(){
+             this.timer = setInterval(function(){
+            //         axios({
+            //   method: 'post',
+            //   url: 'https://www.zthymaoyi.com/upload/admin',
+            //   data: formdata
+            // }).then((response) => {
+        
+            // })
+         }, 1000);
+      },
       binNumberChange(e){
         for (let i = 0; i < this.positionInfos.length; i++) {
           if(this.positionInfos[i].binNumber==e){