Browse Source

制作单

shish 4 years ago
parent
commit
a7ca2600b7
1 changed files with 6 additions and 6 deletions
  1. 6 6
      hdPad/src/pages/home/components/workList.vue

+ 6 - 6
hdPad/src/pages/home/components/workList.vue

@@ -78,7 +78,7 @@ export default {
         }
     },
     created(){
-        this.getWorkInfo()
+        this.getWorkInfoList()
         if(this.mt == 'yes'){
             this.snTitle = '美团编号'
         }
@@ -91,7 +91,7 @@ export default {
             }else{
                 this.sn = val
             }
-            this.getWorkInfo()
+            this.getWorkInfoList()
         },
         select(){
             this.$refs.inputDialog.open('center')
@@ -106,7 +106,7 @@ export default {
                 this.triggered = true
             }
             this.resetList()
-            this.getWorkInfo()
+            this.getWorkInfoList()
             setTimeout(() => {
                 //触发onRestore,并关闭刷新图标  
                 this.triggered = false
@@ -126,18 +126,18 @@ export default {
         changeStatus(status){
             this.status = status
             this.resetList()
-            this.getWorkInfo()
+            this.getWorkInfoList()
         },
         reachBottom() {
             if (!this.list.finished) {
-                this.getWorkInfo().then((res) => {
+                this.getWorkInfoList().then((res) => {
                     uni.stopPullDownRefresh();
                 });
             } else {
                 uni.stopPullDownRefresh();
             }
         },
-        getWorkInfo(){
+        getWorkInfoList(){
             let params = {page: this.list.page,status:this.status,sn:this.sn,thirdSn:this.thirdSn,isCashier:1}
             if(this.mt == 'yes'){
                 params = {...params,fromType:4}