Просмотр исходного кода

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

陈少旭 10 месяцев назад
Родитель
Сommit
0bcebd859a

+ 3 - 2
src/api/dialysis_record.js Просмотреть файл

@@ -47,7 +47,7 @@ export function editMonitor(patient_id, schedule_date, data, mode) {
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, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date, schedule_remark, order_remark,catheter_operation) {
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, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date, schedule_remark, order_remark,catheter_operation,blood_flow_volume) {
51 51
   var params = {
52 52
     patient_id: patient_id,
53 53
     date: schedule_date,
@@ -72,7 +72,8 @@ export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_
72 72
     nuclein_date: nuclein_date,
73 73
     schedule_remark: schedule_remark,
74 74
     order_remark: order_remark,
75
-    catheter_operation:catheter_operation
75
+    catheter_operation:catheter_operation,
76
+    blood_flow_volume:blood_flow_volume,
76 77
   }
77 78
   console.log('params', params)
78 79
   return request({

+ 11 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue Просмотреть файл

@@ -771,16 +771,15 @@
771 771
                         min
772 772
                       </div>
773 773
                     </div>
774
-                    <div
775
-                      class="row"
774
+
775
+                    <div class="row"
776 776
                       style="padding: 2px 0; line-height: 23px; display: flex"
777 777
                     >
778
-
779 778
                       <div class="inline_block" style="flex:1">
780 779
                         透前症状:
781 780
                         <div
782 781
                           class="under_line"
783
-                          style="width: 130px; text-align: center"
782
+                          style="width: 80%; text-align: left"
784 783
                         >
785 784
                          <span v-if="record.assessment_before_dislysis&&record.assessment_before_dislysis.symptom_before_dialysis!=''">{{
786 785
                             record.assessment_before_dislysis &&
@@ -805,12 +804,17 @@
805 804
                           </span>
806 805
                         </div>
807 806
                       </div>
807
+                    </div>
808
+                    <div
809
+                      class="row"
810
+                      style="padding: 2px 0; line-height: 23px; display: flex"
811
+                    >   
808 812
 
809 813
                       <div class="inline_block" style="flex:1.4">
810 814
                         透析(滤)器:
811 815
                         <div
812 816
                           class="under_line"
813
-                          style="width: 100px; text-align: center"
817
+                          style="width: 60%; text-align: left"
814 818
                         >
815 819
 
816 820
                           {{
@@ -825,7 +829,7 @@
825 829
                         灌流器:
826 830
                         <div
827 831
                           class="under_line"
828
-                          style="width: 70px; text-align: center"
832
+                          style="width: 50%; text-align: left"
829 833
                         >
830 834
                           {{
831 835
                             record.prescription &&
@@ -840,7 +844,7 @@
840 844
                         滤过器:
841 845
                         <div
842 846
                           class="under_line"
843
-                          style="width: 70px; text-align: center"
847
+                          style="width: 50%; text-align: left"
844 848
                         >
845 849
                          {{
846 850
                              record.prescription.dialysis_strainer?record.prescription.dialysis_strainer:"/"

+ 14 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue Просмотреть файл

@@ -170,13 +170,13 @@
170 170
         </li> -->
171 171
 
172 172
 
173
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597">
173
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612">
174 174
           <label>处方脱水量 : </label>
175 175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
176 176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
177 177
         </li>
178 178
 
179
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597">
179
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  ">
180 180
           <label>处方脱水量 : </label>
181 181
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
182 182
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>
@@ -310,6 +310,14 @@
310 310
           <span class="unit">{{ dialysate_flow != "0" ? "ml/min" : "" }}</span>
311 311
         </li>
312 312
 
313
+        <li v-if="isShow('透析液')">
314
+          <label>透析液 : </label>
315
+          <span class="content">{{
316
+            dialyzate != "0" ? dialyzate : ""
317
+          }}</span>
318
+          <span class="unit">{{ dialyzate != "0" ? "ml/min" : "" }}</span>
319
+        </li>
320
+
313 321
         <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
314 322
           <label>维持 : </label>
315 323
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
@@ -762,6 +770,10 @@ export default {
762 770
       var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
763 771
       return v.length == 0 ? '0' : v
764 772
     },
773
+    dialyzate:function(){
774
+      var v = this.getValueStr('dialyzate', 'dialyzate')
775
+      return v.length == 0 ? '0' : v
776
+    },
765 777
     replacement_way: function() {
766 778
       return this.getValueStr('replacement_way', 'replacement_way')
767 779
     },

+ 5 - 0
src/xt_pages/dialysis/details/assessmentAfter.vue Просмотреть файл

@@ -333,6 +333,11 @@
333 333
           <label>输液量(ml): </label>
334 334
           <span class="content" >{{ this.record.transfusion_volume}}</span>
335 335
         </li>
336
+
337
+        <li v-if="isShow('灌流器凝血')">
338
+          <label>灌流器凝血: </label>
339
+          <span class="content" >{{ this.record.condenser}}</span>
340
+        </li>
336 341
       </ul>
337 342
     </div>
338 343
     <!-- <div class="note">

+ 24 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Просмотреть файл

@@ -203,6 +203,16 @@
203 203
             </el-form-item>
204 204
           </el-col>
205 205
 
206
+          <el-col :span="8" v-if="isShow('灌流器凝血')">
207
+            <el-form-item label="灌流器凝血: " :prop="isName('灌流器凝血')" :rules="isCheckmust('灌流器凝血')">
208
+              <el-input
209
+                v-model="form.condenser "
210
+                readonly
211
+                @focus="showDialog('11')"
212
+              ></el-input>
213
+            </el-form-item>
214
+          </el-col>
215
+
206 216
           <el-col :span="8" v-if="isShow('管路凝血')">
207 217
             <el-form-item label="管路凝血: " :prop="isName('管路凝血')" :rules="isCheckmust('管路凝血')">
208 218
               <el-input
@@ -869,6 +879,7 @@ export default {
869 879
         after_urea:"",
870 880
         accumulated_blood_volume:"",
871 881
         transfusion_volume:"",
882
+        condenser:""
872 883
       },
873 884
       lapseList:[],
874 885
       leaveOfficeMethod:[],
@@ -1209,7 +1220,7 @@ export default {
1209 1220
           data["pip_coagulation"] = this.form.pip_coagulation
1210 1221
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1211 1222
           data["transfusion_volume"] = this.form.transfusion_volume
1212
-
1223
+          data["condenser"] = this.form.condenser
1213 1224
           console.log("Paramsquery",data)
1214 1225
 
1215 1226
           postAssessmentAfterDislysis(ParamsQuery, data)
@@ -1253,7 +1264,7 @@ export default {
1253 1264
       switch (val) {
1254 1265
         case '1':
1255 1266
           this.InnerDialogProps.values = this.cruorOptions
1256
-          this.InnerDialogProps.titles = '凝血'
1267
+          this.InnerDialogProps.titles = '透析器凝血'
1257 1268
           this.InnerDialogProps.type = 'cruor'
1258 1269
           this.InnerDialogProps.selected = this.form.cruor
1259 1270
           this.InnerDialogProps.isShowTextArea = false
@@ -1323,6 +1334,13 @@ export default {
1323 1334
           this.InnerDialogProps.selected = this.form.pip_coagulation
1324 1335
           this.InnerDialogProps.isShowTextArea = false
1325 1336
           break
1337
+          case '11':
1338
+          this.InnerDialogProps.values = this.cruorOptions
1339
+          this.InnerDialogProps.titles = '灌流器凝血'
1340
+          this.InnerDialogProps.type = 'condenser'
1341
+          this.InnerDialogProps.selected = this.form.condenser
1342
+          this.InnerDialogProps.isShowTextArea = false
1343
+          break
1326 1344
       }
1327 1345
     },
1328 1346
     selectActualTreatmentHour(val) {
@@ -1363,8 +1381,12 @@ export default {
1363 1381
         case 'sealing_fluid_dispose':
1364 1382
           this.form.sealing_fluid_dispose = val.value.join(',')
1365 1383
           break
1384
+        case 'condenser':
1385
+          this.form.condenser = val.value.join(',')
1386
+          break
1366 1387
         default:
1367 1388
           break
1389
+        
1368 1390
       }
1369 1391
       // console.log(val);
1370 1392
     },

+ 20 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Просмотреть файл

@@ -292,6 +292,19 @@
292 292
           </el-form-item>
293 293
 
294 294
 
295
+          <el-form-item
296
+            :prop="isName('血流量(ml/min)')"
297
+            :rules="isCheckmust('血流量')"
298
+            v-if="isShowFiled('血流量')"
299
+          >
300
+            <el-input
301
+              type="textarea"
302
+              v-model="form.blood_flow_volume"
303
+              :rows="4"
304
+            ></el-input>
305
+          </el-form-item>
306
+
307
+
295 308
         <el-form-item
296 309
           label="核酸检测日期:"
297 310
           style="width: 300px"
@@ -309,6 +322,8 @@
309 322
           ></el-date-picker>
310 323
         </el-form-item>
311 324
 
325
+
326
+
312 327
         <el-form-item
313 328
           label="上机时间 :"
314 329
           style="width: 300px"
@@ -460,7 +475,8 @@ export default {
460 475
       value2:"",
461 476
       infoDialogVisible:false,
462 477
       selected_date:"",
463
-      remark:""
478
+      remark:"",
479
+      blood_flow_volume:"" ,
464 480
     };
465 481
   },
466 482
   props: {
@@ -912,7 +928,8 @@ export default {
912 928
             this.form.dialysis_irrigation,
913 929
             this.form.blood_access_id,
914 930
             this.form.nuclein_date,
915
-            this.form.catheter_operation
931
+            this.form.catheter_operation,
932
+            this.form.blood_flow_volume
916 933
           ).then((rs) => {
917 934
             this.loading = false;
918 935
             var resp = rs.data;
@@ -965,6 +982,7 @@ export default {
965 982
       ParamsQuery["nuclein_date"] = this.form.nuclein_date;
966 983
       ParamsQuery["mode"] = "2";
967 984
       ParamsQuery['catheter_operation'] = this.form.catheter_operation
985
+      ParamsQuery["blood_flow_volume"] = this.form.blood_flow_volume
968 986
       if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
969 987
         ParamsQuery["mode"] = "3";
970 988
       }

+ 23 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Просмотреть файл

@@ -138,7 +138,7 @@
138 138
                     </el-col>
139 139
 
140 140
                     <el-col :span="8"
141
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597">
141
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612">
142 142
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
143 143
                             <el-input
144 144
                                     type="number"
@@ -148,7 +148,7 @@
148 148
                     </el-col>
149 149
 
150 150
                     <el-col :span="8"
151
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597">
151
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 ">
152 152
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
153 153
                             <el-input
154 154
                                     type="number"
@@ -191,6 +191,20 @@
191 191
                         </el-form-item>
192 192
                     </el-col>
193 193
 
194
+
195
+                    <el-col :span="8" v-if="isShows('透析液')">
196
+                        <el-form-item label="透析液:" prop="dialyzate" :rules="isCheckmust('透析液')">
197
+                           <el-select v-model="dialysisPrescription.dialyzate">
198
+                                <el-option
199
+                                        v-for="(item, index) in dialyzateList"
200
+                                        :label="item.name"
201
+                                        :value="item.name"
202
+                                        :key="index + 'q'"
203
+                                ></el-option>
204
+                            </el-select>
205
+                        </el-form-item>
206
+                    </el-col>
207
+
194 208
                     <el-col :span="8" v-if="isShows('单超时长') && dialysisPrescription.is_water == 1">
195 209
                         <el-form-item label="单超时长(h):" prop="single_time" :rules="isCheckmust('单超时长')">
196 210
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
@@ -1773,7 +1787,8 @@
1773 1787
           warsh_count:"",
1774 1788
           washing_time:"",
1775 1789
           blood_access_part_id:"",
1776
-          anticoagulant_weichi_hour:""
1790
+          anticoagulant_weichi_hour:"",
1791
+          dialyzate:""
1777 1792
         },
1778 1793
 
1779 1794
         anticoagulant: {
@@ -1815,6 +1830,11 @@
1815 1830
           {id:1,name:"是"},
1816 1831
           {id:2,name:"否"}
1817 1832
         ],
1833
+        dialyzateList:[
1834
+          {id:0,name:"请选择"},
1835
+          {id:1,name:"碳酸"},
1836
+          {id:2,name:"醋酸"}
1837
+        ],
1818 1838
         machineList:[
1819 1839
           {id:1,name:"是"},
1820 1840
           {id:2,name:"否"}

+ 13 - 0
src/xt_pages/dialysis/details/dialysisComputer.vue Просмотреть файл

@@ -98,6 +98,12 @@
98 98
           <span class="content">{{catheter_operation}}</span>
99 99
         </li>
100 100
       </ul>
101
+      <ul>
102
+        <li v-if="isShow('血流量')">
103
+          <label>血流量 : </label>
104
+          <span class="content">{{blood_flow_volume}}</span>
105
+        </li>
106
+      </ul>
101 107
     </div>
102 108
     <div class="middleLine"></div>
103 109
   </div>
@@ -238,6 +244,13 @@
238 244
           return this.record.catheter_operation
239 245
         }
240 246
        
247
+      },
248
+      blood_flow_volume:function(){
249
+        if(this.record.id == 0){
250
+          return '-'
251
+        }else{
252
+          return this.record.blood_flow_volume
253
+        }
241 254
       }
242 255
     },
243 256
     methods: {

+ 30 - 3
src/xt_pages/dialysis/dialysisPrintOrder.vue Просмотреть файл

@@ -869,6 +869,18 @@
869 869
         >
870 870
         </div>
871 871
       </template>
872
+      <template v-if="org_template_info.template_id == 71">
873
+        <div>
874
+          <el-button
875
+          :loading="loading"
876
+          size="small"
877
+          icon="el-icon-printer"
878
+          @click="printThisPage"
879
+          type="primary"
880
+          >打印</el-button
881
+        >
882
+        </div>
883
+      </template>
872 884
     </div>
873 885
     <div class="app-container" style="min-height: 0">
874 886
       <!--<div class="order-print-btn"-->
@@ -1346,12 +1358,18 @@
1346 1358
           >
1347 1359
 
1348 1360
           </DialysisPrintOrderSeventy>
1361
+          <DialysisPrintOrderseventyone
1362
+            v-bind:childResponse="childResponse"
1363
+            v-if="org_template_info.template_id == 71"
1364
+          >
1365
+          </DialysisPrintOrderseventyone>
1349 1366
 
1350 1367
           <DialysisPrintOrderZero
1351 1368
             v-bind:childResponse="childResponse"
1352 1369
             v-if="org_template_info.template_id == 199"
1353 1370
           >
1354 1371
           </DialysisPrintOrderZero>
1372
+
1355 1373
         </div>
1356 1374
       </el-container>
1357 1375
     </div>
@@ -1440,6 +1458,7 @@ import DialysisPrintOrdersixtySeven from './template/DialysisPrintOrdersixtySeve
1440 1458
 import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeight'
1441 1459
 import DialysisPrintOrderSixtynine from './template/DialysisPrintOrderSixtynine'
1442 1460
 import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
1461
+import DialysisPrintOrderseventyone from './template/DialysisPrintOrderseventyone'
1443 1462
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1444 1463
 export default {
1445 1464
   name: "dialysisPrintOrder",
@@ -1514,6 +1533,7 @@ export default {
1514 1533
     DialysisPrintOrderSixtyeight,
1515 1534
     DialysisPrintOrderSixtynine,
1516 1535
     DialysisPrintOrderSeventy,
1536
+    DialysisPrintOrderseventyone,
1517 1537
     DialysisPrintOrderZero,
1518 1538
     LabelBox,
1519 1539
     BreadCrumb,
@@ -2153,7 +2173,14 @@ export default {
2153 2173
           style: style2,
2154 2174
           scanStyles: false,
2155 2175
         });
2156
-      }else if (this.org_template_info.template_id == 199 ) {
2176
+      }else if (this.org_template_info.template_id == 71) {
2177
+        printJS({
2178
+          printable: "dialysis-print-box",
2179
+          type: "html",
2180
+          style: style,
2181
+          scanStyles: false,
2182
+        });
2183
+      } else if (this.org_template_info.template_id == 199 ) {
2157 2184
         printJS({
2158 2185
           printable: "dialysis-print-box-1",
2159 2186
           type: "html",
@@ -2161,8 +2188,8 @@ export default {
2161 2188
           scanStyles: false,
2162 2189
         });
2163 2190
 
2164
-
2165 2191
       }
2192
+     
2166 2193
     },
2167 2194
     printThisOnePage() {
2168 2195
       var ptime = Math.round(new Date().getTime() / 1000);
@@ -2229,7 +2256,7 @@ export default {
2229 2256
       const style =
2230 2257
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
2231 2258
       const style2 =
2232
-        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2259
+        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line2 {display: inline-block;border-bottom: 1px solid #999;text-align: left;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2233 2260
 
2234 2261
       // 雷州惠爱样式
2235 2262
       const style93 ='@page {margin-top:10px;}@media print {.dialysis-print-order{width:960px;margin:0 auto;margin-top:30px;} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .dialysis-print-order .print-table .short_tr th p{height:20px !important; line-height:20px !important;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;white-space:normal;height: fit-content;} .dialysis-print-order .td_div1{display:flex;white-space: normal;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-table tr th p{height: 20px; line-height: 20px}  .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}  .dialysis-print-order tbody .print-table tr{page-break-inside:avoid;} .dialysis-print-order tbody .print-table tr td{border: 1px solid #000;} ';

+ 30 - 13
src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue Просмотреть файл

@@ -748,11 +748,35 @@
748 748
                     </div>
749 749
                   </div>
750 750
 
751
+                  <div class="row"
752
+                    style="padding: 2px 0; line-height: 23px; display: flex"
753
+                  >
754
+                  <div class="inline_block" style="flex: 1">
755
+                      透前症状:
756
+                      <div
757
+                        class="under_line"
758
+                        style="width: 80%; text-align: left"
759
+                      >
760
+                       <span v-if="predialysis&&predialysis.symptom_before_dialysis!=''">
761
+                        {{
762
+                          predialysis.symptom_before_dialysis
763
+                            ? predialysis.symptom_before_dialysis
764
+                            : "/"
765
+                        }}
766
+                       </span> 
767
+                       <span v-if="predialysis&&predialysis.symptom_before_dialysis_other!=''">
768
+                         {{ predialysis.symptom_before_dialysis_other?predialysis.symptom_before_dialysis_other:"/" }}
769
+                       </span>
770
+                       <span v-if="predialysis&&predialysis.symptom_before_dialysis==''&&predialysis.symptom_before_dialysis_other==''">/</span>
771
+                      </div>
772
+                    </div>
773
+                  </div>
774
+
751 775
                   <div
752 776
                     class="row"
753 777
                     style="padding: 2px 0; line-height: 23px; display: flex"
754 778
                   >
755
-                    <div class="inline_block" style="flex: 1">
779
+                    <!-- <div class="inline_block" style="flex: 1">
756 780
                       透前症状:
757 781
                       <div
758 782
                         class="under_line"
@@ -770,21 +794,16 @@
770 794
                        </span>
771 795
                        <span v-if="predialysis&&predialysis.symptom_before_dialysis==''&&predialysis.symptom_before_dialysis_other==''">/</span>
772 796
                       </div>
773
-                    </div>
797
+                    </div> -->
774 798
 
775 799
                     <div class="inline_block" style="flex: 1.2">
776 800
                       透析(滤)器:
777 801
                       <!--  透析(滤)器分开取值 -->
778 802
                       <div
779 803
                         class="under_line"
780
-                        style="width: 100px; text-align: center"
804
+                        style="width: 60%; text-align: left"
781 805
                       >
782
-                        <!-- {{
783
-                          prescription.dialyzer_perfusion_apparatus
784
-                            ? prescription.dialyzer_perfusion_apparatus
785
-                            : ""
786
-                        }} -->
787
-                        <!-- <span v-if="prescription.dialyzer_perfusion_apparatus&&prescription.dialyzer_perfusion_apparatus!=''">/</span> -->
806
+                       
788 807
                         {{
789 808
                           prescription.dialysis_dialyszers
790 809
                             ? prescription.dialysis_dialyszers
@@ -800,7 +819,7 @@
800 819
                       灌流器:
801 820
                       <div
802 821
                         class="under_line"
803
-                        style="width: 70px; text-align: center"
822
+                        style="width: 50%; text-align: left"
804 823
                       >
805 824
                         {{
806 825
                           prescription.dialysis_irrigation
@@ -814,7 +833,7 @@
814 833
                       滤过器:
815 834
                       <div
816 835
                         class="under_line"
817
-                        style="width: 70px; text-align: center"
836
+                        style="width: 50%; text-align: left"
818 837
                       >
819 838
                       {{
820 839
                            prescription.dialysis_strainer?
@@ -822,9 +841,7 @@
822 841
                          }}
823 842
                       </div>
824 843
                     </div>
825
-
826 844
                   </div>
827
-
828 845
                   <div
829 846
                     class="row"
830 847
                     style="padding: 2px 0; line-height: 23px; display: flex"

+ 85 - 14
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue Просмотреть файл

@@ -234,7 +234,7 @@
234 234
                       alt
235 235
                       srcset
236 236
                       v-else -->
237
-                      <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
237
+                      <!-- <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
238 238
                         {{ getAdminUser(advices[0].advice_doctor) }}
239 239
                       </span>
240 240
                       <img
@@ -244,7 +244,35 @@
244 244
                         alt
245 245
                         srcset
246 246
                         v-else
247
-                    />
247
+                    /> -->
248
+
249
+                    <span v-if="advices[0]&&advices[0].advice_doctor>0 == 0">
250
+                        <span v-if="setAdminUserES(prescription.creater) == ''">
251
+                          {{ getAdminUser(prescription.creater) }}
252
+                        </span>
253
+                        <img
254
+                          class="es-img"
255
+                          style="height: 30px"
256
+                          :src="setAdminUserES(prescription.creater)"
257
+                          alt
258
+                          srcset
259
+                          v-else
260
+                        />
261
+                       </span>
262
+
263
+                       <span v-if="advices[0]&&advices[0].advice_doctor>0">
264
+                        <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
265
+                          {{ getAdminUser(advices[0].advice_doctor) }}
266
+                        </span>
267
+                        <img
268
+                          class="es-img"
269
+                          style="height: 30px"
270
+                          :src="setAdminUserES(advices[0].advice_doctor)"
271
+                          alt
272
+                          srcset
273
+                          v-else
274
+                        />
275
+                       </span>
248 276
                   </div>
249 277
                 </td>
250 278
               </tr>
@@ -664,18 +692,61 @@
664 692
                     </div>
665 693
                     <div style="display: inline-block; margin-left: 30px;">
666 694
                       医生签名:
667
-                       
668
-                      <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
669
-                        {{ getAdminUser(advices[0].advice_doctor) }}
670
-                      </span>
671
-                      <img
672
-                        class="es-img"
673
-                        style="height: 30px"
674
-                        :src="setAdminUserES(advices[0].advice_doctor)"
675
-                        alt
676
-                        srcset
677
-                        v-else
678
-                      />
695
+                      <span v-if="advices[0]&&advices[0].advice_doctor>0 == 0">
696
+                        <span v-if="setAdminUserES(prescription.creater) == ''">
697
+                          {{ getAdminUser(prescription.creater) }}
698
+                        </span>
699
+                        <img
700
+                          class="es-img"
701
+                          style="height: 30px"
702
+                          :src="setAdminUserES(prescription.creater)"
703
+                          alt
704
+                          srcset
705
+                          v-else
706
+                        />
707
+                       </span>
708
+
709
+                       <span v-if="advices[0]&&advices[0].advice_doctor>0">
710
+                        <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
711
+                          {{ getAdminUser(advices[0].advice_doctor) }}
712
+                        </span>
713
+                        <img
714
+                          class="es-img"
715
+                          style="height: 30px"
716
+                          :src="setAdminUserES(advices[0].advice_doctor)"
717
+                          alt
718
+                          srcset
719
+                          v-else
720
+                        />
721
+                       </span>
722
+                       <!-- <span v-if="advices[0]&&advices[0].advice_doctor>0 == 0">
723
+                        <span v-if="setAdminUserES(prescription.creater) == ''">
724
+                          {{ getAdminUser(prescription.creater) }}
725
+                        </span>
726
+                        <img
727
+                          class="es-img"
728
+                          style="height: 30px"
729
+                          :src="setAdminUserES(prescription.creater)"
730
+                          alt
731
+                          srcset
732
+                          v-else
733
+                        />
734
+                       </span>
735
+
736
+                       <span v-if="advices[0]&&advices[0].advice_doctor>0">
737
+                        <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
738
+                          {{ getAdminUser(advices[0].advice_doctor) }}
739
+                        </span>
740
+                        <img
741
+                          class="es-img"
742
+                          style="height: 30px"
743
+                          :src="setAdminUserES(advices[0].advice_doctor)"
744
+                          alt
745
+                          srcset
746
+                          v-else
747
+                        />
748
+                       </span> -->
749
+                      
679 750
                     </div>
680 751
                     <div style="display: inline-block; margin-left: 70px;">
681 752
                       护士签名:

Разница между файлами не показана из-за своего большого размера
+ 1676 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue


+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/printTenOne.vue Просмотреть файл

@@ -151,7 +151,7 @@
151 151
               srcset=""
152 152
             />
153 153
           </p>
154
-
154
+          <p style="line-height: 50px;" v-if="org_id==10217||org_id==0">打印日期:{{ getTime(new Date()) ? getTime(new Date()) : "" }}</p>
155 155
         </div>
156 156
         <div class="actionBar">
157 157
           <p >审核、调配:</p>

+ 2 - 2
src/xt_pages/role/admin.vue Просмотреть файл

@@ -25,12 +25,12 @@
25 25
         >医药师登记</el-button>
26 26
 
27 27
 
28
-       <!-- <el-button
28
+       <el-button
29 29
           type="primary"
30 30
           size="small"
31 31
           icon="el-icon-circle-plus-outline"
32 32
           style="float:left"
33
-          @click="toJiaBan">加班</el-button> -->
33
+          @click="toJiaBan">首拼</el-button>
34 34
 
35 35
 
36 36
           <!-- <el-button

+ 8 - 3
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue Просмотреть файл

@@ -398,7 +398,7 @@ export default {
398 398
             //   list[i].drugIn = this.getDrugWarehouseInfoOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
399 399
             //   list[i].drugInMoney = this.getDrugInMoneyOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
400 400
             //   list[i].drugSaleMoney = this.getSaleMoneyOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
401
-              list[i].drugInMoney = "/"
401
+              list[i].drugInMoney = list[i].last_price
402 402
               list[i].drugSaleMoney = "/"
403 403
 
404 404
               list[i].drugAdd = this.drugAddInfo(list[i].DrugWarehouseInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryProfit)
@@ -418,8 +418,12 @@ export default {
418 418
             //   list[i].overDrug = this.getDrugWarehouseInfo(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
419 419
             //   list[i].overDrugPrice =  this.getDrugInMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
420 420
             //   list[i].oveDrugSaleMoney =  this.getSaleMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
421
-            //  list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
422
-             list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
421
+            if(this.org_id == 0 || this.org_id == 10265){
422
+              list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
423
+            }else{
424
+              list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
425
+            }
426
+            
423 427
              list[i].overDrugPrice = "/"
424 428
              list[i].oveDrugSaleMoney = "/"
425 429
             }
@@ -1292,6 +1296,7 @@ export default {
1292 1296
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1293 1297
           this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1294 1298
           this.tableList[i].specification_name = this.tableList[i].dose + this.tableList[i].dose_unit +"*"+this.tableList[i].min_number + this.tableList[i].min_unit+"/"+this.tableList[i].max_unit
1299
+          // this.tableList[i].drugInMoney = this.tableList[i].last_price
1295 1300
 
1296 1301
         }
1297 1302
         import('@/vendor/Export2Excel').then(excel => {

+ 5 - 2
src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue Просмотреть файл

@@ -328,8 +328,11 @@ export default {
328 328
                 //   list[i].overDrug = this.getDrugWarehouseInfo(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
329 329
                 //   list[i].overDrugPrice =  this.getDrugInMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
330 330
                 //   list[i].oveDrugSaleMoney =  this.getSaleMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
331
-                // list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
332
-                list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
331
+                if(this.org_id == 0 || this.org_id ==10265){
332
+                  list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
333
+                }else{
334
+                  list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
335
+                }
333 336
                 list[i].overDrugPrice = "/"
334 337
                 list[i].oveDrugSaleMoney = "/"
335 338
             }

+ 8 - 2
src/xt_pages/stock/query/purchaseNewStockQuery.vue Просмотреть файл

@@ -286,8 +286,13 @@ export default {
286 286
               // list[i].overStock= this.getEndWarehouseInfo(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
287 287
               // list[i].overPrice= this.getEndOverPrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
288 288
               // list[i].overMoney = this.getEndSalePrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
289
-              // list[i].overStock = list[i].GoodEndFlowInfo.over_count
290
-              list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
289
+              if(this.org_id == 10265 || this.org_id == 0){
290
+                list[i].overStock = list[i].GoodEndFlowInfo.over_count
291
+              }else{
292
+                list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
293
+              }
294
+            
295
+            
291 296
               list[i].overPrice = "/"
292 297
               list[i].overMoney = "/"
293 298
              
@@ -1015,6 +1020,7 @@ export default {
1015 1020
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1016 1021
           this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1017 1022
           this.tableList[i].specification_name_one = this.tableList[i].specification_name + "/"+this.tableList[i].packing_unit
1023
+          // this.tableList[i].stock_in_price = this.tableList[i].buy_price
1018 1024
         }
1019 1025
         import('@/vendor/Export2Excel').then(excel => {
1020 1026
            const multiHeader = [['序号', '查询日期',' 耗材类型','耗材名称','规格&单位','生产产商','经销商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]

+ 7 - 2
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue Просмотреть файл

@@ -188,8 +188,13 @@ export default {
188 188
                     // list[i].overStock= this.getEndWarehouseInfo(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
189 189
                     // list[i].overPrice= this.getEndOverPrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
190 190
                     // list[i].overMoney = this.getEndSalePrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
191
-                    // list[i].overStock = list[i].GoodEndFlowInfo.over_count
192
-                    list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
191
+                    if(this.org_id ==0 || this.org_id ==10265){
192
+                      list[i].overStock = list[i].GoodEndFlowInfo.over_count
193
+                    }else{
194
+                        list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
195
+                    } 
196
+                  
197
+                  
193 198
                     list[i].overPrice = "/"
194 199
                     list[i].overMoney = "/"
195 200
                 

+ 24 - 25
src/xt_pages/workforce/components/tableData.vue Просмотреть файл

@@ -91,7 +91,6 @@
91 91
         </el-switch>
92 92
       </div>
93 93
     </div>
94
-
95 94
     <!-- <el-dialog :visible.sync="searchTableVisible" width="80%" class="eldialog">
96 95
       <div style="position: relative;">
97 96
         <el-table
@@ -267,7 +266,7 @@
267 266
         show-summary
268 267
         :cell-class-name="cellClass"
269 268
         sum-text="总数"
270
-        height="600"
269
+        height="calc(100vh - 150px)"
271 270
         ref="table"
272 271
         style="table-layout: fixed;"
273 272
       >
@@ -737,7 +736,7 @@
737 736
 </template>
738 737
 
739 738
 <script>
740
-import Drag from '@/utils/move.js';
739
+// import Drag from '@/utils/move.js';
741 740
 import { uParseTime } from "@/utils/tools";
742 741
 import print from 'print-js'
743 742
 const moment = require('moment')
@@ -793,7 +792,7 @@ export default {
793 792
   },
794 793
   data() {
795 794
     return {
796
-      // tableContainHeight:"calc(100% - 50px)",
795
+      // tableContainHeight:null,
797 796
       value1:false,
798 797
       modename_value:true,
799 798
       weeks:weekOptions,
@@ -931,27 +930,27 @@ export default {
931 930
   },
932 931
 
933 932
   watch: {
934
-    // schedule_type:function (){
935
-    //   this.isShowShangWu = false
936
-    //   this.isShowXiaWu = false
937
-    //   this.isShowWanShang = false
938
-    //   if(this.schedule_type.length > 0) {
939
-    //     for (let i = 0; i < this.schedule_type.length; i++) {
940
-    //       if (this.schedule_type[i] == 1) {
941
-    //         this.isShowShangWu = true
942
-    //       } else if (this.schedule_type[i] == 2) {
943
-    //         this.isShowXiaWu = true
944
-    //       } else if (this.schedule_type[i] == 3) {
945
-    //         this.isShowWanShang = true
946
-    //       }
947
-    //     }
948
-    //   }else{
949
-    //     this.isShowShangWu = true
950
-    //     this.isShowXiaWu = true
951
-    //     this.isShowWanShang = true
952
-    //   }
933
+     schedule_type:function (){
934
+       this.isShowShangWu = false
935
+      this.isShowXiaWu = false
936
+      this.isShowWanShang = false
937
+      if(this.schedule_type.length > 0) {
938
+        for (let i = 0; i < this.schedule_type.length; i++) {
939
+          if (this.schedule_type[i] == 1) {
940
+            this.isShowShangWu = true
941
+          } else if (this.schedule_type[i] == 2) {
942
+            this.isShowXiaWu = true
943
+          } else if (this.schedule_type[i] == 3) {
944
+            this.isShowWanShang = true
945
+          }
946
+        }
947
+      }else{
948
+        this.isShowShangWu = true
949
+        this.isShowXiaWu = true
950
+        this.isShowWanShang = true
951
+      }
953 952
 
954
-    // },
953
+    },
955 954
      week_type:function () {
956 955
       // console.log(this.week_type)
957 956
       // console.log(this.schedule_type)
@@ -3464,7 +3463,7 @@ textarea{
3464 3463
 }
3465 3464
 
3466 3465
 #table_data {
3467
-  min-height: calc(100vh - 350px);
3466
+  //min-height: calc(100vh - 350px);
3468 3467
   .switch{
3469 3468
     margin-left: 10px;
3470 3469
   }