manage-client 3.2.42 → 3.2.43
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/build/dev-server.js +8 -26
- package/package.json +1 -1
- package/src/components/BasisEcharts/BarChart.vue +247 -247
- package/src/components/SellReport/BonSummary.vue +178 -178
- package/src/components/SellReport/ChargePrick.vue +205 -205
- package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
- package/src/components/SellReport/ManageBusSummary.vue +219 -219
- package/src/components/SellReport/ManageGasPrice.vue +176 -176
- package/src/components/SellReport/NonResidentGas.vue +203 -203
- package/src/components/SellReport/OutletTable.vue +258 -258
- package/src/components/SellReport/QibiaoShouqi.vue +242 -242
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
- package/src/components/SellReport/SaleMonthReport.vue +153 -153
- package/src/components/SellReport/SellingTable.vue +220 -220
- package/src/components/SellReport/UserSellingGas.vue +228 -228
- package/src/components/TelReport/ZhiHuanservice.vue +162 -162
- package/src/components/daping/GMap.vue +636 -636
- package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
- package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
- package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
- package/src/components/sale/businessquery/AreaChargeQuery.vue +380 -380
- package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
- package/src/components/sale/businessquery/BusinessManage.vue +6 -1
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
- package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
- package/src/components/sale/businessquery/CollectManage.vue +138 -138
- package/src/components/sale/businessquery/DisableQuery.vue +451 -451
- package/src/components/sale/businessquery/EnableQuery.vue +408 -408
- package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
- package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
- package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
- package/src/components/sale/businessquery/GasLossQuery.vue +561 -0
- package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
- package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
- package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
- package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
- package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
- package/src/components/sale/businessquery/TransferQuery.vue +418 -418
- package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
- package/src/components/sale/businessquery/gasPriceQuery.vue +365 -0
- package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
- package/src/components/sale/businessquery/usergas.vue +311 -311
- package/src/components/sale/config/exportConfig.js +10 -0
- package/src/components/sale/filesquery/DeviceQuery.vue +534 -534
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
- package/src/components/sale/report/aode/YearByUserType.vue +272 -272
- package/src/components/statistical/DendrogramManage.vue +239 -239
- package/src/components/statistical/StatisticalAnalysis.vue +252 -252
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
- package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
- package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
- package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
- package/src/filiale/WEINAN/EchartsBox.vue +110 -110
- package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
- package/src/filiale/WEINAN/ReportDataQuery.vue +325 -325
- package/src/filiale/WEINAN/SiteManager.vue +191 -191
- package/src/filiale/WEINAN/UserGasAll.vue +577 -577
- package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
- package/src/filiale/WEINAN/UserGasList.vue +438 -438
- package/src/filiale/WEINAN/config/tableConfig.js +20 -20
- package/src/filiale/WEINAN/reportManage.js +12 -12
- package/src/filiale/WEINAN/sale.js +36 -36
- package/src/filiale/alashan/reportManage.js +10 -10
- package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
- package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
- package/src/filiale/jingzhou/config/exportConfig.js +861 -861
- package/src/filiale/macheng/MeterQuery.vue +12 -0
- package/src/filiale/meihekou/UserGasEform.vue +267 -267
- package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
- package/src/filiale/pingxiang/sale.js +9 -9
- package/src/filiale/qianneng/OtherChargeDetailQuery.vue +74 -0
- package/src/filiale/qianneng/OtherChargeQuery.vue +634 -0
- package/src/filiale/qianneng/sale.js +9 -0
- package/src/filiale/qingtongxia/sale.js +13 -13
- package/src/filiale/rongcheng/UserQuery.vue +827 -827
- package/src/filiale/rongchuang/SellingTable.vue +250 -250
- package/src/filiale/rongchuang/reportManage.js +11 -11
- package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
- package/src/filiale/shaoguan/TransferQuery.vue +403 -403
- package/src/filiale/shaoguan/config/exportConfig.js +433 -433
- package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
- package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
- package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
- package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
- package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
- package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
- package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
- package/src/filiale/tongchuan/reportManage.js +5 -5
- package/src/filiale/wuhai/ChargeQuery.vue +19 -16
- package/src/filiale/zhongsheng/ChargeQuery.vue +1255 -1255
- package/src/filiale/zhongsheng/config/exportConfig.js +899 -899
- package/src/filiale/zhongsheng/sale.js +10 -10
- package/src/main.js +3 -3
- package/src/saleManage.js +9 -0
- package/static/wuhai.json +1610 -1610
- package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.4.1/gc.properties +0 -0
- package/src/.idea/misc.xml +0 -9
- package/src/.idea/modules.xml +0 -8
- package/src/.idea/src.iml +0 -9
- package/src/.idea/vcs.xml +0 -6
- package/src/.idea/workspace.xml +0 -93
|
@@ -1,205 +1,205 @@
|
|
|
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
|
-
<res-select-group :show-component="['company','operator']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
28
|
-
<!-- <div class="col-sm-3 form-group" >-->
|
|
29
|
-
<!-- <label class="font_normal_body" for="org">公  司:</label>-->
|
|
30
|
-
<!-- <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"-->
|
|
31
|
-
<!-- ></right-tree>-->
|
|
32
|
-
<!-- </div>-->
|
|
33
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
34
|
-
<!-- <label class="font_normal_body" for="oper">人  员:</label>-->
|
|
35
|
-
<!-- <v-select id="oper" style="width: 60%"-->
|
|
36
|
-
<!-- :multiple="false"-->
|
|
37
|
-
<!-- @change="$parent.$parent.getOpe"-->
|
|
38
|
-
<!-- :value.sync="model.f_operatorid"-->
|
|
39
|
-
<!-- v-model="model.f_operatorid"-->
|
|
40
|
-
<!-- :options='$parent.$parent.userresid' placeholder='请选择'-->
|
|
41
|
-
<!-- condition="f_operatorid in {}">-->
|
|
42
|
-
<!-- </v-select>-->
|
|
43
|
-
<!-- </div>-->
|
|
44
|
-
<div class="col-sm-2 form-group">
|
|
45
|
-
<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
|
|
46
|
-
<v-select :value.sync="model.f_payment" multiple
|
|
47
|
-
v-model="model.f_payment"
|
|
48
|
-
:options='$parent.$parent.payment' placeholder='请选择'
|
|
49
|
-
condition="f_payment in {}"
|
|
50
|
-
close-on-select></v-select>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
<div class="span" style = "float:right;">
|
|
54
|
-
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
55
|
-
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
56
|
-
<report-excel id='gasprice'></report-excel>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</criteria>
|
|
60
|
-
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
61
|
-
<table class='tableprint' style="margin: 0px auto">
|
|
62
|
-
<thead>
|
|
63
|
-
<tr>
|
|
64
|
-
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
|
|
65
|
-
<h3 style="text-align: center">操作员收款日结账单</h3>
|
|
66
|
-
</th>
|
|
67
|
-
</tr>
|
|
68
|
-
<tr>
|
|
69
|
-
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
70
|
-
时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
|
|
71
|
-
打印时间:{{$parent.printTime}}
|
|
72
|
-
</th>
|
|
73
|
-
</tr>
|
|
74
|
-
<tr>
|
|
75
|
-
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
76
|
-
<div>
|
|
77
|
-
<span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
|
|
78
|
-
<span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
|
|
79
|
-
<span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
|
|
80
|
-
</div>
|
|
81
|
-
</th>
|
|
82
|
-
</tr>
|
|
83
|
-
</thead>
|
|
84
|
-
<tr>
|
|
85
|
-
<td :colspan='$parent.tablen' class="noborder">
|
|
86
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
87
|
-
</td>
|
|
88
|
-
</tr>
|
|
89
|
-
<tfoot>
|
|
90
|
-
<tr style="text-align: left">
|
|
91
|
-
<th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
|
|
92
|
-
<th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
|
|
93
|
-
<th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
|
|
94
|
-
</tr>
|
|
95
|
-
</tfoot>
|
|
96
|
-
</table>
|
|
97
|
-
</div>
|
|
98
|
-
</criteria-paged>
|
|
99
|
-
</div>
|
|
100
|
-
</template>
|
|
101
|
-
|
|
102
|
-
<script>
|
|
103
|
-
import {DataModel, HttpResetClass} from 'vue-client'
|
|
104
|
-
import co from 'co'
|
|
105
|
-
|
|
106
|
-
let getData = function * (self) {
|
|
107
|
-
new HttpResetClass().load("POST",'rs/sql/manageSingleTable',
|
|
108
|
-
{
|
|
109
|
-
data: {
|
|
110
|
-
tablename: 't_user',
|
|
111
|
-
condition: `1=1`
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
{resolveMsg: null, rejectMsg: null})
|
|
115
|
-
.then((res) => {
|
|
116
|
-
self.userresid = res.data.map(x => {
|
|
117
|
-
return {label: x.name , value: x.id}
|
|
118
|
-
})
|
|
119
|
-
})
|
|
120
|
-
}
|
|
121
|
-
export default {
|
|
122
|
-
title: '操作员收款日结账单',
|
|
123
|
-
props: ['data'],
|
|
124
|
-
data () {
|
|
125
|
-
return {
|
|
126
|
-
printTime: this.$login.toStandardTimeString(),
|
|
127
|
-
depresid: [],
|
|
128
|
-
userresid: [],
|
|
129
|
-
initres: {
|
|
130
|
-
org:[this.$login.f.orgid],
|
|
131
|
-
user:[]
|
|
132
|
-
},
|
|
133
|
-
//f_orgid: '',
|
|
134
|
-
// f_depid: this.$login.f.depids,
|
|
135
|
-
// f_operatorid: '',
|
|
136
|
-
// operatorid: [],
|
|
137
|
-
// depid: [],
|
|
138
|
-
tablen: 0,
|
|
139
|
-
orgname: '',
|
|
140
|
-
// depname: '',
|
|
141
|
-
operatorname: '',
|
|
142
|
-
orgCondtionStr: '',
|
|
143
|
-
model: new DataModel('rs/report/chargePrick', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
144
|
-
f_orgid: 'this.model.f_orgid'}),
|
|
145
|
-
reportStr: null,
|
|
146
|
-
show: false,
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
ready () {
|
|
150
|
-
let load = new HttpResetClass()
|
|
151
|
-
load.load("POST",'rs/sql/singleTableParam',
|
|
152
|
-
{
|
|
153
|
-
data: {
|
|
154
|
-
items: 'name label,id value',
|
|
155
|
-
tablename: 't_user',
|
|
156
|
-
condition: `state = '在职' and f_department_name is not null`
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
{resolveMsg: null, rejectMsg: null})
|
|
160
|
-
.then((res) => {
|
|
161
|
-
this.userresid = res.data
|
|
162
|
-
})
|
|
163
|
-
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
164
|
-
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
165
|
-
console.log(this.$login.f)
|
|
166
|
-
},
|
|
167
|
-
methods: {
|
|
168
|
-
searchData () {
|
|
169
|
-
this.$refs.paged.$refs.criteria.search()
|
|
170
|
-
},
|
|
171
|
-
selfSearch (args) {
|
|
172
|
-
this.printTime = this.$login.toStandardTimeString()
|
|
173
|
-
|
|
174
|
-
let orgcondition = '1 = 1'
|
|
175
|
-
if (this.orgCondtionStr) {
|
|
176
|
-
orgcondition += this.orgCondtionStr
|
|
177
|
-
}
|
|
178
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
179
|
-
this.$refs.paged.search(args)
|
|
180
|
-
},
|
|
181
|
-
getRes (condition,obj) {
|
|
182
|
-
console.log('gs>>>>>>>>>>>>', obj)
|
|
183
|
-
this.orgCondtionStr = condition
|
|
184
|
-
this.orgname = obj.orgnames.map(item => item.split('-')[0]).toString()
|
|
185
|
-
this.operatorname = this.userresid.filter(x => obj.operatornames.includes(x.value)).map(x=>x.label).toString()
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
watch: {
|
|
190
|
-
'model.data' (val) {
|
|
191
|
-
this.tablen = val.split('</tr>').map(item => item.split('</td>').length-1).reduce((x, y) => x > y ? x : y)
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
computed: {
|
|
195
|
-
payment() {
|
|
196
|
-
return [...this.$appdata.getParam('付款方式查询')]
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
</script>
|
|
201
|
-
<style scoped>
|
|
202
|
-
.noborder{
|
|
203
|
-
border: none;
|
|
204
|
-
}
|
|
205
|
-
</style>
|
|
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
|
+
<res-select-group :show-component="['company','operator']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
28
|
+
<!-- <div class="col-sm-3 form-group" >-->
|
|
29
|
+
<!-- <label class="font_normal_body" for="org">公  司:</label>-->
|
|
30
|
+
<!-- <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"-->
|
|
31
|
+
<!-- ></right-tree>-->
|
|
32
|
+
<!-- </div>-->
|
|
33
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
34
|
+
<!-- <label class="font_normal_body" for="oper">人  员:</label>-->
|
|
35
|
+
<!-- <v-select id="oper" style="width: 60%"-->
|
|
36
|
+
<!-- :multiple="false"-->
|
|
37
|
+
<!-- @change="$parent.$parent.getOpe"-->
|
|
38
|
+
<!-- :value.sync="model.f_operatorid"-->
|
|
39
|
+
<!-- v-model="model.f_operatorid"-->
|
|
40
|
+
<!-- :options='$parent.$parent.userresid' placeholder='请选择'-->
|
|
41
|
+
<!-- condition="f_operatorid in {}">-->
|
|
42
|
+
<!-- </v-select>-->
|
|
43
|
+
<!-- </div>-->
|
|
44
|
+
<div class="col-sm-2 form-group">
|
|
45
|
+
<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
|
|
46
|
+
<v-select :value.sync="model.f_payment" multiple
|
|
47
|
+
v-model="model.f_payment"
|
|
48
|
+
:options='$parent.$parent.payment' placeholder='请选择'
|
|
49
|
+
condition="f_payment in {}"
|
|
50
|
+
close-on-select></v-select>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="span" style = "float:right;">
|
|
54
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
55
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
56
|
+
<report-excel id='gasprice'></report-excel>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</criteria>
|
|
60
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
61
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
62
|
+
<thead>
|
|
63
|
+
<tr>
|
|
64
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
|
|
65
|
+
<h3 style="text-align: center">操作员收款日结账单</h3>
|
|
66
|
+
</th>
|
|
67
|
+
</tr>
|
|
68
|
+
<tr>
|
|
69
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
70
|
+
时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
|
|
71
|
+
打印时间:{{$parent.printTime}}
|
|
72
|
+
</th>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr>
|
|
75
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
76
|
+
<div>
|
|
77
|
+
<span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
|
|
78
|
+
<span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
|
|
79
|
+
<span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
|
|
80
|
+
</div>
|
|
81
|
+
</th>
|
|
82
|
+
</tr>
|
|
83
|
+
</thead>
|
|
84
|
+
<tr>
|
|
85
|
+
<td :colspan='$parent.tablen' class="noborder">
|
|
86
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
87
|
+
</td>
|
|
88
|
+
</tr>
|
|
89
|
+
<tfoot>
|
|
90
|
+
<tr style="text-align: left">
|
|
91
|
+
<th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
|
|
92
|
+
<th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
|
|
93
|
+
<th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
|
|
94
|
+
</tr>
|
|
95
|
+
</tfoot>
|
|
96
|
+
</table>
|
|
97
|
+
</div>
|
|
98
|
+
</criteria-paged>
|
|
99
|
+
</div>
|
|
100
|
+
</template>
|
|
101
|
+
|
|
102
|
+
<script>
|
|
103
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
104
|
+
import co from 'co'
|
|
105
|
+
|
|
106
|
+
let getData = function * (self) {
|
|
107
|
+
new HttpResetClass().load("POST",'rs/sql/manageSingleTable',
|
|
108
|
+
{
|
|
109
|
+
data: {
|
|
110
|
+
tablename: 't_user',
|
|
111
|
+
condition: `1=1`
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{resolveMsg: null, rejectMsg: null})
|
|
115
|
+
.then((res) => {
|
|
116
|
+
self.userresid = res.data.map(x => {
|
|
117
|
+
return {label: x.name , value: x.id}
|
|
118
|
+
})
|
|
119
|
+
})
|
|
120
|
+
}
|
|
121
|
+
export default {
|
|
122
|
+
title: '操作员收款日结账单',
|
|
123
|
+
props: ['data'],
|
|
124
|
+
data () {
|
|
125
|
+
return {
|
|
126
|
+
printTime: this.$login.toStandardTimeString(),
|
|
127
|
+
depresid: [],
|
|
128
|
+
userresid: [],
|
|
129
|
+
initres: {
|
|
130
|
+
org:[this.$login.f.orgid],
|
|
131
|
+
user:[]
|
|
132
|
+
},
|
|
133
|
+
//f_orgid: '',
|
|
134
|
+
// f_depid: this.$login.f.depids,
|
|
135
|
+
// f_operatorid: '',
|
|
136
|
+
// operatorid: [],
|
|
137
|
+
// depid: [],
|
|
138
|
+
tablen: 0,
|
|
139
|
+
orgname: '',
|
|
140
|
+
// depname: '',
|
|
141
|
+
operatorname: '',
|
|
142
|
+
orgCondtionStr: '',
|
|
143
|
+
model: new DataModel('rs/report/chargePrick', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
144
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
145
|
+
reportStr: null,
|
|
146
|
+
show: false,
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
ready () {
|
|
150
|
+
let load = new HttpResetClass()
|
|
151
|
+
load.load("POST",'rs/sql/singleTableParam',
|
|
152
|
+
{
|
|
153
|
+
data: {
|
|
154
|
+
items: 'name label,id value',
|
|
155
|
+
tablename: 't_user',
|
|
156
|
+
condition: `state = '在职' and f_department_name is not null`
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{resolveMsg: null, rejectMsg: null})
|
|
160
|
+
.then((res) => {
|
|
161
|
+
this.userresid = res.data
|
|
162
|
+
})
|
|
163
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
164
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
165
|
+
console.log(this.$login.f)
|
|
166
|
+
},
|
|
167
|
+
methods: {
|
|
168
|
+
searchData () {
|
|
169
|
+
this.$refs.paged.$refs.criteria.search()
|
|
170
|
+
},
|
|
171
|
+
selfSearch (args) {
|
|
172
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
173
|
+
|
|
174
|
+
let orgcondition = '1 = 1'
|
|
175
|
+
if (this.orgCondtionStr) {
|
|
176
|
+
orgcondition += this.orgCondtionStr
|
|
177
|
+
}
|
|
178
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
179
|
+
this.$refs.paged.search(args)
|
|
180
|
+
},
|
|
181
|
+
getRes (condition,obj) {
|
|
182
|
+
console.log('gs>>>>>>>>>>>>', obj)
|
|
183
|
+
this.orgCondtionStr = condition
|
|
184
|
+
this.orgname = obj.orgnames.map(item => item.split('-')[0]).toString()
|
|
185
|
+
this.operatorname = this.userresid.filter(x => obj.operatornames.includes(x.value)).map(x=>x.label).toString()
|
|
186
|
+
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
watch: {
|
|
190
|
+
'model.data' (val) {
|
|
191
|
+
this.tablen = val.split('</tr>').map(item => item.split('</td>').length-1).reduce((x, y) => x > y ? x : y)
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
computed: {
|
|
195
|
+
payment() {
|
|
196
|
+
return [...this.$appdata.getParam('付款方式查询')]
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
</script>
|
|
201
|
+
<style scoped>
|
|
202
|
+
.noborder{
|
|
203
|
+
border: none;
|
|
204
|
+
}
|
|
205
|
+
</style>
|