sale-client 3.6.109 → 3.6.111
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 +2 -2
- package/src/components/FilesManage/UserDeviceInfoTest.vue +15 -11
- package/src/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +97 -2
- package/src/components/revenue/comprehen/Bill/paper/BillList.vue +4 -0
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +16 -16
- package/src/components/revenue/machineHandManage/machineDown.vue +36 -0
- package/src/filiale/liaoyuan/NewPriceAdjustment.vue +49 -45
- package/src/filiale/liaoyuan/NewPriceAdjustmentWebmeter.vue +26 -6
- package/src/filiale/lixianV3/UserInfoDetailManageNew.vue +205 -0
- package/src/filiale/lixianV3/ic_detail/HandQueryUser.vue +426 -0
- package/src/filiale/lixianV3/iotHand.vue +709 -0
- package/src/filiale/lixianV3/sale.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sale-client",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.111",
|
|
4
4
|
"description": "收费模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"style-loader": "^0.20.3",
|
|
92
92
|
"system-clients": "3.2.61",
|
|
93
93
|
"url-loader": "^0.5.7",
|
|
94
|
-
"vue-client": "1.24.
|
|
94
|
+
"vue-client": "1.24.94",
|
|
95
95
|
"vue-clipboard2": "0.3.1",
|
|
96
96
|
"vue-hot-reload-api": "^1.2.0",
|
|
97
97
|
"vue-html-loader": "^1.0.0",
|
|
@@ -336,17 +336,21 @@ export default {
|
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
async initParams () {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
339
|
+
try {
|
|
340
|
+
let http = new HttpResetClass()
|
|
341
|
+
let data = {
|
|
342
|
+
items: 'id,f_brand',
|
|
343
|
+
tablename: 't_iot_device_brand',
|
|
344
|
+
condition: `1=1`,
|
|
345
|
+
orderitem: 'id'
|
|
346
|
+
}
|
|
347
|
+
let res = await http.load('post', 'rs/sql/saleSingleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取设备品牌失败!'})
|
|
348
|
+
this.brands = []
|
|
349
|
+
for (let row of res.data) {
|
|
350
|
+
this.brands.push({label: row.f_brand, value: `${row.id}`})
|
|
351
|
+
}
|
|
352
|
+
} catch (e) {
|
|
353
|
+
console.log(e)
|
|
350
354
|
}
|
|
351
355
|
},
|
|
352
356
|
showTableBtn () {
|
|
@@ -44,6 +44,13 @@
|
|
|
44
44
|
|
|
45
45
|
<div style="float: right">
|
|
46
46
|
<button @click="search()" class="button_search" style="margin-right: 10px" v-el:cba>查询</button>
|
|
47
|
+
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
48
|
+
:field="$parent.$parent.getExportFields" :header="$parent.$parent.other"
|
|
49
|
+
sqlurl="rs/logic/saleExport"
|
|
50
|
+
:sql-name="$parent.$parent.isIot ? 'sale_WebChargeQuery' : 'sale_ChargeQuery'"
|
|
51
|
+
template-name='用户收费查询导出'
|
|
52
|
+
:choose-col="true">
|
|
53
|
+
</export-excel>
|
|
47
54
|
<print-data :defaultfield="$parent.$parent.defaultfield"
|
|
48
55
|
:field="$parent.$parent.isIot?$parent.$parent.iotFields:$parent.$parent.fields"
|
|
49
56
|
:is-selected="true" :model="$parent.$parent.printModel"
|
|
@@ -178,10 +185,10 @@
|
|
|
178
185
|
<!-- 应交合计: {{model.sums.f_oughtfee}}-->
|
|
179
186
|
<!-- </td>-->
|
|
180
187
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
181
|
-
气量合计: {{
|
|
188
|
+
气量合计: {{ sumsmodel.f_pregas}}
|
|
182
189
|
</td>
|
|
183
190
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
184
|
-
实收合计: {{
|
|
191
|
+
实收合计: {{ sumsmodel.f_collection }}
|
|
185
192
|
</td>
|
|
186
193
|
</tr>
|
|
187
194
|
</table>
|
|
@@ -245,6 +252,9 @@ export default {
|
|
|
245
252
|
radio: [],
|
|
246
253
|
// 选中的页
|
|
247
254
|
all: [],
|
|
255
|
+
other: [],
|
|
256
|
+
footer: [],
|
|
257
|
+
sumsmodel: {},
|
|
248
258
|
// row数据
|
|
249
259
|
rowsdata: [],
|
|
250
260
|
fields: {
|
|
@@ -291,10 +301,25 @@ export default {
|
|
|
291
301
|
this.$refs.paged.$refs.criteria.search()
|
|
292
302
|
},
|
|
293
303
|
methods: {
|
|
304
|
+
getotherfooter () {
|
|
305
|
+
this.other = []
|
|
306
|
+
this.footer = []
|
|
307
|
+
let otherInData = []
|
|
308
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
309
|
+
let footerData = []
|
|
310
|
+
let exportfield = this.getExportFields
|
|
311
|
+
footerData.push('合计')
|
|
312
|
+
for (var field in this.sumsmodel) {
|
|
313
|
+
footerData.push(`${exportfield[field]}合计:${this.sumsmodel[field]}`)
|
|
314
|
+
}
|
|
315
|
+
this.footer.push(footerData)
|
|
316
|
+
this.other.push(otherInData)
|
|
317
|
+
},
|
|
294
318
|
async search () {
|
|
295
319
|
console.log('aaa:', this.$refs.paged.$refs.criteria.condition)
|
|
296
320
|
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.row.f_user_id}' and f_orgid = '${this.$login.f.orgid}'`
|
|
297
321
|
this.model.search(this.condition, this.model)
|
|
322
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
298
323
|
let http = new HttpResetClass()
|
|
299
324
|
let res = await http.load('POST', `${this.row.f_meter_type === '物联网表' ? 'rs/sql/sale_WebChargeQuery' : 'rs/sql/sale_ChargeQuery'}`, {
|
|
300
325
|
data: {
|
|
@@ -419,7 +444,77 @@ export default {
|
|
|
419
444
|
}
|
|
420
445
|
}
|
|
421
446
|
},
|
|
447
|
+
watch: {
|
|
448
|
+
'model.rows' (val) {
|
|
449
|
+
if (val.length === 0) {
|
|
450
|
+
this.sumsmodel = {}
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
'sumsmodel': {
|
|
454
|
+
handler: function (val) {
|
|
455
|
+
this.getotherfooter()
|
|
456
|
+
},
|
|
457
|
+
deep: true
|
|
458
|
+
}
|
|
459
|
+
},
|
|
422
460
|
computed: {
|
|
461
|
+
getCondition () {
|
|
462
|
+
return {
|
|
463
|
+
condition: this.condition,
|
|
464
|
+
f_user_id: this.row.f_user_id
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
getExportFields () {
|
|
468
|
+
let fields
|
|
469
|
+
if (this.isIot) {
|
|
470
|
+
fields = {
|
|
471
|
+
'f_userinfo_code': '客户编号',
|
|
472
|
+
'f_user_name': '客户姓名',
|
|
473
|
+
'type': '收费类型',
|
|
474
|
+
'f_hand_date': '收费区间',
|
|
475
|
+
'f_meternumber': '表号',
|
|
476
|
+
'f_last_tablebase': '上期指数',
|
|
477
|
+
'f_tablebase': '本期指数',
|
|
478
|
+
'f_pregas': '气量',
|
|
479
|
+
'f_price': '气价',
|
|
480
|
+
'f_preamount': '气费金额',
|
|
481
|
+
'f_delaypay': '滞纳金',
|
|
482
|
+
'f_jianmian': '减免金额',
|
|
483
|
+
'f_balance': '上期结余',
|
|
484
|
+
'f_oughtfee': '应交金额',
|
|
485
|
+
'f_collection': '实收金额',
|
|
486
|
+
'f_curbalance': '本期结余',
|
|
487
|
+
'f_payment': '付款方式',
|
|
488
|
+
'f_operator': '操作员',
|
|
489
|
+
'f_operate_date': '缴费时间',
|
|
490
|
+
'f_state': '缴费状态',
|
|
491
|
+
'f_depname': '网点',
|
|
492
|
+
'f_comments': '备注'
|
|
493
|
+
}
|
|
494
|
+
} else {
|
|
495
|
+
fields = {
|
|
496
|
+
'f_userinfo_code': '客户编号',
|
|
497
|
+
'f_user_name': '客户姓名',
|
|
498
|
+
'type': '收费类型',
|
|
499
|
+
'f_meternumber': '表号',
|
|
500
|
+
'f_pregas': '气量',
|
|
501
|
+
'f_price': '气价',
|
|
502
|
+
'f_preamount': '气费金额',
|
|
503
|
+
'f_delaypay': '滞纳金',
|
|
504
|
+
'f_jianmian': '减免金额',
|
|
505
|
+
'f_balance': '上期结余',
|
|
506
|
+
'f_collection': '实收金额',
|
|
507
|
+
'f_curbalance': '本期结余',
|
|
508
|
+
'f_payment': '付款方式',
|
|
509
|
+
'f_operator': '操作员',
|
|
510
|
+
'f_operate_date': '缴费时间',
|
|
511
|
+
'f_state': '缴费状态',
|
|
512
|
+
'f_depname': '网点',
|
|
513
|
+
'f_comments': '备注'
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
return fields
|
|
517
|
+
},
|
|
423
518
|
ischecked () {
|
|
424
519
|
return function (index, i) {
|
|
425
520
|
if (!this.radio[index]) {
|
|
@@ -175,6 +175,10 @@
|
|
|
175
175
|
},
|
|
176
176
|
selfSearch (args) {
|
|
177
177
|
args.condition = `${args.condition} and f_orgid like '${this.$login.f.orgid}%'`
|
|
178
|
+
console.log('看看此用户是否限制查询全部票据', this.$login.r.includes('限制查看全部票据'))
|
|
179
|
+
if (this.$login.r.includes('限制查看全部票据')) {
|
|
180
|
+
args.condition = `${args.condition} and f_bill_user = '${this.$login.f.name}'`
|
|
181
|
+
}
|
|
178
182
|
console.log(args.condition)
|
|
179
183
|
this.model.search(args.condition, args.model)
|
|
180
184
|
},
|
|
@@ -192,10 +192,10 @@
|
|
|
192
192
|
</div>
|
|
193
193
|
<div class="col-sm-2 form-group">
|
|
194
194
|
<label class="font_normal_body">欠费金额</label>
|
|
195
|
-
<input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.
|
|
196
|
-
condition="
|
|
197
|
-
<input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.
|
|
198
|
-
condition="
|
|
195
|
+
<input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_oughtfee_col_small"
|
|
196
|
+
condition="f_oughtfee_col >= '{}' " placeholder="大于等于">
|
|
197
|
+
<input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_oughtfee_col_big"
|
|
198
|
+
condition="f_oughtfee_col <= '{}' " placeholder="小于等于">
|
|
199
199
|
</div>
|
|
200
200
|
<div class="col-sm-2 form-group">
|
|
201
201
|
<label class="font_normal_body">欠费期数</label>
|
|
@@ -299,6 +299,12 @@
|
|
|
299
299
|
<th>
|
|
300
300
|
<nobr>用气金额</nobr>
|
|
301
301
|
</th>
|
|
302
|
+
<th>
|
|
303
|
+
<nobr>合计欠费</nobr>
|
|
304
|
+
</th>
|
|
305
|
+
<th>
|
|
306
|
+
<nobr>实际欠费</nobr>
|
|
307
|
+
</th>
|
|
302
308
|
<th>
|
|
303
309
|
<nobr>缴费时间</nobr>
|
|
304
310
|
</th>
|
|
@@ -320,12 +326,6 @@
|
|
|
320
326
|
<th>
|
|
321
327
|
<nobr>上期余额</nobr>
|
|
322
328
|
</th>
|
|
323
|
-
<th>
|
|
324
|
-
<nobr>合计欠费</nobr>
|
|
325
|
-
</th>
|
|
326
|
-
<th>
|
|
327
|
-
<nobr>实际欠费</nobr>
|
|
328
|
-
</th>
|
|
329
329
|
<th>
|
|
330
330
|
<nobr>抄表员</nobr>
|
|
331
331
|
</th>
|
|
@@ -393,6 +393,12 @@
|
|
|
393
393
|
<td style="text-align: center;">
|
|
394
394
|
<nobr>{{row.f_oughtfee}}</nobr>
|
|
395
395
|
</td>
|
|
396
|
+
<td style="text-align: center;">
|
|
397
|
+
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
398
|
+
</td>
|
|
399
|
+
<td style="text-align: center;">
|
|
400
|
+
<nobr>{{row.f_oughtfee_col}}</nobr>
|
|
401
|
+
</td>
|
|
396
402
|
<td style="text-align: center;">
|
|
397
403
|
<nobr>{{row.f_operate_date}}</nobr>
|
|
398
404
|
</td>
|
|
@@ -414,12 +420,6 @@
|
|
|
414
420
|
<td style="text-align: center;">
|
|
415
421
|
<nobr>{{row.f_balance}}</nobr>
|
|
416
422
|
</td>
|
|
417
|
-
<td style="text-align: center;">
|
|
418
|
-
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
419
|
-
</td>
|
|
420
|
-
<td style="text-align: center;">
|
|
421
|
-
<nobr>{{row.f_oughtfee_col}}</nobr>
|
|
422
|
-
</td>
|
|
423
423
|
<td style="text-align: center;">
|
|
424
424
|
<nobr>{{row.f_inputtor}}</nobr>
|
|
425
425
|
</td>
|
|
@@ -36,6 +36,13 @@
|
|
|
36
36
|
<div class="span" style="float:right;">
|
|
37
37
|
<button class="button_search button_spacing" @click="$parent.$parent.search()">查询</button>
|
|
38
38
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
39
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
40
|
+
:field="$parent.$parent.getExportFields" :header="$parent.$parent.other"
|
|
41
|
+
sqlurl="rs/logic/saleExport"
|
|
42
|
+
sql-name="getDownPlan"
|
|
43
|
+
template-name='抄表计划下发导出'
|
|
44
|
+
:choose-col="true">
|
|
45
|
+
</export-excel>
|
|
39
46
|
<button class="button_search button_spacing"
|
|
40
47
|
@click="$parent.$parent.batchDownHand()">计划下发
|
|
41
48
|
</button>
|
|
@@ -603,6 +610,7 @@
|
|
|
603
610
|
uploadText: '抄表',
|
|
604
611
|
showerr: false,
|
|
605
612
|
err: '',
|
|
613
|
+
other: [],
|
|
606
614
|
// 请求对象(批量导入,查询进度使用)
|
|
607
615
|
HttpReset: new HttpResetClass()
|
|
608
616
|
}
|
|
@@ -616,6 +624,20 @@
|
|
|
616
624
|
document.getElementById(this.inputid).focus()
|
|
617
625
|
},
|
|
618
626
|
methods: {
|
|
627
|
+
getotherfooter () {
|
|
628
|
+
this.other = []
|
|
629
|
+
// this.footer = []
|
|
630
|
+
let otherInData = []
|
|
631
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
632
|
+
// let footerData = []
|
|
633
|
+
// let exportfield = this.getExportFields
|
|
634
|
+
// footerData.push('合计')
|
|
635
|
+
// for (var field in this.sumsmodel) {
|
|
636
|
+
// footerData.push(`${exportfield[field]}合计:${this.sumsmodel[field]}`)
|
|
637
|
+
// }
|
|
638
|
+
// this.footer.push(footerData)
|
|
639
|
+
this.other.push(otherInData)
|
|
640
|
+
},
|
|
619
641
|
// 获得本月的最后一天。
|
|
620
642
|
getLastDayOfMonth (year, month) {
|
|
621
643
|
let new_year = year // 取当前的年份
|
|
@@ -1008,6 +1030,20 @@
|
|
|
1008
1030
|
// },
|
|
1009
1031
|
},
|
|
1010
1032
|
computed: {
|
|
1033
|
+
getExportFields () {
|
|
1034
|
+
return {
|
|
1035
|
+
'f_userinfo_code': '客户编号',
|
|
1036
|
+
'f_user_name': '客户姓名',
|
|
1037
|
+
'f_address': '用户地址',
|
|
1038
|
+
'f_user_level': '用户等级',
|
|
1039
|
+
'f_adjustable_name': '调压箱名称',
|
|
1040
|
+
'f_inputtor': '抄表员',
|
|
1041
|
+
'f_balance': '上期结余',
|
|
1042
|
+
'f_meternumber': '表号',
|
|
1043
|
+
'f_meter_base': '上期底数',
|
|
1044
|
+
'f_book_name': '抄表册'
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1011
1047
|
getCondition () {
|
|
1012
1048
|
// return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
1013
1049
|
return {
|
|
@@ -92,17 +92,17 @@
|
|
|
92
92
|
condition="f_change_price1 {}"
|
|
93
93
|
close-on-select></v-select>
|
|
94
94
|
</div>
|
|
95
|
-
<div class="form-group col-sm-2"
|
|
96
|
-
<label class="font_normal_body">气表类型</label
|
|
97
|
-
<v-select id="f_source"
|
|
98
|
-
v-model="model.f_source"
|
|
99
|
-
placeholder='气表类型'
|
|
100
|
-
style="width: 60%"
|
|
101
|
-
:value.sync="model.f_source"
|
|
102
|
-
:options='$parent.$parent.source'
|
|
103
|
-
condition="f_source='{}'"
|
|
104
|
-
close-on-select></v-select
|
|
105
|
-
</div
|
|
95
|
+
<!-- <div class="form-group col-sm-2">-->
|
|
96
|
+
<!-- <label class="font_normal_body">气表类型</label>-->
|
|
97
|
+
<!-- <v-select id="f_source"-->
|
|
98
|
+
<!-- v-model="model.f_source"-->
|
|
99
|
+
<!-- placeholder='气表类型'-->
|
|
100
|
+
<!-- style="width: 60%"-->
|
|
101
|
+
<!-- :value.sync="model.f_source"-->
|
|
102
|
+
<!-- :options='$parent.$parent.source'-->
|
|
103
|
+
<!-- condition="f_source='{}'"-->
|
|
104
|
+
<!-- close-on-select></v-select>-->
|
|
105
|
+
<!-- </div>-->
|
|
106
106
|
<div class="form-group col-sm-2">
|
|
107
107
|
<label class="font_normal_body">用户类型</label>
|
|
108
108
|
<v-select id="f_user_tye"
|
|
@@ -140,36 +140,36 @@
|
|
|
140
140
|
close-on-select></v-select>
|
|
141
141
|
</div>
|
|
142
142
|
|
|
143
|
-
<div class="col-sm-2 form-group"
|
|
144
|
-
<label class="font_normal_body">抄 表 员</label
|
|
145
|
-
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
146
|
-
style="width:60%"
|
|
143
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
144
|
+
<!-- <label class="font_normal_body">抄 表 员</label>-->
|
|
145
|
+
<!-- <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'-->
|
|
146
|
+
<!-- style="width:60%"-->
|
|
147
147
|
|
|
148
|
-
:options='$parent.$parent.inputtoreser' placeholder='抄表员'
|
|
149
|
-
@change="$parent.$parent.inputtorchange"
|
|
150
|
-
close-on-select
|
|
151
|
-
v-el:cc></v-select
|
|
152
|
-
</div
|
|
153
|
-
|
|
154
|
-
<div class="col-sm-2 form-group"
|
|
155
|
-
<label class="font_normal_body">表册片区</label
|
|
156
|
-
<v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
|
|
157
|
-
:options='$parent.$parent.bookSliceArea' placeholder='表册片区'
|
|
158
|
-
multiple
|
|
159
|
-
style="width:60%"
|
|
160
|
-
@change="$parent.$parent.sliceChange"
|
|
161
|
-
close-on-select
|
|
162
|
-
condition="f_book_slice_area in {}"></v-select
|
|
163
|
-
</div
|
|
164
|
-
<div class="col-sm-2 form-group"
|
|
165
|
-
<label class="font_normal_body">抄 表 册</label
|
|
166
|
-
<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
|
|
167
|
-
:options='$parent.$parent.meterbooks' placeholder='抄表册'
|
|
168
|
-
multiple
|
|
169
|
-
style="width:60%"
|
|
170
|
-
close-on-select
|
|
171
|
-
condition="f_meter_book_num in {}"></v-select
|
|
172
|
-
</div
|
|
148
|
+
<!-- :options='$parent.$parent.inputtoreser' placeholder='抄表员'-->
|
|
149
|
+
<!-- @change="$parent.$parent.inputtorchange"-->
|
|
150
|
+
<!-- close-on-select-->
|
|
151
|
+
<!-- v-el:cc></v-select>-->
|
|
152
|
+
<!-- </div>-->
|
|
153
|
+
<!-- <!–表册片区–>-->
|
|
154
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
155
|
+
<!-- <label class="font_normal_body">表册片区</label>-->
|
|
156
|
+
<!-- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"-->
|
|
157
|
+
<!-- :options='$parent.$parent.bookSliceArea' placeholder='表册片区'-->
|
|
158
|
+
<!-- multiple-->
|
|
159
|
+
<!-- style="width:60%"-->
|
|
160
|
+
<!-- @change="$parent.$parent.sliceChange"-->
|
|
161
|
+
<!-- close-on-select-->
|
|
162
|
+
<!-- condition="f_book_slice_area in {}"></v-select>-->
|
|
163
|
+
<!-- </div>-->
|
|
164
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
165
|
+
<!-- <label class="font_normal_body">抄 表 册</label>-->
|
|
166
|
+
<!-- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"-->
|
|
167
|
+
<!-- :options='$parent.$parent.meterbooks' placeholder='抄表册'-->
|
|
168
|
+
<!-- multiple-->
|
|
169
|
+
<!-- style="width:60%"-->
|
|
170
|
+
<!-- close-on-select-->
|
|
171
|
+
<!-- condition="f_meter_book_num in {}"></v-select>-->
|
|
172
|
+
<!-- </div>-->
|
|
173
173
|
</div>
|
|
174
174
|
</div>
|
|
175
175
|
</criteria>
|
|
@@ -374,7 +374,13 @@
|
|
|
374
374
|
self.$refs.paged.$refs.criteria.model.startDate = self.$login.toStandardDateString()
|
|
375
375
|
self.$refs.paged.$refs.criteria.model.endDate = self.$login.toStandardDateString()
|
|
376
376
|
self.$refs.paged.$refs.criteria.model.f_change_date = ''
|
|
377
|
-
|
|
377
|
+
getPrice(self)
|
|
378
|
+
self.$showAlert('请输入[气价类型]后进行查询!', 'warning', 2000)
|
|
379
|
+
self.pricechange = false
|
|
380
|
+
|
|
381
|
+
}
|
|
382
|
+
let getPrice = async function(self) {
|
|
383
|
+
self.$resetpost('rs/sql/getpriceid', {data: {f_filialeids: self.f_filialeid}}, {
|
|
378
384
|
resolveMsg: null,
|
|
379
385
|
rejectMsg: null
|
|
380
386
|
}).then((res) => {
|
|
@@ -391,9 +397,7 @@
|
|
|
391
397
|
}
|
|
392
398
|
console.log(rs)
|
|
393
399
|
self.pricers = [ ...rs]
|
|
394
|
-
self
|
|
395
|
-
self.pricechange = false
|
|
396
|
-
//self.$refs.paged.$refs.criteria.search()
|
|
400
|
+
self.priceTypeChange()
|
|
397
401
|
})
|
|
398
402
|
}
|
|
399
403
|
let asyncReadyGen = async function (self) {
|
|
@@ -855,7 +859,7 @@
|
|
|
855
859
|
this.$refs.paged.$refs.criteria.model.f_inputtor = []
|
|
856
860
|
this.meterbooks = [{label: '全部', value: ''}]
|
|
857
861
|
if (this.f_filialeid) {
|
|
858
|
-
this
|
|
862
|
+
getPrice(this)
|
|
859
863
|
}
|
|
860
864
|
}
|
|
861
865
|
}
|
|
@@ -143,13 +143,13 @@
|
|
|
143
143
|
<nobr>三阶气量</nobr>
|
|
144
144
|
</th>
|
|
145
145
|
<th>
|
|
146
|
-
<nobr
|
|
146
|
+
<nobr>一阶单价</nobr>
|
|
147
147
|
</th>
|
|
148
148
|
<th>
|
|
149
|
-
<nobr
|
|
149
|
+
<nobr>二阶单价</nobr>
|
|
150
150
|
</th>
|
|
151
151
|
<th>
|
|
152
|
-
<nobr
|
|
152
|
+
<nobr>三阶单价</nobr>
|
|
153
153
|
</th>
|
|
154
154
|
<th>
|
|
155
155
|
<nobr>一阶补差单价</nobr>
|
|
@@ -303,8 +303,18 @@
|
|
|
303
303
|
let readySomething = async function (self) {
|
|
304
304
|
self.$refs.paged.$refs.criteria.model.startDate = self.$login.toStandardDateString()
|
|
305
305
|
self.$refs.paged.$refs.criteria.model.endDate = self.$login.toStandardDateString()
|
|
306
|
-
self.$
|
|
307
|
-
|
|
306
|
+
self.$refs.paged.$refs.criteria.model.f_change_date = ''
|
|
307
|
+
getPrice(self)
|
|
308
|
+
self.$showAlert('请输入[气价类型]后进行查询!', 'warning', 2000)
|
|
309
|
+
self.pricechange = false
|
|
310
|
+
|
|
311
|
+
}
|
|
312
|
+
let getPrice = async function(self) {
|
|
313
|
+
self.$resetpost('rs/sql/getpriceid', {data: {f_filialeids: self.f_filialeid}}, {
|
|
314
|
+
resolveMsg: null,
|
|
315
|
+
rejectMsg: null
|
|
316
|
+
}).then((res) => {
|
|
317
|
+
console.log('气价信息-------->',res.data)
|
|
308
318
|
let rs = []
|
|
309
319
|
for (let i = 0; i < res.data.length; i++) {
|
|
310
320
|
let temp = {
|
|
@@ -317,7 +327,7 @@
|
|
|
317
327
|
}
|
|
318
328
|
console.log(rs)
|
|
319
329
|
self.pricers = [ ...rs]
|
|
320
|
-
self
|
|
330
|
+
self.priceTypeChange()
|
|
321
331
|
})
|
|
322
332
|
}
|
|
323
333
|
|
|
@@ -572,6 +582,16 @@
|
|
|
572
582
|
computed: {
|
|
573
583
|
},
|
|
574
584
|
watch: {
|
|
585
|
+
async 'f_filialeid' (val) {
|
|
586
|
+
// 更新抄表册
|
|
587
|
+
this.$refs.paged.$refs.criteria.model.f_meter_book = []
|
|
588
|
+
this.$refs.paged.$refs.criteria.model.f_book_slice_area = []
|
|
589
|
+
this.$refs.paged.$refs.criteria.model.f_inputtor = []
|
|
590
|
+
this.meterbooks = [{label: '全部', value: ''}]
|
|
591
|
+
if (this.f_filialeid) {
|
|
592
|
+
getPrice(this)
|
|
593
|
+
}
|
|
594
|
+
}
|
|
575
595
|
}
|
|
576
596
|
}
|
|
577
597
|
</script>
|