XMLWAN 4 years ago
parent
commit
910d58f6ea
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/xt_pages/stock/drugs/drugStockOutOrder.vue

+ 4 - 1
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

686
     },
686
     },
687
 
687
 
688
     jump(id){
688
     jump(id){
689
+    
689
       this.GetOrderDetailTwo(id)
690
       this.GetOrderDetailTwo(id)
690
       this.userList=[]
691
       this.userList=[]
692
+      this.dialogVisibleTwo = true
691
     },
693
     },
692
 
694
 
693
      GetOrderDetailTwo(order_id) {
695
      GetOrderDetailTwo(order_id) {
699
             this.$message.error(response.data.msg)
701
             this.$message.error(response.data.msg)
700
             return false
702
             return false
701
           } else {
703
           } else {
704
+            this.userList=[]
702
             var total = 0
705
             var total = 0
703
             for (let i = 0; i < response.data.data.list.length; i++) {
706
             for (let i = 0; i < response.data.data.list.length; i++) {
704
               var obj = response.data.data.list[i]
707
               var obj = response.data.data.list[i]
706
               this.userList.push(obj)
709
               this.userList.push(obj)
707
               total = total + response.data.data.list[i].count
710
               total = total + response.data.data.list[i].count
708
             }
711
             }
709
-            this.userList=[]
712
+           
710
             this.userList.push({
713
             this.userList.push({
711
               is_total: 1,
714
               is_total: 1,
712
               total: total,
715
               total: total,