manage-client 3.2.76 → 3.2.79
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/SellReport/GasBusinessDayMoney.vue +263 -0
- package/src/components/sale/businessquery/ChargeQuery.vue +8 -7
- package/src/components/sale/config/exportConfig.js +925 -925
- package/src/filiale/macheng/FxGasTable.vue +236 -0
- package/src/filiale/macheng/ManageBusSummary.vue +224 -0
- package/src/filiale/macheng/ManageDayGas.vue +248 -0
- package/src/filiale/macheng/ManageHandSellMoney.vue +249 -0
- package/src/filiale/macheng/ManageMonthGas.vue +250 -0
- package/src/filiale/macheng/ManageOtherCharge.vue +251 -0
- package/src/filiale/macheng/ManageSellType.vue +287 -0
- package/src/filiale/macheng/RecordInfoQuery.vue +2 -2
- package/src/filiale/macheng/SellingTable.vue +219 -0
- package/src/filiale/macheng/UserBalanceReport.vue +178 -0
- package/src/filiale/macheng/config/exportConfig.js +1 -1
- package/src/filiale/macheng/reportManage.js +19 -0
- package/src/reportManage.js +26 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div><!--
|
|
27
|
+
<div class="col-sm-4 form-group" >
|
|
28
|
+
<label class="font_normal_body" for="org">公  司:</label>
|
|
29
|
+
<right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-4 form-group">
|
|
32
|
+
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
33
|
+
<res-select id="dep" restype='department' style="width: 60%"
|
|
34
|
+
is-mul="false"
|
|
35
|
+
@res-select="$parent.$parent.getdep"
|
|
36
|
+
:parentresid="$parent.$parent.depresid"
|
|
37
|
+
:initresid='$parent.$parent.depid' >
|
|
38
|
+
</res-select>
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-4 form-group">
|
|
42
|
+
<label class="font_normal_body" for="oper">人  员:</label>
|
|
43
|
+
<res-select id="oper" restype='user' style="width: 60%"
|
|
44
|
+
is-mul="false"
|
|
45
|
+
@res-select="$parent.$parent.getuser"
|
|
46
|
+
:parentresid="$parent.$parent.userresid"
|
|
47
|
+
:initresid='$parent.$parent.operatorid'>
|
|
48
|
+
</res-select>
|
|
49
|
+
</div>-->
|
|
50
|
+
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="span" style = "float:right;">
|
|
53
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
54
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
55
|
+
<report-excel id='gasprice'></report-excel>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</criteria>
|
|
59
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
60
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
61
|
+
<thead>
|
|
62
|
+
<tr>
|
|
63
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
|
|
64
|
+
<h3 style="text-align: center">{{$parent.data.f_report_name}}</h3>
|
|
65
|
+
</th>
|
|
66
|
+
</tr>
|
|
67
|
+
<tr>
|
|
68
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
69
|
+
时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
|
|
70
|
+
打印时间:{{$parent.printTime}}
|
|
71
|
+
</th>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
75
|
+
<div>
|
|
76
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
77
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
78
|
+
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
79
|
+
</div>
|
|
80
|
+
</th>
|
|
81
|
+
</tr>
|
|
82
|
+
</thead>
|
|
83
|
+
<tr>
|
|
84
|
+
<td :colspan='$parent.tablen' class="noborder">
|
|
85
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
86
|
+
</td>
|
|
87
|
+
</tr>
|
|
88
|
+
<tfoot>
|
|
89
|
+
<tr style="text-align: left">
|
|
90
|
+
<th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
|
|
91
|
+
<th :colspan='Math.round($parent.tablen/3)'>复核人:</th>
|
|
92
|
+
<th :colspan='Math.round($parent.tablen/3)'>汇总人:</th>
|
|
93
|
+
</tr>
|
|
94
|
+
</tfoot>
|
|
95
|
+
</table>
|
|
96
|
+
</div>
|
|
97
|
+
</criteria-paged>
|
|
98
|
+
</div>
|
|
99
|
+
</template>
|
|
100
|
+
|
|
101
|
+
<script>
|
|
102
|
+
import { DataModel } from 'vue-client'
|
|
103
|
+
|
|
104
|
+
export default {
|
|
105
|
+
title: '报表',
|
|
106
|
+
props: ['data'],
|
|
107
|
+
data () {
|
|
108
|
+
return {
|
|
109
|
+
printTime: this.$login.toStandardTimeString(),
|
|
110
|
+
depresid: [],
|
|
111
|
+
userresid: [],
|
|
112
|
+
f_orgid: this.$login.f.orgid,
|
|
113
|
+
f_depid: this.$login.f.depids,
|
|
114
|
+
f_operatorid: this.$login.f.id,
|
|
115
|
+
operatorid: [],
|
|
116
|
+
depid: [],
|
|
117
|
+
tablen: 0,
|
|
118
|
+
orgname: '',
|
|
119
|
+
depname: '',
|
|
120
|
+
operatorname: '',
|
|
121
|
+
orgCondtionStr: '1=1',
|
|
122
|
+
model: new DataModel('rs/report/UserBalanceReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
123
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
124
|
+
reportStr: null,
|
|
125
|
+
resshow:['company','department','operator'],
|
|
126
|
+
initres: {
|
|
127
|
+
org: [this.$login.f.orgid],
|
|
128
|
+
dep: [],
|
|
129
|
+
user: []
|
|
130
|
+
},
|
|
131
|
+
show: false
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
ready () {
|
|
135
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
136
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
137
|
+
console.log(this.$login.f)
|
|
138
|
+
},
|
|
139
|
+
methods: {
|
|
140
|
+
searchData () {
|
|
141
|
+
this.$refs.paged.$refs.criteria.search()
|
|
142
|
+
},
|
|
143
|
+
selfSearch (args) {
|
|
144
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
145
|
+
let orgstr = this.orgCondtionStr
|
|
146
|
+
args.condition = `${args.condition} ` + orgstr
|
|
147
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = args.condition + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
|
|
148
|
+
this.$refs.paged.search(args)
|
|
149
|
+
},
|
|
150
|
+
getRes (condition, obj) {
|
|
151
|
+
this.orgCondtionStr = condition
|
|
152
|
+
this.orgname = obj.orgnames[0]
|
|
153
|
+
this.depname = obj.depnames[0]
|
|
154
|
+
},
|
|
155
|
+
getdep (obj, val) {
|
|
156
|
+
this.depname = val[0]
|
|
157
|
+
this.userresid = obj
|
|
158
|
+
this.f_depid = obj
|
|
159
|
+
},
|
|
160
|
+
getuser (obj, val) {
|
|
161
|
+
this.operatorname = val[0]
|
|
162
|
+
this.f_operatorid = obj
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
watch: {
|
|
166
|
+
'model.data' (val) {
|
|
167
|
+
this.tablen = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
computed: {
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
</script>
|
|
174
|
+
<style scoped>
|
|
175
|
+
.noborder{
|
|
176
|
+
border: none;
|
|
177
|
+
}
|
|
178
|
+
</style>
|
|
@@ -14,7 +14,7 @@ export default{
|
|
|
14
14
|
'f_sendsuccess': '表同步状态','f_user_state': '客户状态','f_meter_style': '气表型号','f_table_state': '表状态',
|
|
15
15
|
'f_aroundmeter': '左右表','f_position': '安装位置','f_install_date': '安装日期','f_install_person': '安装人',
|
|
16
16
|
'f_initial_base': '初始气表底数','f_meter_base': '气表底数','f_hand_date': '最后抄表日期','f_total_usegas_amount': '累计用气金额',
|
|
17
|
-
'f_total_gas': '表累购气量','f_total_fee': '表累购金额','f_contract_id':'发票编码',
|
|
17
|
+
'f_total_gas': '表累购气量','f_total_fee': '表累购金额','f_contract_id':'发票编码','f_bz_type':'报装类型',
|
|
18
18
|
'f_createfile_date': '建档日期', 'f_createfile_person': '建档人','f_depname': '所属营业厅','f_alarm_code': '报警器编号',
|
|
19
19
|
'f_card_id': '卡号', 'f_whether_hairpin': '是否发卡','f_open_date': '开户时间','f_gas_date': '通气日期',
|
|
20
20
|
'f_credentials': '证件类型','f_idnumber': '证件号码','f_people_num': '人口数','f_ins_stop_date': '保险结束日期',
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// 分公司特殊组件页面注册
|
|
2
|
+
let specialComp = {
|
|
3
|
+
// 营业分项汇总报表
|
|
4
|
+
'manage-sell-type': (resolve) => { require(['./ManageSellType'], resolve) },
|
|
5
|
+
//用户账户余额报表
|
|
6
|
+
'user-balance-report': (resolve) => { require(['./UserBalanceReport'], resolve) },
|
|
7
|
+
'manage-month-gas': (resolve) => { require(['./ManageMonthGas'], resolve) },
|
|
8
|
+
'manage-bus-summary': (resolve) => { require(['./ManageBusSummary'], resolve) },
|
|
9
|
+
'manage-hand-sell-money': (resolve) => { require(['./ManageHandSellMoney'], resolve) },
|
|
10
|
+
'manage-other-charge': (resolve) => { require(['./ManageOtherCharge'], resolve) },
|
|
11
|
+
'manage-day-gas': (resolve) => { require(['./ManageDayGas'], resolve) },
|
|
12
|
+
'selling-table': (resolve) => { require(['./SellingTable'], resolve) },
|
|
13
|
+
'fx-gas-table': (resolve) => { require(['./FxGasTable'], resolve) }
|
|
14
|
+
}
|
|
15
|
+
exports.specialComp = specialComp
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
package/src/reportManage.js
CHANGED
|
@@ -522,6 +522,32 @@ export default function (filiale) {
|
|
|
522
522
|
Vue.component('user-balance-report', (resolve) => {
|
|
523
523
|
require(['./components/SellReport/UserBalanceReport'], resolve)
|
|
524
524
|
})
|
|
525
|
+
// 单价汇总报表
|
|
526
|
+
Vue.component('user-danjiahuizong', (resolve) => {
|
|
527
|
+
require(['./components/SellReport/danjiahuizong'], resolve)
|
|
528
|
+
})
|
|
529
|
+
|
|
530
|
+
// 抄表汇总表
|
|
531
|
+
Vue.component('hand-biao', (resolve) => {
|
|
532
|
+
require(['./components/SellReport/HandBiao'], resolve)
|
|
533
|
+
})
|
|
534
|
+
// 彭山抄表回收报表
|
|
535
|
+
Vue.component('penshan-from-them', (resolve) => {
|
|
536
|
+
require(['./components/SellReport/Penshanfromthem'], resolve)
|
|
537
|
+
})
|
|
538
|
+
// 彭山气费通用抄表报表
|
|
539
|
+
Vue.component('public-sellreport-hand', (resolve) => {
|
|
540
|
+
require(['./components/SellReport/GasMoneyPublicReportHand'], resolve)
|
|
541
|
+
})
|
|
542
|
+
// 气费抄表率通用统计报表
|
|
543
|
+
Vue.component('Currency-Hand-Report', (resolve) => {
|
|
544
|
+
require(['./components/SellReport/CurrencyHandReport'], resolve)
|
|
545
|
+
})
|
|
546
|
+
//外营业厅收费日报表
|
|
547
|
+
Vue.component('gas-business-day', (resolve) => {
|
|
548
|
+
require(['./components/SellReport/GasBusinessDayMoney'], resolve)
|
|
549
|
+
})
|
|
550
|
+
|
|
525
551
|
if (filiale) {
|
|
526
552
|
let filialeComp = require(`./filiale/${filiale}/reportManage`).specialComp
|
|
527
553
|
Vue.filialeInfo = Vue.prototype.$filialeInfo = filiale
|