瀏覽代碼

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

csx 3 年之前
父節點
當前提交
2188661c08

+ 8 - 6
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

@@ -170,6 +170,7 @@
170 170
                   template_id == 40 ||
171 171
                   template_id == 41 ||
172 172
                   template_id == 43 ||
173
+                  template_id == 44 ||
173 174
                   org_id == 9555)
174 175
             "
175 176
           >
@@ -216,6 +217,7 @@
216 217
                 template_id != 40 &&
217 218
                 template_id != 41 &&
218 219
                 template_id != 43 &&
220
+                template_id != 44 &&
219 221
                 org_id!=9555
220 222
             "
221 223
           >
@@ -233,7 +235,7 @@
233 235
             align="center"
234 236
             label="超滤率(ml/h)"
235 237
             width="100"
236
-            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38  || template_id == 41 || template_id == 43) "
238
+            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38  || template_id == 41 || template_id == 43 || template_id == 44) "
237 239
           >
238 240
             <template slot-scope="scope">
239 241
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -244,7 +246,7 @@
244 246
             align="center"
245 247
             label="超滤率(L/h)"
246 248
             width="100"
247
-            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22  && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38  && template_id != 41 && template_id != 43"
249
+            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22  && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38  && template_id != 41 && template_id != 43 && template_id != 44"
248 250
           >
249 251
             <template slot-scope="scope">
250 252
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -644,12 +646,12 @@
644 646
             </el-form-item>
645 647
           </el-col>
646 648
 
647
-          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43) ">
649
+          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44) ">
648 650
             <el-form-item label="超滤率(ml/h)">
649 651
               <el-input v-model="form.ultrafiltration_rate"></el-input>
650 652
             </el-form-item>
651 653
           </el-col>
652
-          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38 && template_id != 41 && template_id != 43">
654
+          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38 && template_id != 41 && template_id != 43 && template_id != 44">
653 655
             <el-form-item label="超滤率(L/h)">
654 656
               <el-input v-model="form.ultrafiltration_rate"></el-input>
655 657
             </el-form-item>
@@ -657,7 +659,7 @@
657 659
 
658 660
           <el-col
659 661
             :span="8"
660
-            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || org_id == 9555) " >
662
+            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || org_id == 9555) " >
661 663
             <el-form-item label="超滤量(ml):">
662 664
               <el-input v-model="form.ultrafiltration_volume"></el-input>
663 665
             </el-form-item>
@@ -665,7 +667,7 @@
665 667
 
666 668
           <el-col
667 669
             :span="8"
668
-            v-if=" isShow('超滤量') && template_id != 6 && template_id !=9 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38  && template_id!=41 && template_id!=43 && org_id !=9555" >
670
+            v-if=" isShow('超滤量') && template_id != 6 && template_id !=9 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38  && template_id!=41 && template_id!=43 && template_id!=44 && org_id !=9555" >
669 671
             <el-form-item label="超滤量(L):">
670 672
               <el-input v-model="form.ultrafiltration_volume"></el-input>
671 673
             </el-form-item>

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

@@ -14,10 +14,10 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43  && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44  && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44)" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22 22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23 23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29) " width="92px" > 置换率(ml/min) </th>

+ 24 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

@@ -593,6 +593,16 @@
593 593
           >打印</el-button
594 594
         >
595 595
       </template>
596
+      <template v-if="org_template_info.template_id == 44">
597
+        <el-button
598
+          :loading="loading"
599
+          size="small"
600
+          icon="el-icon-printer"
601
+          @click="printThisPage"
602
+          type="primary"
603
+          >打印</el-button
604
+        >
605
+      </template>
596 606
     </div>
597 607
     <div class="app-container" style="min-height:0;">
598 608
       <!--<div class="order-print-btn"-->
@@ -888,6 +898,11 @@
888 898
             v-if="org_template_info.template_id == 43"
889 899
           >
890 900
           </DialysisPrintOrderFortyThree>
901
+          <DialysisPrintOrderFortyFour
902
+            v-bind:childResponse="childResponse"
903
+            v-if="org_template_info.template_id == 44"
904
+          >
905
+          </DialysisPrintOrderFortyFour>
891 906
         </div>
892 907
       </el-container>
893 908
     </div>
@@ -950,9 +965,11 @@ import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
950 965
 import DialysisPrintOrderFortyOne from "./template/DialysisPrintOrderFortyOne";
951 966
 import DialysisPrintOrderFortyTwo from "./template/DialysisPrintOrderFortyTwo";
952 967
 import DialysisPrintOrderFortyThree from "./template/DialysisPrintOrderFortyThree";
968
+import DialysisPrintOrderFortyFour from "./template/DialysisPrintOrderFortyFour";
953 969
 export default {
954 970
   name: "dialysisPrintOrder",
955 971
   components: {
972
+    DialysisPrintOrderFortyFour,
956 973
     DialysisPrintOrderFortyThree,
957 974
     DialysisPrintOrderFortyTwo,
958 975
     DialysisPrintOrderFortyOne,
@@ -1465,6 +1482,13 @@ export default {
1465 1482
           style: style2,
1466 1483
           scanStyles: false
1467 1484
         });
1485
+      } else if (this.org_template_info.template_id == 44){
1486
+        printJS({
1487
+          printable: "dialysis-print-box-1",
1488
+          type: "html",
1489
+          style: style9,
1490
+          scanStyles: false
1491
+        });
1468 1492
       }
1469 1493
     },
1470 1494
     printThisOnePage() {

文件差異過大導致無法顯示
+ 1938 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFour.vue


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

@@ -286,7 +286,7 @@
286 286
                                         </el-table-column>
287 287
                                         <el-table-column label="库存" width="60">
288 288
                                             <template slot-scope="scope">
289
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877">
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">
290 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 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 292
                                               </span>
@@ -383,7 +383,7 @@
383 383
                                         </el-table-column>
384 384
                                         <el-table-column label="库存" width="40">
385 385
                                             <template slot-scope="scope">
386
-                                              <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877">
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">
387 387
                                                    {{scope.row.stock_count}}
388 388
                                               </span>
389 389
                                               <span v-else> {{ scope.row.total }}</span>
@@ -2658,19 +2658,36 @@
2658 2658
       selectDrugs(selection, row) {
2659 2659
         console.log('selection', selection)
2660 2660
         console.log('row', row)
2661
-        if (row.total <= 0) {
2662
-          if (selection) {
2663
-            selection.forEach(row => {
2664
-              if (row.total <= 0) {
2665
-                this.$refs.multipleTable.toggleRowSelection(row)
2661
+        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 ){
2662
+            if (row.count <= 0) {
2663
+              if (selection) {
2664
+                selection.forEach(row => {
2665
+                  if (row.count <= 0) {
2666
+                    this.$refs.multipleTable.toggleRowSelection(row)
2667
+                  }
2668
+                })
2669
+              } else {
2670
+                this.$refs.multipleTable.clearSelection()
2666 2671
               }
2667
-            })
2668
-          } else {
2669
-            this.$refs.multipleTable.clearSelection()
2670
-          }
2671
-          this.$message.error(row.drug_name + '库存不足')
2672
-          return
2672
+              this.$message.error(row.drug_name + '库存不足')
2673
+              return
2674
+            }
2675
+        }else{
2676
+           if (row.total <= 0) {
2677
+              if (selection) {
2678
+                selection.forEach(row => {
2679
+                  if (row.total <= 0) {
2680
+                    this.$refs.multipleTable.toggleRowSelection(row)
2681
+                  }
2682
+                })
2683
+              } else {
2684
+                this.$refs.multipleTable.clearSelection()
2685
+              }
2686
+              this.$message.error(row.drug_name + '库存不足')
2687
+              return
2688
+            }
2673 2689
         }
2690
+
2674 2691
         this.curDrugs = selection
2675 2692
       },
2676 2693
 
@@ -2916,21 +2933,41 @@
2916 2933
       },
2917 2934
       selectChange(selection, row) {
2918 2935
         console.log('row', row)
2919
-        if (row.total <= 0) {
2920
-          if (row.type == 3) {
2921
-            if (selection) {
2922
-              selection.forEach(row => {
2923
-                if (row.total <= 0) {
2924
-                  this.$refs.tables.toggleRowSelection(row)
2925
-                }
2926
-              })
2927
-            } else {
2928
-              this.$refs.tables.clearSelection()
2936
+        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 ){
2937
+           if (row.stock_count <= 0) {
2938
+            if (row.type == 3) {
2939
+              if (selection) {
2940
+                selection.forEach(row => {
2941
+                  if (row.stock_count <= 0) {
2942
+                    this.$refs.tables.toggleRowSelection(row)
2943
+                  }
2944
+                })
2945
+              } else {
2946
+                this.$refs.tables.clearSelection()
2947
+              }
2948
+              this.$message.error(row.project_name + '库存不足')
2949
+              return
2929 2950
             }
2930
-            this.$message.error(row.project_name + '库存不足')
2931
-            return
2932 2951
           }
2952
+        }else{
2953
+           if (row.total <= 0) {
2954
+            if (row.type == 3) {
2955
+              if (selection) {
2956
+                selection.forEach(row => {
2957
+                  if (row.total <= 0) {
2958
+                    this.$refs.tables.toggleRowSelection(row)
2959
+                  }
2960
+                })
2961
+              } else {
2962
+                this.$refs.tables.clearSelection()
2963
+              }
2964
+              this.$message.error(row.project_name + '库存不足')
2965
+              return
2966
+            }
2967
+          }
2968
+
2933 2969
         }
2970
+
2934 2971
         this.teamList.push(row)
2935 2972
       },
2936 2973
       getlist() {

+ 37 - 4
src/xt_pages/qcd/treatmentControlAnalysis/components/TimePersonal.vue 查看文件

@@ -3,8 +3,7 @@
3 3
     <div class="cell clearfix">
4 4
       <el-form :inline="true" :model="listQuery">
5 5
         <el-form-item label>
6
-          <!-- <el-input v-model.trim="listQuery.search" placeholder="姓名/透析号" style="width:150px"></el-input>
7
-          <el-button type="primary" @click="onSearch" icon="el-icon-search">搜索</el-button> -->
6
+         
8 7
            <el-autocomplete
9 8
              class="checkSearch"
10 9
              popper-class="my-autocomplete"
@@ -70,6 +69,7 @@
70 69
       </div>
71 70
       <div style="padding-left:10px;flex:1">
72 71
         <div class="tableTitle">统计表</div>
72
+        <div><el-button type="primary" @click="exportList">导出</el-button></div>
73 73
         <el-table :data="DialysisData" style="width: 100%" border :row-style="{ color: '#303133' }" 
74 74
         :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
75 75
         >
@@ -280,7 +280,7 @@ export default {
280 280
             }
281 281
           })
282 282
           let list = Object.values(dataInfo)
283
-          // console.log("arr",list)    
283
+             
284 284
           list.map(item => {
285 285
             for (let i = 0; i < prescriptionList.length; i++) {
286 286
               if (item.patient_id === prescriptionList[i].patient_id) {
@@ -462,7 +462,40 @@ export default {
462 462
         var strs = str.substring(0, str.length - 1)
463 463
        
464 464
         return strs
465
-      }
465
+      },
466
+      exportList(){
467
+        console.log("DialysisData",this.DialysisData)
468
+       for(let i=0;i<this.DialysisData.length;i++){
469
+         this.DialysisData[i].index = i+1
470
+         this.DialysisData[i].dialysis_mode = this.getModeIdCount(this.DialysisData[i].patient_id)
471
+         this.DialysisData[i].age = this.getAge(this.DialysisData[i].id_card_no)
472
+       }
473
+       import('@/vendor/Export2Excel').then(excel => {
474
+        const tHeader = ['序号','姓名', '年龄', '透析号','透析模式','透析总次数']
475
+        const filterVal = ['index','name', 'age', 'dialysis_no','dialysis_mode','total_dialysis']
476
+        
477
+        const data = this.formatJson(filterVal, this.DialysisData)
478
+       
479
+        excel.export_json_to_excel({
480
+           header: tHeader,
481
+           data,
482
+           filename: '透析详情'
483
+         })
484
+          this.downloadLoading = false
485
+        })
486
+      },
487
+      formatJson(filterVal, jsonData) {
488
+        return jsonData.map(v =>
489
+          filterVal.map(j => {
490
+            if (j === "timestamp") {
491
+              return parseTime(v[j]);
492
+            } else {
493
+              return v[j];
494
+            }
495
+          })
496
+       );
497
+     }
498
+
466 499
   },
467 500
   created(){
468 501
     var nowDate = new Date();

+ 2 - 2
src/xt_pages/stock/detail/cancelStockDetail.vue 查看文件

@@ -45,7 +45,7 @@
45 45
           v-model="start_time"
46 46
           prefix-icon="el-icon-date"
47 47
           :editable="false"
48
-          style="width: 196px;"
48
+          style="width: 150px;"
49 49
           type="date"
50 50
           placeholder="选择日期时间"
51 51
           align="right"
@@ -59,7 +59,7 @@
59 59
           v-model="end_time"
60 60
           prefix-icon="el-icon-date"
61 61
           :editable="false"
62
-          style="width: 196px;"
62
+          style="width: 150px;"
63 63
           type="date"
64 64
           placeholder="选择日期时间"
65 65
           align="right"

+ 6 - 2
src/xt_pages/stock/drugs/cancelDrugStockOrderAdd.vue 查看文件

@@ -562,6 +562,7 @@ export default {
562 562
           }
563 563
           for(let i=0;i<this.recordInfo.recordData.length;i++){
564 564
             this.recordInfo.recordData[i].price = this.recordInfo.recordData[i].price.toString()
565
+            console.log("批次列表",this.numberList)
565 566
              for(let j=0;j<this.numberList.length;j++){
566 567
                 if(this.recordInfo.recordData[i].batch_number == this.numberList[j].id){
567 568
                    this.recordInfo.recordData[i].batch_number = this.numberList[j].batch_number
@@ -574,7 +575,7 @@ export default {
574 575
             cancelStock: this.recordInfo.recordData
575 576
           };
576 577
           console.log("params2222",params,this.return_time)
577
-          
578
+        
578 579
           postDrugCancelStock(
579 580
             params,
580 581
             this.return_time,
@@ -698,7 +699,10 @@ export default {
698 699
            if(response.data.state == 1){
699 700
              var list = response.data.data.list
700 701
              console.log("list2222",list)
701
-             this.numberList = list
702
+             for(let i=0;i<list.length;i++){
703
+               this.numberList.push(list[i])
704
+             }
705
+             
702 706
            }
703 707
         })
704 708
       },

+ 3 - 1
src/xt_pages/stock/drugs/cancelDrugStockOrderEdit.vue 查看文件

@@ -706,7 +706,9 @@
706 706
            if(response.data.state == 1){
707 707
              var list = response.data.data.list
708 708
              console.log("list2222",list)
709
-             this.numberList = list
709
+             for(let i=0;i<list.length;i++){
710
+               this.numberList.push(list[i])
711
+             }
710 712
            }
711 713
         })
712 714
       },

+ 89 - 89
src/xt_pages/stock/drugs/drugDamaged.vue 查看文件

@@ -1,90 +1,86 @@
1 1
 <template>
2
-  <div class="main-contain">
3
-    <div class="app-container">
4
-        <div style="display: flex;align-items: center;justify-content: space-between;margin-bottom:10px;">
5
-            <div>
6
-                <el-input
7
-                size="small"
8
-                style="width: 200px;"
9
-                class="filter-item"
10
-                v-model.trim="searchKey"
11
-                placeholder="请输入药品名称"
12
-                />
13
-                <el-button
14
-                size="small"
15
-                class="filter-item"
16
-                type="primary"
17
-                icon="el-icon-search"
18
-                @click="search"
19
-                >搜索</el-button
20
-                >
21
-                <el-date-picker
22
-                size="small"
23
-                v-model="start_time"
24
-                type="date"
25
-                style="margin-left:5px;width:140px;"
26
-                placeholder="选择日期"
27
-                @change="changeStartTime">
28
-                </el-date-picker>
29
-                <el-date-picker
30
-                size="small"
31
-                v-model="end_time"
32
-                type="date"
33
-                style="margin-left:5px;width:140px;"
34
-                placeholder="选择日期"
35
-                @change="changeEndTime">
36
-                </el-date-picker>
37
-            </div> 
38
-        </div>
39
-        <el-table :data="tableList" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" >
40
-            <el-table-column type="selection" width="55" align="center"> </el-table-column>
41
-            <el-table-column  prop="date" label="报损日期" align="center">
42
-               <template slot-scope="scope">
43
-                  {{getTime(scope.row.start_time)}}
44
-                </template>
45
-            </el-table-column>
46
-            <el-table-column prop="name" label="药品名称" align="center">
47
-               <template slot-scope="scope">
48
-                  {{scope.row.drug_name}}
49
-                </template>
50
-            </el-table-column>
51
-            <el-table-column prop="name" label="规格" align="center">
52
-               <template slot-scope="scope">
53
-                  {{scope.row.specification_name}}
54
-                </template>
55
-            </el-table-column>
56
-            <el-table-column prop="name" label="总报损数量" align="center">
57
-               <template slot-scope="scope">
58
-                  {{getTotalCount(scope.row.drug_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}
59
-                </template>
60
-            </el-table-column>
61
-            <el-table-column prop="name" label="总报损金额" align="center">
62
-               <template slot-scope="scope">
63
-                  {{getTotalPrice(scope.row.drug_id,scope.row.min_price)}}
64
-                </template>
65
-            </el-table-column>
66
-            <el-table-column prop="name" label="操作人" align="center">
67
-               <template slot-scope="scope">
68
-                  {{getDoctorName(scope.row.creater)}}
69
-                </template>
70
-            </el-table-column>
71
-            <el-table-column label="操作" align="center" width="200">
72
-                <template slot-scope="scope">
73
-                  <el-button type="primary" size="small" @click="clickDetai(scope.row.drug_id)">查看详情</el-button>
74
-                </template>
75
-            </el-table-column>
76
-        </el-table>
77
-        <el-pagination
78
-            @size-change="handleSizeChange"
79
-            @current-change="handleCurrentChange"
80
-            :page-sizes="[10, 20, 40, 100]"
81
-            :page-size="10"
82
-            background
83
-            style="margin-top:20px;text-align: right"
84
-            layout="total, sizes, prev, pager, next, jumper"
85
-            :total="total">
86
-        </el-pagination>
87
-    </div>
2
+  <div>
3
+    <div  style="margin-bottom:10px;">
4
+      <el-input
5
+      size="small"
6
+      style="width: 200px;"
7
+      class="filter-item"
8
+      v-model.trim="searchKey"
9
+      placeholder="请输入药品名称"
10
+      />
11
+      <el-button
12
+      size="small"
13
+      class="filter-item"
14
+      type="primary"
15
+      icon="el-icon-search"
16
+      @click="search"
17
+      >搜索</el-button
18
+      >
19
+      <el-date-picker
20
+      size="small"
21
+      v-model="start_time"
22
+      type="date"
23
+      style="margin-left:5px;width:140px;"
24
+      placeholder="选择日期"
25
+      @change="changeStartTime">
26
+      </el-date-picker>
27
+      <el-date-picker
28
+      size="small"
29
+      v-model="end_time"
30
+      type="date"
31
+      style="margin-left:5px;width:140px;"
32
+      placeholder="选择日期"
33
+      @change="changeEndTime">
34
+      </el-date-picker>
35
+    </div> 
36
+    <el-table :data="tableList" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" >
37
+        <el-table-column type="selection" width="55" align="center"> </el-table-column>
38
+        <el-table-column  prop="date" label="报损日期" align="center">
39
+            <template slot-scope="scope">
40
+              {{getTime(scope.row.start_time)}}
41
+            </template>
42
+        </el-table-column>
43
+        <el-table-column prop="name" label="药品名称" align="center">
44
+            <template slot-scope="scope">
45
+              {{scope.row.drug_name}}
46
+            </template>
47
+        </el-table-column>
48
+        <el-table-column prop="name" label="规格" align="center">
49
+            <template slot-scope="scope">
50
+              {{scope.row.specification_name}}
51
+            </template>
52
+        </el-table-column>
53
+        <el-table-column prop="name" label="总报损数量" align="center">
54
+            <template slot-scope="scope">
55
+              {{getTotalCount(scope.row.drug_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}
56
+            </template>
57
+        </el-table-column>
58
+        <el-table-column prop="name" label="总报损金额" align="center">
59
+            <template slot-scope="scope">
60
+              {{getTotalPrice(scope.row.drug_id,scope.row.min_price)}}
61
+            </template>
62
+        </el-table-column>
63
+        <el-table-column prop="name" label="操作人" align="center">
64
+            <template slot-scope="scope">
65
+              {{getDoctorName(scope.row.creater)}}
66
+            </template>
67
+        </el-table-column>
68
+        <el-table-column label="操作" align="center" width="200">
69
+            <template slot-scope="scope">
70
+              <el-button type="primary" size="small" @click="clickDetai(scope.row.drug_id)">查看详情</el-button>
71
+            </template>
72
+        </el-table-column>
73
+    </el-table>
74
+    <el-pagination
75
+        @size-change="handleSizeChange"
76
+        @current-change="handleCurrentChange"
77
+        :page-sizes="[10, 20, 40, 100]"
78
+        :page-size="10"
79
+        background
80
+        style="margin-top:20px;text-align: right"
81
+        layout="total, sizes, prev, pager, next, jumper"
82
+        :total="total">
83
+    </el-pagination>
88 84
 
89 85
     <el-dialog
90 86
       title="盘点批次详情"
@@ -93,10 +89,12 @@
93 89
       <span>
94 90
         <el-form>
95 91
           <el-row>
96
-            <el-col>
92
+            <el-col :span="8">
97 93
               <el-form-item label="入库单号:">
98 94
                  <el-input v-model ="form.warehouseing_order" style="width:200px"></el-input>
99 95
               </el-form-item>
96
+            </el-col>
97
+            <el-col :span="8">
100 98
               <el-form-item label="原因:">
101 99
                   <el-select v-model="form.type" placeholder="请选择">
102 100
                       <el-option
@@ -107,11 +105,13 @@
107 105
                       </el-option>
108 106
                   </el-select>
109 107
               </el-form-item>
108
+            </el-col>
109
+            <el-col :span="8">
110 110
               <el-button type="primary" @click="toQuery">查询</el-button>
111 111
             </el-col>
112 112
           </el-row>
113
-          <el-row>
114
-            <div>&nbsp;&nbsp;{{drug_name}}  &nbsp;&nbsp;总损耗数量: {{getDamagedCount(total_count)}}    &nbsp;&nbsp;总报损金额:{{(total_count * min_price).toFixed(2)}}</div>
113
+          <el-row style="margin-bottom:10px;">
114
+            <div>{{drug_name}}  &nbsp;&nbsp;总损耗数量: {{getDamagedCount(total_count)}}    &nbsp;&nbsp;总报损金额:{{(total_count * min_price).toFixed(2)}}</div>
115 115
           </el-row>
116 116
           <el-row>
117 117
             <el-table

+ 1 - 1
src/xt_pages/stock/drugs/drugStockInOrder.vue 查看文件

@@ -212,7 +212,7 @@
212 212
         </el-table-column>
213 213
         <el-table-column label="生产厂家" align="center">
214 214
           <template slot-scope="scope">
215
-            {{getManufacturer(scope.row.drug.manufacturer)}}
215
+            {{getManufacturer(scope.row.manufacturer)}}
216 216
           </template>
217 217
         </el-table-column>
218 218
        <el-table-column label="生产日期" align="center">

+ 1 - 1
src/xt_pages/stock/drugs/drugStockOutOrder.vue 查看文件

@@ -1217,7 +1217,7 @@ export default {
1217 1217
               total += this.drugFlowList[i].count
1218 1218
           }
1219 1219
         }
1220
-        all_price = total * price
1220
+        all_price = total * min_price
1221 1221
       
1222 1222
         return  all_price
1223 1223
       },

+ 1 - 1
src/xt_pages/stock/drugs/inventoryDetails.vue 查看文件

@@ -42,7 +42,7 @@
42 42
             </div> -->
43 43
         </div>
44 44
         <el-table :data="tableData" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" style="width:100%">
45
-            <el-table-column prop="date" label="药品名称" width="200" align="center">
45
+            <el-table-column prop="date" label="药品名称" align="center">
46 46
                <template slot-scope="scope">
47 47
                  {{scope.row.drug_name}}
48 48
                </template>

+ 2 - 2
src/xt_pages/stock/drugs/query.vue 查看文件

@@ -112,7 +112,7 @@
112 112
         </el-table-column>
113 113
         <el-table-column prop="drug_name" label="出库数量" align="center">
114 114
            <template slot-scope="scope">
115
-             <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 3877">
115
+             <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10138 || org_id ==10028 || org_id == 10243">
116 116
                 <span> 
117 117
                  {{getOutFlush(scope.row.drug_warehouse_info,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_cancel_stock_info)}}
118 118
                 </span> 
@@ -123,7 +123,7 @@
123 123
         <el-table-column prop="drug_name" label="剩余库存量" align="center">
124 124
            <template slot-scope="scope">
125 125
             <div v-if="getWarehoseInfo(scope.row.drug_warehouse_info)!=0">
126
-               <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 3877">
126
+               <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10138 || org_id == 10028 || org_id == 10243">
127 127
                 {{ getOverFlushInfo(scope.row.drug_warehouse_info,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}
128 128
                </span>
129 129
                

+ 3 - 3
src/xt_pages/stock/inventory.vue 查看文件

@@ -12,9 +12,9 @@
12 12
         style="width:300px;"
13 13
       >
14 14
         <i class="el-icon-search el-input__icon" slot="suffix"></i>
15
-      <template slot-scope="{ item }">
16
-        <div class="name">{{ item.good_name +"  " +item.specification_name + "  "+item.manufacturer }}</div>
17
-      </template>
15
+        <template slot-scope="{ item }">
16
+          <div class="name">{{ item.good_name +"  " +item.specification_name + "  "+item.manufacturer }}</div>
17
+        </template>
18 18
     </el-autocomplete>  
19 19
   </div>
20 20
    <div v-show="showTable">

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

@@ -23,7 +23,7 @@
23 23
         </div>
24 24
         <el-table :data="tableData" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" @selection-change="changePrice" >
25 25
             <el-table-column type="selection" width="55" align="center"> </el-table-column>
26
-            <el-table-column prop="date" label="耗材名称"  width="300" align="center">
26
+            <el-table-column prop="date" label="耗材名称" align="center">
27 27
                 <template slot-scope="scope">
28 28
                   {{scope.row.good_name}}
29 29
                 </template>

+ 84 - 120
src/xt_pages/stock/stockDamaged.vue 查看文件

@@ -1,120 +1,82 @@
1 1
 <template>
2
-  <div class="main-contain">
3
-    <!-- <div class="position">
4
-      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
-    </div> -->
6
-    <div class="app-container">
7
-        <div style="display: flex;align-items: center;justify-content: space-between;margin-bottom:10px;">
8
-            <div>
9
-                <el-input
10
-                size="small"
11
-                style="width: 200px;"
12
-                class="filter-item"
13
-                v-model.trim="searchKey"
14
-                placeholder="请输入耗材名称"
15
-                />
16
-                <el-button
17
-                size="small"
18
-                class="filter-item"
19
-                type="primary"
20
-                icon="el-icon-search"
21
-                @click="search">搜索</el-button>
22
-                <!-- <el-date-picker
23
-                size="small"
24
-                @change="changeStartTime"
25
-                v-model="start_time"
26
-                type="date"
27
-                style="margin-left:5px;width:140px;"
28
-                placeholder="选择日期">
29
-                </el-date-picker>
30
-                <el-date-picker
31
-                size="small"
32
-                @change="changeEndTime"
33
-                v-model="end_time"
34
-                type="date"
35
-                style="margin-left:5px;width:140px;"
36
-                placeholder="选择日期">
37
-                </el-date-picker> -->
38
-            </div>
39
-            <!-- <div>
40
-                <el-button size="small" type="primary" @click="dialogVisible = true">新增</el-button>
41
-                <el-button size="small" type="primary" @click="toCheck">核对</el-button>
42
-                <el-button size="small" type="primary" @click="print">打印</el-button>
43
-                <el-button size="small" type="primary" @click="exportList">导出</el-button>
44
-            </div> -->
45
-        </div>
46
-        <el-table :data="tableList" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" @selection-change="changePrice">
47
-            <el-table-column type="selection" width="55" align="center"> </el-table-column>
48
-            <!-- <el-table-column prop="date" label="报损编码" align="center">
49
-               <template  slot-scope="scope">
50
-                {{scope.row.warehousing_order}}
51
-               </template>    
52
-            </el-table-column> -->
53
-            <!-- <el-table-column prop="date" label="报损日期"  align="center">
54
-              <template  slot-scope="scope">
55
-                {{getTime(scope.row.start_time)}}
56
-               </template>    
57
-            </el-table-column> -->
58
-            <el-table-column prop="date" label="耗材名称"  align="center">
59
-              <template  slot-scope="scope">
60
-                {{scope.row.good_name}}
61
-               </template>    
62
-            </el-table-column>
63
-            <el-table-column prop="date" label="耗材规格"  align="center">
64
-              <template  slot-scope="scope">
65
-                {{scope.row.specification_name}}
66
-               </template>    
67
-            </el-table-column>
68
-             <el-table-column prop="date" label="总耗损数量"  align="center">
69
-              <template  slot-scope="scope">
70
-                {{getDamageCount(scope.row.good_id)}}
71
-               </template>    
72
-            </el-table-column>
73
-            <el-table-column prop="date" label="总报损金额"  align="center">
74
-              <template  slot-scope="scope">
75
-                {{scope.row.count}}
76
-               </template>    
77
-            </el-table-column>
78
-            <el-table-column prop="name" label="操作"  align="center">
79
-              <template  slot-scope="scope">
80
-                <el-button type="primary" @click="toDamagedDetail(scope.row.good_id)">查看详情</el-button>
81
-               </template>     
82
-            </el-table-column>
83
-            <!-- <el-table-column prop="name" label="审核日期"  align="center">
84
-              <template  slot-scope="scope">
85
-                {{getTime(scope.row.checker_time)}}
86
-             </template>
87
-            </el-table-column> -->
88
-            <!-- <el-table-column prop="name" label="核对人"  align="center">
89
-              <template slot-scope="scope">
90
-                {{getChecker(scope.row.checker)}}
91
-              </template>
92
-            </el-table-column>
93
-            <el-table-column prop="name" label="状态"  align="center">
94
-             <template slot-scope="scope">
95
-                <span v-if="scope.row.checker_status == 1">已核对</span>
96
-                <span v-if="scope.row.checker_status == 2">未核对</span>
97
-              </template>
98
-            </el-table-column> -->
99
-            <!-- <el-table-column label="操作"  align="center"  width="200" >
100
-                <template slot-scope="scope">
101
-                <el-button type="primary" size="small" @click="editStockDamage(scope.row.id,scope.row.checker_status)">编辑</el-button>
102
-                <el-button type="danger" size="small" @click="deleteStockDamage(scope.row.id,scope.row.checker_status,scope.$index)">删除</el-button>
103
-                </template>
104
-            </el-table-column> -->
105
-        </el-table>
106
-        <el-pagination
107
-            @size-change="handleSizeChange"
108
-            @current-change="handleCurrentChange"
109
-            :page-sizes="[10, 20, 40, 100]"
110
-            :page-size="10"
111
-            background
112
-            style="margin-top:20px;text-align: right"
113
-            layout="total, sizes, prev, pager, next, jumper"
114
-            :total="total"
115
-        >
116
-        </el-pagination>
2
+  <div>
3
+    <div  style="margin-bottom:10px;">
4
+        <el-input
5
+        size="small"
6
+        style="width: 200px;"
7
+        class="filter-item"
8
+        v-model.trim="searchKey"
9
+        placeholder="请输入耗材名称"
10
+        />
11
+        <el-button
12
+        size="small"
13
+        class="filter-item"
14
+        type="primary"
15
+        icon="el-icon-search"
16
+        @click="search">搜索</el-button>
117 17
     </div>
18
+  
19
+    <el-table :data="tableList" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" @selection-change="changePrice">
20
+        <el-table-column type="selection" width="55" align="center"> </el-table-column>
21
+        <el-table-column prop="date" label="耗材名称"  align="center">
22
+          <template  slot-scope="scope">
23
+            {{scope.row.good_name}}
24
+            </template>    
25
+        </el-table-column>
26
+        <el-table-column prop="date" label="耗材规格"  align="center">
27
+          <template  slot-scope="scope">
28
+            {{scope.row.specification_name}}
29
+            </template>    
30
+        </el-table-column>
31
+          <el-table-column prop="date" label="总耗损数量"  align="center">
32
+          <template  slot-scope="scope">
33
+            {{getDamageCount(scope.row.good_id)}}
34
+            </template>    
35
+        </el-table-column>
36
+        <el-table-column prop="date" label="总报损金额"  align="center">
37
+          <template  slot-scope="scope">
38
+            {{scope.row.count}}
39
+            </template>    
40
+        </el-table-column>
41
+        <el-table-column prop="name" label="操作"  align="center">
42
+          <template  slot-scope="scope">
43
+            <el-button type="primary" @click="toDamagedDetail(scope.row.good_id)">查看详情</el-button>
44
+            </template>     
45
+        </el-table-column>
46
+        <!-- <el-table-column prop="name" label="审核日期"  align="center">
47
+          <template  slot-scope="scope">
48
+            {{getTime(scope.row.checker_time)}}
49
+          </template>
50
+        </el-table-column> -->
51
+        <!-- <el-table-column prop="name" label="核对人"  align="center">
52
+          <template slot-scope="scope">
53
+            {{getChecker(scope.row.checker)}}
54
+          </template>
55
+        </el-table-column>
56
+        <el-table-column prop="name" label="状态"  align="center">
57
+          <template slot-scope="scope">
58
+            <span v-if="scope.row.checker_status == 1">已核对</span>
59
+            <span v-if="scope.row.checker_status == 2">未核对</span>
60
+          </template>
61
+        </el-table-column> -->
62
+        <!-- <el-table-column label="操作"  align="center"  width="200" >
63
+            <template slot-scope="scope">
64
+            <el-button type="primary" size="small" @click="editStockDamage(scope.row.id,scope.row.checker_status)">编辑</el-button>
65
+            <el-button type="danger" size="small" @click="deleteStockDamage(scope.row.id,scope.row.checker_status,scope.$index)">删除</el-button>
66
+            </template>
67
+        </el-table-column> -->
68
+    </el-table>
69
+    <el-pagination
70
+        @size-change="handleSizeChange"
71
+        @current-change="handleCurrentChange"
72
+        :page-sizes="[10, 20, 40, 100]"
73
+        :page-size="10"
74
+        background
75
+        style="margin-top:20px;text-align: right"
76
+        layout="total, sizes, prev, pager, next, jumper"
77
+        :total="total"
78
+    >
79
+    </el-pagination>
118 80
     <el-dialog
119 81
         title="耗材报损"
120 82
         :visible.sync="dialogVisible"
@@ -305,13 +267,14 @@
305 267
       title="盘点批次详情"
306 268
       :visible.sync="modifyDialogVisible"
307 269
       width="80%">
308
-      <span>
309 270
         <el-form>
310 271
           <el-row>
311
-            <el-col>
272
+            <el-col :span="8">
312 273
               <el-form-item label="入库单号:">
313 274
                  <el-input v-model ="form.warehouseing_order" style="width:200px"></el-input>
314 275
               </el-form-item>
276
+            </el-col>
277
+            <el-col :span="8">
315 278
               <el-form-item label="原因:">
316 279
                   <el-select v-model="form.type" placeholder="请选择">
317 280
                       <el-option
@@ -322,11 +285,13 @@
322 285
                       </el-option>
323 286
                   </el-select>
324 287
               </el-form-item>
288
+            </el-col>
289
+            <el-col :span="8">
325 290
               <el-button type="primary" @click="toQuery">查询</el-button>
326 291
             </el-col>
327 292
           </el-row>
328
-          <el-row>
329
-            <div>&nbsp;&nbsp; &nbsp;&nbsp;总损耗数量:{{getDamageCount(good_id)}}     &nbsp;&nbsp;总报损金额:{{ (getDamageCount(good_id) * price).toFixed(2) }}</div>
293
+          <el-row style="margin-bottom:10px;">
294
+            <div>总损耗数量:{{getDamageCount(good_id)}}     &nbsp;&nbsp;总报损金额:{{ (getDamageCount(good_id) * price).toFixed(2) }}</div>
330 295
           </el-row>
331 296
           <el-row>
332 297
             <el-table
@@ -372,7 +337,6 @@
372 337
             </el-table>
373 338
           </el-row>
374 339
         </el-form>
375
-      </span>
376 340
       <span slot="footer" class="dialog-footer">
377 341
         <el-button @click="modifyDialogVisible = false">取 消</el-button>
378 342
         <el-button type="primary" @click="modifyDialogVisible = false">确 定</el-button>

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

@@ -215,7 +215,7 @@
215 215
         </el-table-column>
216 216
         <el-table-column label="生产厂家" align="center">
217 217
           <template slot-scope="scope">
218
-            {{ getManufactuerName(scope.row.GoodInfo.manufacturer)}}
218
+            {{ getManufactuerName(scope.row.manufacturer)}}
219 219
           </template>
220 220
         </el-table-column>
221 221
         <el-table-column label="生产日期" align="center">

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

@@ -108,7 +108,7 @@
108 108
        </el-table-column>
109 109
        <el-table-column label="出库数量" align="center">
110 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">
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">
112 112
             <span>
113 113
               {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
114 114
             </span>
@@ -119,7 +119,7 @@
119 119
 
120 120
        <el-table-column label="剩余库存量" align="center">
121 121
          <template slot-scope="scope">
122
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
122
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
123 123
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span> 
124 124
          </template>
125 125
        </el-table-column>

+ 3 - 3
src/xt_pages/workforce/next_remind_print.vue 查看文件

@@ -182,7 +182,7 @@
182 182
               scheduleData[i].sort = scheduleData[i].number.sort
183 183
             }
184 184
             var arr =   scheduleData.sort(this.compare('sort'))
185
-            console.log("打印",arr)
185
+            // console.log("打印",arr)
186 186
             this.scheduleData = arr
187 187
           }
188 188
           if(this.pre_status == 1){
@@ -421,9 +421,9 @@
421 421
         var name = ''
422 422
         for (let i = 0; i < solution.length; i++) {
423 423
           if (mode_id == solution[i].mode_id) {
424
-         
424
+
425 425
             name = solution[i].dialyzer_perfusion_apparatus
426
-            
426
+
427 427
           }
428 428
         }
429 429
         console.log('name', name)