|
@@ -137,14 +137,14 @@
|
137
|
137
|
|
138
|
138
|
<el-form-item label="发票编码:">
|
139
|
139
|
<div style="display:flex;">
|
140
|
|
- <el-input v-model.number="form.fapiao_code"></el-input>
|
|
140
|
+ <el-input v-model="form.fapiao_code"></el-input>
|
141
|
141
|
</div>
|
142
|
142
|
</el-form-item>
|
143
|
143
|
|
144
|
144
|
|
145
|
145
|
<el-form-item label="发票号码:">
|
146
|
|
- <div style="display:flex;">
|
147
|
|
- <el-input v-model.number="form.fapiao_number"></el-input>
|
|
146
|
+ <div style=" display:flex;">
|
|
147
|
+ <el-input v-model="form.fapiao_number"></el-input>
|
148
|
148
|
</div>
|
149
|
149
|
</el-form-item>
|
150
|
150
|
|
|
@@ -165,6 +165,12 @@
|
165
|
165
|
idtobalance
|
166
|
166
|
}from "@/api/deposit";
|
167
|
167
|
|
|
168
|
+ import {
|
|
169
|
+ getfapiaonumber
|
|
170
|
+ }from "@/api/his/his";
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
168
|
174
|
export default {
|
169
|
175
|
name: 'chargeDialog',
|
170
|
176
|
|
|
@@ -324,6 +330,12 @@
|
324
|
330
|
this.tmp_pay = this.form.pay_price
|
325
|
331
|
this.form.pay_price = ((parseFloat(this.form.private_price)*10000 - parseFloat(this.form.tmp_decimal)*10000)/10000).toFixed(2)
|
326
|
332
|
}
|
|
333
|
+ },getfapiaonumber(){
|
|
334
|
+ getfapiaonumber().then((res) => {
|
|
335
|
+ if (res.data.state == 1) {
|
|
336
|
+ this.form.fapiao_number = res.data.data.fapiao_number;
|
|
337
|
+ }
|
|
338
|
+ })
|
327
|
339
|
},
|
328
|
340
|
//查询用户当前的余额
|
329
|
341
|
updateconfig(){
|
|
@@ -352,6 +364,7 @@
|
352
|
364
|
this.id =id
|
353
|
365
|
this.form.dec_way = false
|
354
|
366
|
this.updateconfig()
|
|
367
|
+ this.getfapiaonumber()
|
355
|
368
|
this.form.total = total
|
356
|
369
|
this.form.private_price = total
|
357
|
370
|
this.form.pay_price = total
|