Browse Source

合并带嘛

csx 2 years ago
parent
commit
47db3d1dd5

+ 4 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -2968,7 +2968,6 @@
2968 2968
                   price: temp2[b].price,
2969 2969
                   remark: '',
2970 2970
                   medical_code: temp2[b].medical_code,
2971
-                  unit: temp2[b].unit,
2972 2971
                   type: temp2[b].type,
2973 2972
                   execution_state:2,
2974 2973
 
@@ -2976,10 +2975,13 @@
2976 2975
 
2977 2976
                 if (temp2[b].type == 2){
2978 2977
                   obj['project'] = temp2[b].project
2978
+                  obj['unit'] = temp2[b].project.unit
2979 2979
 
2980
-                }else if(temp2[b].type == 3){
2981 2980
 
2981
+                }else if(temp2[b].type == 3){
2982 2982
                   obj['good_info'] = temp2[b].good_info
2983
+                  obj['unit'] = temp2[b].good_info.packing_unit
2984
+
2983 2985
 
2984 2986
                 }
2985 2987
                 if (temp2[b].team_id == undefined) {