Browse Source

518合并代码

XMLWAN 2 years ago
parent
commit
9d6715faba

+ 12 - 12
src/router/modules/patient.js View File

@@ -226,17 +226,17 @@ export default {
226 226
       noCache: true
227 227
     }
228 228
   },
229
-  {
230
-    path: '/patient/patient/templateSummary/print_1',
231
-    component: () => import('@/xt_pages/user/templateSummaryPrint_1'),
232
-    hidden: true,
233
-    is_menu: false,
234
-    name: 'templateSummary_1',
235
-    meta: {
236
-      title: 'templateSummary_1',
237
-      noCache: true
238
-    }
239
-  },
229
+  // {
230
+  //   path: '/patient/patient/templateSummary/print_1',
231
+  //   component: () => import('@/xt_pages/user/templateSummaryPrint_1'),
232
+  //   hidden: true,
233
+  //   is_menu: false,
234
+  //   name: 'templateSummary_1',
235
+  //   meta: {
236
+  //     title: 'templateSummary_1',
237
+  //     noCache: true
238
+  //   }
239
+  // },
240 240
   {
241 241
     path: '/patient/patient/hospitalSummary/print',
242 242
     component: () => import('@/xt_pages/user/hospitalSummaryPrint'),
@@ -247,7 +247,7 @@ export default {
247 247
       title: 'templateSummary',
248 248
       noCache: true
249 249
     }
250
-  },
250
+  }
251 251
 
252 252
   ]
253 253
 }

+ 0 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -414,7 +414,6 @@
414 414
                             :span="8"
415 415
                             v-if="isShows('钙剂量')"
416 416
                     >
417
-                    <el-col :span="8" v-if="isShows('钙剂量')" >
418 417
                         <el-form-item label="钙剂量(ml) : ">
419 418
                             <el-input
420 419
                                     type="number"

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

@@ -485,7 +485,7 @@
485 485
         //   scope.row.prescribing_number = 1
486 486
         // }
487 487
         if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
488
-          scope.row.retail_price = scope.row.drug.min_price
488
+             scope.row.retail_price = scope.row.drug.min_price
489 489
           // if (scope.row.prescribing_number > scope.row.drug.total) {
490 490
           //   this.$message.error(scope.row.drug_name + '库存不足')
491 491
           // }

+ 1 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -1228,7 +1228,7 @@ export default {
1228 1228
           return false
1229 1229
         } else {
1230 1230
           var drugs = response.data.data.drugs
1231
-          console.log("232323322323332",this.prescriptions)
1231
+          console.log("232323322323332",drugs)
1232 1232
           // for (let i = 0; i < drugs.length; i++) {
1233 1233
           //   drugs[i].count = 0
1234 1234
           //   if (drugs[i].stock_in != null) {

+ 0 - 21
src/xt_pages/stock/detail/print.vue View File

@@ -445,26 +445,6 @@
445 445
     //       }
446 446
     //   })
447 447
     // },
448
-    getWarehouseOut(good_id){
449
-      var total = 0
450
-      for(let i=0;i<this.wareOutList.length;i++){
451
-         if(this.wareOutList[i].good_id == good_id){
452
-            total += this.wareOutList[i].count
453
-         }
454
-      }
455
-      return total
456
-    }
457
-     getPrintStockGood(){
458
-
459
-      getPrintStockGood(this.queryParams).then(response=>{
460
-          if(response.data.state == 1){
461
-            var list =  response.data.data.list
462
-            console.log("list23323232323232",list)
463
-            this.wareOutList = list
464
-
465
-          }
466
-      })
467
-    },
468 448
     getWarehouseOut(good_id){
469 449
       var total = 0
470 450
       for(let i=0;i<this.wareOutList.length;i++){
@@ -481,7 +461,6 @@
481 461
       this.goodUnit = this.$store.getters.good_unit
482 462
       this.getGoodDetailPrintList()
483 463
       this.getStockDetail()
484
-      this.getPrintStockGood()
485 464
     }
486 465
 
487 466
   }

+ 2 - 0
src/xt_pages/stock/drugs/cancelDrugStockOrderEdit.vue View File

@@ -291,6 +291,7 @@
291 291
   import BreadCrumb from '../../components/bread-crumb'
292 292
   import DrugsStockDialog from './drugsStockDialog/index'
293 293
   import {postSearchDrugList} from "@/api/data"
294
+  import { getDataConfig } from "@/utils/data";
294 295
   export default {
295 296
     components: { DrugsStockDialog, BreadCrumb },
296 297
     name: 'cancelStockOrderEdit',
@@ -811,6 +812,7 @@
811 812
       }
812 813
     },
813 814
     created() {
815
+      this.unitList = getDataConfig('hemodialysis','units')
814 816
       this.GetConfigInfo()
815 817
       this.propForm.goodUnit = this.$store.getters.good_unit
816 818
       const order_id = this.$route.query.id

+ 4 - 23
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

@@ -428,21 +428,13 @@ export default {
428 428
                order[i].total_price = order[i].count * order[i].last_price
429 429
                total_price += order[i].count * order[i].last_price
430 430
              }else{
431
-
431
+               console.log("555555555555",order[i])
432 432
                if(order[i].price > 0){
433
-
433
+                console.log("近来33232323322323")
434 434
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
435 435
                    order[i].total_price = order[i].count * order[i].price
436 436
                  }
437
-                 if(order[i].count_unit == order[i].max_unit && order[i].max_unit !=order[i].min_unit){
438
-                   if(order[i].is_sys == 0){
439
-                     order[i].total_price += order[i].count * order[i].price
440
-                   }else{
441
-                     order[i].total_price += order[i].count * order[i].price * order[i].min_number
442
-                   }
443
-                 }
444
-
445
-                if(order[i].count_unit == order[i].max_unit && order[i].max_unit ==order[i].min_unit){
437
+                 if(order[i].count_unit == order[i].max_unit){
446 438
                    if(order[i].is_sys == 0){
447 439
                      order[i].total_price += order[i].count * order[i].price
448 440
                    }else{
@@ -461,17 +453,6 @@ export default {
461 453
                     order[i].price = this.getPrice(order[i].drug_id)
462 454
                  }
463 455
 
464
-                if(order[i].count_unit == order[i].max_unit && order[i].max_unit!=order[i].min_unit){
465
-                   if(order[i].is_sys == 0){
466
-                     order[i].total_price += order[i].count * this.getPrice(order[i].drug_id)
467
-                   }else{
468
-                     order[i].total_price += order[i].count * this.getPrice(order[i].drug_id) * order[i].min_number
469
-                   }
470
-                   order[i].price = this.getPrice(order[i].drug_id)
471
-                }
472
-
473
-                 if(order[i].count_unit == order[i].max_unit && order[i].max_unit==order[i].min_unit){
474
-
475 456
                 if(order[i].count_unit == order[i].max_unit){
476 457
                    if(order[i].is_sys == 0){
477 458
                      order[i].total_price += order[i].count * this.getPrice(order[i].drug_id)
@@ -479,7 +460,7 @@ export default {
479 460
                      order[i].total_price += order[i].count * this.getPrice(order[i].drug_id) * order[i].min_number
480 461
                    }
481 462
                    order[i].price = this.getPrice(order[i].drug_id)
482
-                 }
463
+                }
483 464
                 total_price +=order[i].total_price
484 465
                }
485 466
 

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

@@ -1086,7 +1086,7 @@ export default {
1086 1086
           loading.close()
1087 1087
          }
1088 1088
       })
1089
-    }
1089
+    },
1090 1090
     changeUnit(val,index){
1091 1091
     // console.log("val3232323232",val)
1092 1092
     //  for(let i=0;i<this.recordInfo.recordData.length;i++){

+ 12 - 14
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue View File

@@ -7,8 +7,7 @@
7 7
     </div>
8 8
     <div class="app-container ">
9 9
       <div id="dialysis-print-box">
10
-        <div v-if="orgId!=9675 && orgId!=9671 && orgId!=10210">
11
-        <div v-if="orgId!=9671 && orgId!=10210 && orgId!=10188 && orgId!=10127 && orgId!=10164 && orgId!=3877">
10
+        <div v-if="orgId!=9671 && orgId!=9675 && orgId!=10210 && orgId!=10188 && orgId!=10127 && orgId!=10164 && orgId!=3877">
12 11
         <div class="dialysis-print-order" v-for="(it,index) in tableList" :key="index">
13 12
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
14 13
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
@@ -69,17 +68,17 @@
69 68
           </div>
70 69
           <div v-if="orgId == 10024" style="display:flex;margin-top:1px;float:right;">
71 70
             <div style="width:50px;">科室:</div><div style="width:60px;"></div>
72
-            <div style="width:70px;">领人:</div><div style="width:60px;"></div>
71
+            <div style="width:70px;">领人:</div><div style="width:60px;"></div>
73 72
             <div style="width:80px;">审批:</div><div style="width:100px;">肖庆娥</div>
74 73
             <div style="width:50px;">会计:</div><div style="width:100px;">徐立琼</div>
75 74
             <div style="width:50px;">审核:</div><div style="width:100px;">徐立琼</div>
76 75
             <div style="width:70px;">制单人:</div><div style="width:100px;">徐立琼</div>
77 76
           </div>
78 77
         </div>
79
-      </div>
78
+      </div> 
80 79
 
81 80
 
82
-      <div v-if="orgId == 9671 || orgId == 10210 || orgId == 10188 || orgId == 10127 || orgId ==10164 || orgId ==3877">
81
+      <div v-if="orgId == 9671 || orgId == 9675 ||  orgId == 10210 || orgId == 10188 || orgId == 10127 || orgId ==10164 || orgId ==3877">
83 82
        <div class="dialysis-print-order" v-for="(it,index) in tableData" :key="index" >
84 83
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
85 84
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
@@ -122,7 +121,7 @@
122 121
                    {{(item.count/item.min_number * item.price).toFixed(2)}}
123 122
                 </span>
124 123
                 <span v-else> {{(item.count * item.price).toFixed(2)}}</span>
125
-
124
+               
126 125
              </td>
127 126
              <td>{{item.drug_warehouse_info.batch_number}}</td>
128 127
              <td>{{(getTime(item.product_date))}}</td>
@@ -145,7 +144,7 @@
145 144
           </div>
146 145
           <div v-if="orgId == 10024" style="display:flex;margin-top:1px;float:right;">
147 146
             <div style="width:50px;">科室:</div><div style="width:60px;"></div>
148
-            <div style="width:70px;">领人:</div><div style="width:60px;"></div>
147
+            <div style="width:70px;">领人:</div><div style="width:60px;"></div>
149 148
             <div style="width:80px;">审批:</div><div style="width:100px;">肖庆娥</div>
150 149
             <div style="width:50px;">会计:</div><div style="width:100px;">徐立琼</div>
151 150
             <div style="width:50px;">审核:</div><div style="width:100px;">徐立琼</div>
@@ -291,7 +290,7 @@
291 290
             for (let i = 0; i < response.data.data.list.length; i++) {
292 291
               this.list.push(response.data.data.list[i])
293 292
             }
294
-
293
+           
295 294
           }
296 295
         })
297 296
       },
@@ -394,7 +393,7 @@
394 393
              var info = response.data.data.info
395 394
             var warehousing = response.data.data.warehousing
396 395
             this.warehouseList = warehousing
397
-
396
+          
398 397
             for(let i=0;i<info.length;i++){
399 398
                info[i].child = []
400 399
               for(let j=0;j<warehousing.length;j++){
@@ -403,11 +402,11 @@
403 402
                 }
404 403
               }
405 404
             }
406
-
405
+            
407 406
             var manufacturerList = response.data.data.manufacturerList
408
-
407
+           
409 408
             this.manufactureList = manufacturerList
410
-
409
+            
411 410
             this.tableList = info
412 411
             this.tableData = response.data.data.drug_warhouse_out
413 412
             console.log("nfo32323223323223232323",this.tableData)
@@ -435,7 +434,7 @@
435 434
     created() {
436 435
       this.orgName = this.$store.getters.xt_user.org.org_name;
437 436
       const order_id = this.$route.query.id;
438
-      this.orgId = this.$store.getters.xt_user.org.id;
437
+      this.orgId = this.$store.getters.xt_user.org.id;  
439 438
       this.getDrugOutOrderDetailPrint(order_id)
440 439
     }
441 440
 
@@ -595,4 +594,3 @@
595 594
     line-height: 30px;
596 595
   }
597 596
 </style>
598
-

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

@@ -852,7 +852,7 @@ export default {
852 852
        {id:0,name:"全部"},
853 853
        {id:1,name:"已审核"},
854 854
        {id:2,name:"未审核"},
855
-      ]
855
+      ],
856 856
       check_id: 0,
857 857
     };
858 858
 

+ 1 - 0
src/xt_pages/stock/stockInOrderAdd.vue View File

@@ -746,6 +746,7 @@
746 746
               'stockIn': this.recordInfo.recordData
747 747
             }
748 748
             console.log("param232232323232323w",params)
749
+   
749 750
             postWarehouse(params, this.warehousing_time, this.type,this.storehouse_id,this.warehousing_info_id).then(response => {
750 751
               if (response.data.state == 0) {
751 752
                 this.loading = false

+ 40 - 81
src/xt_pages/stock/stockOutOrder.vue View File

@@ -109,8 +109,6 @@
109 109
         <el-button size="small" type="primary" @click="toExport"
110 110
           >导出</el-button
111 111
         >
112
-        <!-- <span>&nbsp;&nbsp;</span>
113
-        <el-button size="small" type="primary" @click="toExport">导出</el-button>
114 112
         <span>&nbsp;&nbsp;</span>
115 113
         <label class="title"><span class="name">出库方式</span> :</label>
116 114
         <el-select size="small" v-model="way_type" filterable placeholder="请选择仓库" style="width:200px" @change="changeWay">
@@ -120,17 +118,25 @@
120 118
               :label="option.name"
121 119
               :value="option.id">
122 120
             </el-option>
123
-        </el-select>
124
-         <span>&nbsp;&nbsp;</span>
125
-          <label class="title"><span class="name">审核状态</span> :</label>
126
-          <el-select size="small" v-model="check_type" filterable placeholder="请选择仓库" style="width:200px" @change="changeCheckType">
127
-              <el-option
128
-                v-for="(option, index) in checkList"
129
-                :key="index"
130
-                :label="option.name"
131
-                :value="option.id">
132
-              </el-option>
121
+        </el-select> 
122
+
123
+        <div style="margin-left: 10px">
124
+          <span>审核状态:</span>
125
+          <el-select
126
+            v-model="check_type"
127
+            style="width: 140px; margin-right: 10px"
128
+            placeholder="请选择"
129
+            @change="changeCheckList"
130
+          >
131
+            <el-option
132
+              v-for="item in checkList"
133
+              :key="item.id"
134
+              :label="item.name"
135
+              :value="item.id"
136
+            >
137
+            </el-option>
133 138
           </el-select>
139
+        </div>
134 140
       </div>
135 141
 
136 142
       <el-table
@@ -183,14 +189,13 @@
183 189
           </template>
184 190
         </el-table-column>
185 191
 
186
-        <el-table-column label="审核状态" align="center">
192
+       <el-table-column label="审核状态" align="center">
187 193
           <template slot-scope="scope">
188 194
             <span v-if="scope.row.is_check == 1">已审核</span>
189 195
             <span v-if="scope.row.is_check == 2">未审核</span>
190 196
           </template>
191 197
         </el-table-column>
192 198
 
193
-
194 199
         <el-table-column label="操作" align="center" width="300px">
195 200
           <template slot-scope="scope">
196 201
             <el-tooltip
@@ -1017,36 +1022,13 @@ export default {
1017 1022
         { id: 2, name: "自动出库" },
1018 1023
         { id: 3, name: "调拨出库" },
1019 1024
       ],
1020
-      good_type_id:"",
1021
-      tableShow:false,
1022
-      tableList:[],
1023
-      dialogVisibleTwo:false,
1024
-      userList:[],
1025
-      editdialogVisibleTwo:false,
1026
-      editdialogVisibleThree:false,
1027
-      order_id:"",
1028
-      warehouse_out_time:"",
1029
-      exportList:[],
1030
-      is_sys:0,
1031
-      infoList:[],
1032
-      stockFlowList:[],
1033
-      list:[],
1034
-      houselist:[],
1035
-      storehouse_id:0,
1036
-      is_sys:0,
1037
-      way_type:0,
1038
-      wayList:[
1039
-        { id:0,name:"全部"},
1040
-        { id:1,name:"手动出库"},
1041
-        { id:2,name:"自动出库"},
1042
-        { id:3,name:"调拨出库"}
1043
-      ],
1044 1025
       check_type:0,
1045 1026
       checkList:[
1046 1027
        {id:0,name:"全部"},
1047 1028
        {id:1,name:"已审核"},
1048 1029
        {id:2,name:"未审核"},
1049
-      ]
1030
+      ],
1031
+      check_id: 0,
1050 1032
     };
1051 1033
   },
1052 1034
   methods: {
@@ -1061,6 +1043,7 @@ export default {
1061 1043
         keyword: this.keywords,
1062 1044
         page: this.page,
1063 1045
         limit: this.limit,
1046
+        check_type:this.check_type,
1064 1047
       };
1065 1048
       getAllSecondOrderList(params).then((response) => {
1066 1049
         if (response.data.state == 1) {
@@ -1081,11 +1064,9 @@ export default {
1081 1064
         end_time: this.end_time,
1082 1065
         type: this.type,
1083 1066
         keywords: this.searchKey,
1084
-        storehouse_id:this.storehouse_id,
1085
-        way_type:this.way_type,
1086
-        check_type:this.check_type,
1087 1067
         storehouse_id: this.storehouse_id,
1088 1068
         way_type: this.way_type,
1069
+        check_type:this.check_type,
1089 1070
       };
1090 1071
       this.warehouseOutDate = [];
1091 1072
       getWarehouseOutList(Params).then((response) => {
@@ -1115,8 +1096,6 @@ export default {
1115 1096
         type: this.type,
1116 1097
         storehouse_id: this.storehouse_id,
1117 1098
         way_type: this.way_type,
1118
-        storehouse_id:this.storehouse_id,
1119
-        way_type:this.way_type,
1120 1099
         check_type:this.check_type,
1121 1100
       };
1122 1101
       this.warehouseOutDate = [];
@@ -1251,11 +1230,9 @@ export default {
1251 1230
           "&is_sys=" +
1252 1231
           row.is_sys +
1253 1232
           "&supply_cancel_out_id=" +
1254
-          row.supply_cancel_out_id,
1233
+          row.supply_cancel_out_id+
1234
+          "&is_check="+row.is_check+"&type="+row.type,
1255 1235
       });
1256
-    handleEdit: function(index, row) {
1257
-      this.$router.push({path:'/stock/stockoutorderedit?id='+row.id+"&is_sys="+row.is_sys+"&supply_cancel_out_id="+row.supply_cancel_out_id+"&is_check="+row.is_check+"&type="+row.type})
1258
-
1259 1236
     },
1260 1237
     handleDelete: function (index, row) {
1261 1238
       if (row.is_sys == 12) {
@@ -1266,6 +1243,10 @@ export default {
1266 1243
         this.$message.error("采购出库数据不能删除!");
1267 1244
         return false;
1268 1245
       }
1246
+      if(row.is_check == 1){
1247
+        this.$message.error("已审核的单据不能删除!")
1248
+        return false
1249
+      }
1269 1250
       const ids = [];
1270 1251
       ids.push(row.id);
1271 1252
       const idStr = ids.join(",");
@@ -1330,16 +1311,13 @@ export default {
1330 1311
       const ids = [];
1331 1312
       const idOne = [];
1332 1313
       for (let i = 0; i < this.selectedTableData.length; i++) {
1333
-        if (this.selectedTableData[i].is_sys == 1) {
1334
-          this.$message.error("自动出库数据不能删除!");
1335
-          return false;
1336 1314
         if(this.selectedTableData[i].is_check == 1){
1337
-          this.$message.error("已审核单据不能删除")
1315
+          this.$message.error("已审核单据不能删除!")
1338 1316
           return false
1339 1317
         }
1340
-        if(this.selectedTableData[i].is_sys == 1){
1341
-          this.$message.error("自动出库数据不能删除!")
1342
-          return false
1318
+        if (this.selectedTableData[i].is_sys == 1) {
1319
+          this.$message.error("自动出库数据不能删除!");
1320
+          return false;
1343 1321
         }
1344 1322
         if (this.selectedTableData[i].is_sys == 12) {
1345 1323
           this.$message.error("调拨出库数据不能删除!");
@@ -1347,15 +1325,11 @@ export default {
1347 1325
         }
1348 1326
         if (this.selectedTableData[i].is_sys == 0) {
1349 1327
           ids.push(this.selectedTableData[i].id);
1350
-          idOne.push(this.selectedTableData[i].supply_cancel_out_id);
1328
+          if(this.selectedTableData[i].supply_cancel_out_id > 0){
1329
+            idOne.push(this.selectedTableData[i].supply_cancel_out_id);
1330
+          }
1331
+        
1351 1332
         }
1352
-         if(this.selectedTableData[i].is_sys == 0){
1353
-           ids.push(this.selectedTableData[i].id);
1354
-           if(this.selectedTableData[i].supply_cancel_out_id > 0){
1355
-             idOne.push(this.selectedTableData[i].supply_cancel_out_id)
1356
-           }
1357
-
1358
-         }
1359 1333
       }
1360 1334
       if (idOne.length > 0) {
1361 1335
         this.$message.error("采购出库数据不能删除!");
@@ -2062,25 +2036,10 @@ export default {
2062 2036
     changeWay() {
2063 2037
       this.GetWarehouseOut();
2064 2038
     },
2065
-  },
2066
-    }
2067
-    if(storehouse_name == "全部"){
2068
-      return ""
2069
-    }else{
2070
-       return storehouse_name
2039
+    changeCheckList(){
2040
+      this.GetWarehouseOut();
2071 2041
     }
2072
-
2073
-   },
2074
-   changeStoreHouse(){
2075
-     this.GetWarehouseOut()
2076
-   },
2077
-   changeWay(){
2078
-     this.GetWarehouseOut()
2079
-   },
2080
-   changeCheckType(){
2081
-    this.GetWarehouseOut()
2082
-   }
2083
-  }
2042
+  },
2084 2043
 };
2085 2044
 </script>
2086 2045
 

+ 15 - 20
src/xt_pages/stock/stockPrint.vue View File

@@ -37,34 +37,30 @@
37 37
                             </thead>
38 38
                             <tbody>
39 39
                                 <tr v-for='(item,index) in tableList' :key="index">
40
-                                   <td  style="text-align:center">{{getGoodType(item.good_type_id)}}</td>
41
-                                   <td  style="text-align:center">{{item.good_name }}</td>
42
-                                   <td  style="text-align:center"><span>{{item.specification_name }} / {{item.packing_unit}}</span></td>
43
-                                   <td  style="text-align:center">{{item.social_security_directory_code}}</td>
44
-                                   <td  style="text-align:center">{{item.buy_price}}</td>
45
-                                   <td  style="text-align:center">{{getManufacture(item.manufacturer)}}</td>
46
-                                   <td  style="text-align:center">
40
+                                   <td>{{getGoodType(item.good_type_id)}}</td>
41
+                                   <td>{{item.good_name }}</td>
42
+                                   <td><span>{{item.specification_name }} / {{item.packing_unit}}</span></td>
43
+                                   <td>{{item.social_security_directory_code}}</td>
44
+                                   <td>{{item.buy_price}}</td>
45
+                                   <td>{{getManufacture(item.manufacturer)}}</td>
46
+                                   <td>
47 47
                                       <span v-if="getWareInfo(item.xt_warehouse_info)>0">{{getWareInfo(item.xt_warehouse_info)}}{{item.packing_unit}}</span>
48 48
                                    </td>
49
-                                   <td v-if="end_time == ''"  style="text-align:center">
50
-                                      <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10290 || org_id == 10265">
51 49
                                    <td v-if="end_time == ''">
52 50
                                       <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10290 || org_id == 10265 || org_id == 10210">
53 51
                                         <span>
54
-                                          {{getWareInfo(item.xt_warehouse_info) - getOverFlushInfo(item.xt_warehouse_info) + getCancelSotckInfo(item.cancel_stock_info)}}
55 52
                                           {{getWareInfo(item.xt_warehouse_info) - getOverFlushInfo(item.xt_warehouse_info)}}
56 53
                                         </span>
57 54
                                       </span>
58 55
                                       <span v-else>{{getAutoCount(item.id) + getOutCount(item.id)}} </span>
59 56
                                    </td>
60 57
 
61
-                                   <td v-if="end_time!=''"  style="text-align:center">
62
-                                    {{getAutoCount(item.id) + getOutCount(item.id)}}
58
+                                   <td v-if="end_time!=''">
59
+                                    {{getAutoCount(item.id) + getOutCount(item.id)}} 
63 60
                                    </td>
64
-
65
-
66
-                                   <td v-if="end_time == ''"  style="text-align:center">
67
-                                     <span v-if="org_id == 9671 ||  org_id == 9675 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10290 || org_id == 10265 || org_id == 10210">
61
+                                  
62
+                                   <td v-if="end_time == ''">
63
+                                     <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10290 || org_id == 10265 || org_id == 10210">
68 64
                                         {{getOverFlushInfo(item.xt_warehouse_info)}}
69 65
                                      </span>
70 66
                                      <span v-else>
@@ -73,8 +69,6 @@
73 69
                                    </td>
74 70
                                    <td v-if="end_time!=''">
75 71
                                     {{getWareInfo(item.xt_warehouse_info) - getAutoCount(item.id) - getOutCount(item.id)  }}
76
-                                   <td v-if="end_time!=''" style="text-align:center">
77
-                                    {{getWareInfo(item.xt_warehouse_info) - getAutoCount(item.id) - getOutCount(item.id) + getCancelCount(item.id) }}
78 72
                                    </td>
79 73
                                 </tr>
80 74
                             </tbody>
@@ -321,6 +315,7 @@ export default {
321 315
         total += arr[i].stock_count
322 316
       }
323 317
      }
318
+     console.log("totla23323232",total)
324 319
      return total
325 320
    },
326 321
    getCancelSotckInfo(arr){
@@ -335,7 +330,7 @@ export default {
335 330
    },
336 331
     created(){
337 332
       this.org_id =  this.$store.getters.xt_user.org_id
338
-
333
+     
339 334
       var starttime =  this.$route.query.start_time
340 335
       this.start_time = starttime
341 336
       var endtime =  this.$route.query.end_time
@@ -376,7 +371,7 @@ export default {
376 371
       border: 1px solid;
377 372
       border-collapse: collapse;
378 373
       padding: 2px;
379
-
374
+      
380 375
 
381 376
       thead {
382 377
         tr {