test_user 2 年 前
コミット
2f6528b988

+ 1 - 1
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue ファイルの表示

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

+ 1 - 1
src/xt_pages/hospitalStation/shouJuTemplate/shouJuPrintOne.vue ファイルの表示

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

+ 1 - 0
src/xt_pages/outpatientCharges/invoiceTemplate/printOne.vue ファイルの表示

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

+ 22 - 3
src/xt_pages/outpatientCharges/listTemplate/listPrintTwo.vue ファイルの表示

21
         <TR>
21
         <TR>
22
           <TD colspan="1">患者姓名:{{ patient.name }}</TD>
22
           <TD colspan="1">患者姓名:{{ patient.name }}</TD>
23
           <TD>性别:{{ patient.gender == 1 ? "男" : "女" }}</TD>
23
           <TD>性别:{{ patient.gender == 1 ? "男" : "女" }}</TD>
24
+          <TD>年龄:{{ getAge(patient.id_card_no)?getAge(patient.id_card_no)+'岁':''}}</TD>
24
           <TD
25
           <TD
25
             >结算类型:{{
26
             >结算类型:{{
26
               order.is_medicine_insurance == 1 ? "医保" : "自费"
27
               order.is_medicine_insurance == 1 ? "医保" : "自费"
98
       </TBODY>
99
       </TBODY>
99
     </table>
100
     </table>
100
     <!-- <div class="allListTitle">
101
     <!-- <div class="allListTitle">
101
-      
102
+
102
     </div> -->
103
     </div> -->
103
     <!-- <div class="allListInfo">
104
     <!-- <div class="allListInfo">
104
       <div style="text-align: left">患者姓名:{{ patient.name }}</div>
105
       <div style="text-align: left">患者姓名:{{ patient.name }}</div>
108
       <div style="text-align: left">
109
       <div style="text-align: left">
109
         结算类型:{{ order.is_medicine_insurance == 1 ? "医保" : "自费" }}
110
         结算类型:{{ order.is_medicine_insurance == 1 ? "医保" : "自费" }}
110
       </div>
111
       </div>
111
-    </div> 
112
+    </div>
112
 
113
 
113
      <div class="allListInfo">
114
      <div class="allListInfo">
114
       <div style="text-align: left">住院/门诊号:{{ order.mdtrt_id }}</div>
115
       <div style="text-align: left">住院/门诊号:{{ order.mdtrt_id }}</div>
122
       <div style="text-align: left">
123
       <div style="text-align: left">
123
         基金支付记账:{{ order.fund_pay_sumamt }}
124
         基金支付记账:{{ order.fund_pay_sumamt }}
124
       </div>
125
       </div>
125
-    </div> 
126
+    </div>
126
 
127
 
127
     <div class="allListInfo">
128
     <div class="allListInfo">
128
       <div style="text-align: left">补充医疗支付记账:0.00</div>
129
       <div style="text-align: left">补充医疗支付记账:0.00</div>
175
     };
176
     };
176
   },
177
   },
177
   methods: {
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
     getNowTime: function () {
197
     getNowTime: function () {
179
       let dateTime;
198
       let dateTime;
180
       let yy = new Date().getFullYear();
199
       let yy = new Date().getFullYear();

+ 17 - 8
src/xt_pages/workforce/template.vue ファイルの表示

225
       </el-form>
225
       </el-form>
226
       <div slot="footer" class="dialog-footer">
226
       <div slot="footer" class="dialog-footer">
227
         <el-button @click="newVisible=false">取 消</el-button>
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
       </div>
229
       </div>
230
     </el-dialog>
230
     </el-dialog>
231
   </div>
231
   </div>
329
       fourWeekData:[],
329
       fourWeekData:[],
330
       tableList: [],
330
       tableList: [],
331
       newVisible: false,
331
       newVisible: false,
332
+      syncLoading:false,
332
       weekList: [],
333
       weekList: [],
333
       currentFirstDate1: '',
334
       currentFirstDate1: '',
334
       weekNum: '',
335
       weekNum: '',
4259
         copy_startime: copy_startime,
4260
         copy_startime: copy_startime,
4260
         copy_endtime: copy_endtime,
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
     getPatientScheduleTemplate() {
4280
     getPatientScheduleTemplate() {