manage-client 3.2.80 → 3.2.83

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.
Files changed (52) hide show
  1. package/build/dev-server.js +6 -6
  2. package/package.json +1 -1
  3. package/src/components/SellReport/NonResidentGas.vue +13 -0
  4. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +36 -30
  5. package/src/components/SellReport/SellDepReport.vue +269 -266
  6. package/src/components/sale/businessquery/AreaChargeQuery.vue +22 -22
  7. package/src/components/sale/businessquery/AreaGeneralQuery.vue +35 -40
  8. package/src/components/sale/businessquery/BalanceTable.vue +29 -31
  9. package/src/components/sale/businessquery/BusinesQuery.vue +56 -17
  10. package/src/components/sale/businessquery/BusinessManage.vue +3 -1
  11. package/src/components/sale/businessquery/CollectManage.vue +9 -3
  12. package/src/components/sale/businessquery/CommunityPaymen.vue +24 -24
  13. package/src/components/sale/businessquery/DepositDetail.vue +16 -17
  14. package/src/components/sale/businessquery/DisableQuery.vue +1 -3
  15. package/src/components/sale/businessquery/EnableQuery.vue +26 -28
  16. package/src/components/sale/businessquery/FMYGasQuery.vue +26 -26
  17. package/src/components/sale/businessquery/FillGasQuery.vue +8 -1
  18. package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
  19. package/src/components/sale/businessquery/HandBookQuery.vue +37 -38
  20. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +38 -37
  21. package/src/components/sale/businessquery/HandPeopleQuery.vue +22 -22
  22. package/src/components/sale/businessquery/Handgasquery.vue +30 -33
  23. package/src/components/sale/businessquery/HandplanQuery.vue +1330 -1327
  24. package/src/components/sale/businessquery/InfoOperateRecord.vue +13 -1
  25. package/src/components/sale/businessquery/MonthGasQuery.vue +2 -1
  26. package/src/components/sale/businessquery/MoveMeterQuery.vue +1 -1
  27. package/src/components/sale/businessquery/NoBusinessQuery.vue +23 -26
  28. package/src/components/sale/businessquery/PlotSummaryQuery.vue +22 -21
  29. package/src/components/sale/businessquery/PrickBillQuery.vue +15 -13
  30. package/src/components/sale/businessquery/PrivilegeQuery.vue +1 -1
  31. package/src/components/sale/businessquery/ProceedsOper.vue +4 -10
  32. package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +23 -24
  33. package/src/components/sale/businessquery/ResidentialQuery.vue +21 -28
  34. package/src/components/sale/businessquery/SellOrgnameQuery.vue +29 -27
  35. package/src/components/sale/businessquery/SellPeopleQuery.vue +29 -30
  36. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +27 -26
  37. package/src/components/sale/businessquery/TransferQuery.vue +18 -17
  38. package/src/components/sale/businessquery/UnhandBusiness.vue +324 -0
  39. package/src/components/sale/businessquery/UserSellHeadDetail.vue +30 -33
  40. package/src/components/sale/businessquery/YingShouMingXi.vue +10 -15
  41. package/src/components/sale/businessquery/YonghuJieyu.vue +4 -2
  42. package/src/components/sale/businessquery/gasPriceQuery.vue +1 -2
  43. package/src/components/sale/businessquery/handplan-info.vue +405 -0
  44. package/src/components/sale/businessquery/overDueQuery.vue +22 -23
  45. package/src/components/sale/businessquery/sellingChargePrice.vue +667 -0
  46. package/src/components/sale/config/exportConfig.js +20 -1
  47. package/src/filiale/qianneng/ChargeQuery.vue +1289 -0
  48. package/src/filiale/qianneng/HandplanQuery.vue +1344 -0
  49. package/src/filiale/qianneng/OtherChargeQuery.vue +13 -1
  50. package/src/filiale/qianneng/exportConfig.js +34 -0
  51. package/src/filiale/qianneng/sale.js +3 -1
  52. package/src/saleManage.js +10 -2
@@ -6,9 +6,25 @@
6
6
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
10
- :show-component="['company','department','operator']"
11
- v-ref:sel></res-select-group>
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
11
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
12
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
13
+ </div>
14
+ <div class="col-sm-2 form-group">
15
+ <label class="font_normal_body">小区名称</label>
16
+ <v-select :value.sync="model.f_residential_area"
17
+ class="select_list select"
18
+ enter-push
19
+ multiple = "true"
20
+ v-model="model.f_residential_area"
21
+ style="width: 60%"
22
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
23
+ condition="f_residential_area = '{}'"
24
+ close-on-select>
25
+
26
+ </v-select>
27
+ </div>
12
28
  <div class="col-sm-2 form-group">
13
29
  <label class="font_normal_body">客户编号</label>
14
30
  <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
@@ -34,11 +50,10 @@
34
50
  </div>
35
51
 
36
52
  <div class="row" v-show="$parent.$parent.criteriaShow">
37
- <div class="col-sm-2 form-group">
38
- <label class="font_normal_body" title="旧客户编号">档案编号</label>
39
- <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
40
- condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
41
- </div>
53
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
54
+ :show-component="['company','department','operator']"
55
+ v-ref:sel></res-select-group>
56
+
42
57
  <div class="col-sm-2 form-group">
43
58
  <label class="font_normal_body">客户类型</label>
44
59
  <v-select :value.sync="model.f_user_type"
@@ -52,20 +67,6 @@
52
67
  <input type="text" style="width:60%" class="input_search" v-model="model.f_wgqmonth"
53
68
  condition="f_wgqmonth = '{}' " placeholder="未购气月数">
54
69
  </div>
55
- <div class="col-sm-2 form-group">
56
- <label class="font_normal_body">小区名称</label>
57
- <v-select :value.sync="model.f_residential_area"
58
- class="select_list select"
59
- enter-push
60
- multiple = "true"
61
- v-model="model.f_residential_area"
62
- style="width: 60%"
63
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
64
- condition="f_residential_area = '{}'"
65
- close-on-select>
66
-
67
- </v-select>
68
- </div>
69
70
  <div class="col-sm-2 form-group">
70
71
  <label class="font_normal_body">气表品牌</label>
71
72
  <v-select :value.sync="model.gasbrand"
@@ -78,8 +79,8 @@
78
79
  close-on-select></v-select>
79
80
  </div>
80
81
  <div class="col-sm-2 form-group">
81
- <label for="startDate" class="font_normal_body">最后购气小于</label>
82
- <datepicker id="startDate" placeholder="最后购气时间" style="width:60%"
82
+ <label for="startDate" class="font_normal_body">最后购气大于</label>
83
+ <datepicker id="startDate" placeholder="最后购气时间大于" style="width:60%"
83
84
  v-model="model.startDate"
84
85
  :value.sync="model.startDate"
85
86
  :format="'yyyy-MM-dd HH:mm:ss'"
@@ -88,8 +89,8 @@
88
89
  </datepicker>
89
90
  </div>
90
91
  <div class="col-sm-2 form-group">
91
- <label for="endDate" class="font_normal_body">最后购气大于</label>
92
- <datepicker id="endDate" placeholder="最后购气时间" style="width:60%"
92
+ <label for="endDate" class="font_normal_body">最后购气小于</label>
93
+ <datepicker id="endDate" placeholder="最后购气时间小于" style="width:60%"
93
94
  v-model="model.endDate"
94
95
  :value.sync="model.endDate"
95
96
  :format="'yyyy-MM-dd HH:mm:ss'"
@@ -7,23 +7,6 @@
7
7
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
8
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
9
  <div class="row">
10
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
11
- <div class="span" style="float:right;">
12
- <button class="button_search button_spacing" @click="search()">查询</button>
13
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
14
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
15
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
16
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
17
- sqlurl="rs/logic/exportfile" sql-name="transferQuery" template-name='过户查询导出'
18
- :choose-col="true"></export-excel>
19
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
20
- :defaultfield="$parent.$parent.defaultfield"
21
- titletable="过户记录"
22
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
23
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
24
- </div>
25
- </div>
26
- <div class="row" v-show="$parent.$parent.criteriaShow">
27
10
  <div class="col-sm-2 form-group">
28
11
  <label for="startDate" class="font_normal_body">开始日期</label>
29
12
  <datepicker id="startDate" placeholder="开始日期" style="width:60%"
@@ -54,6 +37,24 @@
54
37
  <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
55
38
  condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
56
39
  </div>
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
44
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
45
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
46
+ sqlurl="rs/logic/exportfile" sql-name="transferQuery" template-name='过户查询导出'
47
+ :choose-col="true"></export-excel>
48
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
49
+ :defaultfield="$parent.$parent.defaultfield"
50
+ titletable="过户记录"
51
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
52
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
53
+ </div>
54
+ </div>
55
+ <div class="row" v-show="$parent.$parent.criteriaShow">
56
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
57
+
57
58
  <div class="col-sm-2 form-group">
58
59
  <label class="font_normal_body">客户地址</label>
59
60
  <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
@@ -0,0 +1,324 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ format="yyyy-MM-dd HH:mm:ss"
15
+ :show-reset-button="true">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label for="endDate" class="font_normal_body">结束日期</label>
20
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ format="yyyy-MM-dd HH:mm:ss"
24
+ :show-reset-button="true">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body">客户编号</label>
29
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
30
+ condition="u.f_userinfo_code = '{}' " placeholder="客户编号">
31
+ </div>
32
+ <!--<div class="col-sm-2 form-group">-->
33
+ <!--<label class="font_normal_body">抄表状态</label>-->
34
+ <!--<v-select :value.sync="model.f_meter_state" v-model="model.f_meter_state"-->
35
+ <!--:options='$parent.$parent.meterstate' placeholder='请选择'-->
36
+ <!--condition="f_meter_state = '{}'"-->
37
+ <!--close-on-select>-->
38
+ <!--</v-select>-->
39
+ <!--</div>-->
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
44
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
45
+ <export-excel :data="$parent.$parent.getCondition"
46
+ :field="$parent.$parent.getfield"
47
+ :footer="$parent.$parent.footer"
48
+ :header="$parent.$parent.other"
49
+ sqlurl="rs/logic/exportfile"
50
+ sql-name="UnhandBusiness"
51
+ template-name='未抄表用户报表导出'
52
+ :choose-col="true"></export-excel>
53
+ <print-data :model="$parent.model"
54
+ :field="$parent.$parent.getfield"
55
+ titletable="未抄表用户报表导出"></print-data>
56
+ </div>
57
+ </div>
58
+ <div class="row" v-show="$parent.$parent.criteriaShow">
59
+ <div class="col-sm-2 form-group">
60
+ <label class="font_normal_body">客户名称</label>
61
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
62
+ condition="u.f_user_name like '%{}%'" placeholder="客户名称">
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">用户电话</label>
66
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
67
+ placeholder="地址" condition="f_user_phone='{}'">
68
+ </div>
69
+ <div class="col-sm-2 form-group">
70
+ <label class="font_normal_body">用户地址</label>
71
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
72
+ placeholder="地址" condition="f_address like '%{}%'">
73
+ </div>
74
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="['company','department','operator']" v-ref:sel></res-select-group>
75
+ </div>
76
+ </div>
77
+ </criteria>
78
+
79
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
80
+ <template partial='head'>
81
+ <tr>
82
+ <th>
83
+ <nobr>用户编号</nobr>
84
+ </th>
85
+ <th>
86
+ <nobr>用户名称</nobr>
87
+ </th>
88
+ <th>
89
+ <nobr>档案编号</nobr>
90
+ </th>
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
+ </tr>
128
+ </template>
129
+ <template partial='body'>
130
+ <td style="text-align: center;">{{row.f_userinfo_code}}</td>
131
+ <td style="text-align: center;">{{row.f_user_name}}</td>
132
+ <td style="text-align: center;">{{row.f_olduserinfo_code}}</td>
133
+ <td style="text-align: center;">{{row.f_street}}</td>
134
+ <td style="text-align: center;">{{row.f_residential_area}}</td>
135
+ <td style="text-align: center;">{{row.f_address}}</td>
136
+ <td style="text-align: center;">{{row.f_user_phone}}</td>
137
+ <td style="text-align: center;">{{row.f_user_type}}</td>
138
+ <td style="text-align: center;">{{row.f_meternumber}}</td>
139
+ <td style="text-align: center;">{{row.f_total_gas}}</td>
140
+ <td style="text-align: center;">{{row.f_balance_amount}}</td>
141
+ <td style="text-align: center;"><nobr>{{row.f_meter_state}}</nobr></td>
142
+ <td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
143
+ <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
144
+ <td style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></td>
145
+ </template>
146
+ </data-grid>
147
+ </criteria-paged>
148
+ </div>
149
+ </div>
150
+ </div>
151
+
152
+ </template>
153
+ <script>
154
+ /**
155
+ *档案查询列表以及添加操作组件
156
+ */
157
+ import {PagedList} from 'vue-client'
158
+ import defaultPrint from '../config/DefaultPrint'
159
+ import exportConfig from '../config/exportConfig'
160
+
161
+ let readySomething = async function (self) {
162
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
163
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
164
+
165
+ await self.$MagLoadParams.loadParam()
166
+
167
+ }
168
+
169
+
170
+ export default {
171
+ title: '未抄表用户报表',
172
+ data() {
173
+ return {
174
+ rows: null,
175
+ other: [],
176
+ footer: [],
177
+ criteriaShow: false,
178
+ model: new PagedList('rs/sql/UnhandBusiness', 50,
179
+ {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
180
+ orgCondtionStr: '',
181
+ getfield: '',
182
+ show:false,
183
+ rowdata:{},
184
+ initres: {
185
+ org:[this.$login.f.orgid],
186
+ dep:[],
187
+ user:[],
188
+ },
189
+ defaultfield: []
190
+ }
191
+ },
192
+ ready() {
193
+ readySomething(this).then(() => {
194
+ this.$emit('ready')
195
+ }).catch((error) => {
196
+ this.$emit('error', error)
197
+ })
198
+ },
199
+ methods: {
200
+ getotherfooter() {
201
+ this.other = [];
202
+ this.footer = [];
203
+ let exportdata = this.getCondition;
204
+ let otherInData = [];
205
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
206
+ let footerData = [], exportfield = this.getfield;
207
+ this.footer.push(footerData);
208
+ this.other.push(otherInData);
209
+ },
210
+ search(){
211
+ this.$refs.paged.$refs.cri.search()
212
+ },
213
+ selfSearch(args) {
214
+ args.condition = `${args.condition}` + this.orgCondtionStr
215
+ this.model.search(args.condition, args.model)
216
+ },
217
+ show() {
218
+ this.criteriaShow = true
219
+ },
220
+ cancel() {
221
+ this.show = false
222
+ },
223
+ showmsg(obj){
224
+ this.rowdata=obj
225
+ this.show=true
226
+ },
227
+ dealmsg(val) {
228
+ console.log('---------------dealmsg')
229
+ val.model = this.model.model
230
+ this.$dispatch('deal-msg', val)
231
+ },
232
+ hidden() {
233
+ this.criteriaShow = !this.criteriaShow
234
+ },
235
+ clear() {
236
+ //清空部门和人员
237
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
238
+ //部门和人员变为全选
239
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
240
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
241
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
242
+ this.$refs.paged.$refs.cri.model[key] = []
243
+ })
244
+ },
245
+ getRes(obj) {
246
+ this.orgCondtionStr = obj
247
+ },
248
+ stamp() {
249
+ this.all = false
250
+ //默认选择要打印的列
251
+ this.modelval = defaultPrint.config
252
+ this.fields = this.getfield
253
+ console.log('所有打印字段', this.fields)
254
+ this.printshow = true
255
+ this.put()
256
+ },
257
+ put() {
258
+ // 对Modelval进行排序
259
+ this.sortModelval()
260
+ this.thead = `<tr><th colspan=${this.modelval.length}>未抄表用户报表</th></tr><tr>`
261
+ for (let key of this.modelval) {
262
+ this.thead += '<th>' + this.fields[key] + '</th>'
263
+ }
264
+ this.thead += '</tr>'
265
+ },
266
+ print() {
267
+ this.$refs.print.PrintAsFile()
268
+ this.printshow = false
269
+ },
270
+ close() {
271
+ this.printshow = false
272
+ this.all = false
273
+ },
274
+ // 对选择的列进行排序
275
+ sortModelval() {
276
+ let sortModel = []
277
+ Object.keys(this.fields).forEach((key) => {
278
+ if (this.modelval.includes(key)) {
279
+ sortModel.push(key)
280
+ }
281
+ })
282
+ this.modelval = sortModel
283
+ console.log('选择的打印的字段', this.modelval)
284
+ }
285
+ },
286
+ watch: {
287
+ 'all'(val) {
288
+ if (val) {
289
+ this.modelval = this.bodyData
290
+ } else {
291
+ this.modelval = defaultPrint.config
292
+ this.put()
293
+ }
294
+ },
295
+ 'modelval.length'() {
296
+ this.put()
297
+ },
298
+ },
299
+ computed: {
300
+ getCondition() {
301
+ let result = {
302
+ condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
303
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
304
+ endDate: this.$refs.paged.$refs.cri.model.endDate
305
+ }
306
+ return result
307
+ },
308
+ meterstate() {
309
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('抄表状态')]
310
+ },
311
+ getfield() {
312
+ return exportConfig.UnhandBusinessConfig
313
+ }
314
+ }
315
+ }
316
+ </script>
317
+ <style media="screen">
318
+ .divtext {
319
+ min-width: 50px;
320
+ max-width: 200px;
321
+ border: 1px solid green;
322
+ display: inline-block;
323
+ }
324
+ </style>
@@ -7,32 +7,6 @@
7
7
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
8
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
9
  <div class="row">
10
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
11
-
12
-
13
-
14
- <div class="span" style="float:right;">
15
- <button class="button_search button_spacing" @click="search()">查询</button>
16
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
17
-
18
- <export-excel :data="$parent.$parent.getCondition"
19
- :field="$parent.$parent.getfield"
20
- :footer="$parent.$parent.footer"
21
- :header="$parent.$parent.other"
22
- sqlurl="rs/logic/exportfile"
23
- sql-name="userSellHandDetaill"
24
- template-name='用户余额分析导出'
25
- :choose-col="true"></export-excel>
26
- <print-data :model="$parent.model" :field="$parent.$parent.getfield"
27
- :defaultfield="$parent.$parent.defaultfield" print-name="用户余额分析打印"
28
- :sumsmodel="$parent.$parent.sumsmodel">
29
-
30
- </print-data>
31
-
32
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
33
- </div>
34
- </div>
35
- <div class="row" v-show="$parent.$parent.criteriaShow">
36
10
  <div class="col-sm-2 form-group">
37
11
  <label for="startDate" class="font_normal_body">开始日期</label>
38
12
  <datepicker id="startDate" placeholder="开始日期" style="width:60%"
@@ -40,7 +14,7 @@
40
14
  :value.sync="model.startDate"
41
15
  :format="'yyyy-MM-dd HH:mm:ss'"
42
16
  :show-reset-button="true"
43
- >
17
+ >
44
18
  </datepicker>
45
19
  </div>
46
20
  <div class="col-sm-2 form-group">
@@ -50,7 +24,7 @@
50
24
  :value.sync="model.endDate"
51
25
  :format="'yyyy-MM-dd HH:mm:ss'"
52
26
  :show-reset-button="true"
53
- >
27
+ >
54
28
  </datepicker>
55
29
  </div>
56
30
  <div class="col-sm-2 form-group">
@@ -58,16 +32,39 @@
58
32
  <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
59
33
  condition="f_userinfo_code = '{}' " placeholder="客户编号">
60
34
  </div>
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">客户名称</label>
63
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
64
- condition="f_user_name like '%{}%'" placeholder="客户名称">
65
- </div>
66
35
  <div class="col-sm-2 form-group">
67
36
  <label class="font_normal_body" title="旧客户编号">档案编号</label>
68
37
  <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
69
38
  condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
70
39
  </div>
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+
44
+ <export-excel :data="$parent.$parent.getCondition"
45
+ :field="$parent.$parent.getfield"
46
+ :footer="$parent.$parent.footer"
47
+ :header="$parent.$parent.other"
48
+ sqlurl="rs/logic/exportfile"
49
+ sql-name="userSellHandDetaill"
50
+ template-name='用户余额分析导出'
51
+ :choose-col="true"></export-excel>
52
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield"
53
+ :defaultfield="$parent.$parent.defaultfield" print-name="用户余额分析打印"
54
+ :sumsmodel="$parent.$parent.sumsmodel">
55
+
56
+ </print-data>
57
+
58
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
59
+ </div>
60
+ </div>
61
+ <div class="row" v-show="$parent.$parent.criteriaShow">
62
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">客户名称</label>
65
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
66
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
67
+ </div>
71
68
  <div class="col-sm-2 form-group">
72
69
  <label class="font_normal_body">客户类型</label>
73
70
  <v-select :value.sync="model.f_user_type"
@@ -53,19 +53,19 @@
53
53
  :defaultfield="$parent.$parent.defaultfield"
54
54
  titletable="应收明细"
55
55
  :sumsmodel="$parent.$parent.sumsmodel"></print-data>
56
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
56
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
57
57
  </div>
58
58
  </div>
59
59
  <div class="row" v-show="$parent.$parent.criteriaShow">
60
-
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body" title="参数名称:用户类型">客户类型</label>
63
- <v-select :value.sync="model.f_user_type"
64
- @change="$parent.$parent.userTypeChange()"
65
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
66
- condition="f_user_type = '{}'"
67
- close-on-select></v-select>
68
- </div>
60
+ <res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body" title="参数名称:用户类型">客户类型</label>
63
+ <v-select :value.sync="model.f_user_type"
64
+ @change="$parent.$parent.userTypeChange()"
65
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
66
+ condition="f_user_type = '{}'"
67
+ close-on-select></v-select>
68
+ </div>
69
69
  <div class="col-sm-2 form-group">
70
70
  <label class="font_normal_body">用气性质</label>
71
71
  <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
@@ -73,11 +73,6 @@
73
73
  condition="f_gasproperties = '{}'"
74
74
  close-on-select></v-select>
75
75
  </div>
76
- <res-select-group
77
- :initres="$parent.$parent.initres"
78
- :show-component="['company','department','operator']"
79
- @re-res="$parent.$parent.getRes"
80
- v-ref:sel></res-select-group>
81
76
  <div class="col-sm-2 form-group">
82
77
  <label class="font_normal_body" title="参数名称:气表类型">气表类型</label>
83
78
  <v-select :value.sync="model.f_meter_style"
@@ -26,7 +26,6 @@
26
26
  >
27
27
  </datepicker>
28
28
  </div>
29
- <res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
30
29
  <!-- <div class="col-sm-2 form-group">-->
31
30
  <!-- <label class="font_normal_body">操作员名称</label>-->
32
31
  <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"-->
@@ -49,9 +48,12 @@
49
48
  :defaultfield="$parent.$parent.defaultfield"
50
49
  titletable="卡表用户结余"
51
50
  :sumsmodel="$parent.$parent.sumsmodel"></print-data>
52
- <!-- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
51
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
53
52
  </div>
54
53
  </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
56
+ </div>
55
57
  </div>
56
58
  </criteria>
57
59
  <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
@@ -6,7 +6,6 @@
6
6
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
- <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>
10
9
  <div class="col-sm-2 form-group">
11
10
  <label class="font_normal_body" >气价名称</label>
12
11
  <v-select :value.sync="model.f_price_name" v-model='model.f_price_name'
@@ -77,8 +76,8 @@
77
76
  close-on-select style="width:60%" :value-single="true"
78
77
  v-el:cc></v-select>
79
78
  </div>
79
+ <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>
80
80
  </div>
81
-
82
81
  </div>
83
82
  </criteria>
84
83