huangyw 2 年前
父节点
当前提交
cdab836b8d

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

@@ -2174,10 +2174,12 @@ export default {
2174 2174
               var item = this.records[recordIndex].advices[index];
2175 2175
               if (item.id in childMap) {
2176 2176
                 item.children = childMap[item.id];
2177
+                // advices.push(childMap[item.id]);
2177 2178
               } else {
2178 2179
                 item.children = [];
2179 2180
               }
2180 2181
               advices.push(item);
2182
+              
2181 2183
             }
2182 2184
 
2183 2185
             var leftAdvice = [];
@@ -2378,8 +2380,6 @@ export default {
2378 2380
       }
2379 2381
     },
2380 2382
     getAdminUser(key, id) {
2381
-      console.log("key", key);
2382
-      console.log("id", id);
2383 2383
       if (
2384 2384
         typeof key === "undefined" ||
2385 2385
         key == null ||

+ 3 - 3
src/xt_pages/hospitalStation/invoicePrint.vue 查看文件

@@ -13,9 +13,9 @@
13 13
     </template>
14 14
     <div class="app-container" style="padding-top:40px;">
15 15
         <div class='dialysisPage'>
16
-            <printOne v-if="org_id != 10215 && org_id != 10265 && org_id !=0" :paramsObj="invoiceParams"></printOne>
17
-            <printTwo v-if="org_id == 10215  || org_id == 0 " :paramsObj="invoiceParams"></printTwo>
18
-            <printThree v-if="org_id == 10265" :paramsObj="invoiceParams"></printThree>
16
+            <printOne v-if="org_id != 10215 && org_id != 10265 && org_id !=4&& org_id !=0" :paramsObj="invoiceParams"></printOne>
17
+            <printTwo v-if="org_id == 10215" :paramsObj="invoiceParams"></printTwo>
18
+            <printThree v-if="org_id == 10265 || org_id == 0|| org_id == 4" :paramsObj="invoiceParams"></printThree>
19 19
         </div>
20 20
     </div>
21 21
   </div>

+ 12 - 9
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue 查看文件

@@ -10,6 +10,10 @@
10 10
             <div  style="position: absolute;left:560px;top:70px;">
11 11
             <!-- 发票序号 -->
12 12
             </div>
13
+             <div  style="position: absolute;left:660px;top:70px;">
14
+            <!-- 类别 -->
15
+            类别:
16
+            </div>
13 17
         </div>
14 18
 
15 19
         <div style="display:flex;justify-content: space-between;">
@@ -78,7 +82,7 @@
78 82
             <div style="position: absolute;top:250px;left:260px">{{ list.laboratoryCostTotal }}</div>
79 83
             <div style="position: absolute;top:250px;left:340px">氧气费</div>
80 84
             <div style="position: absolute;top:250px;left:420px"></div>
81
-            <div style="position: absolute;top:250px;left:500px">其他</div>
85
+            <div style="position: absolute;top:250px;left:500px">其他</div>
82 86
             <div style="position: absolute;top:250px;left:580px">{{ list.otherCostTotal }}</div>
83 87
         </div>
84 88
 
@@ -157,17 +161,16 @@
157 161
           {{list.order.maf_pay?list.order.maf_pay:''}}
158 162
           <!-- 医疗救助 -->
159 163
         </div>
160
-        <div style="position: absolute;top:340px;left:500px">
161
-            <!-- 大病 -->
164
+        <!-- 大病 -->
165
+        <!-- <div style="position: absolute;top:340px;left:500px">
162 166
           {{list.order.hifmi_pay?list.order.hifmi_pay:''}}
163
-
164
-
165
-        </div>
166
-        <div style="position: absolute;top:340px;left:560px">
167
-            <!-- 其他基金支付 -->
167
+        </div> -->
168
+        <!-- 其他基金支付 -->
169
+        <!-- <div style="position: absolute;top:340px;left:560px">
170
+            
168 171
           {{list.order.oth_pay?list.order.oth_pay:''}}
169 172
 
170
-        </div>
173
+        </div> -->
171 174
         <div style="position: absolute;top:370px;left:320px">
172 175
             <!-- 预交款合计 -->
173 176
 

+ 1 - 1
src/xt_pages/outpatientCharges/components/dayPrescriptionTable.vue 查看文件

@@ -29,7 +29,7 @@
29 29
       </el-table-column>
30 30
       <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
31 31
         <template slot-scope="scope">
32
-          <el-select v-model="scope.row.execution_frequency" placehold er="请选择">
32
+          <el-select v-model="scope.row.execution_frequency" placeholder="请选择">
33 33
             <el-option
34 34
               v-for="item,index in efs"
35 35
               :key="index"

+ 18 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

@@ -2288,6 +2288,24 @@
2288 2288
 
2289 2289
                 }
2290 2290
 
2291
+                for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
2292
+                  if(this.prescriptions[i].advices[b].execution_frequency == "" ){
2293
+                    this.$message.error("请输入处方"+ (b+1) +"频率")
2294
+                    this.$emit('editKeepLoad', false)
2295
+                    return
2296
+                  }
2297
+                  if(this.prescriptions[i].advices[b].day == NaN ){
2298
+                    this.$message.error("请输入处方"+(b+1)+"天数")
2299
+                    this.$emit('editKeepLoad', false)
2300
+                    return
2301
+                  }
2302
+                     if(this.prescriptions[i].advices[b].prescribing_number == "" ){
2303
+                    this.$message.error("请输入处方"+(b+1)+"总量")
2304
+                    this.$emit('editKeepLoad', false)
2305
+                    return
2306
+                  }
2307
+                }
2308
+
2291 2309
                 for (let b = 0; b < this.prescriptions[i].project.length; b++) {
2292 2310
                   this.prescriptions[i].project[b].price = this.prescriptions[i].project[b].price.toString()
2293 2311
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()