Browse Source

提交代码

陈少旭 1 year ago
parent
commit
cb31f585d5

+ 5 - 5
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

@@ -1636,7 +1636,7 @@
1636 1636
                   }
1637 1637
                   tempAdvice.push(obj)
1638 1638
                   }
1639
-                 
1639
+
1640 1640
                 }
1641 1641
 
1642 1642
 
@@ -1679,7 +1679,7 @@
1679 1679
                   }
1680 1680
                   tempProject.push(obj)
1681 1681
                   }
1682
-             
1682
+
1683 1683
                 }
1684 1684
 
1685 1685
                 // var preTime = nowTime
@@ -1954,7 +1954,7 @@
1954 1954
                 //药品
1955 1955
                 for (let b = 0; b < prescription.advices.length; b++) {
1956 1956
                   let obj = {
1957
-                    advice_id: prescription.advices[b].id,
1957
+                    advice_id: 0,
1958 1958
                     drug_name: prescription.advices[b].advice_name,
1959 1959
                     single_dose: prescription.advices[b].single_dose,
1960 1960
                     delivery_way: prescription.advices[b].delivery_way,
@@ -1980,7 +1980,7 @@
1980 1980
                 //项目
1981 1981
                 for (let b = 0; b < prescription.project.length; b++) {
1982 1982
                   let obj = {
1983
-                    id: prescription.project[b].id,
1983
+                    id: 0,
1984 1984
                     project_id: prescription.project[b].project_id,
1985 1985
                     project_name: prescription.project[b].project.project_name,
1986 1986
                     statistical_classification: prescription.project[b].project.statistical_classification,
@@ -2020,7 +2020,7 @@
2020 2020
 
2021 2021
                 let index = i + 1
2022 2022
                 let obj = {
2023
-                  id: prescription.id,
2023
+                  id: 0,
2024 2024
                   name: '处方' + index,
2025 2025
                   advices: tempAdvice,
2026 2026
                   project: tempProject,

+ 18 - 10
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

@@ -126,7 +126,7 @@
126 126
           </div>
127 127
           <div style="text-align: center">(以下空白)</div>
128 128
         </div>
129
-        <div class="doctorBox" v-if="org_id != 10188">
129
+        <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
130 130
           <p v-if="org_id == 10217 || org_id == 0">
131 131
             医师:
132 132
             <span
@@ -154,11 +154,15 @@
154 154
           </p>
155 155
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
156 156
         </div>
157
-        <div class="doctorBox" v-else>
158
-          <p>药师:</p>
157
+        <div class="doctorBoxtwo" v-if="org_id == 10188 || org_id == 0">
158
+          <p >审核、调配:</p>
159
+          <p style="margin-right: 43px">药师:</p>
160
+        </div>
161
+        <div class="doctorBox" v-if="org_id == 10188 || org_id == 0">
162
+          <p >核对、发药:</p>
159 163
           <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
160 164
         </div>
161
-        <div class="actionBar" v-if="org_id != 10188">
165
+        <div class="actionBar" v-if="org_id != 10188 && org_id != 0">
162 166
           <!-- <p>审核:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
163 167
                  <p>配对:</p>
164 168
                  <p>核对:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
@@ -169,7 +173,7 @@
169 173
           <p>配对:</p>
170 174
           <p>核对:</p>
171 175
           <p>发药:</p>
172
-          <p>
176
+          <p >
173 177
             药费:{{
174 178
               getTotalOne(item.id).toFixed(2)
175 179
                 ? getTotalOne(item.id).toFixed(2)
@@ -179,11 +183,8 @@
179 183
           <!--            <p>药费:466.2元</p>-->
180 184
         </div>
181 185
         <div class="actionBar" v-else>
182
-          <p style="visibility: hidden">审核:</p>
183
-          <p style="visibility: hidden">配对:</p>
184
-          <p style="visibility: hidden">核对:</p>
185
-          <p style="visibility: hidden">发药:</p>
186
-          <p>
186
+
187
+          <p >
187 188
             药费:{{
188 189
               getTotalOne(item.id).toFixed(2)
189 190
                 ? getTotalOne(item.id).toFixed(2)
@@ -528,6 +529,13 @@ export default {
528 529
   line-height: 24px;
529 530
   border-bottom: 2px solid #000;
530 531
 }
532
+.doctorBoxtwo {
533
+  display: flex;
534
+  justify-content: space-between;
535
+  padding: 0 10px;
536
+  line-height: 24px;
537
+
538
+}
531 539
 .actionBar {
532 540
   display: flex;
533 541
   justify-content: space-between;