sale-client 3.6.484 → 3.6.487
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 +1 -1
- package/src/components/FilesManage/FileUserFiles.vue +11 -0
- package/src/components/charge/business/machine/MachineCharge.vue +9 -3
- package/src/components/charge/business/machine/OweList.vue +1 -1
- package/src/components/revenue/base/leftview/meterinfodetail.vue +1 -0
- package/src/filiale/gehua/handAccount/UserCheckBill.vue +84 -0
- package/src/filiale/gehua/handAccount/checkAccountPrint.vue +320 -0
- package/src/filiale/gehua/handAccount/handAccount.vue +255 -256
- package/src/filiale/gehua/handAccount/handAccountManage.vue +5 -12
- package/src/filiale/gehua/handAccount/handAccountQuery.vue +89 -88
- package/src/filiale/gehua/handAccount/handAccountQueryList.vue +208 -194
- package/src/filiale/gehua/handAccount/handAccountQueryPrint.vue +171 -195
- package/src/filiale/gehua/handAccount/handList.vue +419 -395
- package/src/filiale/gehua/sale.js +53 -16
- package/src/filiale/jingyang/PriceChangeCompensation/IotCompensation.vue +5 -5
- package/src/filiale/jingyang/PriceChangeCompensation/JbCompensation.vue +5 -5
- package/src/filiale/jingyang/charge/IOTMeterCenter.vue +3 -3
- package/src/main.js +1 -1
- package/src/sale.js +0 -6
package/package.json
CHANGED
|
@@ -195,6 +195,14 @@
|
|
|
195
195
|
close-on-select condition="f_user_state='{}'"
|
|
196
196
|
placeholder='客户状态' v-model="model.f_user_state"></v-select>
|
|
197
197
|
</div>
|
|
198
|
+
<div
|
|
199
|
+
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
200
|
+
class="form-group">
|
|
201
|
+
<label class="font_normal_body">表具状态</label>
|
|
202
|
+
<v-select :options='$parent.$parent.tablestates' :value.sync="model.f_table_state"
|
|
203
|
+
close-on-select condition="f_table_state='{}'"
|
|
204
|
+
placeholder='表具状态' v-model="model.f_table_state"></v-select>
|
|
205
|
+
</div>
|
|
198
206
|
<div
|
|
199
207
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
200
208
|
class="form-group">
|
|
@@ -934,6 +942,9 @@ let loadParamGem = async function (self) {
|
|
|
934
942
|
userstates () {
|
|
935
943
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
936
944
|
},
|
|
945
|
+
tablestates () {
|
|
946
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
|
|
947
|
+
},
|
|
937
948
|
usegas () {
|
|
938
949
|
return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
|
|
939
950
|
},
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
charge: true // 是否需要缴清欠费
|
|
70
70
|
},
|
|
71
71
|
blodid: '',
|
|
72
|
-
|
|
72
|
+
oweArr: [],
|
|
73
73
|
model: {},
|
|
74
74
|
list: [],
|
|
75
75
|
splitAllgas: 0,
|
|
@@ -82,9 +82,15 @@
|
|
|
82
82
|
loadGen(this)
|
|
83
83
|
},
|
|
84
84
|
methods: {
|
|
85
|
-
refreshCenter (val) {
|
|
85
|
+
refreshCenter (val, rows, f_userfiles_id) {
|
|
86
|
+
console.log(f_userfiles_id)
|
|
87
|
+
if (f_userfiles_id) {
|
|
88
|
+
console.log(f_userfiles_id)
|
|
89
|
+
this.oweArr[f_userfiles_id] = val
|
|
90
|
+
}
|
|
86
91
|
this.initData(this.row)
|
|
87
|
-
this.
|
|
92
|
+
let arr = Object.values(this.oweArr).flat()
|
|
93
|
+
this.getRows(arr)
|
|
88
94
|
},
|
|
89
95
|
initData (row) {
|
|
90
96
|
let temp = {
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
'selecteds' () {
|
|
151
151
|
// 获取选中的行数
|
|
152
152
|
this.selectedRows = this.selecteds.length
|
|
153
|
-
this.$dispatch('refresh-center', this.selecteds, this.selectedRows)
|
|
153
|
+
this.$dispatch('refresh-center', this.selecteds, this.selectedRows, this.row.f_userfiles_id)
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -343,6 +343,7 @@ export default {
|
|
|
343
343
|
} else {
|
|
344
344
|
this.f_arrears_fee = (this.data.f_balance - arrearsFee) > 0 ? 0 : 0 - (this.data.f_balance - arrearsFee)
|
|
345
345
|
}
|
|
346
|
+
this.f_arrears_fee = parseFloat(this.f_arrears_fee.toFixed(2))
|
|
346
347
|
},
|
|
347
348
|
dealmsg (val) {
|
|
348
349
|
this.$dispatch('deal-msg', val)
|
|
@@ -0,0 +1,84 @@
|
|
|
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" style="display: flex;justify-content: center;" :id="id">
|
|
8
|
+
<div v-if="bill.data">
|
|
9
|
+
{{ { bill.data } }}
|
|
10
|
+
</div>
|
|
11
|
+
</article>
|
|
12
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
13
|
+
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
14
|
+
<!--<report-print id='bill' top='15mm' left='5mm' width='90%' height='70%' :notrepeat="true" v-ref:reportprint></report-print>-->
|
|
15
|
+
<report-print :id='id' top='15mm' left='5mm' width='90%' height='70%' :notrepeat="false" :showbtn="false"
|
|
16
|
+
v-ref:reportprint></report-print>
|
|
17
|
+
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billManager">取消</button>
|
|
18
|
+
</footer>
|
|
19
|
+
</modal>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
<script>
|
|
23
|
+
import {DataModel} from 'vue-client'
|
|
24
|
+
|
|
25
|
+
let getBillData = async function (self) {
|
|
26
|
+
console.log('看看打票里面的data', self.billUrl)
|
|
27
|
+
Object.assign(self.billdata, {reprint: "'正常'"}, {operator: `'${self.$login.f.name}'`})
|
|
28
|
+
console.log('看看打票里面的self.billdata222', self.billdata)
|
|
29
|
+
self.bill = new DataModel(self.billUrl, self.billdata)
|
|
30
|
+
await self.bill.search(self.data.f_userinfo_id)
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export default {
|
|
34
|
+
title: '收费发票',
|
|
35
|
+
data () {
|
|
36
|
+
return {
|
|
37
|
+
bill: {}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
props: ['show', 'data', 'billUrl', 'billdata', 'id'],
|
|
41
|
+
ready () {
|
|
42
|
+
},
|
|
43
|
+
methods: {
|
|
44
|
+
cancel () {
|
|
45
|
+
this.$dispatch('closecheckbill')
|
|
46
|
+
},
|
|
47
|
+
async print () {
|
|
48
|
+
// 更新系统发票号
|
|
49
|
+
try {
|
|
50
|
+
console.log('不需要票号,直接打印')
|
|
51
|
+
this.$refs.reportprint.print()
|
|
52
|
+
} catch (error) {
|
|
53
|
+
this.$dispatch('refresh')
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
watch: {
|
|
58
|
+
'show' (val) {
|
|
59
|
+
if (val) {
|
|
60
|
+
getBillData(this, val).then(() => {
|
|
61
|
+
this.$emit('ready')
|
|
62
|
+
}).catch((error) => {
|
|
63
|
+
this.$emit('error', error)
|
|
64
|
+
})
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
events: {
|
|
69
|
+
'print-success' () {
|
|
70
|
+
// 对票据明细进行更新或插入操作
|
|
71
|
+
this.$dispatch('closecheckbill')
|
|
72
|
+
},
|
|
73
|
+
'print' () {
|
|
74
|
+
// 对票据明细进行更新或插入操作
|
|
75
|
+
this.$dispatch('printok', '发票打印', this.data)
|
|
76
|
+
},
|
|
77
|
+
'print-error' () {
|
|
78
|
+
this.$dispatch('error', '发票打印', this.data, null)
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
</script>
|
|
83
|
+
<style>
|
|
84
|
+
</style>
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="binary">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" style="flex: 1;">
|
|
5
|
+
<div style="flex: 1.2">
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto"
|
|
9
|
+
style="background-color: white"
|
|
10
|
+
partial>
|
|
11
|
+
<div class="row">
|
|
12
|
+
<div class="col-sm-2 form-group">
|
|
13
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
14
|
+
<datepicker id="startDate" placeholder="开始日期" width='100%'
|
|
15
|
+
v-model="model.startDate"
|
|
16
|
+
:value.sync="model.startDate"
|
|
17
|
+
:format="'yyyy-MM-dd'"
|
|
18
|
+
class="datepicker"
|
|
19
|
+
style="width:60%"
|
|
20
|
+
:show-reset-button="true"
|
|
21
|
+
condition="f_account_end_date >= '{} 00:00:00'">
|
|
22
|
+
</datepicker>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-sm-2 form-group">
|
|
25
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
26
|
+
<datepicker id="endDate" placeholder="结束日期" width='100%'
|
|
27
|
+
v-model="model.endDate"
|
|
28
|
+
:value.sync="model.endDate"
|
|
29
|
+
class="datepicker"
|
|
30
|
+
:format="'yyyy-MM-dd'"
|
|
31
|
+
style="width:60%"
|
|
32
|
+
:show-reset-button="true"
|
|
33
|
+
condition="f_account_end_date <= '{} 23:59:59'">
|
|
34
|
+
</datepicker>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="col-sm-2 form-group">
|
|
37
|
+
<label for="f_userinfo_code" class="font_normal_body">用户编号</label>
|
|
38
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
|
|
39
|
+
condition="f_userinfo_code like '%{}%'" placeholder='用户编号'>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-2 form-group">
|
|
42
|
+
<label for="f_user_name" class="font_normal_body">用户姓名</label>
|
|
43
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_name"
|
|
44
|
+
condition="f_user_name like '%{}%'" placeholder='用户姓名'>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="col-sm-2 form-group">
|
|
47
|
+
<label for="f_address" class="font_normal_body">用户地址</label>
|
|
48
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_address"
|
|
49
|
+
condition="f_address like '%{}%'" placeholder='用户地址'>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-2 form-group">
|
|
52
|
+
<label class="font_normal_body">气表品牌</label>
|
|
53
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
54
|
+
v-model="model.f_meter_brand"
|
|
55
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
56
|
+
condition="f_meter_brand = '{}'"
|
|
57
|
+
close-on-select>
|
|
58
|
+
</v-select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-2 form-group">
|
|
61
|
+
<label class="font_normal_body">用户类型</label>
|
|
62
|
+
<v-select id="f_user_type"
|
|
63
|
+
v-model="model.f_user_type"
|
|
64
|
+
placeholder='用户类型'
|
|
65
|
+
:value.sync="model.f_user_type"
|
|
66
|
+
:options='$parent.$parent.usertypes'
|
|
67
|
+
condition="f_user_type = '{}'"
|
|
68
|
+
close-on-select>
|
|
69
|
+
</v-select>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="span" style="float:right;margin-top:5px">
|
|
72
|
+
<button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
73
|
+
<!-- <button class="button_search" @click="$parent.$parent.updateSellInfo()">批量更新收费信息</button>-->
|
|
74
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
75
|
+
:field="$parent.$parent.getfield"
|
|
76
|
+
sqlurl="rs/logic/saleExport" sql-name="getCheckAccountPrint"
|
|
77
|
+
template-name='物联网表对账单导出' :choose-col="true">
|
|
78
|
+
</export-excel>
|
|
79
|
+
<print-data :model="$parent.model"
|
|
80
|
+
:field="$parent.$parent.getfield"
|
|
81
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
82
|
+
print-name="物联网对账单">
|
|
83
|
+
</print-data>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</criteria>
|
|
88
|
+
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
89
|
+
<template partial='head'>
|
|
90
|
+
<tr>
|
|
91
|
+
<th>
|
|
92
|
+
<nobr>用户编号</nobr>
|
|
93
|
+
</th>
|
|
94
|
+
<th>
|
|
95
|
+
<nobr>用户姓名</nobr>
|
|
96
|
+
</th>
|
|
97
|
+
<th>
|
|
98
|
+
<nobr>用户电话</nobr>
|
|
99
|
+
</th>
|
|
100
|
+
<th>
|
|
101
|
+
<nobr>用户地址</nobr>
|
|
102
|
+
</th>
|
|
103
|
+
<th>
|
|
104
|
+
<nobr>上期结余</nobr>
|
|
105
|
+
</th>
|
|
106
|
+
<th>
|
|
107
|
+
<nobr>收款</nobr>
|
|
108
|
+
</th>
|
|
109
|
+
<th>
|
|
110
|
+
<nobr>用气量</nobr>
|
|
111
|
+
</th>
|
|
112
|
+
<th>
|
|
113
|
+
<nobr>用气金额</nobr>
|
|
114
|
+
</th>
|
|
115
|
+
<th>
|
|
116
|
+
<nobr>本期结余</nobr>
|
|
117
|
+
</th>
|
|
118
|
+
<th>
|
|
119
|
+
<nobr>上期表底数</nobr>
|
|
120
|
+
</th>
|
|
121
|
+
<th>
|
|
122
|
+
<nobr>本期表底数</nobr>
|
|
123
|
+
</th>
|
|
124
|
+
<th>
|
|
125
|
+
<nobr>上次结算日期</nobr>
|
|
126
|
+
</th>
|
|
127
|
+
<th>
|
|
128
|
+
<nobr>本次结算日期</nobr>
|
|
129
|
+
</th>
|
|
130
|
+
<th>
|
|
131
|
+
<nobr>操作员</nobr>
|
|
132
|
+
</th>
|
|
133
|
+
<th>
|
|
134
|
+
<nobr>操作日期</nobr>
|
|
135
|
+
</th>
|
|
136
|
+
<th>
|
|
137
|
+
<nobr>操作</nobr>
|
|
138
|
+
</th>
|
|
139
|
+
</tr>
|
|
140
|
+
</template>
|
|
141
|
+
<template partial='body'>
|
|
142
|
+
<td style="text-align: center;">{{ row.f_userinfo_code }}</td>
|
|
143
|
+
<td style="text-align: center;">{{ row.f_user_name }}</td>
|
|
144
|
+
<td style="text-align: center;">{{ row.f_user_phone }}</td>
|
|
145
|
+
<td style="text-align: center;">{{ row.f_address }}</td>
|
|
146
|
+
<td style="text-align: center;">{{ row.f_last_balance }}</td>
|
|
147
|
+
<td style="text-align: center;">{{ row.f_collection }}</td>
|
|
148
|
+
<td style="text-align: center;">{{ row.f_pregas }}</td>
|
|
149
|
+
<td style="text-align: center;">{{ row.f_preamount }}</td>
|
|
150
|
+
<td style="text-align: center;">{{ row.f_balance }}</td>
|
|
151
|
+
<td style="text-align: center;">{{ row.f_last_tablebase }}</td>
|
|
152
|
+
<td style="text-align: center;">{{ row.f_tablebase }}</td>
|
|
153
|
+
<td style="text-align: center;">{{ row.f_account_start_date }}</td>
|
|
154
|
+
<td style="text-align: center;">{{ row.f_account_end_date }}</td>
|
|
155
|
+
<td style="text-align: center;">{{ row.f_operator }}</td>
|
|
156
|
+
<td style="text-align: center;">{{ row.f_operate_date }}</td>
|
|
157
|
+
<td style="text-align: center;">
|
|
158
|
+
<button class="button_search" @click="$parent.$parent.$parent.printUserBill(row)">对账单打印</button>
|
|
159
|
+
</td>
|
|
160
|
+
</template>
|
|
161
|
+
</data-grid>
|
|
162
|
+
</criteria-paged>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
<user-check-bill :show="checkPrint"
|
|
167
|
+
:bill-url='checkUrl'
|
|
168
|
+
v-on:toggle="close"
|
|
169
|
+
:data='userData'
|
|
170
|
+
:billdata="printData"
|
|
171
|
+
id="checkAccountPrint"
|
|
172
|
+
@closecheckbill="closeCheckBill()"
|
|
173
|
+
v-ref:checkbill>
|
|
174
|
+
</user-check-bill>
|
|
175
|
+
</div>
|
|
176
|
+
</template>
|
|
177
|
+
<script>
|
|
178
|
+
import {PagedList} from 'vue-client'
|
|
179
|
+
|
|
180
|
+
let asyncHandGen = async function (self) {
|
|
181
|
+
console.log('看看登录时间')
|
|
182
|
+
console.log(self.$login.toStandardTimeString())
|
|
183
|
+
self.search()
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export default {
|
|
187
|
+
title: '物联网表对账单',
|
|
188
|
+
data () {
|
|
189
|
+
return {
|
|
190
|
+
meterbrands: [],
|
|
191
|
+
model: new PagedList('rs/sql/getCheckAccountPrint', 20, {}),
|
|
192
|
+
metertype: this.$appdata.getParam('气表类型') ? [{
|
|
193
|
+
label: '全部',
|
|
194
|
+
value: ''
|
|
195
|
+
}, ...this.$appdata.getParam('气表类型')] : [],
|
|
196
|
+
checkPrint: false,
|
|
197
|
+
userData: {},
|
|
198
|
+
printData: {
|
|
199
|
+
f_userinfo_code: '',
|
|
200
|
+
f_userinfo_id: '',
|
|
201
|
+
f_user_name: '',
|
|
202
|
+
f_check_date: '',
|
|
203
|
+
f_total_gas: '',
|
|
204
|
+
f_total_fee: '',
|
|
205
|
+
f_balance: '',
|
|
206
|
+
f_curbalance: '',
|
|
207
|
+
f_collection: '',
|
|
208
|
+
f_address: ''
|
|
209
|
+
},
|
|
210
|
+
getfield: {
|
|
211
|
+
'f_userinfo_code': '用户编号',
|
|
212
|
+
'f_user_name': '用户姓名',
|
|
213
|
+
'f_user_phone': '用户电话',
|
|
214
|
+
'f_address': '用户地址',
|
|
215
|
+
'f_last_balance': '上期结余',
|
|
216
|
+
'f_collection': '收款',
|
|
217
|
+
'f_pregas': '用气量',
|
|
218
|
+
'f_preamount': '用气金额',
|
|
219
|
+
'f_last_tablebase': '上期表底数',
|
|
220
|
+
'f_tablebase': '本期表底数',
|
|
221
|
+
'f_balance': '本期结余',
|
|
222
|
+
'f_account_start_date': '上次结算日期',
|
|
223
|
+
'f_account_end_date': '本次结算日期',
|
|
224
|
+
'f_operator': '操作员',
|
|
225
|
+
'f_operate_date': '操作日期'
|
|
226
|
+
},
|
|
227
|
+
condition: '',
|
|
228
|
+
defaultfield: [],
|
|
229
|
+
checkUrl: 'rs/report/check_bill'
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
ready () {
|
|
233
|
+
this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString()
|
|
234
|
+
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
|
|
235
|
+
asyncHandGen(this)
|
|
236
|
+
this.$MagLoadParams.loadParam().then(() => {
|
|
237
|
+
this.initParams()
|
|
238
|
+
})
|
|
239
|
+
},
|
|
240
|
+
methods: {
|
|
241
|
+
initParams () {
|
|
242
|
+
let arr = []
|
|
243
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
244
|
+
let temp = {}
|
|
245
|
+
if (item.value.f_meter_type === '物联网表' || item.value.f_meter_type === '机表') {
|
|
246
|
+
temp.label = item.label
|
|
247
|
+
temp.value = item.value.f_meter_brand
|
|
248
|
+
arr.push(temp)
|
|
249
|
+
}
|
|
250
|
+
})
|
|
251
|
+
this.meterbrands = [{label: '全部', value: ''}, ...arr]
|
|
252
|
+
},
|
|
253
|
+
closeCheckBill () {
|
|
254
|
+
this.checkPrint = false
|
|
255
|
+
},
|
|
256
|
+
updateSellInfo (row) {
|
|
257
|
+
this.$showMessage(` 确定对查询的所有结算单进行更新收费信息吗? 一共${this.model.count}条`, ['confirm', 'cancel']).then(async res => {
|
|
258
|
+
if (res === 'confirm') {
|
|
259
|
+
let data = {
|
|
260
|
+
condition: this.condition
|
|
261
|
+
}
|
|
262
|
+
await this.$resetpost('rs/logic/updateAccountSellInfo', {data: data}, {
|
|
263
|
+
resolveMsg: '批量更新收费信息成功!!!!',
|
|
264
|
+
rejectMsg: '批量更新收费信息失败!!!'
|
|
265
|
+
})
|
|
266
|
+
this.search()
|
|
267
|
+
}
|
|
268
|
+
})
|
|
269
|
+
},
|
|
270
|
+
printUserBill (billData) {
|
|
271
|
+
let startdate = this.$refs.paged.$refs.cri.model.startDate ? this.$refs.paged.$refs.cri.model.startDate : this.$login.toStandardYearMonth() + '-01 00:00:00'
|
|
272
|
+
let enddate = this.$refs.paged.$refs.cri.model.endDate ? this.$refs.paged.$refs.cri.model.endDate : this.$login.toStandardDateString() + ' 23:59:59'
|
|
273
|
+
this.userData = billData
|
|
274
|
+
console.log('对账单打印,billData=', billData, this.userData)
|
|
275
|
+
console.log('', this.$refs.paged.$refs.cri.model.startDate, this.$refs.paged.$refs.cri.model.endDate)
|
|
276
|
+
this.userData = billData
|
|
277
|
+
this.checkPrint = true
|
|
278
|
+
console.log('对账单打印,checkPrint=', this.checkPrint)
|
|
279
|
+
this.printData.f_balance = `'${billData.f_last_balance}'`
|
|
280
|
+
this.printData.f_curbalance = `'${billData.f_balance}'`
|
|
281
|
+
this.printData.f_userinfo_code = `'${billData.f_userinfo_code}'`
|
|
282
|
+
this.printData.f_user_name = `'${billData.f_user_name}'`
|
|
283
|
+
this.printData.f_check_date = `'${billData.f_account_start_date.substring(0, 10) + '至' + billData.f_account_end_date.substring(0, 10)}'`
|
|
284
|
+
this.printData.f_total_gas = `'${billData.f_pregas}'`
|
|
285
|
+
this.printData.f_total_fee = `'${billData.f_preamount}'`
|
|
286
|
+
this.printData.f_collection = `'${billData.f_collection}'`
|
|
287
|
+
this.printData.f_address = `'${billData.f_address}'`
|
|
288
|
+
this.printData.f_userinfo_id = `'${billData.f_userinfo_id}'`
|
|
289
|
+
},
|
|
290
|
+
search () {
|
|
291
|
+
this.$parent.endDate = this.$refs.paged.$refs.cri.model.endDate
|
|
292
|
+
this.$refs.paged.$refs.cri.search()
|
|
293
|
+
this.$dispatch('search')
|
|
294
|
+
},
|
|
295
|
+
selfSearch (args) {
|
|
296
|
+
args.condition = `${args.condition} and f_filialeids = '${this.$login.f.orgid}'`
|
|
297
|
+
this.condition = args.condition
|
|
298
|
+
this.model.search(args.condition, args.model)
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
computed: {
|
|
302
|
+
usertypes () {
|
|
303
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
304
|
+
},
|
|
305
|
+
getCondition () {
|
|
306
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition} and f_filialeids = '${this.$login.f.f_orgids}'`}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
</script>
|
|
311
|
+
|
|
312
|
+
<style>
|
|
313
|
+
.datapanel {
|
|
314
|
+
color: #333;
|
|
315
|
+
background-color: white;
|
|
316
|
+
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
|
|
317
|
+
padding: 10px 10px 5px 10px;
|
|
318
|
+
border-radius: 10px;
|
|
319
|
+
}
|
|
320
|
+
</style>
|