test_user 2 år sedan
förälder
incheckning
2f6528b988

+ 1 - 1
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue Visa fil

@@ -72,7 +72,7 @@
72 72
         </div>
73 73
         <div style="display:flex;justify-content: space-between;">
74 74
             <div style="position: absolute;top:190px;left:40px">中成药费</div>
75
-            <div style="position: absolute;top:190px;left:110px">0.00</div>
75
+            <div style="position: absolute;top:190px;left:110px">{{list.chineseTraditionalMedicineCostTotal?list.chineseTraditionalMedicineCostTotal:'0.00'}}</div>
76 76
             <div style="position: absolute;top:190px;left:220px">治疗费</div>
77 77
             <div style="position: absolute;top:190px;left:290px">{{list.treatCostTotal?list.treatCostTotal:'0.00'}}</div>
78 78
             <div style="position: absolute;top:190px;left:400px">护理费</div>

+ 1 - 1
src/xt_pages/hospitalStation/shouJuTemplate/shouJuPrintOne.vue Visa fil

@@ -53,7 +53,7 @@
53 53
     </div>
54 54
     <div style="display:flex;justify-content: space-between;">
55 55
       <div style="position: absolute;top:190px;left:40px">中成药费</div>
56
-      <div style="position: absolute;top:190px;left:110px">0.00</div>
56
+      <div style="position: absolute;top:190px;left:110px">{{list.chineseTraditionalMedicineCostTotal?list.chineseTraditionalMedicineCostTotal:'0.00'}}</div>
57 57
       <div style="position: absolute;top:190px;left:180px">治疗费</div>
58 58
       <div style="position: absolute;top:190px;left:260px">{{list.treatCostTotal?list.treatCostTotal:"0.00"}}</div>
59 59
       <div style="position: absolute;top:190px;left:340px">CT核磁</div>

+ 1 - 0
src/xt_pages/outpatientCharges/invoiceTemplate/printOne.vue Visa fil

@@ -163,6 +163,7 @@ export default {
163 163
                 var data = new Date(res.data.data.date * 1000);
164 164
                 var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
165 165
                 var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
166
+
166 167
                 this.printDate = data.getFullYear() + "-" + month + "-" + date;
167 168
             })
168 169
         },

+ 22 - 3
src/xt_pages/outpatientCharges/listTemplate/listPrintTwo.vue Visa fil

@@ -21,6 +21,7 @@
21 21
         <TR>
22 22
           <TD colspan="1">患者姓名:{{ patient.name }}</TD>
23 23
           <TD>性别:{{ patient.gender == 1 ? "男" : "女" }}</TD>
24
+          <TD>年龄:{{ getAge(patient.id_card_no)?getAge(patient.id_card_no)+'岁':''}}</TD>
24 25
           <TD
25 26
             >结算类型:{{
26 27
               order.is_medicine_insurance == 1 ? "医保" : "自费"
@@ -98,7 +99,7 @@
98 99
       </TBODY>
99 100
     </table>
100 101
     <!-- <div class="allListTitle">
101
-      
102
+
102 103
     </div> -->
103 104
     <!-- <div class="allListInfo">
104 105
       <div style="text-align: left">患者姓名:{{ patient.name }}</div>
@@ -108,7 +109,7 @@
108 109
       <div style="text-align: left">
109 110
         结算类型:{{ order.is_medicine_insurance == 1 ? "医保" : "自费" }}
110 111
       </div>
111
-    </div> 
112
+    </div>
112 113
 
113 114
      <div class="allListInfo">
114 115
       <div style="text-align: left">住院/门诊号:{{ order.mdtrt_id }}</div>
@@ -122,7 +123,7 @@
122 123
       <div style="text-align: left">
123 124
         基金支付记账:{{ order.fund_pay_sumamt }}
124 125
       </div>
125
-    </div> 
126
+    </div>
126 127
 
127 128
     <div class="allListInfo">
128 129
       <div style="text-align: left">补充医疗支付记账:0.00</div>
@@ -175,6 +176,24 @@ export default {
175 176
     };
176 177
   },
177 178
   methods: {
179
+    getAge(val){
180
+      var thisLen = val.length;
181
+      var birth = "";
182
+      if (thisLen == 15) {
183
+        birth = "19" + val.substr(6, 6);
184
+      } else {
185
+        birth = val.substr(6, 8);
186
+      }
187
+      var birthTwo =
188
+        birth.substr(0, 4) +
189
+        "-" +
190
+        birth.substr(4, 2) +
191
+        "-" +
192
+        birth.substr(6, 2);
193
+      var age = jsGetAge(birthTwo, "-");
194
+      return age;
195
+    },
196
+
178 197
     getNowTime: function () {
179 198
       let dateTime;
180 199
       let yy = new Date().getFullYear();

+ 17 - 8
src/xt_pages/workforce/template.vue Visa fil

@@ -225,7 +225,7 @@
225 225
       </el-form>
226 226
       <div slot="footer" class="dialog-footer">
227 227
         <el-button @click="newVisible=false">取 消</el-button>
228
-        <el-button type="primary" @click="submitAction('form')">保 存</el-button>
228
+        <el-button  v-loading="syncLoading" type="primary" @click="submitAction('form')">保 存</el-button>
229 229
       </div>
230 230
     </el-dialog>
231 231
   </div>
@@ -329,6 +329,7 @@ export default {
329 329
       fourWeekData:[],
330 330
       tableList: [],
331 331
       newVisible: false,
332
+      syncLoading:false,
332 333
       weekList: [],
333 334
       currentFirstDate1: '',
334 335
       weekNum: '',
@@ -4259,13 +4260,21 @@ export default {
4259 4260
         copy_startime: copy_startime,
4260 4261
         copy_endtime: copy_endtime,
4261 4262
       }
4262
-      synchroSchedule(params).then(response => {
4263
-        if (response.data.state == 1) {
4264
-          var msg = response.data.data.msg
4265
-          this.$message.success("同步成功!")
4266
-          this.newVisible = false
4267
-        }
4268
-      })
4263
+      if(!this.syncLoading){
4264
+        this.syncLoading = true
4265
+        synchroSchedule(params).then(response => {
4266
+          if (response.data.state == 1) {
4267
+            var msg = response.data.data.msg
4268
+            this.syncLoading = false
4269
+            this.$message.success("同步成功!")
4270
+            this.newVisible = false
4271
+          }else{
4272
+            this.syncLoading = false
4273
+          }
4274
+        })
4275
+      }
4276
+
4277
+
4269 4278
 
4270 4279
     },
4271 4280
     getPatientScheduleTemplate() {