浏览代码

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

see999 3 年前
父节点
当前提交
9fbe70634a

+ 7 - 7
src/api/dialysis_record.js 查看文件

36
     schedule_date: schedule_date,
36
     schedule_date: schedule_date,
37
     mode: mode
37
     mode: mode
38
   }
38
   }
39
-  console.log('data=====', data)
39
+
40
   return request({
40
   return request({
41
     url: '/api/dislysis/monitor/edit',
41
     url: '/api/dislysis/monitor/edit',
42
     method: 'post',
42
     method: 'post',
47
   })
47
   })
48
 }
48
 }
49
 
49
 
50
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode,washpipe_nurse,change_nurse,difficult_puncture_nurse,new_fistula_nurse) {
50
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse) {
51
   var params = {
51
   var params = {
52
     patient_id: patient_id,
52
     patient_id: patient_id,
53
     date: schedule_date,
53
     date: schedule_date,
58
     lood_drawing: lood_drawing,
58
     lood_drawing: lood_drawing,
59
     schedual_type: schedual_type,
59
     schedual_type: schedual_type,
60
     mode: mode,
60
     mode: mode,
61
-    washpipe_nurse:washpipe_nurse,
62
-    change_nurse:change_nurse,
63
-    difficult_puncture_nurse:difficult_puncture_nurse,
64
-    new_fistula_nurse:new_fistula_nurse
61
+    washpipe_nurse: washpipe_nurse,
62
+    change_nurse: change_nurse,
63
+    difficult_puncture_nurse: difficult_puncture_nurse,
64
+    new_fistula_nurse: new_fistula_nurse
65
   }
65
   }
66
-  console.log("params",params)
66
+  console.log('params', params)
67
   return request({
67
   return request({
68
     url: '/api/dialysis/start_record',
68
     url: '/api/dialysis/start_record',
69
     method: 'post',
69
     method: 'post',

+ 26 - 31
src/xt_pages/dialysis/bloodPresssWatch.vue 查看文件

713
       }
713
       }
714
       this.SchedualPatientsTableData = [];
714
       this.SchedualPatientsTableData = [];
715
       getSchedualPatient(this.listQuery).then(response => {
715
       getSchedualPatient(this.listQuery).then(response => {
716
-        console.log("2222",response.data.data.schedule)
716
+        console.log("排班对于23333223323223232",response.data.data.schedule)
717
         if (response.data.state == 0) {
717
         if (response.data.state == 0) {
718
           this.loading = false;
718
           this.loading = false;
719
           this.$message.error(response.data.msg);
719
           this.$message.error(response.data.msg);
727
               const SchedualPatientsTable = {
727
               const SchedualPatientsTable = {
728
                 bp: []
728
                 bp: []
729
               };
729
               };
730
-              SchedualPatientsTable["start_time"] = response.data.data.schedule[i].dialysis_order.start_time ? parseTime(response.data.data.schedule[i].dialysis_order.start_time,"{h}:{i}") : '';
730
+              if(response.data.data.schedule[i].dialysis_order!=null){
731
+                SchedualPatientsTable["start_time"] = response.data.data.schedule[i].dialysis_order.start_time ? parseTime(response.data.data.schedule[i].dialysis_order.start_time,"{h}:{i}") : '';
732
+              }
733
+          
731
               SchedualPatientsTable["sch_id"] = response.data.data.schedule[i].id;
734
               SchedualPatientsTable["sch_id"] = response.data.data.schedule[i].id;
732
               SchedualPatientsTable["sch_time_int"] = response.data.data.schedule[i].schedule_date;
735
               SchedualPatientsTable["sch_time_int"] = response.data.data.schedule[i].schedule_date;
733
               SchedualPatientsTable["sch_time"] = parseTime(response.data.data.schedule[i].schedule_date,"{y}-{m}-{d}");
736
               SchedualPatientsTable["sch_time"] = parseTime(response.data.data.schedule[i].schedule_date,"{y}-{m}-{d}");
734
               SchedualPatientsTable["mode_id"] = response.data.data.schedule[i].mode_id
737
               SchedualPatientsTable["mode_id"] = response.data.data.schedule[i].mode_id
735
-              SchedualPatientsTable["dialysis_no"] =
736
-                response.data.data.schedule[i].patient.dialysis_no;
737
-              SchedualPatientsTable["name"] =
738
-                response.data.data.schedule[i].patient.name;
739
-              SchedualPatientsTable["number"] =
740
-                response.data.data.schedule[i].device_number.number;
741
-              SchedualPatientsTable["gender"] =
742
-                response.data.data.schedule[i].patient.gender;
743
-              SchedualPatientsTable["source"] =
744
-                response.data.data.schedule[i].patient.source;
745
-              SchedualPatientsTable["patient_id"] =
746
-                response.data.data.schedule[i].patient_id;
747
-              SchedualPatientsTable["mode_name"] =
748
-                response.data.data.schedule[i].treatment_mode.name;
749
-              SchedualPatientsTable["target_ultrafiltration"] = response.data.data.schedule[i].prescription.target_ultrafiltration;
750
-              if (
751
-                response.data.data.schedule[i].assessment_before_dislysis.id > 0
752
-              ) {
753
-                SchedualPatientsTable["dialysis_before_weight"] =
754
-                  response.data.data.schedule[
755
-                    i
756
-                  ].assessment_before_dislysis.weight_before;
738
+              if(response.data.data.schedule[i].patient!=null){
739
+                 SchedualPatientsTable["dialysis_no"] = response.data.data.schedule[i].patient.dialysis_no;
740
+                 SchedualPatientsTable["name"] =  response.data.data.schedule[i].patient.name;
741
+                 SchedualPatientsTable["gender"] = response.data.data.schedule[i].patient.gender;
742
+                 SchedualPatientsTable["source"] = response.data.data.schedule[i].patient.source;
743
+                SchedualPatientsTable["patient_id"] = response.data.data.schedule[i].patient_id;
757
               }
744
               }
758
-              if (
759
-                response.data.data.schedule[i].assessment_after_dislysis.id > 0
760
-              ) {
761
-                SchedualPatientsTable["dialysis_after_weight"] =
762
-                  response.data.data.schedule[
763
-                    i
764
-                  ].assessment_after_dislysis.weight_after;
745
+             
746
+              SchedualPatientsTable["number"] =  response.data.data.schedule[i].device_number.number;
747
+               
748
+              if(response.data.data.schedule[i].treatment_mode!=null){
749
+                SchedualPatientsTable["mode_name"] = response.data.data.schedule[i].treatment_mode.name;
750
+              }
751
+              if(response.data.data.schedule[i].prescription!=null){
752
+                SchedualPatientsTable["target_ultrafiltration"] = response.data.data.schedule[i].prescription.target_ultrafiltration;  
753
+              }
754
+             
755
+              if (response.data.data.schedule[i].assessment_before_dislysis != null) {
756
+                SchedualPatientsTable["dialysis_before_weight"] =response.data.data.schedule[i].assessment_before_dislysis.weight_before;
757
+              }
758
+              if (response.data.data.schedule[i].assessment_after_dislysis !=null) {
759
+                SchedualPatientsTable["dialysis_after_weight"] =response.data.data.schedule[i].assessment_after_dislysis.weight_after;
765
               }
760
               }
766
 
761
 
767
               SchedualPatientsTable.bp = [];
762
               SchedualPatientsTable.bp = [];

+ 4 - 4
src/xt_pages/hospitalStation/components/deskPrescription.vue 查看文件

287
                     </el-table-column>
287
                     </el-table-column>
288
                     <el-table-column label="库存" width="60">
288
                     <el-table-column label="库存" width="60">
289
                       <template slot-scope="scope">
289
                       <template slot-scope="scope">
290
-                         <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919">
290
+                         <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 ">
291
                              <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
291
                              <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
292
                              <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
292
                              <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
293
                           </span>
293
                           </span>
383
                     </el-table-column>
383
                     </el-table-column>
384
                     <el-table-column label="库存" width="40">
384
                     <el-table-column label="库存" width="40">
385
                       <template slot-scope="scope">
385
                       <template slot-scope="scope">
386
-                         <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919">
386
+                         <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id ==10106 || org_id == 9504 || org_id ==10215 || org_id == 10088">
387
                             {{scope.row.stock_count}}
387
                             {{scope.row.stock_count}}
388
                         </span>
388
                         </span>
389
                        <span v-else> {{ scope.row.total }}</span>
389
                        <span v-else> {{ scope.row.total }}</span>
2655
         this.$refs.additionalCharges.show()
2655
         this.$refs.additionalCharges.show()
2656
       },
2656
       },
2657
       selectDrugs(selection, row) {
2657
       selectDrugs(selection, row) {
2658
-      if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919){
2658
+      if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id ==10106 || this.org_id == 9504 || this.org_id ==10215 || this.org_id ==10088 ){
2659
             if (row.count <= 0) {
2659
             if (row.count <= 0) {
2660
               if (selection) {
2660
               if (selection) {
2661
                 selection.forEach(row => {
2661
                 selection.forEach(row => {
2929
       },
2929
       },
2930
       selectChange(selection, row) {
2930
       selectChange(selection, row) {
2931
         console.log('row', row)
2931
         console.log('row', row)
2932
-          if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id ==10245 || this.org_id == 9919 ){
2932
+          if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id ==10245 || this.org_id == 9919 || this.org_id ==10106 || this.org_id == 9504 || this.org_id ==10215 || this.org_id ==10088){
2933
            if (row.stock_count <= 0) {
2933
            if (row.stock_count <= 0) {
2934
             if (row.type == 3) {
2934
             if (row.type == 3) {
2935
               if (selection) {
2935
               if (selection) {

+ 1 - 1
src/xt_pages/outpatientCharges/newTreatTemplate/printTwo.vue 查看文件

91
                   <div>费别:<span style="display:inline-block;width:80px;">自费</span>
91
                   <div>费别:<span style="display:inline-block;width:80px;">自费</span>
92
                   </div>
92
                   </div>
93
                   <div>电脑号:<span style="display:inline-block;width:80px;"></span></div>
93
                   <div>电脑号:<span style="display:inline-block;width:80px;"></span></div>
94
-                  <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(new Date(),"{y}-{m}-{d}")?getTime(new Date(),"{y}-{m}-{d}"):""}}</span></div>
94
+                  <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(balanceAccounts.order.settle_accounts_date,"{y}-{m}-{d}")?getTime(balanceAccounts.order.settle_accounts_date,"{y}-{m}-{d}"):""}}</span></div>
95
                 </div>
95
                 </div>
96
                 <div style="float:right">金额单位:元</div>
96
                 <div style="float:right">金额单位:元</div>
97
             </div>
97
             </div>

+ 1 - 1
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue 查看文件

163
                     </div>
163
                     </div>
164
                     <div>费别:<span style="display:inline-block;width:80px;">自费</span>
164
                     <div>费别:<span style="display:inline-block;width:80px;">自费</span>
165
                     </div>
165
                     </div>
166
-                    <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(new Date(),'{y}-{m}-{d}')?getTime(new Date(),'{y}-{m}-{d}'):''}}</span>
166
+                    <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(balanceAccounts.order.settle_accounts_date,"{y}-{m}-{d}")?getTime(balanceAccounts.order.settle_accounts_date,'{y}-{m}-{d}'):''}}</span>
167
                     </div>
167
                     </div>
168
                 </div>
168
                 </div>
169
                 <div style="float:right">金额单位:元</div>
169
                 <div style="float:right">金额单位:元</div>

+ 4 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

286
                                         </el-table-column>
286
                                         </el-table-column>
287
                                         <el-table-column label="库存" width="60">
287
                                         <el-table-column label="库存" width="60">
288
                                             <template slot-scope="scope">
288
                                             <template slot-scope="scope">
289
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919">
289
+                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10088">
290
                                                <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
290
                                                <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
291
                                                <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
291
                                                <span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
292
                                               </span>
292
                                               </span>
383
                                         </el-table-column>
383
                                         </el-table-column>
384
                                         <el-table-column label="库存" width="40">
384
                                         <el-table-column label="库存" width="40">
385
                                             <template slot-scope="scope">
385
                                             <template slot-scope="scope">
386
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919">
386
+                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10088">
387
                                                    {{scope.row.stock_count}}
387
                                                    {{scope.row.stock_count}}
388
                                               </span>
388
                                               </span>
389
                                               <span v-else> {{ scope.row.total }}</span>
389
                                               <span v-else> {{ scope.row.total }}</span>
2657
       selectDrugs(selection, row) {
2657
       selectDrugs(selection, row) {
2658
         console.log('selection', selection)
2658
         console.log('selection', selection)
2659
         console.log('row', row)
2659
         console.log('row', row)
2660
-        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919){
2660
+        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 || this.org_id == 10088){
2661
             if (row.count <= 0) {
2661
             if (row.count <= 0) {
2662
               if (selection) {
2662
               if (selection) {
2663
                 selection.forEach(row => {
2663
                 selection.forEach(row => {
2932
       },
2932
       },
2933
       selectChange(selection, row) {
2933
       selectChange(selection, row) {
2934
         console.log('row', row)
2934
         console.log('row', row)
2935
-        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id ==10245 || this.org_id == 9919 ){
2935
+        if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id ==10245 || this.org_id == 9919  || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 ||  this.org_id == 10088){
2936
            if (row.stock_count <= 0) {
2936
            if (row.stock_count <= 0) {
2937
             if (row.type == 3) {
2937
             if (row.type == 3) {
2938
               if (selection) {
2938
               if (selection) {

+ 4 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 查看文件

1186
             for(let i=0;i<drugs.length;i++){
1186
             for(let i=0;i<drugs.length;i++){
1187
                 drugs[i].count = 0
1187
                 drugs[i].count = 0
1188
               if(drugs[i].stock_in.length > 0){
1188
               if(drugs[i].stock_in.length > 0){
1189
-                 for(let j=0;j<drugs[i].stock_in.length;j++){
1189
+                if(drugs[i].stock_in != null) {
1190
+                  for (let j = 0; j < drugs[i].stock_in.length; j++) {
1190
                     drugs[i].count += (drugs[i].stock_in[j].stock_max_number * drugs[i].min_number + drugs[i].stock_in[j].stock_min_number)
1191
                     drugs[i].count += (drugs[i].stock_in[j].stock_max_number * drugs[i].min_number + drugs[i].stock_in[j].stock_min_number)
1191
-                 }
1192
+                  }
1193
+                }
1192
               }
1194
               }
1193
             }
1195
             }
1194
             this.drugs = drugs
1196
             this.drugs = drugs

+ 1 - 1
src/xt_pages/outpatientTool/labelPrint.vue 查看文件

194
         this.current_project_name = row.project_name
194
         this.current_project_name = row.project_name
195
         this.current_name = row.patient_name
195
         this.current_name = row.patient_name
196
         this.$nextTick(() => {
196
         this.$nextTick(() => {
197
-          JsBarcode('#barcode',row.feedetl_sn, {
197
+          JsBarcode('#barcode',row.p_project_id, {
198
             format: 'CODE39',
198
             format: 'CODE39',
199
             lineColor: '#000',
199
             lineColor: '#000',
200
             background: '#EBEEF5',
200
             background: '#EBEEF5',

+ 10 - 7
src/xt_pages/stock/drugs/inventoryPrint.vue 查看文件

100
          }
100
          }
101
       },
101
       },
102
       getManufacturerName(id){
102
       getManufacturerName(id){
103
-        var name = ""
104
-        for(let i=0;i<this.manufacturerList.length;i++){
105
-          if(id == this.manufacturerList[i].id){
106
-             name = this.manufacturerList[i].manufacturer_name
107
-          }
108
-          return name
103
+       
104
+           var name = ""
105
+           for(let i=0;i<this.manufacturerList.length;i++){
106
+              if(id == this.manufacturerList[i].id){
107
+                  name = this.manufacturerList[i].manufacturer_name
108
+              }
109
+           }
110
+           return name
109
         }
111
         }
110
-      }
112
+      
113
+      
111
      },
114
      },
112
     created(){
115
     created(){
113
       this.getlist()
116
       this.getlist()

+ 1 - 0
src/xt_pages/stock/inventoryPrint.vue 查看文件

96
          })
96
          })
97
         },
97
         },
98
         getManufacturerName(id){
98
         getManufacturerName(id){
99
+       
99
            var name = ""
100
            var name = ""
100
            for(let i=0;i<this.manufacturerList.length;i++){
101
            for(let i=0;i<this.manufacturerList.length;i++){
101
               if(id == this.manufacturerList[i].id){
102
               if(id == this.manufacturerList[i].id){

+ 15 - 10
src/xt_pages/stock/stockQuery.vue 查看文件

108
        </el-table-column>
108
        </el-table-column>
109
        <el-table-column label="出库数量" align="center" v-if="showOne">
109
        <el-table-column label="出库数量" align="center" v-if="showOne">
110
          <template slot-scope="scope">
110
          <template slot-scope="scope">
111
-          <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">
111
+          <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 == 10106 || org_id == 9504 || org_id ==  10215 || org_id ==  10088">
112
             <span>
112
             <span>
113
               {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
113
               {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
114
             </span>
114
             </span>
125
 
125
 
126
        <el-table-column label="剩余库存量" align="center" v-if="showThree">
126
        <el-table-column label="剩余库存量" align="center" v-if="showThree">
127
          <template slot-scope="scope">
127
          <template slot-scope="scope">
128
-          <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">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
128
+          <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 == 10106 || org_id == 9504 || org_id ==  10215 || org_id == 10088">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
129
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
129
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
130
          </template>
130
          </template>
131
        </el-table-column>
131
        </el-table-column>
358
            this.tableList[i].prodect_name = this.getManufacture(this.tableList[i].manufacturer)
358
            this.tableList[i].prodect_name = this.getManufacture(this.tableList[i].manufacturer)
359
            this.tableList[i].inCount =  this.getWareInfo(this.tableList[i].xt_warehouse_info)
359
            this.tableList[i].inCount =  this.getWareInfo(this.tableList[i].xt_warehouse_info)
360
 
360
 
361
-        
362
-          if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779){
363
-             this.tableList[i].outCount  = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getOverFlushInfo(this.tableList[i].xt_warehouse_info) + this.getCancelSotckInfo(this.tableList[i].cancel_stock_info) 
361
+          if(this.end_time == ""){
362
+            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 ){
363
+              this.tableList[i].outCount  = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getOverFlushInfo(this.tableList[i].xt_warehouse_info) + this.getCancelSotckInfo(this.tableList[i].cancel_stock_info) 
364
+            }else{
365
+              this.tableList[i].outCount =  this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
366
+            }
367
+            
368
+            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 ){
369
+                this.tableList[i].overplus = this.getOverFlushInfo(this.tableList[i].xt_warehouse_info)
370
+            }else{
371
+              this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)
372
+            }
364
           }else{
373
           }else{
365
             this.tableList[i].outCount =  this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
374
             this.tableList[i].outCount =  this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
375
+            this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)
366
           }
376
           }
367
           
377
           
368
-           if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779){
369
-              this.tableList[i].overplus = this.getOverFlushInfo(this.tableList[i].xt_warehouse_info)
370
-           }else{
371
-             this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)
372
-           }
373
 
378
 
374
          }
379
          }
375
          const data = this.formatJson(filterVal, this.tableList)
380
          const data = this.formatJson(filterVal, this.tableList)