apply-clients 5.0.36 → 5.0.37-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +111 -111
- package/src/android.js +1 -1
- package/src/apply.js +15 -1
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/234/260/345/235/200.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/224/265/350/257/235.png +0 -0
- package/src/components/app_apply/ApplyApp.vue +6 -6
- package/src/components/app_apply/ApplyDownList.vue +18 -16
- package/src/components/app_apply/ApplyInfo.vue +2 -2
- package/src/components/app_apply/ApplyListUpload.vue +15 -5
- package/src/components/app_apply/ApplyToDoList.vue +201 -54
- package/src/components/app_apply/ApplyUserInfo.vue +2 -2
- package/src/components/app_apply/FieldExploration.vue +0 -1
- package/src/components/app_apply/Gongcheng.vue +3631 -0
- package/src/components/app_apply/OneToMany.vue +194 -0
- package/src/components/app_apply/PlaceControler.vue +230 -189
- package/src/components/app_apply/ServiceControl.vue +630 -385
- package/src/components/app_apply/ServiceView.vue +44 -17
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -0
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -0
- package/src/components/app_apply/ezhou/MinYong.vue +92 -0
- package/src/components/app_apply/ezhou/ServiceView.vue +745 -0
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/phone/phoneselect.vue +250 -0
- package/src/components/phone/phoneselect2.vue +112 -0
- package/src/components/product/Common/ApplyValidateBill.vue +13 -6
- package/src/components/product/Common/PrintBill.vue +7 -6
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -0
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -0
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +586 -0
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +132 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +340 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +490 -0
- package/src/components/product/Function/InstallInfoSelect.vue +3 -2
- package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
- package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
- package/src/components/product/Function/functions/BuyerMessage.vue +1 -1
- package/src/components/product/Function/functions/InstallFee.vue +589 -347
- package/src/components/product/Function/functions/InstallFeeInfo.vue +6 -1
- package/src/components/product/Process/ExplorationSelect.vue +669 -636
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +907 -907
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +126 -39
- package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2200 -1808
- package/src/components/product/ServiceView.vue +810 -795
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +559 -407
- package/src/components/product/Supervisory/SupervisoryList.vue +102 -17
- package/src/components/product/applyReport/ApplyReport.vue +205 -0
- package/src/components/product/applyReport/PrintApplyReport.vue +116 -0
- package/src/components/product/stopInfo/ApplyStopInfo.vue +2 -1
- package/src/ezhouAndroid.js +48 -0
- package/src/index.js +3 -2
- package/src/main.js +1 -1
- package/src/plugins/commonService.js +11 -7
- package/static/newStyle/clear.png +0 -0
- package/static/newStyle/fife.png +0 -0
- package/static/newStyle/hidden.png +0 -0
- package/static/newStyle/label-clear.png +0 -0
- package/static/newStyle/left-img.png +0 -0
- package/static/newStyle/list_ok.png +0 -0
- package/static/newStyle/login-check.png +0 -0
- package/static/newStyle/login-con.png +0 -0
- package/static/newStyle/login-do.gif +0 -0
- package/static/newStyle/login-f.png +0 -0
- package/static/newStyle/login-info.png +0 -0
- package/static/newStyle/login-left.png +0 -0
- package/static/newStyle/login-org.png +0 -0
- package/static/newStyle/login-pwd.png +0 -0
- package/static/newStyle/login-user.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1280.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/loginbg_1.gif +0 -0
- package/static/newStyle/searchin.png +0 -0
- package/static/newStyle/searchout.png +0 -0
- package/static/newStyle/setting.png +0 -0
- package/static/newStyle/setting1.png +0 -0
- package/static/newStyle/shirk.png +0 -0
- package/static/newStyle/stretch_bottom.png +0 -0
- package/static/newStyle/stretch_left.png +0 -0
- package/static/newStyle/stretch_right.png +0 -0
- package/static/newStyle/stretch_top.png +0 -0
- package/static/newStyle/system-off.png +0 -0
- package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
- package/yarn.lock +0 -8072
|
@@ -103,6 +103,25 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
|
|
106
|
+
<div class="form-group col-sm-2">
|
|
107
|
+
<label class="col-sm-4 control-label linehhh">报装类型</label>
|
|
108
|
+
<div class="col-sm-8">
|
|
109
|
+
<v-select :value.sync="model.f_work_type" v-model="model.f_work_type"
|
|
110
|
+
:options='$parent.$parent.worktype' width="100%"
|
|
111
|
+
close-on-select condition="a.f_work_type = '{}'">
|
|
112
|
+
</v-select>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<div class="form-group col-sm-2">
|
|
117
|
+
<label class="col-sm-4 control-label linehhh">用户类型</label>
|
|
118
|
+
<div class="col-sm-8">
|
|
119
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
120
|
+
:options='$parent.$parent.usertype' width="100%"
|
|
121
|
+
close-on-select condition="a.f_user_type = '{}'">
|
|
122
|
+
</v-select>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
106
125
|
|
|
107
126
|
<div class="form-group">
|
|
108
127
|
<button class="btn btn-primary" @click="search(),$parent.$parent.showpager()">
|
|
@@ -130,14 +149,14 @@
|
|
|
130
149
|
<th><nobr>总应缴金额</nobr></th>
|
|
131
150
|
<th><nobr>已交金额</nobr></th>
|
|
132
151
|
<th><nobr>未交金额</nobr></th>
|
|
133
|
-
|
|
152
|
+
<th><nobr>操作</nobr></th>
|
|
134
153
|
</tr>
|
|
135
154
|
</template>
|
|
136
155
|
<template partial='body'>
|
|
137
156
|
<td style="text-align: center;">{{$index+1}}</td>
|
|
138
157
|
<td style="text-align: center;">{{row.f_charge_money}}</td>
|
|
139
|
-
<td style="text-align: center;">{{row.
|
|
140
|
-
<td style="text-align: center;">{{row.
|
|
158
|
+
<td style="text-align: center;">{{row.f_user_name}}</td>
|
|
159
|
+
<td style="text-align: center;">{{row.f_address}}</td>
|
|
141
160
|
<!-- <td style="text-align: center;">{{// row.f_charge_item}}</td>-->
|
|
142
161
|
<td style="text-align: center;">{{row.f_charge_collectors}}</td>
|
|
143
162
|
<td style="text-align: center;">{{row.f_charging_status}}</td>
|
|
@@ -151,7 +170,9 @@
|
|
|
151
170
|
<td style="text-align: center;">{{row.f_total_cost}}</td>
|
|
152
171
|
<td style="text-align: center;">{{row.app_f_cumulative_money}}</td>
|
|
153
172
|
<td style="text-align: center;">{{row.f_unaccounts_money}}</td>
|
|
154
|
-
|
|
173
|
+
<td style="text-align: center;">
|
|
174
|
+
<button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.$parent.update_way(row)">修改</button>
|
|
175
|
+
</td>
|
|
155
176
|
</template>
|
|
156
177
|
</data-grid>
|
|
157
178
|
</criteria-paged>
|
|
@@ -159,19 +180,45 @@
|
|
|
159
180
|
<div class="flex" style="height: 10%">
|
|
160
181
|
<div novalidate class="form-inline auto" partial>
|
|
161
182
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">合计收费记录共
|
|
162
|
-
<span style="color: red">{{modeluse.rows.length}}</span
|
|
183
|
+
<span style="color: red">{{modeluse.rows.length}}</span>笔,
|
|
184
|
+
收款金额合计<span style="color: red">{{price.rows[0].f_charge_money}}</span>元,
|
|
185
|
+
<!--合计应缴总金额<span style="color: red">{{price.rows[0].f_total_cost}}</span>元,
|
|
186
|
+
已缴<span style="color: red">{{price.rows[0].f_cumulative_money}}</span>元,未缴<span style="color: red">{{price.rows[0].f_unaccounts_money}}</span>元-->
|
|
163
187
|
</p>
|
|
164
188
|
</div>
|
|
165
189
|
</div>
|
|
166
190
|
</div>
|
|
191
|
+
<!--修改弹出框-->
|
|
192
|
+
<modal :show.sync="updateControl" v-ref:modal backdrop="false">
|
|
193
|
+
<header slot="modal-header" class="modal-header">
|
|
194
|
+
<button type="button" class="close" @click="closeUpdate()"><span>×</span></button>
|
|
195
|
+
<h4 class="modal-title">修改</h4>
|
|
196
|
+
</header>
|
|
197
|
+
<article slot="modal-body" class="modal-body" >
|
|
198
|
+
<div class="from-group" style="width: 100%">
|
|
199
|
+
<label style="width: 15%;float: left">票据类型</label>
|
|
200
|
+
<v-select :value.sync="selectItem.f_bill_style" v-model="selectItem.f_bill_style"
|
|
201
|
+
:options='billstyle' placeholder='请选择' style="width: 80%;float: left"
|
|
202
|
+
close-on-select >
|
|
203
|
+
</v-select>
|
|
204
|
+
</div>
|
|
205
|
+
</article>
|
|
206
|
+
|
|
167
207
|
|
|
208
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
209
|
+
<div class="from-group" style="width: 100%;float: left">
|
|
210
|
+
<button v-show="updateControl" type="button" class="btn btn-default" @click='closeUpdate'>取消</button>
|
|
211
|
+
<button v-show="updateControl" type="button" class="btn btn-success" @click='confirm'>确认</button>
|
|
212
|
+
</div>
|
|
213
|
+
</footer>
|
|
214
|
+
</modal>
|
|
168
215
|
</div>
|
|
169
216
|
</template>
|
|
170
217
|
<script>
|
|
171
218
|
import * as Util from '../../../../Util'
|
|
172
219
|
|
|
173
220
|
import { PagedList } from 'vue-client'
|
|
174
|
-
|
|
221
|
+
import {HttpResetClass} from 'vue-client'
|
|
175
222
|
Date.prototype.Format = function (fmt) {
|
|
176
223
|
var o = {
|
|
177
224
|
"M+": this.getMonth() + 1, //月份
|
|
@@ -196,57 +243,99 @@
|
|
|
196
243
|
filialeNameStr: null,
|
|
197
244
|
filialeCodeStr: this.$login.f.f_orgids,
|
|
198
245
|
userid: this.$login.f.id,
|
|
199
|
-
source
|
|
246
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
|
|
200
247
|
// f_operate_start_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
201
248
|
// f_operate_end_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
202
|
-
model: new PagedList('rs/sql/getApplyCharge', 30, {
|
|
203
|
-
modeluse: new PagedList('rs/sql/getApplyCharge', 999999, {
|
|
204
|
-
price: new PagedList('rs/sql/getChargeAll', 999999, {
|
|
205
|
-
human:[],
|
|
206
|
-
filiale:[],
|
|
207
|
-
method:
|
|
208
|
-
|
|
249
|
+
model: new PagedList('rs/sql/getApplyCharge', 30, {orderitem: '`id`'}),
|
|
250
|
+
modeluse: new PagedList('rs/sql/getApplyCharge', 999999, {orderitem: '`id`'}),
|
|
251
|
+
price: new PagedList('rs/sql/getChargeAll', 999999, {orderitem: '`f_charge_money`'}),
|
|
252
|
+
human: [],
|
|
253
|
+
filiale: [],
|
|
254
|
+
method: this.$appdata.getParam('付款方式'),
|
|
255
|
+
usertype:[
|
|
256
|
+
{label: '民用', value: '民用'},
|
|
257
|
+
{label: '非民用', value: '非民用'}
|
|
258
|
+
],
|
|
259
|
+
worktype:[
|
|
260
|
+
{label: '新报装', value: '新报装'},
|
|
261
|
+
{label: '改管', value: '改管'}
|
|
262
|
+
],
|
|
263
|
+
correct: [
|
|
209
264
|
{label: '是', value: '是'},
|
|
210
|
-
{label:'否', value: '否'}
|
|
265
|
+
{label: '否', value: '否'}
|
|
211
266
|
],
|
|
212
|
-
state:[
|
|
267
|
+
state: [
|
|
213
268
|
{label: '有效', value: '有效'},
|
|
214
|
-
{label:'无效', value: '无效'}
|
|
215
|
-
]
|
|
269
|
+
{label: '无效', value: '无效'}
|
|
270
|
+
],
|
|
271
|
+
selectItem: {},
|
|
272
|
+
billstyle: this.$appdata.getParam('发票类型'),
|
|
273
|
+
updateControl: false,
|
|
274
|
+
billID: 0
|
|
216
275
|
}
|
|
217
276
|
},
|
|
218
277
|
ready () {
|
|
219
|
-
this.$refs.
|
|
220
|
-
this.$refs.
|
|
278
|
+
this.$refs.paged.$refs.criteria.model.f_operate_start_date = Util.toStandardDateString() + ' 00:00:00'
|
|
279
|
+
this.$refs.paged.$refs.criteria.model.f_operate_end_date = Util.toStandardDateString() + ' 23:59:59'
|
|
221
280
|
this.search()
|
|
222
281
|
this.gethuman()
|
|
223
282
|
},
|
|
224
283
|
methods: {
|
|
225
|
-
clear(){
|
|
226
|
-
this.$refs.
|
|
284
|
+
clear () {
|
|
285
|
+
this.$refs.paged.$refs.criteria.model = {}
|
|
227
286
|
},
|
|
228
|
-
getRes(obj) {
|
|
287
|
+
getRes (obj) {
|
|
229
288
|
this.filialeNameStr = obj.res
|
|
230
289
|
this.filialeCodeStr = obj.resids
|
|
231
290
|
console.log(this.filialeNameStr)
|
|
232
291
|
console.log(this.filialeCodeStr)
|
|
233
292
|
},
|
|
234
|
-
showpager() {
|
|
293
|
+
showpager () {
|
|
235
294
|
// this.$refs.cp.pager = true
|
|
236
295
|
this.$dispatch('hiddenbtn')
|
|
237
296
|
},
|
|
238
|
-
|
|
239
|
-
|
|
297
|
+
search () {
|
|
298
|
+
let condition = "1=1 and r.f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
|
|
299
|
+
// debugger
|
|
300
|
+
// let condition = args.condition
|
|
301
|
+
debugger
|
|
240
302
|
this.model.search(condition)
|
|
241
303
|
this.modeluse.search(condition)
|
|
242
|
-
|
|
304
|
+
let condition1 = condition
|
|
305
|
+
this.price.search(condition1)
|
|
243
306
|
},
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
307
|
+
update_way (row) {
|
|
308
|
+
console.log('进入修改方法')
|
|
309
|
+
this.selectItem = {}
|
|
310
|
+
this.billID = row.id
|
|
311
|
+
this.updateControl = true
|
|
312
|
+
},
|
|
313
|
+
closeUpdate () {
|
|
314
|
+
this.updateControl = false
|
|
315
|
+
},
|
|
316
|
+
confirm () {
|
|
317
|
+
let data = {
|
|
318
|
+
f_bill_style: this.selectItem.f_bill_style[0],
|
|
319
|
+
id: this.billID
|
|
320
|
+
}
|
|
321
|
+
console.log('数据:' + JSON.stringify(this.selectItem))
|
|
322
|
+
this.$resetpost('rs/entity/t_charge_record', data).then((res) => {
|
|
323
|
+
console.log('返回值:' + JSON.stringify(res.data))
|
|
324
|
+
if (res.data.id > 0) {
|
|
325
|
+
// this.$showMessage('修改成功!')
|
|
326
|
+
this.closeUpdate()
|
|
327
|
+
this.search()
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
},
|
|
331
|
+
selfSearch (args) {
|
|
332
|
+
args.condition = args.condition + ` and a.f_filialeids like '%${this.filialeCodeStr}%'`
|
|
333
|
+
console.log('condition:', args.condition)
|
|
247
334
|
this.model.search(args.condition, args.model)
|
|
335
|
+
this.modeluse.search(args.condition, args.model)
|
|
336
|
+
this.price.search(args.condition, args.model)
|
|
248
337
|
},
|
|
249
|
-
cleaner() {
|
|
338
|
+
cleaner () {
|
|
250
339
|
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
251
340
|
this.$refs.paged.$refs.criteria.model[key] = ''
|
|
252
341
|
})
|
|
@@ -256,19 +345,19 @@
|
|
|
256
345
|
this.modeluse.search(this.$refs.paged.$refs.criteria.condition)
|
|
257
346
|
this.price.search(this.$refs.paged.$refs.criteria.condition)
|
|
258
347
|
},
|
|
259
|
-
gethuman(){
|
|
348
|
+
gethuman () {
|
|
260
349
|
console.log('获取人员')
|
|
261
350
|
this.$resetpost('rs/logic/getChargeList', {data: {condition: `1=1`}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
262
351
|
// this.params.rows.splice(index, 1)
|
|
263
|
-
console.log('获取成功',res)
|
|
352
|
+
console.log('获取成功', res)
|
|
264
353
|
let house = []
|
|
265
|
-
for (let row of res.data.human){
|
|
266
|
-
house.push({label: row.f_charge_collectors,value: row.f_charge_collectors})
|
|
354
|
+
for (let row of res.data.human) {
|
|
355
|
+
house.push({label: row.f_charge_collectors, value: row.f_charge_collectors})
|
|
267
356
|
}
|
|
268
357
|
this.human = house
|
|
269
358
|
let house2 = []
|
|
270
359
|
for (let row of res.data.f){
|
|
271
|
-
house2.push({label: row.f_filiale,value: row.f_filiale})
|
|
360
|
+
house2.push({label: row.r.f_filiale,value: row.r.f_filiale})
|
|
272
361
|
}
|
|
273
362
|
this.filiale = house2
|
|
274
363
|
let house3 = []
|
|
@@ -277,9 +366,7 @@
|
|
|
277
366
|
}
|
|
278
367
|
this.method = house3
|
|
279
368
|
})
|
|
280
|
-
|
|
281
|
-
},
|
|
282
|
-
|
|
369
|
+
}
|
|
283
370
|
},
|
|
284
371
|
computed: {
|
|
285
372
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto form-horizontal" >
|
|
3
|
+
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
4
|
+
<header slot="modal-header" class="modal-header">
|
|
5
|
+
<h3 style="color:black" class="modal-title">发票号</h3>
|
|
6
|
+
</header>
|
|
7
|
+
<article slot="modal-body" class="modal-body">
|
|
8
|
+
|
|
9
|
+
<validator name='v'>
|
|
10
|
+
<form class="form-horizontal select-overspread">
|
|
11
|
+
<div class="row" style="display: flex;justify-content: center;" id='normal-bill2' >
|
|
12
|
+
<div class="form-group col-sm-6">
|
|
13
|
+
<label class=" col-sm-2 control-label">发票代码:</label>
|
|
14
|
+
<input type="text" class="form-control" v-model="model.f_bill_code" style="width:60%"
|
|
15
|
+
placeholder="发票代码" disabled
|
|
16
|
+
>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-6">
|
|
19
|
+
<label class=" col-sm-2 control-label">发票号码:</label>
|
|
20
|
+
<input type="text" class="form-control" v-model="model.f_bill_number" style="width:60%"
|
|
21
|
+
placeholder="发票号码" disabled
|
|
22
|
+
>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</form>
|
|
26
|
+
</validator>
|
|
27
|
+
</article>
|
|
28
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
29
|
+
<button type="button" class="btn btn-default" @click='cancel()' >取消</button>
|
|
30
|
+
</footer>
|
|
31
|
+
</modal>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
<script>
|
|
35
|
+
import { DataModel } from 'vue-client'
|
|
36
|
+
let getBillData = async function(self) {
|
|
37
|
+
if(self.data.eticketid){
|
|
38
|
+
let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` id= ${self.data.eticketid}`}})
|
|
39
|
+
console.log("看看res",res)
|
|
40
|
+
self.model.f_bill_code=res.data[0].f_bill_code
|
|
41
|
+
self.model.f_bill_number=res.data[0].f_bill_number
|
|
42
|
+
}else{
|
|
43
|
+
let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` f_sell_id=${self.data.id}`}})
|
|
44
|
+
console.log("看看res",res)
|
|
45
|
+
self.model.f_bill_code=res.data[0].f_bill_code
|
|
46
|
+
self.model.f_bill_number=res.data[0].f_bill_number
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export default {
|
|
51
|
+
title: '收费发票',
|
|
52
|
+
data () {
|
|
53
|
+
return {
|
|
54
|
+
model:{
|
|
55
|
+
f_bill_code:'',
|
|
56
|
+
f_bill_number:''
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
props: ['show', 'data'],
|
|
61
|
+
ready () {
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
cancel () {
|
|
65
|
+
this.$dispatch('toggle')
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
watch: {
|
|
69
|
+
'show' (val) {
|
|
70
|
+
if (val) {
|
|
71
|
+
getBillData(this, val).then(() => {
|
|
72
|
+
this.$emit('ready')
|
|
73
|
+
}).catch((error) => {
|
|
74
|
+
this.$emit('error', error)
|
|
75
|
+
})
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
events: {
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
</script>
|
|
84
|
+
<style >
|
|
85
|
+
</style>
|