28169 il y a 8 mois
Parent
révision
f8a084ed29

+ 21 - 3
src/api/drug/drug.js Voir le fichier

@@ -775,11 +775,29 @@ export function getSelfDrugBatchNumber(params){
775 775
   })
776 776
 }
777 777
 
778
-export function postSelfDrugWarehouseOut(params, warehousing_time, dealer_id, manufacturer_id, type, storehouse_id, warehouse_out_id){
778
+export function postSelfDrugWarehouseOut(params, warehousing_time, dealer_id, manufacturer_id, type, patient_id, warehouse_out_id){
779 779
 
780 780
    return request({
781
-    url:"/api/drug/postsetfdrugwarehouseout?warehousing_out_time="+warehousing_time+ '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type + '&storehouse_id=' + storehouse_id + '&warehouse_out_id=' + warehouse_out_id,
781
+    url:"/api/drug/postsetfdrugwarehouseout?warehousing_out_time="+warehousing_time+ '&dealer_id=' + dealer_id + '&manufacturer_id=' + manufacturer_id + '&type=' + type + '&patient_id=' + patient_id + '&warehouse_out_id=' + warehouse_out_id,
782 782
     method:"post",
783
-    params:params,
783
+    data:params,
784 784
    })
785
+}
786
+
787
+export function getAllSelfDrugWarehouseOutList(params){
788
+ 
789
+  return request({
790
+    url:"/api/drug/getallselfdrugwarehouseoutlist",
791
+    method:"get",
792
+    params:params
793
+  })
794
+}
795
+
796
+export function deleteSelfWarehouseOut(id,params){
797
+
798
+  return request({
799
+    url:"/api/drug/deleteselfwarehouseout?id="+id,
800
+    method:"get",
801
+    params:params
802
+  })
785 803
 }

+ 7 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfive.vue Voir le fichier

@@ -815,7 +815,7 @@
815 815
                   <td width="50">UFR<br/>ml/h</td>
816 816
                   <td width="50">UF<br/>ml</td>
817 817
                   <td width="65">剩余肝素<br/>ml</td>
818
-                  <td width="65" v-if="record.prescription.mode_id == 2">置换量<br/>L</td>
818
+                  <td width="65" v-if="record.prescription.mode_id == 2">置换量<br/>L</td>
819 819
                   <td width="200">病情变化</td>
820 820
                 </tr>
821 821
                 <tr v-for="(monitor_record, j) in record.monitor_records" :key="j" >
@@ -1408,12 +1408,12 @@ export default {
1408 1408
               this.records[i].monitor_records[j].end = "【结束透析】";
1409 1409
               tempmonitorflag = false;
1410 1410
             }
1411
-            if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1412
-              this.records[i].monitor_records[j].end = "【结束透析】";
1413
-             }
1414
-             if(this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == ""){
1415
-               this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
1416
-             }
1411
+            // if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1412
+            //   this.records[i].monitor_records[j].end = "【结束透析】";
1413
+            //  }
1414
+            //  if(this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == ""){
1415
+            //    this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
1416
+            //  }
1417 1417
             }
1418 1418
           }
1419 1419
           for (const recordIndex in this.records) {

+ 41 - 37
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Voir le fichier

@@ -1488,29 +1488,33 @@
1488 1488
                         </div>
1489 1489
                       </div>
1490 1490
 
1491
-                      <div class="inline_block" style="margin-left: 20px">
1491
+                    
1492
+                      <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1493
+                       <div class="inline_block">
1492 1494
                         上机时间:
1493 1495
                         <div
1494 1496
                           class="under_line"
1495 1497
                           style="width: 50px; text-align: center"
1496 1498
                         >
1497
-                          {{
1498
-                            record.dialysis_order &&
1499
-                            record.dialysis_order.device_number &&
1500
-                            record.dialysis_order.device_number.number.length >
1501
-                              0
1502
-                              ? record.dialysis_order.device_number.number
1503
-                              : record.device_number.number
1504
-                          }}
1499
+                          {{getTime(record.dialysis_order.start_time, "{h}:{i}")}}
1505 1500
                         </div>
1506 1501
                       </div>
1507 1502
 
1508
-                      <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex" v-if="org_id == 0|| org_id ==10598">
1503
+                      <div class="inline_block" v-if="org_id == 0|| org_id ==10598" style="margin-left: 20px">
1509 1504
                         在线Kt/V监测:
1510 1505
                         <div class="under_line" style="width: 30px; text-align: center">
1511 1506
                            <check-box :checked="true"></check-box>
1512 1507
                          </div>
1513 1508
                       </div>
1509
+
1510
+                     </div>
1511
+
1512
+                      <!-- <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex" v-if="org_id == 0|| org_id ==10598">
1513
+                        在线Kt/V监测:
1514
+                        <div class="under_line" style="width: 30px; text-align: center">
1515
+                           <check-box :checked="true"></check-box>
1516
+                         </div>
1517
+                      </div> -->
1514 1518
                       <div
1515 1519
                         class="row"
1516 1520
                         style="padding: 2px 0; line-height: 23px; display: flex"
@@ -3264,38 +3268,11 @@
3264 3268
                           }}
3265 3269
                         </div>
3266 3270
                       </div>
3267
-
3268
-
3269 3271
                     </div>
3270
-                  <div
3271
-                    class="row"
3272
-                    style="padding: 2px 0; line-height: 23px; display: flex"
3273
-                  >
3274
-                    <div
3275
-                      class="inline_block"
3276
-                      style="flex: 1; display: inline-block"
3277
-                    >
3278
-                      备注:
3279
-                      <div
3280
-                        class="under_line"
3281
-                        style="
3282
-                          width: 860px;
3283
-                          line-height: 25px;
3284
-                          text-align: left;
3285
-                          margin-left: 2px;
3286
-                          display: inline-block;
3287
-                          white-space: normal;
3288
-                        "
3289
-                      >
3290
-                        {{ record.assessment_after_dislysis.remark ?record.assessment_after_dislysis.remark : "/" }}
3291
-                      </div>
3292
-                    </div>
3293
-                  </div>
3294 3272
 
3295 3273
                     <div
3296 3274
                       class="row"
3297 3275
                       style="padding: 2px 0; line-height: 23px; display: flex"
3298
-                      v-if="org_id == 0 || org_id ==10375"
3299 3276
                     >
3300 3277
                       <div
3301 3278
                         class="inline_block"
@@ -3323,6 +3300,33 @@
3323 3300
 
3324 3301
 
3325 3302
                     </div>
3303
+                    
3304
+                  <div
3305
+                    class="row"
3306
+                    style="padding: 2px 0; line-height: 23px; display: flex"
3307
+                  >
3308
+                    <div
3309
+                      class="inline_block"
3310
+                      style="flex: 1; display: inline-block"
3311
+                    >
3312
+                      备注:
3313
+                      <div
3314
+                        class="under_line"
3315
+                        style="
3316
+                          width: 860px;
3317
+                          line-height: 25px;
3318
+                          text-align: left;
3319
+                          margin-left: 2px;
3320
+                          display: inline-block;
3321
+                          white-space: normal;
3322
+                        "
3323
+                      >
3324
+                        {{ record.assessment_after_dislysis.remark ?record.assessment_after_dislysis.remark : "/" }}
3325
+                      </div>
3326
+                    </div>
3327
+                  </div>
3328
+
3329
+                   
3326 3330
                   </td>
3327 3331
                 </tr>
3328 3332
                 <tr>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue Voir le fichier

@@ -549,7 +549,7 @@
549 549
                 <td width="50">UFR<br/>ml/h</td>
550 550
                 <td width="50">UF<br/>ml</td>
551 551
                 <td width="65">剩余肝素<br/>ml</td>
552
-                <td width="65" v-if="prescription.mode == 'HDF'">置换量<br/>L</td>
552
+                <td width="65" v-if="prescription.mode == 'HDF'">置换量<br/>L</td>
553 553
                 <td width="200">病情变化</td>
554 554
               </tr>
555 555
               <tr v-for="(monitor, monindex) in monitors" :key="monindex" style="padding: 5px 0;line-height: 35px;">

+ 25 - 17
src/xt_pages/stock/selfPreparedMedicine/addWarehouseOut.vue Voir le fichier

@@ -51,7 +51,7 @@
51 51
           <label class="title"><span class="name">出库</span> : </label>
52 52
           <el-date-picker
53 53
             size="small"
54
-            v-model="warehousing_time"
54
+            v-model="warehouse_out_time"
55 55
             prefix-icon="el-icon-date"
56 56
             :editable="false"
57 57
             style="width: 196px"
@@ -175,14 +175,14 @@
175 175
               <template slot-scope="scope">
176 176
                 <el-form-item
177 177
                   :prop="'recordData.' + scope.$index + '.warehousing_count'"
178
-                  :rules="tableRules.warehousing_count"
178
+                  :rules="tableRules.count"
179 179
                   style="padding-top: 10px"
180 180
                 >
181 181
                   <div style="display: flex">
182 182
                   
183 183
                     <el-input
184 184
                       placeholder="请输入入库数量"
185
-                      v-model="scope.row.warehousing_count"
185
+                      v-model="scope.row.count"
186 186
                       style="width: 120px"
187 187
                     ></el-input>
188 188
                   
@@ -377,7 +377,7 @@
377 377
           { path: false, name: "新增入库单" },
378 378
         ],
379 379
         signAndWeighBoxPatients: "sign-and-weigh-box-patients",
380
-        warehousing_time: "",
380
+        warehouse_out_time: "",
381 381
         adminUserOptions: null,
382 382
         currentIndex: 0,
383 383
         listLoading: false,
@@ -629,27 +629,33 @@
629 629
       handleEdit: function (index, row) {
630 630
         const tempObj = {};
631 631
         tempObj["id"] = 0;
632
-        tempObj["drug_name"] = "";
633 632
         tempObj["drug_id"] = 0;
634
-        tempObj["number"] = "";
635
-        tempObj["product_date"] = "";
636
-        tempObj["expiry_date"] = "";
637
-        tempObj["warehousing_count"] = "";
638
-        tempObj["retail_price"] = "";
633
+        tempObj["max_unit"] = "";
634
+        (tempObj["min_unit"] = ""), (tempObj["return_count"] = 0);
639 635
         tempObj["price"] = "";
640 636
         tempObj["remark"] = "";
641
-        tempObj["dealer"] = "";
642 637
         tempObj["manufacturer"] = "";
643
-        tempObj["min_unit"] = "";
644
-        tempObj["max_unit"] = "";
645
-        tempObj["drug_type"] = "";
646 638
         tempObj["batch_number"] = "";
639
+        tempObj["drug_type"] = "";
647 640
         tempObj["dose"] = "";
648 641
         tempObj["dose_unit"] = "";
642
+        tempObj["min_number"] = "";
649 643
         tempObj["dealer"] = "";
644
+        tempObj["number"] = "";
645
+        tempObj["warehouse_info_id"] = 0;
646
+        tempObj["count"] = "";
647
+        tempObj["admin_user_id"] = this.$store.getters.xt_user.user.user_name;
648
+        tempObj["retail_price"] = 0;
650 649
         tempObj["last_price"] = "";
651
-        tempObj["count_unit"] = "";
652
-        tempObj["min_number"] = "";
650
+        tempObj["stock_count"] = "";
651
+        tempObj["total_count"] = 0;
652
+        tempObj["max_unit_fisrt"] = 0;
653
+        tempObj["min_unit_fisrt"] = 0;
654
+        tempObj["total_price"] = 0;
655
+        tempObj["patient_id"] = 0
656
+        tempObj["product_date"] = ""
657
+        tempObj["expiry_date"]=""
658
+        tempObj["class_type"] = ""
653 659
         this.recordInfo.recordData.push(tempObj);
654 660
       },
655 661
       handleDelete: function (index, row) {
@@ -815,6 +821,7 @@
815 821
             stockOut: this.recordInfo.recordData,
816 822
           };
817 823
           console.log("param22222222",params)
824
+        
818 825
           const loading = this.$loading({
819 826
             lock: true,
820 827
             text: "Loading",
@@ -1173,7 +1180,7 @@
1173 1180
       var nowYear = nowDate.getFullYear();
1174 1181
       var nowMonth = nowDate.getMonth() + 1;
1175 1182
       var nowDay = nowDate.getDate();
1176
-      this.warehousing_time =
1183
+      this.warehouse_out_time =
1177 1184
         nowYear +
1178 1185
         "-" +
1179 1186
         (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
@@ -1207,6 +1214,7 @@
1207 1214
         tempObj["patient_id"] = 0
1208 1215
         tempObj["product_date"] = ""
1209 1216
         tempObj["expiry_date"]=""
1217
+        tempObj["class_type"] = ""
1210 1218
         this.recordInfo.recordData.push(tempObj);
1211 1219
         this.propForm.goodUnit = this.$store.getters.good_unit;
1212 1220
   

+ 6 - 0
src/xt_pages/stock/selfPreparedMedicine/warehouseInfo.vue Voir le fichier

@@ -151,6 +151,12 @@
151 151
         <el-table-column align="center" type="selection" width="55">
152 152
         </el-table-column>
153 153
 
154
+        <el-table-column label="入库时间" align="center">
155
+          <template slot-scope="scope">
156
+             {{ getTime(scope.row.record_date)}}
157
+          </template>
158
+        </el-table-column>
159
+
154 160
         <el-table-column label="药品名称" align="center">
155 161
           <template slot-scope="scope">
156 162
              {{ scope.row.drug.drug_name }}

Fichier diff supprimé car celui-ci est trop grand
+ 877 - 2590
src/xt_pages/stock/selfPreparedMedicine/warehouseOut.vue