|
@@ -46,9 +46,9 @@
|
46
|
46
|
<el-button type="primary" @click="toSeachOne">搜索</el-button>
|
47
|
47
|
</div>
|
48
|
48
|
<div style="flex: 1;text-align: right;">
|
49
|
|
- <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=9671 && org_id!=10340">药品统计</el-button>
|
|
49
|
+ <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=0 && org_id!=10340">药品统计</el-button>
|
50
|
50
|
|
51
|
|
- <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 9671 || org_id==10340">药品统计</el-button>
|
|
51
|
+ <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 0 || org_id==10340">药品统计</el-button>
|
52
|
52
|
<el-button type="primary" size="small" @click="toStaticThree">药品月统计</el-button>
|
53
|
53
|
|
54
|
54
|
<el-button type="primary" size="small" @click="toStaticTwo">耗材统计</el-button>
|
|
@@ -158,7 +158,7 @@
|
158
|
158
|
|
159
|
159
|
<div class="cell clearfix">
|
160
|
160
|
<label class="title"> <span class="name">给药途径</span> : </label>
|
161
|
|
- <div class="time">
|
|
161
|
+ <div class="time" style="width: 90%;">
|
162
|
162
|
<ul class>
|
163
|
163
|
<li
|
164
|
164
|
:class="item.id == delivery_way ? 'active' : ''"
|
|
@@ -173,8 +173,8 @@
|
173
|
173
|
</div>
|
174
|
174
|
|
175
|
175
|
<div class="cell clearfix">
|
176
|
|
- <label class="title"> <span class="name">执行频率 : </span></label>
|
177
|
|
- <div class="time">
|
|
176
|
+ <label class="title"> <span class="name">执行频率</span> : </label>
|
|
177
|
+ <div class="time" style="width: 90%;">
|
178
|
178
|
<ul class>
|
179
|
179
|
<li
|
180
|
180
|
:class="item.id == execution_frequency ? 'active' : ''"
|
|
@@ -519,33 +519,40 @@
|
519
|
519
|
</span>
|
520
|
520
|
</el-dialog>
|
521
|
521
|
|
522
|
|
-
|
|
522
|
+ <!-- 药品统计表 -->
|
523
|
523
|
<el-dialog
|
524
|
524
|
title="药品统计表"
|
525
|
525
|
:visible.sync="startdialogVisible"
|
526
|
526
|
width="60%">
|
527
|
527
|
<span>
|
528
|
|
- <div class="cell clearfix" style="margin-bottom:10px">
|
529
|
|
- <label class="title"> <span class="name">排班班次</span> : </label>
|
530
|
|
- <el-select v-model="schedule_type" placeholder="请选择" @change="changeScheduleType" >
|
531
|
|
- <el-option
|
532
|
|
- v-for="item in schedulArr"
|
533
|
|
- :key="item.value"
|
534
|
|
- :label="item.label"
|
535
|
|
- :value="item.value">
|
536
|
|
- </el-option>
|
537
|
|
- </el-select>
|
538
|
|
- <label class="title"> <span class="name">病区选择</span> : </label>
|
539
|
|
- <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType" multiple >
|
540
|
|
- <el-option
|
541
|
|
- v-for="item in partitionArr"
|
542
|
|
- :key="item.id"
|
543
|
|
- :label="item.name"
|
544
|
|
- :value="item.id">
|
545
|
|
- </el-option>
|
546
|
|
- </el-select>
|
547
|
|
- <el-button size="small" icon="el-icon-printer" @click="toPrintOne" type="primary">打印</el-button>
|
548
|
|
- <el-button size="small" @click="toExportListOne" type="primary">导出</el-button>
|
|
528
|
+ <div class="eldialog" style="margin-bottom:10px">
|
|
529
|
+ <div>
|
|
530
|
+ <label class="title"> <span class="name">排班班次</span> : </label>
|
|
531
|
+ <el-select v-model="schedule_type" placeholder="请选择"
|
|
532
|
+ @change="changeScheduleType" style="width: 120px;">
|
|
533
|
+ <el-option
|
|
534
|
+ v-for="item in schedulArr"
|
|
535
|
+ :key="item.value"
|
|
536
|
+ :label="item.label"
|
|
537
|
+ :value="item.value">
|
|
538
|
+ </el-option>
|
|
539
|
+ </el-select>
|
|
540
|
+ <label class="title"> <span class="name">病区选择</span> : </label>
|
|
541
|
+ <el-select v-model="partion_type" placeholder="请选择"
|
|
542
|
+ @change="changePartionType" multiple style="width: 120px;"
|
|
543
|
+ >
|
|
544
|
+ <el-option
|
|
545
|
+ v-for="item in partitionArr"
|
|
546
|
+ :key="item.id"
|
|
547
|
+ :label="item.name"
|
|
548
|
+ :value="item.id">
|
|
549
|
+ </el-option>
|
|
550
|
+ </el-select>
|
|
551
|
+ </div>
|
|
552
|
+ <div>
|
|
553
|
+ <el-button size="small" icon="el-icon-printer" @click="toPrintOne" type="primary">打印</el-button>
|
|
554
|
+ <el-button size="small" @click="toExportListOne" type="primary">导出</el-button>
|
|
555
|
+ </div>
|
549
|
556
|
</div>
|
550
|
557
|
|
551
|
558
|
<el-table
|
|
@@ -596,40 +603,44 @@
|
596
|
603
|
</el-dialog>
|
597
|
604
|
|
598
|
605
|
|
599
|
|
- <!-- 长沙南雅 -->
|
|
606
|
+ <!-- 长沙南雅 -->
|
600
|
607
|
<el-dialog
|
601
|
608
|
title="药品统计表"
|
602
|
609
|
:visible.sync="startdialogVisibleOne"
|
603
|
610
|
width="70%">
|
604
|
611
|
<span>
|
605
|
|
- <div class="cell clearfix" style="margin-bottom:10px">
|
606
|
|
- <label class="title"> <span class="name">排班班次</span> : </label>
|
607
|
|
- <el-select v-model="schedule_type" placeholder="请选择" @change="changeScheduleTypeOne" >
|
608
|
|
- <el-option
|
609
|
|
- v-for="item in schedulArr"
|
610
|
|
- :key="item.value"
|
611
|
|
- :label="item.label"
|
612
|
|
- :value="item.value">
|
613
|
|
- </el-option>
|
614
|
|
- </el-select>
|
615
|
|
- <label class="title"> <span class="name">病区选择</span> : </label>
|
616
|
|
- <el-select v-model="partion_type" placeholder="请选择" @change="changePartionTypeOne" multiple>
|
617
|
|
- <el-option
|
618
|
|
- v-for="item in partitionArr"
|
619
|
|
- :key="item.id"
|
620
|
|
- :label="item.name"
|
621
|
|
- :value="item.id">
|
622
|
|
- </el-option>
|
623
|
|
- </el-select>
|
624
|
|
- <el-button size="small" icon="el-icon-printer" @click="toPrintTwo" type="primary">打印</el-button>
|
|
612
|
+ <div class="eldialog" style="margin-bottom:10px">
|
|
613
|
+ <div>
|
|
614
|
+ <label class="title"> <span class="name">排班班次</span> : </label>
|
|
615
|
+ <el-select v-model="schedule_type" placeholder="请选择"
|
|
616
|
+ @change="changeScheduleTypeOne" style="width: 120px;">
|
|
617
|
+ <el-option
|
|
618
|
+ v-for="item in schedulArr"
|
|
619
|
+ :key="item.value"
|
|
620
|
+ :label="item.label"
|
|
621
|
+ :value="item.value">
|
|
622
|
+ </el-option>
|
|
623
|
+ </el-select>
|
|
624
|
+ <label class="title"> <span class="name">病区选择</span> : </label>
|
|
625
|
+ <el-select v-model="partion_type" placeholder="请选择"
|
|
626
|
+ @change="changePartionTypeOne" multiple style="width: 120px;">
|
|
627
|
+ <el-option
|
|
628
|
+ v-for="item in partitionArr"
|
|
629
|
+ :key="item.id"
|
|
630
|
+ :label="item.name"
|
|
631
|
+ :value="item.id">
|
|
632
|
+ </el-option>
|
|
633
|
+ </el-select>
|
|
634
|
+ </div>
|
|
635
|
+ <div>
|
|
636
|
+ <el-button size="small" icon="el-icon-printer" @click="toPrintTwo" type="primary">打印</el-button>
|
|
637
|
+ </div>
|
625
|
638
|
<!-- <el-button size="small" @click="toExportListOne" type="primary">导出</el-button> -->
|
626
|
|
-
|
627
|
639
|
<!-- <el-button @click="toJiao()">脚本</el-button> -->
|
628
|
640
|
</div>
|
629
|
641
|
|
630
|
642
|
<el-table
|
631
|
643
|
:data="tableDataList"
|
632
|
|
-
|
633
|
644
|
border
|
634
|
645
|
:row-style="{ color: '#303133' }"
|
635
|
646
|
:header-cell-style="{
|
|
@@ -641,7 +652,7 @@
|
641
|
652
|
align="center"
|
642
|
653
|
prop="name"
|
643
|
654
|
label="序号"
|
644
|
|
- width="100"
|
|
655
|
+ width="60"
|
645
|
656
|
>
|
646
|
657
|
<template slot-scope="scope" >
|
647
|
658
|
<span v-if="scope.row.is_total == 1">{{scope.$index+1}}</span>
|
|
@@ -681,7 +692,7 @@
|
681
|
692
|
align="center"
|
682
|
693
|
prop="name"
|
683
|
694
|
label="透析模式"
|
684
|
|
- width="150"
|
|
695
|
+ width="130"
|
685
|
696
|
>
|
686
|
697
|
<template slot-scope="scope">
|
687
|
698
|
<span v-if="scope.row.is_total == 1">
|
|
@@ -728,33 +739,39 @@
|
728
|
739
|
</span>
|
729
|
740
|
</el-dialog>
|
730
|
741
|
|
731
|
|
-
|
|
742
|
+ <!-- 耗材统计表 -->
|
732
|
743
|
<el-dialog
|
733
|
744
|
title="耗材统计表"
|
734
|
745
|
:visible.sync="startdialogVisibleTwo"
|
735
|
746
|
width="60%">
|
736
|
747
|
<span>
|
737
|
|
- <div class="cell clearfix" style="margin-bottom:10px">
|
738
|
|
- <label class="title"> <span class="name">排班班次</span> : </label>
|
739
|
|
- <el-select v-model="schedule_type" placeholder="请选择" @change="changeScheduleTypeTwo" >
|
740
|
|
- <el-option
|
741
|
|
- v-for="item in schedulArr"
|
742
|
|
- :key="item.value"
|
743
|
|
- :label="item.label"
|
744
|
|
- :value="item.value">
|
745
|
|
- </el-option>
|
746
|
|
- </el-select>
|
747
|
|
- <label class="title"> <span class="name">病区选择</span> : </label>
|
748
|
|
- <el-select v-model="partion_type" placeholder="请选择" @change="changePartionTypeTwo" multiple >
|
749
|
|
- <el-option
|
750
|
|
- v-for="item in partitionArr"
|
751
|
|
- :key="item.id"
|
752
|
|
- :label="item.name"
|
753
|
|
- :value="item.id">
|
754
|
|
- </el-option>
|
755
|
|
- </el-select>
|
756
|
|
- <el-button size="small" icon="el-icon-printer" @click="toPrintThree" type="primary">打印</el-button>
|
757
|
|
- <el-button size="small" @click="toExportListTwo" type="primary">导出</el-button>
|
|
748
|
+ <div class="eldialog" style="margin-bottom:10px">
|
|
749
|
+ <div>
|
|
750
|
+ <label class="title"> <span class="name">排班班次</span> : </label>
|
|
751
|
+ <el-select v-model="schedule_type" placeholder="请选择"
|
|
752
|
+ @change="changeScheduleTypeTwo" style="width: 120px;">
|
|
753
|
+ <el-option
|
|
754
|
+ v-for="item in schedulArr"
|
|
755
|
+ :key="item.value"
|
|
756
|
+ :label="item.label"
|
|
757
|
+ :value="item.value">
|
|
758
|
+ </el-option>
|
|
759
|
+ </el-select>
|
|
760
|
+ <label class="title"> <span class="name">病区选择</span> : </label>
|
|
761
|
+ <el-select v-model="partion_type" placeholder="请选择"
|
|
762
|
+ @change="changePartionTypeTwo" multiple style="width: 120px;">
|
|
763
|
+ <el-option
|
|
764
|
+ v-for="item in partitionArr"
|
|
765
|
+ :key="item.id"
|
|
766
|
+ :label="item.name"
|
|
767
|
+ :value="item.id">
|
|
768
|
+ </el-option>
|
|
769
|
+ </el-select>
|
|
770
|
+ </div>
|
|
771
|
+ <div>
|
|
772
|
+ <el-button size="small" icon="el-icon-printer" @click="toPrintThree" type="primary">打印</el-button>
|
|
773
|
+ <el-button size="small" @click="toExportListTwo" type="primary">导出</el-button>
|
|
774
|
+ </div>
|
758
|
775
|
</div>
|
759
|
776
|
|
760
|
777
|
<el-table
|
|
@@ -787,9 +804,6 @@
|
787
|
804
|
{{scope.row.count}}
|
788
|
805
|
</template>
|
789
|
806
|
</el-table-column>
|
790
|
|
-
|
791
|
|
-
|
792
|
|
-
|
793
|
807
|
</el-table>
|
794
|
808
|
</span>
|
795
|
809
|
<span slot="footer" class="dialog-footer">
|
|
@@ -797,164 +811,173 @@
|
797
|
811
|
<el-button type="primary" @click="startdialogVisibleTwo = false">确 定</el-button>
|
798
|
812
|
</span>
|
799
|
813
|
</el-dialog>
|
800
|
|
-
|
|
814
|
+ <!-- 药品月统计表 -->
|
801
|
815
|
<el-dialog
|
802
|
816
|
title="药品月统计表"
|
803
|
817
|
:visible.sync="startMothdialogVisible"
|
804
|
818
|
width="60%">
|
805
|
819
|
<span>
|
806
|
|
- <div class="cell clearfix" style="margin-bottom:10px">
|
807
|
|
- <label class="title"> <span class="name">日期查询</span> : </label>
|
808
|
|
- 开始:
|
809
|
|
- <el-date-picker
|
810
|
|
- v-model="start_time"
|
811
|
|
- prefix-icon="el-icon-date"
|
812
|
|
- :editable="false"
|
813
|
|
- style="width: 250px;"
|
814
|
|
- type="date"
|
815
|
|
- placeholder="选择日期时间"
|
816
|
|
- align="right"
|
817
|
|
- format="yyyy-MM-dd"
|
818
|
|
- value-format="yyyy-MM-dd"
|
819
|
|
-
|
820
|
|
- ></el-date-picker>
|
821
|
|
- 结束:
|
822
|
|
- <el-date-picker
|
823
|
|
- v-model="end_time"
|
824
|
|
- prefix-icon="el-icon-date"
|
825
|
|
- :editable="false"
|
826
|
|
- style="width: 250px;"
|
827
|
|
- type="date"
|
828
|
|
- placeholder="选择日期时间"
|
829
|
|
- align="right"
|
830
|
|
- format="yyyy-MM-dd"
|
831
|
|
- value-format="yyyy-MM-dd"
|
|
820
|
+ <div class="eldialog" style="margin-bottom:10px">
|
|
821
|
+ <div>
|
|
822
|
+ <label class="title"> <span class="name">日期查询</span> : </label>
|
|
823
|
+
|
|
824
|
+ <el-date-picker
|
|
825
|
+ v-model="start_time"
|
|
826
|
+ prefix-icon="el-icon-date"
|
|
827
|
+ :editable="false"
|
|
828
|
+ style="width: 150px;"
|
|
829
|
+ type="date"
|
|
830
|
+ placeholder="选择日期时间"
|
|
831
|
+ align="right"
|
|
832
|
+ format="yyyy-MM-dd"
|
|
833
|
+ value-format="yyyy-MM-dd"
|
|
834
|
+
|
|
835
|
+ ></el-date-picker>
|
|
836
|
+ <span>-</span>
|
|
837
|
+ <el-date-picker
|
|
838
|
+ v-model="end_time"
|
|
839
|
+ prefix-icon="el-icon-date"
|
|
840
|
+ :editable="false"
|
|
841
|
+ style="width: 150px;"
|
|
842
|
+ type="date"
|
|
843
|
+ placeholder="选择日期时间"
|
|
844
|
+ align="right"
|
|
845
|
+ format="yyyy-MM-dd"
|
|
846
|
+ value-format="yyyy-MM-dd"
|
|
847
|
+
|
|
848
|
+ ></el-date-picker>
|
|
849
|
+ </div>
|
|
850
|
+ <div>
|
|
851
|
+ <el-button size="small" @click="getAllQuery" type="primary">查询</el-button>
|
|
852
|
+ <el-button size="small" icon="el-icon-printer" @click="toPrintTen" type="primary">打印</el-button>
|
|
853
|
+ <el-button size="small" @click="toExportListThree" type="primary">导出</el-button>
|
|
854
|
+ </div>
|
|
855
|
+
|
832
|
856
|
|
833
|
|
- ></el-date-picker>
|
834
|
|
- <el-button size="small" @click="getAllQuery" type="primary">查询</el-button>
|
835
|
|
- <el-button size="small" icon="el-icon-printer" @click="toPrintTen" type="primary">打印</el-button>
|
836
|
|
- <el-button size="small" @click="toExportListThree" type="primary">导出</el-button>
|
837
|
857
|
</div>
|
838
|
858
|
|
839
|
|
- <el-table
|
840
|
|
- :data="tableMonthList"
|
841
|
|
- border
|
842
|
|
- :row-style="{ color: '#303133' }"
|
843
|
|
- :header-cell-style="{
|
844
|
|
- backgroundColor: 'rgb(245, 247, 250)',
|
845
|
|
- color: '#606266'
|
846
|
|
- }"
|
847
|
|
- >
|
848
|
|
- <el-table-column align="center" label="序号">
|
849
|
|
- <template slot-scope="scope">
|
850
|
|
- {{scope.$index+1}}
|
851
|
|
- </template>
|
852
|
|
- </el-table-column>
|
853
|
|
- <el-table-column align="center" label="药品名称">
|
854
|
|
- <template slot-scope="scope">
|
855
|
|
- {{scope.row.advice_name}}
|
856
|
|
- </template>
|
857
|
|
- </el-table-column>
|
858
|
|
- <el-table-column align="center" label="规格">
|
859
|
|
- <template slot-scope="scope">
|
860
|
|
- {{scope.row.specification_name}}
|
861
|
|
- </template>
|
862
|
|
- </el-table-column>
|
|
859
|
+ <el-table
|
|
860
|
+ :data="tableMonthList"
|
|
861
|
+ border
|
|
862
|
+ :row-style="{ color: '#303133' }"
|
|
863
|
+ :header-cell-style="{
|
|
864
|
+ backgroundColor: 'rgb(245, 247, 250)',
|
|
865
|
+ color: '#606266'
|
|
866
|
+ }"
|
|
867
|
+ >
|
|
868
|
+ <el-table-column align="center" label="序号">
|
|
869
|
+ <template slot-scope="scope">
|
|
870
|
+ {{scope.$index+1}}
|
|
871
|
+ </template>
|
|
872
|
+ </el-table-column>
|
|
873
|
+ <el-table-column align="center" label="药品名称">
|
|
874
|
+ <template slot-scope="scope">
|
|
875
|
+ {{scope.row.advice_name}}
|
|
876
|
+ </template>
|
|
877
|
+ </el-table-column>
|
|
878
|
+ <el-table-column align="center" label="规格">
|
|
879
|
+ <template slot-scope="scope">
|
|
880
|
+ {{scope.row.specification_name}}
|
|
881
|
+ </template>
|
|
882
|
+ </el-table-column>
|
863
|
883
|
|
864
|
|
- <el-table-column align="center" label="数量">
|
865
|
|
- <template slot-scope="scope">
|
866
|
|
- <span v-if="config.is_open!=1">{{getCount(scope.row.child)}}</span>
|
867
|
|
- <span v-if="config.is_open ==1">{{getHisCount(scope.row.child,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
|
868
|
|
- </template>
|
869
|
|
- </el-table-column>
|
870
|
|
-
|
871
|
|
- <el-table-column align="center" label="厂家">
|
872
|
|
- <template slot-scope="scope">
|
873
|
|
- {{scope.row.manufacturer_name}}
|
874
|
|
- </template>
|
875
|
|
- </el-table-column>
|
|
884
|
+ <el-table-column align="center" label="数量">
|
|
885
|
+ <template slot-scope="scope">
|
|
886
|
+ <span v-if="config.is_open!=1">{{getCount(scope.row.child)}}</span>
|
|
887
|
+ <span v-if="config.is_open ==1">{{getHisCount(scope.row.child,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
|
|
888
|
+ </template>
|
|
889
|
+ </el-table-column>
|
|
890
|
+
|
|
891
|
+ <el-table-column align="center" label="厂家">
|
|
892
|
+ <template slot-scope="scope">
|
|
893
|
+ {{scope.row.manufacturer_name}}
|
|
894
|
+ </template>
|
|
895
|
+ </el-table-column>
|
876
|
896
|
|
877
|
897
|
|
878
|
|
- </el-table>
|
|
898
|
+ </el-table>
|
879
|
899
|
</span>
|
880
|
900
|
<span slot="footer" class="dialog-footer">
|
881
|
901
|
<el-button @click="startMothdialogVisible = false">取 消</el-button>
|
882
|
902
|
<el-button type="primary" @click="startMothdialogVisible = false">确 定</el-button>
|
883
|
903
|
</span>
|
884
|
904
|
</el-dialog>
|
885
|
|
-
|
886
|
|
-
|
|
905
|
+ <!-- 耗材统计表 -->
|
887
|
906
|
<el-dialog
|
888
|
907
|
title="耗材统计表"
|
889
|
908
|
:visible.sync="startMonthdialogVisible"
|
890
|
909
|
width="60%">
|
891
|
910
|
<span>
|
892
|
|
- <div class="cell clearfix" style="margin-bottom:10px">
|
893
|
|
- <label class="title"> <span class="name">日期查询</span> : </label>
|
894
|
|
- 开始:
|
895
|
|
- <el-date-picker
|
896
|
|
- v-model="start_time"
|
897
|
|
- prefix-icon="el-icon-date"
|
898
|
|
- :editable="false"
|
899
|
|
- style="width: 250px;"
|
900
|
|
- type="date"
|
901
|
|
- placeholder="选择日期时间"
|
902
|
|
- align="right"
|
903
|
|
- format="yyyy-MM-dd"
|
904
|
|
- value-format="yyyy-MM-dd"
|
905
|
|
-
|
906
|
|
- ></el-date-picker>
|
907
|
|
- 结束:
|
908
|
|
- <el-date-picker
|
909
|
|
- v-model="end_time"
|
910
|
|
- prefix-icon="el-icon-date"
|
911
|
|
- :editable="false"
|
912
|
|
- style="width: 250px;"
|
913
|
|
- type="date"
|
914
|
|
- placeholder="选择日期时间"
|
915
|
|
- align="right"
|
916
|
|
- format="yyyy-MM-dd"
|
917
|
|
- value-format="yyyy-MM-dd"
|
918
|
|
-
|
919
|
|
- ></el-date-picker>
|
920
|
|
- <el-button size="small" @click="getGoodAllQuery" type="primary">查询</el-button>
|
921
|
|
- <el-button size="small" icon="el-icon-printer" @click="toExportListFour" type="primary">打印</el-button>
|
922
|
|
- <el-button size="small" @click="toExportListFour" type="primary">导出</el-button>
|
|
911
|
+ <div class="eldialog" style="margin-bottom:10px">
|
|
912
|
+ <div>
|
|
913
|
+ <label class="title"> <span class="name">日期查询</span> : </label>
|
|
914
|
+ <el-date-picker
|
|
915
|
+ v-model="start_time"
|
|
916
|
+ prefix-icon="el-icon-date"
|
|
917
|
+ :editable="false"
|
|
918
|
+ style="width: 150px;"
|
|
919
|
+ type="date"
|
|
920
|
+ placeholder="选择日期时间"
|
|
921
|
+ align="right"
|
|
922
|
+ format="yyyy-MM-dd"
|
|
923
|
+ value-format="yyyy-MM-dd"
|
|
924
|
+
|
|
925
|
+ ></el-date-picker>
|
|
926
|
+ <span>-</span>
|
|
927
|
+ <el-date-picker
|
|
928
|
+ v-model="end_time"
|
|
929
|
+ prefix-icon="el-icon-date"
|
|
930
|
+ :editable="false"
|
|
931
|
+ style="width: 150px;"
|
|
932
|
+ type="date"
|
|
933
|
+ placeholder="选择日期时间"
|
|
934
|
+ align="right"
|
|
935
|
+ format="yyyy-MM-dd"
|
|
936
|
+ value-format="yyyy-MM-dd"
|
|
937
|
+
|
|
938
|
+ ></el-date-picker>
|
|
939
|
+ </div>
|
|
940
|
+
|
|
941
|
+ <div>
|
|
942
|
+ <el-button size="small" @click="getGoodAllQuery" type="primary">查询</el-button>
|
|
943
|
+ <el-button size="small" icon="el-icon-printer" @click="toExportListFour" type="primary">打印</el-button>
|
|
944
|
+ <el-button size="small" @click="toExportListFour" type="primary">导出</el-button>
|
|
945
|
+ </div>
|
923
|
946
|
</div>
|
924
|
|
- <el-table
|
925
|
|
- :data="tableProjectList"
|
926
|
|
- border
|
927
|
|
- :row-style="{ color: '#303133' }"
|
928
|
|
- :header-cell-style="{
|
929
|
|
- backgroundColor: 'rgb(245, 247, 250)',
|
930
|
|
- color: '#606266'
|
931
|
|
- }"
|
932
|
|
- >
|
933
|
|
- <el-table-column align="center" label="序号">
|
934
|
|
- <template slot-scope="scope">
|
935
|
|
- {{scope.$index+1}}
|
936
|
|
- </template>
|
937
|
|
- </el-table-column>
|
938
|
|
- <el-table-column align="center" label="耗材名称">
|
939
|
|
- <template slot-scope="scope">
|
940
|
|
- {{scope.row.good_name}}
|
941
|
|
- </template>
|
942
|
|
- </el-table-column>
|
943
|
|
- <el-table-column align="center" label="规格">
|
944
|
|
- <template slot-scope="scope">
|
945
|
|
- {{scope.row.specification_name}}
|
946
|
|
- </template>
|
947
|
|
- </el-table-column>
|
|
947
|
+ <el-table
|
|
948
|
+ :data="tableProjectList"
|
|
949
|
+ border
|
|
950
|
+ :row-style="{ color: '#303133' }"
|
|
951
|
+ :header-cell-style="{
|
|
952
|
+ backgroundColor: 'rgb(245, 247, 250)',
|
|
953
|
+ color: '#606266'
|
|
954
|
+ }"
|
|
955
|
+ >
|
|
956
|
+ <el-table-column align="center" label="序号">
|
|
957
|
+ <template slot-scope="scope">
|
|
958
|
+ {{scope.$index+1}}
|
|
959
|
+ </template>
|
|
960
|
+ </el-table-column>
|
|
961
|
+ <el-table-column align="center" label="耗材名称">
|
|
962
|
+ <template slot-scope="scope">
|
|
963
|
+ {{scope.row.good_name}}
|
|
964
|
+ </template>
|
|
965
|
+ </el-table-column>
|
|
966
|
+ <el-table-column align="center" label="规格">
|
|
967
|
+ <template slot-scope="scope">
|
|
968
|
+ {{scope.row.specification_name}}
|
|
969
|
+ </template>
|
|
970
|
+ </el-table-column>
|
948
|
971
|
|
949
|
|
- <el-table-column align="center" label="数量">
|
950
|
|
- <template slot-scope="scope">
|
951
|
|
- {{scope.row.count}}
|
952
|
|
- </template>
|
953
|
|
- </el-table-column>
|
|
972
|
+ <el-table-column align="center" label="数量">
|
|
973
|
+ <template slot-scope="scope">
|
|
974
|
+ {{scope.row.count}}
|
|
975
|
+ </template>
|
|
976
|
+ </el-table-column>
|
954
|
977
|
|
955
|
978
|
|
956
|
979
|
|
957
|
|
- </el-table>
|
|
980
|
+ </el-table>
|
958
|
981
|
</span>
|
959
|
982
|
<span slot="footer" class="dialog-footer">
|
960
|
983
|
<el-button @click="startMonthdialogVisible = false">取 消</el-button>
|
|
@@ -963,8 +986,6 @@
|
963
|
986
|
</el-dialog>
|
964
|
987
|
|
965
|
988
|
</div>
|
966
|
|
-
|
967
|
|
-
|
968
|
989
|
</div>
|
969
|
990
|
</template>
|
970
|
991
|
|
|
@@ -2265,15 +2286,9 @@ export default {
|
2265
|
2286
|
this.tableDataList = newList
|
2266
|
2287
|
console.log("999999999999999999-------",this.tableDataList)
|
2267
|
2288
|
}
|
2268
|
|
-
|
2269
|
|
-
|
2270
|
|
-
|
2271
|
2289
|
}
|
2272
|
|
-
|
2273
|
|
-
|
2274
|
2290
|
}
|
2275
|
2291
|
})
|
2276
|
|
-
|
2277
|
2292
|
},
|
2278
|
2293
|
toStaticTwo(){
|
2279
|
2294
|
var str = ""
|
|
@@ -2350,6 +2365,7 @@ export default {
|
2350
|
2365
|
start_time:this.start_time,
|
2351
|
2366
|
end_time:this.end_time
|
2352
|
2367
|
}
|
|
2368
|
+ this.startMothdialogVisible = true
|
2353
|
2369
|
getDoctorAdviceMonthList(params).then(response=>{
|
2354
|
2370
|
if(response.data.state == 1){
|
2355
|
2371
|
this.startMothdialogVisible = true
|
|
@@ -3153,11 +3169,13 @@ export default {
|
3153
|
3169
|
padding: 0 2px;
|
3154
|
3170
|
}
|
3155
|
3171
|
}
|
3156
|
|
-
|
3157
|
|
-
|
3158
|
3172
|
.el-table td .cell{
|
3159
|
3173
|
white-space: pre-wrap;
|
3160
|
3174
|
}
|
|
3175
|
+ .eldialog{
|
|
3176
|
+ display: flex;
|
|
3177
|
+ justify-content: space-between;
|
|
3178
|
+ }
|
3161
|
3179
|
}
|
3162
|
3180
|
.el-table td,
|
3163
|
3181
|
.el-table th.is-leaf,
|