huangyw 3 years ago
parent
commit
cdab836b8d

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

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

+ 3 - 3
src/xt_pages/hospitalStation/invoicePrint.vue View File

13
     </template>
13
     </template>
14
     <div class="app-container" style="padding-top:40px;">
14
     <div class="app-container" style="padding-top:40px;">
15
         <div class='dialysisPage'>
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
         </div>
19
         </div>
20
     </div>
20
     </div>
21
   </div>
21
   </div>

+ 12 - 9
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue View File

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

+ 1 - 1
src/xt_pages/outpatientCharges/components/dayPrescriptionTable.vue View File

29
       </el-table-column>
29
       </el-table-column>
30
       <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
30
       <el-table-column align="center" prop="execution_frequency" width="100" label="频率">
31
         <template slot-scope="scope">
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
             <el-option
33
             <el-option
34
               v-for="item,index in efs"
34
               v-for="item,index in efs"
35
               :key="index"
35
               :key="index"

+ 18 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

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
                 for (let b = 0; b < this.prescriptions[i].project.length; b++) {
2309
                 for (let b = 0; b < this.prescriptions[i].project.length; b++) {
2292
                   this.prescriptions[i].project[b].price = this.prescriptions[i].project[b].price.toString()
2310
                   this.prescriptions[i].project[b].price = this.prescriptions[i].project[b].price.toString()
2293
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
2311
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()