XMLWAN 2 years ago
parent
commit
83c63ad752

+ 1 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -401,12 +401,11 @@
401 401
 
402 402
                     <el-col
403 403
                             :span="8"
404
-                            v-if="anticoagulant.gaimingcheng != -1 && isShows('钙名称')"
404
+                            v-if="isShows('钙名称')"
405 405
                     >
406 406
                         <el-form-item label="钙名称 : ">
407 407
                             <el-input
408 408
                                     v-model="dialysisPrescription.anticoagulant_gaimingcheng"
409
-                                    :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
410 409
                                     placeholder="钙名称"
411 410
                             ></el-input>
412 411
                         </el-form-item>

+ 9 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue View File

@@ -195,6 +195,7 @@
195 195
                     filterable
196 196
                     placeholder="请选择单位"
197 197
                     style="width: 80px"
198
+                    @change="changeUnit(scope.row)"
198 199
                   >
199 200
                     <el-option
200 201
                       v-for="(option, index) in unitList"
@@ -682,6 +683,7 @@ export default {
682 683
       tempObj["dose_unit"] = "";
683 684
       tempObj["dealer"] = "";
684 685
       tempObj["last_price"] = "";
686
+      tempObj["count_unit"] = "";
685 687
       this.recordInfo.recordData.push(tempObj);
686 688
     },
687 689
     handleDelete: function (index, row) {
@@ -961,6 +963,7 @@ export default {
961 963
           this.recordInfo.recordData[i].number = val.number;
962 964
           this.recordInfo.recordData[i].max_unit = val.max_unit;
963 965
           this.recordInfo.recordData[i].min_unit = val.min_unit;
966
+          this.recordInfo.recordData[i].count_unit = val.max_unit;
964 967
           if (val.dealer == 0) {
965 968
             this.recordInfo.recordData[i].dealer = "";
966 969
           } else {
@@ -969,6 +972,9 @@ export default {
969 972
         }
970 973
       }
971 974
     },
975
+    changeUnit(val){
976
+     console.log("val3232323232",val)
977
+    }
972 978
   },
973 979
   created() {
974 980
     if (this.$route.path == "/Pharmacy/in/add") {
@@ -996,7 +1002,8 @@ export default {
996 1002
     tempObj["drug_name"] = "";
997 1003
     tempObj["dosage"] = "";
998 1004
     tempObj["max_unit"] = "";
999
-    (tempObj["min_unit"] = ""), (tempObj["lot_number"] = "");
1005
+    tempObj["min_unit"] = "", 
1006
+    tempObj["lot_number"] = "";
1000 1007
     tempObj["product_date"] = "";
1001 1008
     tempObj["expiry_date"] = "";
1002 1009
     tempObj["warehousing_count"] = "";
@@ -1009,6 +1016,7 @@ export default {
1009 1016
     tempObj["drug_type"] = "";
1010 1017
     tempObj["dealer"] = "";
1011 1018
     tempObj["number"] = "";
1019
+    tempObj["count_unit"] = "";
1012 1020
     this.recordInfo.recordData.push(tempObj);
1013 1021
 
1014 1022
     this.GetConfigInfo();