XMLWAN 2 years ago
parent
commit
83c63ad752

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

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

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

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