Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
e87c3eab1b
2 changed files with 3 additions and 7 deletions
  1. 2 6
      src/xt_pages/stock/drugs/inventory.vue
  2. 1 1
      src/xt_pages/stock/inventory.vue

+ 2 - 6
src/xt_pages/stock/drugs/inventory.vue View File

@@ -530,8 +530,6 @@ export default {
530 530
            var params = {
531 531
               tableData:this.tableData
532 532
            }
533
-          //  console.log("parasm222",params)
534
-           
535 533
           saveDrugInventory(params).then(response=>{
536 534
             if(response.data.state == 1){
537 535
               var msg = response.data.data.msg
@@ -550,16 +548,14 @@ export default {
550 548
             start_time:this.start_time,
551 549
             end_time:this.end_time,
552 550
           }
553
-          // console.log("params2332332",params)
554 551
           getDrugInventoryList(params).then(response=>{
555 552
 
556 553
             if(response.data.state == 1){
557 554
               this.total =  response.data.data.total
558 555
               this.tableList = response.data.data.list
559
-              // console.log("09999999",this.tableList)
560
-              // console.log("表格",this.tableList)
556
+             
561 557
               this.doctorList =  response.data.data.doctorList
562
-              // console.log("医生",this.doctorList)
558
+              
563 559
 
564 560
             }
565 561
           })

+ 1 - 1
src/xt_pages/stock/inventory.vue View File

@@ -549,7 +549,7 @@ export default {
549 549
         if(response.data.state == 1){
550 550
            var inventory = response.data.data.inventory
551 551
            this.$message.success("保存成功")
552
-           
552
+           this.WarehouseList = []
553 553
            this.tableData = []
554 554
         }
555 555
       })