瀏覽代碼

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 8 月之前
父節點
當前提交
4bc68cb2af

+ 21 - 3
src/api/drug/drug.js 查看文件

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
    return request({
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
     method:"post",
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
 }

+ 41 - 37
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

1488
                         </div>
1488
                         </div>
1489
                       </div>
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
                         <div
1495
                         <div
1494
                           class="under_line"
1496
                           class="under_line"
1495
                           style="width: 50px; text-align: center"
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
                         </div>
1500
                         </div>
1506
                       </div>
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
                         在线Kt/V监测:
1504
                         在线Kt/V监测:
1510
                         <div class="under_line" style="width: 30px; text-align: center">
1505
                         <div class="under_line" style="width: 30px; text-align: center">
1511
                            <check-box :checked="true"></check-box>
1506
                            <check-box :checked="true"></check-box>
1512
                          </div>
1507
                          </div>
1513
                       </div>
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
                       <div
1518
                       <div
1515
                         class="row"
1519
                         class="row"
1516
                         style="padding: 2px 0; line-height: 23px; display: flex"
1520
                         style="padding: 2px 0; line-height: 23px; display: flex"
3264
                           }}
3268
                           }}
3265
                         </div>
3269
                         </div>
3266
                       </div>
3270
                       </div>
3267
-
3268
-
3269
                     </div>
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
                     <div
3273
                     <div
3296
                       class="row"
3274
                       class="row"
3297
                       style="padding: 2px 0; line-height: 23px; display: flex"
3275
                       style="padding: 2px 0; line-height: 23px; display: flex"
3298
-                      v-if="org_id == 0 || org_id ==10375"
3299
                     >
3276
                     >
3300
                       <div
3277
                       <div
3301
                         class="inline_block"
3278
                         class="inline_block"
3323
 
3300
 
3324
 
3301
 
3325
                     </div>
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
                   </td>
3330
                   </td>
3327
                 </tr>
3331
                 </tr>
3328
                 <tr>
3332
                 <tr>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue 查看文件

549
                 <td width="50">UFR<br/>ml/h</td>
549
                 <td width="50">UFR<br/>ml/h</td>
550
                 <td width="50">UF<br/>ml</td>
550
                 <td width="50">UF<br/>ml</td>
551
                 <td width="65">剩余肝素<br/>ml</td>
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
                 <td width="200">病情变化</td>
553
                 <td width="200">病情变化</td>
554
               </tr>
554
               </tr>
555
               <tr v-for="(monitor, monindex) in monitors" :key="monindex" style="padding: 5px 0;line-height: 35px;">
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 查看文件

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

+ 6 - 0
src/xt_pages/stock/selfPreparedMedicine/warehouseInfo.vue 查看文件

151
         <el-table-column align="center" type="selection" width="55">
151
         <el-table-column align="center" type="selection" width="55">
152
         </el-table-column>
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
         <el-table-column label="药品名称" align="center">
160
         <el-table-column label="药品名称" align="center">
155
           <template slot-scope="scope">
161
           <template slot-scope="scope">
156
              {{ scope.row.drug.drug_name }}
162
              {{ scope.row.drug.drug_name }}

文件差異過大導致無法顯示
+ 877 - 2590
src/xt_pages/stock/selfPreparedMedicine/warehouseOut.vue