Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
c0c185accb

+ 15 - 0
src/store/modules/globalConfig.js View File

@@ -644,6 +644,21 @@ const global_config = {
644 644
         sodium: 1,
645 645
         calcium: 1,
646 646
         bicarbonate: 1
647
+      },
648
+      30: {
649
+        id: 30,
650
+        name: '血浆胆红素吸附+HP',
651
+        dialysis_duration: 1,
652
+        replacement_way: 1,
653
+        hemodialysis_machine: 2,
654
+        blood_filter: 1,
655
+        perfusion_apparatus: 2,
656
+        blood_flow_volume: 1,
657
+        dialysate_flow: 1,
658
+        kalium: 1,
659
+        sodium: 1,
660
+        calcium: 1,
661
+        bicarbonate: 1
647 662
       }
648 663
     },
649 664
     anticoagulants_confit: { // 抗凝剂

+ 3 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_fortyOne.vue View File

@@ -442,6 +442,9 @@
442 442
                                 <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id == 29">
443 443
                                   PE
444 444
                                 </div>
445
+                               <div class="under_line" style="width: 150px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id == 30">
446
+                                血浆胆红素吸附+HP
447
+                                </div>
445 448
                             </div>
446 449
                             <div class="inline_block" style="flex:1;">
447 450
                                 置换方式:

+ 4 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_fortyThree.vue View File

@@ -203,7 +203,7 @@
203 203
                             <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id == 22">
204 204
                             血浆胆红素吸附+HDF
205 205
                             </div>
206
-                            <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id == 23">
206
+                            <div class="under_line" style="width: 150px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id == 23">
207 207
                             血浆胆红素吸附
208 208
                             </div>
209 209
                             <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id == 24">
@@ -221,6 +221,9 @@
221 221
                             <div class="under_line" style="width: 70px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id == 28">
222 222
                             CVVHDF
223 223
                             </div>
224
+                           <div class="under_line" style="width: 150px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id == 30">
225
+                            血浆胆红素吸附+HDF
226
+                            </div>
224 227
                         </div>
225 228
                     </div>
226 229
                     <div class="row">

+ 7 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -548,6 +548,13 @@
548 548
                           >
549 549
                             PE
550 550
                           </div>
551
+                          <div
552
+                            class="under_line"
553
+                            style="width: 150px;text-align: center;font-weight:600;"
554
+                            v-if="record.prescription.mode_id == 30"
555
+                          >
556
+                            血浆胆红素吸附+HP
557
+                          </div>
551 558
                         </div>
552 559
                       </div>
553 560
 

+ 11 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue View File

@@ -614,6 +614,17 @@
614 614
                       >
615 615
                         PE
616 616
                       </div>
617
+                      <div
618
+                        class="under_line"
619
+                        style="
620
+                          width: 150px;
621
+                          text-align: center;
622
+                          font-weight: 600;
623
+                        "
624
+                        v-if="prescription.mode_id == 30"
625
+                      >
626
+                       血浆胆红素吸附+HP
627
+                      </div>
617 628
                     </div>
618 629
 
619 630
                     <div

+ 3 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -321,6 +321,9 @@
321 321
                       <div class="under_line" style="width:100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 29">
322 322
                         PE
323 323
                       </div>
324
+                       <div class="under_line" style="width:150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 30">
325
+                        血浆胆红素吸附+HP
326
+                      </div>
324 327
                     </div>
325 328
 
326 329
                     <div class="inline_block" style="margin-left:10px;flex:1;">

+ 4 - 0
src/xt_pages/qcd/basicInformationAnalysis.vue View File

@@ -258,6 +258,10 @@
258 258
                       <p>未知:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
259 259
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
260 260
                   </span>
261
+                 <span v-if="item.mode_id == '血浆胆红素吸附+HP'">
262
+                      <p>血浆胆红素吸附+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
263
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
264
+                  </span>
261 265
                </div>
262 266
               </div>
263 267
             </div>

+ 3 - 0
src/xt_pages/qcd/treatmentControlAnalysis/components/TimePersonal.vue View File

@@ -291,6 +291,9 @@ export default {
291 291
             if(modeIdCount[i].mode_id == 29){
292 292
                modeIdCount[i].mode_id = "PE"
293 293
             }
294
+            if(modeIdCount[i].mode_id == 30){
295
+               modeIdCount[i].mode_id = "血浆胆红素吸附+HP"
296
+            }
294 297
           }
295 298
           this.modeIdCount = modeIdCount
296 299
           let dataInfo = {}

+ 7 - 3
src/xt_pages/supply/components/addGoodOrder.vue View File

@@ -691,6 +691,7 @@ export default {
691 691
       });
692 692
     },
693 693
     changeGoodName(val) {
694
+      console.log("val2332232323323",val)
694 695
       this.currentIndex = val;
695 696
     },
696 697
     changeName(val) {
@@ -943,6 +944,7 @@ export default {
943 944
           //用来判断是否删除了从采购订单的数据
944 945
           this.tableDataList = []
945 946
           this.tableDataList = orderInfo
947
+          console.log("changed23323232233232",this.tableDataList)
946 948
          
947 949
         }
948 950
       });
@@ -991,19 +993,21 @@ export default {
991 993
           this.loading = true;
992 994
           var warehousing_id = this.$route.query.id;
993 995
           //判断是否在采购订单数据中做了删除,如果长度相等则代表没有删除,如果不等则代表做了删除或者新增
994
-          console.log("长度2332233232",this.tableDataList.length)
995
-          console.log("产股2333223232323",this.recordInfo.tableList.length)
996
-          if(this.tableDataList.length != this.recordInfo.tableList.length){
996
+          console.log("原数据",this.tableDataList)
997
+          console.log("新数据",this.recordInfo.tableList)
998
+          if(this.tableDataList.length > this.recordInfo.tableList.length){
997 999
              warehousing_id = 0
998 1000
              for(let i=0;i<this.recordInfo.tableList.length;i++){
999 1001
               this.recordInfo.tableList[i].id = 0
1000 1002
               this.number = ""
1001 1003
              }
1002 1004
           }
1005
+          
1003 1006
           var params = {
1004 1007
             stockIn: this.recordInfo.tableList,
1005 1008
             return_remake: this.return_remark,
1006 1009
           };
1010
+          // return
1007 1011
           addGoodOrder( params,this.supplier_name,start,this.arrearage,this.payment, warehousing_id,this.number,this.rate_of_concession,this.discount_amount).then((response) => {
1008 1012
             if (response.data.state == 1) {
1009 1013
               this.loading = false;

+ 1 - 1
src/xt_pages/supply/components/editGoodOrder.vue View File

@@ -1098,7 +1098,7 @@ export default {
1098 1098
           //判断是否在采购订单数据中做了删除,如果长度相等则代表没有删除,如果不等则代表做了删除或者新增
1099 1099
           console.log("changed111111",this.tableDataList.length)
1100 1100
            console.log("changed111111",this.recordInfo.tableList.length)
1101
-          if(this.tableDataList.length != this.recordInfo.tableList.length){
1101
+          if(this.tableDataList.length > this.recordInfo.tableList.length){
1102 1102
             
1103 1103
              for(let i=0;i<this.recordInfo.tableList.length;i++){
1104 1104
               this.recordInfo.tableList[i].warehousing_id = 0

+ 2 - 0
src/xt_pages/supply/components/editGoodReturn.vue View File

@@ -694,6 +694,7 @@ export default {
694 694
       tempObj["min_price"] = "";
695 695
       tempObj["good_number"] = ""
696 696
       tempObj["deposit_rate"] = ""
697
+      tempObj["order_number"] = ""
697 698
       this.recordInfo.tableList.push(tempObj);
698 699
     },
699 700
     handleDelete: function (index, row) {
@@ -1108,6 +1109,7 @@ export default {
1108 1109
     tempObj["min_price"] = "";
1109 1110
     tempObj["good_number"] = ""
1110 1111
     tempObj["deposit_rate"] = ""
1112
+    tempObj["order_number"] = ""
1111 1113
     this.recordInfo.tableList.push(tempObj);
1112 1114
     this.getInitOrder();
1113 1115
     //获取购货单列表

+ 3 - 0
src/xt_pages/workforce/scheduleTablePrintOne.vue View File

@@ -1000,6 +1000,9 @@ export default {
1000 1000
                  if(solution[i].mode_id == 29){
1001 1001
                     solution[i].mode_name = "PE"
1002 1002
                  }
1003
+                if(solution[i].mode_id == 30){
1004
+                    solution[i].mode_name = "血浆胆红素吸附+HP"
1005
+                 }
1003 1006
                  if(solution[i].solution!=undefined){
1004 1007
                     solution[i].dialysis_dialyszers = solution[i].solution.dialysis_dialyszers
1005 1008
                     solution[i].dialysis_irrigation = solution[i].solution.dialysis_irrigation