manage-client 1.22.54-ca → 1.22.55-ca

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "1.22.54-ca",
3
+ "version": "1.22.55-ca",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,288 +1,288 @@
1
- <template>
2
- <div style="flex:1;overflow: hidden !important;" class="flex">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row" v-show="$parent.$parent.criteriaShow">
7
- <div class="col-sm-1-5 form-group form-fix-width" >
8
- <label class="font_normal_body _zoom4" >卡号</label>
9
- <input type="text" class="form-control" v-numfilter v-model="model.f_userinfo_code" style="width: 60%"
10
- condition="f_userinfo_code = '{}' " placeholder="卡号">
11
- </div>
12
- <div class="col-sm-1-5 form-group form-fix-width" >
13
- <label class="font_normal_body _zoom4" >用户姓名</label>
14
- <input type="text" class="form-control" v-model="model.f_user_name" style="width: 60%"
15
- condition=" f_user_name like '%{}%'" placeholder='用户姓名'>
16
- </div>
17
- <div class="col-sm-1-5 form-group form-fix-width" >
18
- <label class="font_normal_body _zoom4" >用户地址</label>
19
- <input type="text" class="form-control" v-model="model.f_address" style="width: 60%"
20
- condition="f_address like '%{}%'" placeholder='用户地址'>
21
- </div>
22
- <div class="col-sm-1-5 form-group form-fix-width" >
23
- <label for="startDate" class="font_normal_body _zoom4" >开始日期</label>
24
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
25
- v-model="model.startDate"
26
- :value.sync="model.startDate"
27
- :format="'yyyy-MM-dd'"
28
- :show-reset-button="true"
29
- condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
30
- </datepicker>
31
- </div>
32
- <div class="col-sm-1-5 form-group form-fix-width" >
33
- <label for="endDate" class="font_normal_body _zoom4" >结束日期</label>
34
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
35
- v-model="model.endDate"
36
- :value.sync="model.endDate"
37
- :format="'yyyy-MM-dd'"
38
- :show-reset-button="true"
39
- condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
40
- </datepicker>
41
- </div>
42
-
43
- </div>
44
- <div class="row">
45
- <div style="float:right" :class="{'_btnclitested':!$parent.$parent.criteriaShow}">
46
- <button class="btn btn-success" @click="search()">查询</button>
47
- <button class="btn btn-default" @click="$parent.$parent.clear()">清空</button>
48
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
49
-
50
- <export-excel :data="$parent.$parent.getCondition"
51
- :field="$parent.$parent.getfield"
52
- sqlurl="rs/logic/exportfile" sql-name="AbndonQuery" template-name='弃用查询导出' :choose-col="true"></export-excel>
53
- <div
54
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
55
- @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
56
- </div>
57
- </div>
58
- </div>
59
- </criteria>
60
-
61
- <data-grid :model="model" partial='list' v-ref:grid >
62
- <template partial='head'>
63
- <tr>
64
- <th><nobr>卡号</nobr></th>
65
- <th><nobr>用户姓名</nobr></th>
66
- <th><nobr>用户地址</nobr></th>
67
- <th><nobr>弃用原因</nobr></th>
68
- <th style="padding: 10px 150px"><nobr>备注</nobr></th>
69
- <th><nobr>状态</nobr></th>
70
- <th><nobr>弃用前状态</nobr></th>
71
- <th><nobr>弃用日期</nobr></th>
72
- <th><nobr>操作员</nobr></th>
73
- <th><nobr>营业网点</nobr></th>
74
- <th><nobr>分公司</nobr></th>
75
- </tr>
76
- </template>
77
- <template partial='body'>
78
- <td style="text-align: center;"><nobr>
79
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
80
- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
81
- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
82
- <td style="text-align: center;"><nobr>{{row.f_reason}} {{row.f_othereason}}</nobr></td>
83
- <td style="text-align: center;word-break: break-word;">
84
- <p :id="'f_remark-'+$index" style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;margin: 0"
85
- @click="$parent.$parent.$parent.p_click('f_remark-'+$index,'f_remarkinput-'+$index)">
86
- {{row.f_remark}}</p>
87
- <textarea rows="2" style="display: none;margin: 0;width: 100%;border: 1px solid #e4f9f5"
88
- @blur="$parent.$parent.$parent.input_blur('f_remark-'+$index,'f_remarkinput-'+$index)"
89
- :id="'f_remarkinput-'+$index" >{{row.f_remark}}</textarea>
90
- </td>
91
- <td style="text-align: center;"><nobr>{{row.f_state}}</nobr></td>
92
- <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
93
- <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
94
- <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
95
- <td style="text-align: center;"><nobr>{{row.f_outlets}}</nobr></td>
96
- <td style="text-align: center;"><nobr>{{row.f_filiale}}</nobr></td>
97
- </template>
98
- <template partial='foot'></template>
99
- </data-grid>
100
- </criteria-paged>
101
-
102
- <table class="table-hover">
103
- <tr class="table-bordered">
104
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
105
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">合计:&emsp;{{sumsmodel.f_fillgas}}</td>
106
- </tr>
107
- </table>
108
- <!--<colligate-details :showinfo="showinfo" :businesstype="businesstype" :data="data" @close-info="showinfo=false"></colligate-details>-->
109
- <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
110
- <!--<header slot="modal-header" class="modal-header text-center">-->
111
- <!--<h4 class="modal-title">打印列选择</h4>-->
112
- <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
113
- <!--<label for="f_generations" class="font-size">全选</label>-->
114
- <!--</header>-->
115
- <!--<article slot="modal-body">-->
116
- <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
117
- <!--<div class="col-sm-3" v-for="f in fields">-->
118
- <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
119
- <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
120
- <!--</div>-->
121
- <!--</div>-->
122
- <!--</article>-->
123
- <!--<footer slot="modal-footer" class="modal-footer">-->
124
- <!--<center>-->
125
- <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
126
- <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
127
- <!--<print-table :model='model' v-show="false" v-ref:print-->
128
- <!--:top='40' :left='60' :right='40' :bottom='60'-->
129
- <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
130
- <!--:fields="modelval" :printpage="true">-->
131
- <!--</print-table>-->
132
- <!--</center>-->
133
- <!--</footer>-->
134
- <!--</modal>-->
135
- </div>
136
- </template>
137
-
138
- <script>
139
- import { PagedList } from 'vue-client'
140
- import defaultPrint from '../config/DefaultPrint'
141
- import exportConfig from '../config/exportConfig'
142
-
143
- let readySomething = async function (self) {
144
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
145
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
146
- //self.$refs.paged.$refs.cri.model.f_sendsuccess = ['有效']
147
- /* await self.$refs.paged.$refs.cri.search()
148
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums*/
149
- }
150
- export default {
151
- data() {
152
- return {
153
- data: {},
154
- model: new PagedList('rs/sql/AbndonQuery', 20,{tablename:' "t_abandon" '}),
155
- criteriaShow: true,
156
- headData: ["用户编号","用户姓名","操作人","操作日期","弃用状态","弃用原因","其他弃用原因","同步状态"],
157
- bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_reason", "f_othereason", "f_sendsuccess"],
158
-
159
- filialeNameStr: null,
160
- filialeCodeStr: this.$login.f.f_orgids,
161
- userid: this.$login.f.id,
162
- source:`tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
163
-
164
- modelval: [],
165
- printshow: false,
166
- all: false,
167
- fields: {},
168
- thead: '',
169
- tfoot: '',
170
- //合计数据
171
- sumsmodel: {}
172
- }
173
- },
174
- ready(){
175
- readySomething(this).then(() => {
176
- this.$emit('ready')
177
- }).catch((error) => {
178
- this.$emit('error', error)
179
- })
180
- },
181
- methods: {
182
- //p标签点击方法
183
- p_click(p_id,i_id){
184
- document.getElementById(p_id).style.display="none"
185
- document.getElementById(i_id).style.display="inline-block"
186
- document.getElementById(i_id).select()
187
- console.log(p_id,i_id)
188
- },
189
- //input失去焦点方法
190
- input_blur(p_id,i_id){
191
- document.getElementById(p_id).style.display="-webkit-box"
192
- document.getElementById(i_id).style.display="none"
193
- console.log(p_id,i_id)
194
- },
195
- selfSearch (args) {
196
- this.model.search(args.condition, args.model)
197
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
198
- },
199
- clear(){
200
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
201
- this.$refs.paged.$refs.cri.model[key] = ''
202
- })
203
- },
204
- show(){
205
- this.criteriaShow = true
206
- },
207
- hidden(){
208
- this.criteriaShow = !this.criteriaShow
209
- },
210
- getRes(obj) {
211
- this.filialeNameStr = obj.res
212
- this.filialeCodeStr = obj.resids
213
- },
214
- stamp () {
215
- this.all = false
216
- //默认选择要打印的列
217
- this.modelval = defaultPrint.config
218
- this.fields = this.getfield
219
- console.log('所有打印字段',this.fields)
220
- this.printshow = true
221
- this.put()
222
- },
223
- put () {
224
- // 对Modelval进行排序
225
- this.sortModelval()
226
- this.thead = `<tr><th colspan=${this.modelval.length}>启用查询报表</th></tr><tr>`
227
- for (let key of this.modelval) {
228
- this.thead += '<th>' + this.fields[key] + '</th>'
229
- }
230
- this.thead += '</tr>'
231
- },
232
- dealmsg (val) {
233
- console.log('---------------dealmsg')
234
- val.model = this.model.model
235
- this.$dispatch('deal-msg',val)
236
- },
237
- print () {
238
- this.$refs.print.PrintAsFile()
239
- this.printshow = false
240
- },
241
- close () {
242
- this.printshow = false
243
- this.all = false
244
- },
245
- // 对选择的列进行排序
246
- sortModelval () {
247
- let sortModel = []
248
- Object.keys(this.fields).forEach((key) => {
249
- if (this.modelval.includes(key)) {
250
- sortModel.push(key)
251
- }
252
- })
253
- this.modelval = sortModel
254
- console.log('选择的打印的字段', this.modelval)
255
- }
256
- },
257
- watch:{
258
- 'all' (val) {
259
- if (val) {
260
- this.modelval = this.bodyData
261
- } else {
262
- this.modelval = defaultPrint.config
263
- this.put()
264
- }
265
- },
266
- 'modelval.length' () {
267
- this.put()
268
- },
269
- },
270
- computed:{
271
- getCondition(){
272
- return {condition: `${this.$refs.paged.$refs.cri.condition} `}
273
- },
274
- getfield(){
275
- return exportConfig.disableConfig
276
- }
277
- }
278
- }
279
- </script>
280
- <style scoped>
281
- .cell{
282
- width:500px
283
- }
284
- .sp{
285
- width: 500px;
286
- word-break: break-word;
287
- }
288
- </style>
1
+ <template>
2
+ <div style="flex:1;overflow: hidden !important;" class="flex">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row" v-show="$parent.$parent.criteriaShow">
7
+ <div class="col-sm-1-5 form-group form-fix-width" >
8
+ <label class="font_normal_body _zoom4" >卡号</label>
9
+ <input type="text" class="form-control" v-numfilter v-model="model.f_userinfo_code" style="width: 60%"
10
+ condition="f_userinfo_code = '{}' " placeholder="卡号">
11
+ </div>
12
+ <div class="col-sm-1-5 form-group form-fix-width" >
13
+ <label class="font_normal_body _zoom4" >用户姓名</label>
14
+ <input type="text" class="form-control" v-model="model.f_user_name" style="width: 60%"
15
+ condition=" f_user_name like '%{}%'" placeholder='用户姓名'>
16
+ </div>
17
+ <div class="col-sm-1-5 form-group form-fix-width" >
18
+ <label class="font_normal_body _zoom4" >用户地址</label>
19
+ <input type="text" class="form-control" v-model="model.f_address" style="width: 60%"
20
+ condition="f_address like '%{}%'" placeholder='用户地址'>
21
+ </div>
22
+ <div class="col-sm-1-5 form-group form-fix-width" >
23
+ <label for="startDate" class="font_normal_body _zoom4" >开始日期</label>
24
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
25
+ v-model="model.startDate"
26
+ :value.sync="model.startDate"
27
+ :format="'yyyy-MM-dd'"
28
+ :show-reset-button="true"
29
+ condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
30
+ </datepicker>
31
+ </div>
32
+ <div class="col-sm-1-5 form-group form-fix-width" >
33
+ <label for="endDate" class="font_normal_body _zoom4" >结束日期</label>
34
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
35
+ v-model="model.endDate"
36
+ :value.sync="model.endDate"
37
+ :format="'yyyy-MM-dd'"
38
+ :show-reset-button="true"
39
+ condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
40
+ </datepicker>
41
+ </div>
42
+
43
+ </div>
44
+ <div class="row">
45
+ <div style="float:right" :class="{'_btnclitested':!$parent.$parent.criteriaShow}">
46
+ <button class="btn btn-success" @click="search()">查询</button>
47
+ <button class="btn btn-default" @click="$parent.$parent.clear()">清空</button>
48
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
49
+
50
+ <export-excel :data="$parent.$parent.getCondition"
51
+ :field="$parent.$parent.getfield"
52
+ sqlurl="rs/logic/exportfile" sql-name="AbndonQueryExport" template-name='弃用查询导出' :choose-col="true"></export-excel>
53
+ <div
54
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
55
+ @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </criteria>
60
+
61
+ <data-grid :model="model" partial='list' v-ref:grid >
62
+ <template partial='head'>
63
+ <tr>
64
+ <th><nobr>卡号</nobr></th>
65
+ <th><nobr>用户姓名</nobr></th>
66
+ <th><nobr>用户地址</nobr></th>
67
+ <th><nobr>弃用原因</nobr></th>
68
+ <th style="padding: 10px 150px"><nobr>备注</nobr></th>
69
+ <th><nobr>状态</nobr></th>
70
+ <th><nobr>弃用前状态</nobr></th>
71
+ <th><nobr>弃用日期</nobr></th>
72
+ <th><nobr>操作员</nobr></th>
73
+ <th><nobr>营业网点</nobr></th>
74
+ <th><nobr>分公司</nobr></th>
75
+ </tr>
76
+ </template>
77
+ <template partial='body'>
78
+ <td style="text-align: center;"><nobr>
79
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
80
+ <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
81
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
82
+ <td style="text-align: center;"><nobr>{{row.f_reason}} {{row.f_othereason}}</nobr></td>
83
+ <td style="text-align: center;word-break: break-word;">
84
+ <p :id="'f_remark-'+$index" style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;margin: 0"
85
+ @click="$parent.$parent.$parent.p_click('f_remark-'+$index,'f_remarkinput-'+$index)">
86
+ {{row.f_remark}}</p>
87
+ <textarea rows="2" style="display: none;margin: 0;width: 100%;border: 1px solid #e4f9f5"
88
+ @blur="$parent.$parent.$parent.input_blur('f_remark-'+$index,'f_remarkinput-'+$index)"
89
+ :id="'f_remarkinput-'+$index" >{{row.f_remark}}</textarea>
90
+ </td>
91
+ <td style="text-align: center;"><nobr>{{row.f_state}}</nobr></td>
92
+ <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
93
+ <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
94
+ <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
95
+ <td style="text-align: center;"><nobr>{{row.f_outlets}}</nobr></td>
96
+ <td style="text-align: center;"><nobr>{{row.f_filiale}}</nobr></td>
97
+ </template>
98
+ <template partial='foot'></template>
99
+ </data-grid>
100
+ </criteria-paged>
101
+
102
+ <table class="table-hover">
103
+ <tr class="table-bordered">
104
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
105
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">合计:&emsp;{{sumsmodel.f_fillgas}}</td>
106
+ </tr>
107
+ </table>
108
+ <!--<colligate-details :showinfo="showinfo" :businesstype="businesstype" :data="data" @close-info="showinfo=false"></colligate-details>-->
109
+ <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
110
+ <!--<header slot="modal-header" class="modal-header text-center">-->
111
+ <!--<h4 class="modal-title">打印列选择</h4>-->
112
+ <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
113
+ <!--<label for="f_generations" class="font-size">全选</label>-->
114
+ <!--</header>-->
115
+ <!--<article slot="modal-body">-->
116
+ <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
117
+ <!--<div class="col-sm-3" v-for="f in fields">-->
118
+ <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
119
+ <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
120
+ <!--</div>-->
121
+ <!--</div>-->
122
+ <!--</article>-->
123
+ <!--<footer slot="modal-footer" class="modal-footer">-->
124
+ <!--<center>-->
125
+ <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
126
+ <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
127
+ <!--<print-table :model='model' v-show="false" v-ref:print-->
128
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
129
+ <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
130
+ <!--:fields="modelval" :printpage="true">-->
131
+ <!--</print-table>-->
132
+ <!--</center>-->
133
+ <!--</footer>-->
134
+ <!--</modal>-->
135
+ </div>
136
+ </template>
137
+
138
+ <script>
139
+ import { PagedList } from 'vue-client'
140
+ import defaultPrint from '../config/DefaultPrint'
141
+ import exportConfig from '../config/exportConfig'
142
+
143
+ let readySomething = async function (self) {
144
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
145
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
146
+ //self.$refs.paged.$refs.cri.model.f_sendsuccess = ['有效']
147
+ /* await self.$refs.paged.$refs.cri.search()
148
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums*/
149
+ }
150
+ export default {
151
+ data() {
152
+ return {
153
+ data: {},
154
+ model: new PagedList('rs/sql/AbndonQuery', 20,{tablename:' "t_abandon" '}),
155
+ criteriaShow: true,
156
+ headData: ["用户编号","用户姓名","操作人","操作日期","弃用状态","弃用原因","其他弃用原因","同步状态"],
157
+ bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_reason", "f_othereason", "f_sendsuccess"],
158
+
159
+ filialeNameStr: null,
160
+ filialeCodeStr: this.$login.f.f_orgids,
161
+ userid: this.$login.f.id,
162
+ source:`tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
163
+
164
+ modelval: [],
165
+ printshow: false,
166
+ all: false,
167
+ fields: {},
168
+ thead: '',
169
+ tfoot: '',
170
+ //合计数据
171
+ sumsmodel: {}
172
+ }
173
+ },
174
+ ready(){
175
+ readySomething(this).then(() => {
176
+ this.$emit('ready')
177
+ }).catch((error) => {
178
+ this.$emit('error', error)
179
+ })
180
+ },
181
+ methods: {
182
+ //p标签点击方法
183
+ p_click(p_id,i_id){
184
+ document.getElementById(p_id).style.display="none"
185
+ document.getElementById(i_id).style.display="inline-block"
186
+ document.getElementById(i_id).select()
187
+ console.log(p_id,i_id)
188
+ },
189
+ //input失去焦点方法
190
+ input_blur(p_id,i_id){
191
+ document.getElementById(p_id).style.display="-webkit-box"
192
+ document.getElementById(i_id).style.display="none"
193
+ console.log(p_id,i_id)
194
+ },
195
+ selfSearch (args) {
196
+ this.model.search(args.condition, args.model)
197
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
198
+ },
199
+ clear(){
200
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
201
+ this.$refs.paged.$refs.cri.model[key] = ''
202
+ })
203
+ },
204
+ show(){
205
+ this.criteriaShow = true
206
+ },
207
+ hidden(){
208
+ this.criteriaShow = !this.criteriaShow
209
+ },
210
+ getRes(obj) {
211
+ this.filialeNameStr = obj.res
212
+ this.filialeCodeStr = obj.resids
213
+ },
214
+ stamp () {
215
+ this.all = false
216
+ //默认选择要打印的列
217
+ this.modelval = defaultPrint.config
218
+ this.fields = this.getfield
219
+ console.log('所有打印字段',this.fields)
220
+ this.printshow = true
221
+ this.put()
222
+ },
223
+ put () {
224
+ // 对Modelval进行排序
225
+ this.sortModelval()
226
+ this.thead = `<tr><th colspan=${this.modelval.length}>启用查询报表</th></tr><tr>`
227
+ for (let key of this.modelval) {
228
+ this.thead += '<th>' + this.fields[key] + '</th>'
229
+ }
230
+ this.thead += '</tr>'
231
+ },
232
+ dealmsg (val) {
233
+ console.log('---------------dealmsg')
234
+ val.model = this.model.model
235
+ this.$dispatch('deal-msg',val)
236
+ },
237
+ print () {
238
+ this.$refs.print.PrintAsFile()
239
+ this.printshow = false
240
+ },
241
+ close () {
242
+ this.printshow = false
243
+ this.all = false
244
+ },
245
+ // 对选择的列进行排序
246
+ sortModelval () {
247
+ let sortModel = []
248
+ Object.keys(this.fields).forEach((key) => {
249
+ if (this.modelval.includes(key)) {
250
+ sortModel.push(key)
251
+ }
252
+ })
253
+ this.modelval = sortModel
254
+ console.log('选择的打印的字段', this.modelval)
255
+ }
256
+ },
257
+ watch:{
258
+ 'all' (val) {
259
+ if (val) {
260
+ this.modelval = this.bodyData
261
+ } else {
262
+ this.modelval = defaultPrint.config
263
+ this.put()
264
+ }
265
+ },
266
+ 'modelval.length' () {
267
+ this.put()
268
+ },
269
+ },
270
+ computed:{
271
+ getCondition(){
272
+ return {condition: `${this.$refs.paged.$refs.cri.condition} `}
273
+ },
274
+ getfield(){
275
+ return exportConfig.abndonConfig
276
+ }
277
+ }
278
+ }
279
+ </script>
280
+ <style scoped>
281
+ .cell{
282
+ width:500px
283
+ }
284
+ .sp{
285
+ width: 500px;
286
+ word-break: break-word;
287
+ }
288
+ </style>
@@ -1,173 +1,180 @@
1
- export default{
2
- //把打印需要默认选中的字段名放在config数组中
3
- userConfig: {'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_user_phone': '用户电话','f_idnumber': '身份证号',
4
- 'f_balance': '账户余额','f_address': '用户地址', 'f_area': '区县','f_slice_area': '片区','f_residential_area': '小区', 'f_building': '楼栋',
5
- 'f_unit': '单元','f_floor': '楼层','f_room': '门牌号','f_user_state': '用户状态','f_createfile_date': '建档日期','f_outlets': '营业网点','f_filiale': '分公司'
6
- },
7
-
8
- meterConfig: {
9
- 'f_user_name':'用户姓名','f_user_phone':'用户电话','f_createfile_date':'建档日期','f_meternumber': '表号',
10
- 'f_card_id': '卡号', 'f_whether_hairpin': '发卡状态','f_user_type': '用户类型', 'f_gasproperties': '用气性质',
11
- 'f_devices_type': '设备类型','f_price_name': '气价名称','f_meter_classify':'气表分类','f_meter_brand':'气表品牌'
12
- ,'f_jb_type_code': '基表型号','f_barcode': '计量表编号','f_inputtor':'抄表员','f_meter_state':'表具现状'
13
- ,'f_table_state':'气表状态','f_address': '用户地址', 'f_slice_area':'片区','f_distinct':'行政区域','f_gas_area':'用气区域'
14
- ,'f_point_name':'用气点',
15
- },
16
-
17
- deviceConfig: {
18
- 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址', 'f_meternumber': '表号',
19
- 'f_devices_type': '设备类型','f_devices_no': '设备编号','f_brand': '设备品牌', 'f_devices_model': '设备型号',
20
- 'f_operate_date': '录入日期'
21
- },
22
-
23
- deviceCountConfig: {
24
- 'f_card_id':'卡号','f_user_name':'用户姓名','f_user_type':'用户类型','f_devices_type':'设备类型','f_gasproperties':'设备用途',
25
- 'f_input_date':'安装日期', 'f_equipmentload':'设备负荷'
26
- },
27
- newChargeConfig:{
28
- 'f_card_id': '卡号',
29
- 'f_operate_date': '收费日期',
30
- 'f_payment': '支付方式',
31
- 'f_pregas': '气量',
32
- 'f_preamount': '金额',
33
- 'f_residential_area_id': '小区ID',
34
- 'f_residential_area': '小区名称',
35
- 'f_building': '楼号',
36
- 'f_unit': '单元',
37
- },
38
- sumChargeConfig:{
39
- 'f_payment': '支付方式',
40
- 'f_pregas': '购气量',
41
- 'f_preamount': '金额',
42
- 'num1': '交易笔数',
43
- 'bili': '占比'
44
- },
45
- chargeConfig: {
46
-
47
- 'f_card_id': '卡号',
48
- 'f_serial_id': '流水号',
49
- 'f_serial_id_old': '旧流水号',
50
- 'f_user_name': '用户姓名',
51
- 'f_address': '用户地址',
52
- 'f_user_type': '用户类型',
53
- 'f_gasproperties': '用气性质',
54
- 'f_devices_type': '用气设备',
55
- 'f_pregas': '气量',
56
- 'f_preamount': '金额',
57
- 'f_payment': '付款方式',
58
- 'f_type': '收费类型',
59
- 'f_state': '状态',
60
- 'f_operate_date': '收费日期',
61
- 'f_operator': '操作员',
62
- 'f_filiale': '售气单位',
63
- 'f_outlets': '售气部门',
64
- 'op_spot': '售气站点',
65
- 'op_id': '操作员编号',
66
- 'f_pay_pass': '支付方式',
67
- 'gas1': '1阶气量',
68
- 'money1': '1阶金额',
69
- 'price1': '1阶单价',
70
- 'gas2': '2阶气量',
71
- 'money2': '2阶金额',
72
- 'price2': '2阶单价',
73
- 'gas3': '3阶气量',
74
- 'money3': '3阶金额',
75
- 'price3': '3阶单价',
76
- 'is_bill': '是否出票',
77
- 'bill_num': '发票编号'
78
- },
79
- groupprice: {
80
- 'f_operate_date': '日期',
81
- 'f_price': '单价',
82
- 'f_gas': '气量',
83
- 'f_money': '金额',
84
- 'c': '数量',
85
- },
86
- sellingHandConfig:{
87
- "f_userinfo_code":"用户编号","f_user_name":"用户姓名","f_last_balance":"上期结余","f_balance":"本期结余",
88
- "f_pregas":"气量","f_preamount":"气费","f_charge_money":"收费金额","f_debt_money":"清欠金额","f_overdue":"违约金金额","f_type":"收费类型",
89
- "f_state":"收费类型","f_operate_date":"操作时间","f_filiale":"所属公司"
90
- },
91
-
92
- changemeterConfig: {
93
- 'f_card_id': '旧表卡号','f_newcard_id': '新表卡号','f_user_name':'用户姓名','f_address': '用户地址',
94
- 'f_residential_area': '小区', 'f_building': '楼栋',
95
- 'f_unit': '单元','f_floor': '楼层','f_room': '门牌号','f_meternumber': '表号','f_meternumber':'旧表表号','f_newmeternumber':'新表表号',
96
- 'f_type': '换表类型','f_changemeter_fee': '换表费','f_freereason':'是否保修期免交','f_freereason':'免交原因','f_meter_base': '旧表底数','f_newmeter_base': '新表底数',
97
- 'f_meter_classify': '旧气表类型','f_newmeter_classify': '新气表类型','f_shiftgas':'转移气量','f_shiftgas_money':'转移金额','f_tablebase_gas':'旧表剩余气量','f_tablebase_money':'旧表剩余金额',
98
- 'f_new_meterbrand':'新气表品牌','f_new_meternmodel':'新气表型号','f_newmeter_base':'新表底数','f_newmetertitles':'新表封号','f_reason':'换表原因','f_result_change':'其他换表原因','f_operate_date':'操作日期',
99
- 'f_state': '状态','f_changemeter_date': '换表日期','f_operator': '操作员'
100
- },
101
-
102
- otherchargeConfig: {
103
- 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
104
- 'f_brand_spec': '收费类型','f_unitprice': '单价','f_number': '数量','f_collection': '收款',
105
- 'f_payment': '付款方式','f_state': '状态','f_operate_date': '收费日期',
106
- 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
107
- },
108
-
109
- handplanConfig: {
110
- 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址','f_meternumber': '表号',
111
- 'f_tablebase': '本期底数','f_last_tablebase': '上期底数','f_oughtamount': '用气量','f_oughtfee': '用气金额',
112
- 'f_inputtor': '抄表员','f_hand_date': '下发日期','f_input_date': '录入日期','f_meter_state': '抄表状态','f_hand_state': '状态',
113
- 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司','f_surplus_gas':'剩余气量','f_haircut_gas':'扣减气量'
114
- },
115
-
116
- reverseConfig: {
117
- 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
118
- 'f_correct_type': '冲正类型','f_correct_gas': '冲正气量','f_correct_money': '冲正金额','f_correct_collection': '冲正收款',
119
- 'f_state': '冲正状态','f_operate_date': '冲正日期',
120
- 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
121
- },
122
-
123
-
124
- transferConfig: {
125
- 'f_userinfo_code': '用户编号','f_newuser_name':'用户姓名','f_address': '用户地址',
126
- 'f_user_name': '原用户姓名','f_newuser_phone': '新用户电话','f_user_phone': '原用户电话','f_transfer_fees': '过户费','f_operate_date': '过户日期',
127
- 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
128
- },
129
-
130
- fillgasConfig: {
131
- 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
132
- 'f_card_id': '卡号','f_meter_brand': '气表品牌','f_type': '补气类型','f_othereason': '补气原因','f_fillgas': '补气量','f_operate_date': '补气日期',
133
- 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
134
- },
135
-
136
- fillcardConfig: {
137
- 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
138
- 'f_card_id': '卡号','f_meter_brand': '气表品牌','f_fillcard_type': '补卡类型','f_reason': '补卡原因','f_cardfees': '卡费','f_operate_date': '补卡日期',
139
- 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司',
140
- 'is_bill': '是否出票',
141
- 'bill_num': '发票编号'
142
- },
143
-
144
- sendcardConfig: {
145
- "f_user_name": "用户姓名",
146
- "f_address": "用户地址",
147
- "f_card_id": "卡号",
148
- "f_serial_id":"流水号",
149
- "f_meter_brand": "气表品牌",
150
- "f_payment": "付款方式",
151
- "f_bill_style": "打印格式",
152
- "f_collection": "收费金额",
153
- "f_operate_date": "收费日期",
154
- "f_operator": "操作员",
155
- "f_outlets": "营业网点",
156
- "f_filiale": "分公司",
157
- "is_bill": "是否出票",
158
- "bill_num": "发票编号"
159
- },
160
-
161
- enableConfig: {
162
- 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
163
- 'f_enable_reason': '启用原因','f_state': '启用状态','f_operate_date': '启用日期',
164
- 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
165
- },
166
-
167
- disableConfig: {
168
- 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
169
- 'f_disable_reason': '停用原因','f_state': '停用状态','f_operate_date': '停用日期',
170
- 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
171
- }
172
-
173
- }
1
+ export default{
2
+ //把打印需要默认选中的字段名放在config数组中
3
+ userConfig: {'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_user_phone': '用户电话','f_idnumber': '身份证号',
4
+ 'f_balance': '账户余额','f_address': '用户地址', 'f_area': '区县','f_slice_area': '片区','f_residential_area': '小区', 'f_building': '楼栋',
5
+ 'f_unit': '单元','f_floor': '楼层','f_room': '门牌号','f_user_state': '用户状态','f_createfile_date': '建档日期','f_outlets': '营业网点','f_filiale': '分公司'
6
+ },
7
+
8
+ meterConfig: {
9
+ 'f_user_name':'用户姓名','f_user_phone':'用户电话','f_createfile_date':'建档日期','f_meternumber': '表号',
10
+ 'f_card_id': '卡号', 'f_whether_hairpin': '发卡状态','f_user_type': '用户类型', 'f_gasproperties': '用气性质',
11
+ 'f_devices_type': '设备类型','f_price_name': '气价名称','f_meter_classify':'气表分类','f_meter_brand':'气表品牌'
12
+ ,'f_jb_type_code': '基表型号','f_barcode': '计量表编号','f_inputtor':'抄表员','f_meter_state':'表具现状'
13
+ ,'f_table_state':'气表状态','f_address': '用户地址', 'f_slice_area':'片区','f_distinct':'行政区域','f_gas_area':'用气区域'
14
+ ,'f_point_name':'用气点',
15
+ },
16
+
17
+ deviceConfig: {
18
+ 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址', 'f_meternumber': '表号',
19
+ 'f_devices_type': '设备类型','f_devices_no': '设备编号','f_brand': '设备品牌', 'f_devices_model': '设备型号',
20
+ 'f_operate_date': '录入日期'
21
+ },
22
+
23
+ deviceCountConfig: {
24
+ 'f_card_id':'卡号','f_user_name':'用户姓名','f_user_type':'用户类型','f_devices_type':'设备类型','f_gasproperties':'设备用途',
25
+ 'f_input_date':'安装日期', 'f_equipmentload':'设备负荷'
26
+ },
27
+ newChargeConfig:{
28
+ 'f_card_id': '卡号',
29
+ 'f_operate_date': '收费日期',
30
+ 'f_payment': '支付方式',
31
+ 'f_pregas': '气量',
32
+ 'f_preamount': '金额',
33
+ 'f_residential_area_id': '小区ID',
34
+ 'f_residential_area': '小区名称',
35
+ 'f_building': '楼号',
36
+ 'f_unit': '单元',
37
+ },
38
+ sumChargeConfig:{
39
+ 'f_payment': '支付方式',
40
+ 'f_pregas': '购气量',
41
+ 'f_preamount': '金额',
42
+ 'num1': '交易笔数',
43
+ 'bili': '占比'
44
+ },
45
+ chargeConfig: {
46
+
47
+ 'f_card_id': '卡号',
48
+ 'f_serial_id': '流水号',
49
+ 'f_serial_id_old': '旧流水号',
50
+ 'f_user_name': '用户姓名',
51
+ 'f_address': '用户地址',
52
+ 'f_user_type': '用户类型',
53
+ 'f_gasproperties': '用气性质',
54
+ 'f_devices_type': '用气设备',
55
+ 'f_pregas': '气量',
56
+ 'f_preamount': '金额',
57
+ 'f_payment': '付款方式',
58
+ 'f_type': '收费类型',
59
+ 'f_state': '状态',
60
+ 'f_operate_date': '收费日期',
61
+ 'f_operator': '操作员',
62
+ 'f_filiale': '售气单位',
63
+ 'f_outlets': '售气部门',
64
+ 'op_spot': '售气站点',
65
+ 'op_id': '操作员编号',
66
+ 'f_pay_pass': '支付方式',
67
+ 'gas1': '1阶气量',
68
+ 'money1': '1阶金额',
69
+ 'price1': '1阶单价',
70
+ 'gas2': '2阶气量',
71
+ 'money2': '2阶金额',
72
+ 'price2': '2阶单价',
73
+ 'gas3': '3阶气量',
74
+ 'money3': '3阶金额',
75
+ 'price3': '3阶单价',
76
+ 'is_bill': '是否出票',
77
+ 'bill_num': '发票编号'
78
+ },
79
+ groupprice: {
80
+ 'f_operate_date': '日期',
81
+ 'f_price': '单价',
82
+ 'f_gas': '气量',
83
+ 'f_money': '金额',
84
+ 'c': '数量',
85
+ },
86
+ sellingHandConfig:{
87
+ "f_userinfo_code":"用户编号","f_user_name":"用户姓名","f_last_balance":"上期结余","f_balance":"本期结余",
88
+ "f_pregas":"气量","f_preamount":"气费","f_charge_money":"收费金额","f_debt_money":"清欠金额","f_overdue":"违约金金额","f_type":"收费类型",
89
+ "f_state":"收费类型","f_operate_date":"操作时间","f_filiale":"所属公司"
90
+ },
91
+
92
+ changemeterConfig: {
93
+ 'f_card_id': '旧表卡号','f_newcard_id': '新表卡号','f_user_name':'用户姓名','f_address': '用户地址',
94
+ 'f_residential_area': '小区', 'f_building': '楼栋',
95
+ 'f_unit': '单元','f_floor': '楼层','f_room': '门牌号','f_meternumber': '表号','f_meternumber':'旧表表号','f_newmeternumber':'新表表号',
96
+ 'f_type': '换表类型','f_changemeter_fee': '换表费','f_freereason':'是否保修期免交','f_freereason':'免交原因','f_meter_base': '旧表底数','f_newmeter_base': '新表底数',
97
+ 'f_meter_classify': '旧气表类型','f_newmeter_classify': '新气表类型','f_shiftgas':'转移气量','f_shiftgas_money':'转移金额','f_tablebase_gas':'旧表剩余气量','f_tablebase_money':'旧表剩余金额',
98
+ 'f_new_meterbrand':'新气表品牌','f_new_meternmodel':'新气表型号','f_newmeter_base':'新表底数','f_newmetertitles':'新表封号','f_reason':'换表原因','f_result_change':'其他换表原因','f_operate_date':'操作日期',
99
+ 'f_state': '状态','f_changemeter_date': '换表日期','f_operator': '操作员'
100
+ },
101
+
102
+ otherchargeConfig: {
103
+ 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
104
+ 'f_brand_spec': '收费类型','f_unitprice': '单价','f_number': '数量','f_collection': '收款',
105
+ 'f_payment': '付款方式','f_state': '状态','f_operate_date': '收费日期',
106
+ 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
107
+ },
108
+
109
+ handplanConfig: {
110
+ 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址','f_meternumber': '表号',
111
+ 'f_tablebase': '本期底数','f_last_tablebase': '上期底数','f_oughtamount': '用气量','f_oughtfee': '用气金额',
112
+ 'f_inputtor': '抄表员','f_hand_date': '下发日期','f_input_date': '录入日期','f_meter_state': '抄表状态','f_hand_state': '状态',
113
+ 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司','f_surplus_gas':'剩余气量','f_haircut_gas':'扣减气量'
114
+ },
115
+
116
+ reverseConfig: {
117
+ 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
118
+ 'f_correct_type': '冲正类型','f_correct_gas': '冲正气量','f_correct_money': '冲正金额','f_correct_collection': '冲正收款',
119
+ 'f_state': '冲正状态','f_operate_date': '冲正日期',
120
+ 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
121
+ },
122
+
123
+
124
+ transferConfig: {
125
+ 'f_userinfo_code': '用户编号','f_newuser_name':'用户姓名','f_address': '用户地址',
126
+ 'f_user_name': '原用户姓名','f_newuser_phone': '新用户电话','f_user_phone': '原用户电话','f_transfer_fees': '过户费','f_operate_date': '过户日期',
127
+ 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
128
+ },
129
+
130
+ fillgasConfig: {
131
+ 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
132
+ 'f_card_id': '卡号','f_meter_brand': '气表品牌','f_type': '补气类型','f_othereason': '补气原因','f_fillgas': '补气量','f_operate_date': '补气日期',
133
+ 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
134
+ },
135
+
136
+ fillcardConfig: {
137
+ 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
138
+ 'f_card_id': '卡号','f_meter_brand': '气表品牌','f_fillcard_type': '补卡类型','f_reason': '补卡原因','f_cardfees': '卡费','f_operate_date': '补卡日期',
139
+ 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司',
140
+ 'is_bill': '是否出票',
141
+ 'bill_num': '发票编号'
142
+ },
143
+
144
+ sendcardConfig: {
145
+ "f_user_name": "用户姓名",
146
+ "f_address": "用户地址",
147
+ "f_card_id": "卡号",
148
+ "f_serial_id":"流水号",
149
+ "f_meter_brand": "气表品牌",
150
+ "f_payment": "付款方式",
151
+ "f_bill_style": "打印格式",
152
+ "f_collection": "收费金额",
153
+ "f_operate_date": "收费日期",
154
+ "f_operator": "操作员",
155
+ "f_outlets": "营业网点",
156
+ "f_filiale": "分公司",
157
+ "is_bill": "是否出票",
158
+ "bill_num": "发票编号"
159
+ },
160
+
161
+ enableConfig: {
162
+ 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
163
+ 'f_enable_reason': '启用原因','f_state': '启用状态','f_operate_date': '启用日期',
164
+ 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
165
+ },
166
+
167
+ disableConfig: {
168
+ 'f_userinfo_code': '用户编号','f_user_name':'用户姓名','f_address': '用户地址',
169
+ 'f_disable_reason': '停用原因','f_state': '停用状态','f_operate_date': '停用日期',
170
+ 'f_operator': '操作员','f_outlets': '营业网点','f_filiale': '分公司'
171
+ },
172
+
173
+ abndonConfig: {
174
+ 'f_userinfo_code': '用户编号', 'f_user_name': '用户姓名', 'f_address': '用户地址',
175
+ 'f_state': '弃用状态', 'f_table_state': '弃用前状态', 'f_reason': '弃用原因',
176
+ 'f_othereason': '其他弃用原因', 'f_operate_date': '弃用日期',
177
+ 'f_operator': '操作员', 'f_outlets': '营业网点', 'f_filiale': '分公司'
178
+ }
179
+
180
+ }
@@ -384,7 +384,7 @@ export default {
384
384
  f_buildingorderitem:', f_building no ',
385
385
  f_unitorderitem:', f_unit no ',
386
386
  f_floororderitem:', f_floor no ',
387
- f_roomorderitem:'f_room no ',
387
+ f_roomorderitem:',f_room no ',
388
388
  //合计数据
389
389
  sumsmodel: {}
390
390
  }
@@ -467,7 +467,7 @@ export default {
467
467
  && this.orderFields['f_room'] === 'no'
468
468
  ) {
469
469
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
470
- this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
470
+ this.f_buildingorderitem = ',f_building ' + this.orderFields['f_building']
471
471
  this.f_unitorderitem = ''
472
472
  this.f_floororderitem = ''
473
473
  this.f_roomorderitem = ''
@@ -479,7 +479,7 @@ export default {
479
479
  ) {
480
480
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
481
481
  this.f_buildingorderitem = ''
482
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
482
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
483
483
  this.f_floororderitem = ''
484
484
  this.f_roomorderitem = ''
485
485
  } else if (this.orderFields['f_card_id'] !== 'no'
@@ -491,7 +491,7 @@ export default {
491
491
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
492
492
  this.f_buildingorderitem = ''
493
493
  this.f_unitorderitem = ''
494
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
494
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
495
495
  this.f_roomorderitem = ''
496
496
  } else if (this.orderFields['f_card_id'] !== 'no'
497
497
  && this.orderFields['f_building'] === 'no'
@@ -503,7 +503,7 @@ export default {
503
503
  this.f_buildingorderitem = ''
504
504
  this.f_unitorderitem = ''
505
505
  this.f_floororderitem = ''
506
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
506
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
507
507
  }else if (this.orderFields['f_card_id'] === 'no'
508
508
  && this.orderFields['f_building'] !== 'no'
509
509
  && this.orderFields['f_unit'] === 'no'
@@ -514,7 +514,7 @@ export default {
514
514
  this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
515
515
  this.f_unitorderitem = ''
516
516
  this.f_floororderitem = ''
517
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
517
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
518
518
  }else if (this.orderFields['f_card_id'] === 'no'
519
519
  && this.orderFields['f_building'] === 'no'
520
520
  && this.orderFields['f_unit'] !== 'no'
@@ -525,7 +525,7 @@ export default {
525
525
  this.f_buildingorderitem = ''
526
526
  this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
527
527
  this.f_floororderitem = ''
528
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
528
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
529
529
  }else if (this.orderFields['f_card_id'] === 'no'
530
530
  && this.orderFields['f_building'] === 'no'
531
531
  && this.orderFields['f_unit'] === 'no'
@@ -536,7 +536,7 @@ export default {
536
536
  this.f_buildingorderitem = ''
537
537
  this.f_unitorderitem = ''
538
538
  this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
539
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
539
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
540
540
  }else if (this.orderFields['f_card_id'] !== 'no'
541
541
  && this.orderFields['f_building'] === 'no'
542
542
  && this.orderFields['f_unit'] === 'no'
@@ -547,7 +547,7 @@ export default {
547
547
  this.f_buildingorderitem = ''
548
548
  this.f_unitorderitem = ''
549
549
  this.f_floororderitem = ''
550
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
550
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
551
551
  }else if (this.orderFields['f_card_id'] === 'no'
552
552
  && this.orderFields['f_building'] !== 'no'
553
553
  && this.orderFields['f_unit'] === 'no'
@@ -557,7 +557,7 @@ export default {
557
557
  this.f_card_idorderitem = ''
558
558
  this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
559
559
  this.f_unitorderitem = ''
560
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
560
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
561
561
  this.f_roomorderitem = ''
562
562
  }else if (this.orderFields['f_card_id'] === 'no'
563
563
  && this.orderFields['f_building'] === 'no'
@@ -568,7 +568,7 @@ export default {
568
568
  this.f_card_idorderitem = ''
569
569
  this.f_buildingorderitem = ''
570
570
  this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
571
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
571
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
572
572
  this.f_roomorderitem = ''
573
573
  }else if (this.orderFields['f_card_id'] === 'no'
574
574
  && this.orderFields['f_building'] !== 'no'
@@ -578,7 +578,7 @@ export default {
578
578
  ) {
579
579
  this.f_card_idorderitem = ''
580
580
  this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
581
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
581
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
582
582
  this.f_floororderitem = ''
583
583
  this.f_roomorderitem = ''
584
584
  }else if (this.orderFields['f_card_id'] !== 'no'
@@ -588,8 +588,8 @@ export default {
588
588
  && this.orderFields['f_room'] === 'no'
589
589
  ) {
590
590
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
591
- this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
592
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
591
+ this.f_buildingorderitem = ',f_building ' + this.orderFields['f_building']
592
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
593
593
  this.f_floororderitem = ''
594
594
  this.f_roomorderitem = ''
595
595
  }else if (this.orderFields['f_card_id'] !== 'no'
@@ -599,9 +599,9 @@ export default {
599
599
  && this.orderFields['f_room'] === 'no'
600
600
  ) {
601
601
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
602
- this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
602
+ this.f_buildingorderitem = ',f_building ' + this.orderFields['f_building']
603
603
  this.f_unitorderitem = ''
604
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
604
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
605
605
  this.f_roomorderitem = ''
606
606
  }else if (this.orderFields['f_card_id'] !== 'no'
607
607
  && this.orderFields['f_building'] !== 'no'
@@ -610,10 +610,10 @@ export default {
610
610
  && this.orderFields['f_room'] !== 'no'
611
611
  ) {
612
612
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
613
- this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
613
+ this.f_buildingorderitem = ',f_building ' + this.orderFields['f_building']
614
614
  this.f_unitorderitem = ''
615
615
  this.f_floororderitem = ''
616
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
616
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
617
617
  }else if (this.orderFields['f_card_id'] !== 'no'
618
618
  && this.orderFields['f_building'] === 'no'
619
619
  && this.orderFields['f_unit'] !== 'no'
@@ -622,9 +622,9 @@ export default {
622
622
  ) {
623
623
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
624
624
  this.f_buildingorderitem = ''
625
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
625
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
626
626
  this.f_floororderitem = ''
627
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
627
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
628
628
  }else if (this.orderFields['f_card_id'] !== 'no'
629
629
  && this.orderFields['f_building'] === 'no'
630
630
  && this.orderFields['f_unit'] === 'no'
@@ -634,8 +634,8 @@ export default {
634
634
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
635
635
  this.f_buildingorderitem = ''
636
636
  this.f_unitorderitem = ''
637
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
638
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
637
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
638
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
639
639
  }else if (this.orderFields['f_card_id'] !== 'no'
640
640
  && this.orderFields['f_building'] === 'no'
641
641
  && this.orderFields['f_unit'] !== 'no'
@@ -644,8 +644,8 @@ export default {
644
644
  ) {
645
645
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
646
646
  this.f_buildingorderitem = ''
647
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
648
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
647
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
648
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
649
649
  this.f_roomorderitem = ''
650
650
  }else if (this.orderFields['f_card_id'] === 'no'
651
651
  && this.orderFields['f_building'] !== 'no'
@@ -655,8 +655,8 @@ export default {
655
655
  ) {
656
656
  this.f_card_idorderitem = ''
657
657
  this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
658
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
659
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
658
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
659
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
660
660
  this.f_roomorderitem = ''
661
661
  }else if (this.orderFields['f_card_id'] === 'no'
662
662
  && this.orderFields['f_building'] !== 'no'
@@ -666,9 +666,9 @@ export default {
666
666
  ) {
667
667
  this.f_card_idorderitem = ''
668
668
  this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
669
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
669
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
670
670
  this.f_floororderitem = ''
671
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
671
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
672
672
  }else if (this.orderFields['f_card_id'] === 'no'
673
673
  && this.orderFields['f_building'] !== 'no'
674
674
  && this.orderFields['f_unit'] === 'no'
@@ -678,8 +678,8 @@ export default {
678
678
  this.f_card_idorderitem = ''
679
679
  this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
680
680
  this.f_unitorderitem = ''
681
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
682
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
681
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
682
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
683
683
  }else if (this.orderFields['f_card_id'] === 'no'
684
684
  && this.orderFields['f_building'] === 'no'
685
685
  && this.orderFields['f_unit'] !== 'no'
@@ -689,8 +689,8 @@ export default {
689
689
  this.f_card_idorderitem = ''
690
690
  this.f_buildingorderitem = ''
691
691
  this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
692
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
693
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
692
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
693
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
694
694
  }else if (this.orderFields['f_card_id'] !== 'no'
695
695
  && this.orderFields['f_building'] === 'no'
696
696
  && this.orderFields['f_unit'] !== 'no'
@@ -699,9 +699,9 @@ export default {
699
699
  ) {
700
700
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
701
701
  this.f_buildingorderitem = ''
702
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
703
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
704
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
702
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
703
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
704
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
705
705
  }else if (this.orderFields['f_card_id'] !== 'no'
706
706
  && this.orderFields['f_building'] !== 'no'
707
707
  && this.orderFields['f_unit'] === 'no'
@@ -709,10 +709,10 @@ export default {
709
709
  && this.orderFields['f_room'] !== 'no'
710
710
  ) {
711
711
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
712
- this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
712
+ this.f_buildingorderitem = ',f_building ' + this.orderFields['f_building']
713
713
  this.f_unitorderitem = ''
714
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
715
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
714
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
715
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
716
716
  }else if (this.orderFields['f_card_id'] !== 'no'
717
717
  && this.orderFields['f_building'] !== 'no'
718
718
  && this.orderFields['f_unit'] !== 'no'
@@ -720,9 +720,9 @@ export default {
720
720
  && this.orderFields['f_room'] === 'no'
721
721
  ) {
722
722
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
723
- this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
724
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
725
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
723
+ this.f_buildingorderitem = ',f_building ' + this.orderFields['f_building']
724
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
725
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
726
726
  this.f_roomorderitem = ''
727
727
  }else if (this.orderFields['f_card_id'] !== 'no'
728
728
  && this.orderFields['f_building'] !== 'no'
@@ -731,10 +731,10 @@ export default {
731
731
  && this.orderFields['f_room'] !== 'no'
732
732
  ) {
733
733
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
734
- this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
735
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
734
+ this.f_buildingorderitem = ',f_building ' + this.orderFields['f_building']
735
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
736
736
  this.f_floororderitem = ''
737
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
737
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
738
738
  }else if (this.orderFields['f_card_id'] === 'no'
739
739
  && this.orderFields['f_building'] !== 'no'
740
740
  && this.orderFields['f_unit'] !== 'no'
@@ -743,9 +743,9 @@ export default {
743
743
  ) {
744
744
  this.f_card_idorderitem = ''
745
745
  this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
746
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
747
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
748
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
746
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
747
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
748
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
749
749
  }else if (this.orderFields['f_card_id'] !== 'no'
750
750
  && this.orderFields['f_building'] !== 'no'
751
751
  && this.orderFields['f_unit'] !== 'no'
@@ -753,10 +753,10 @@ export default {
753
753
  && this.orderFields['f_room'] !== 'no'
754
754
  ) {
755
755
  this.f_card_idorderitem = 'f_card_id ' + this.orderFields['f_card_id']
756
- this.f_buildingorderitem = 'f_building ' + this.orderFields['f_building']
757
- this.f_unitorderitem = 'f_unit ' + this.orderFields['f_unit']
758
- this.f_floororderitem = 'f_floor ' + this.orderFields['f_floor']
759
- this.f_roomorderitem = 'f_room ' + this.orderFields['f_room']
756
+ this.f_buildingorderitem = ',f_building ' + this.orderFields['f_building']
757
+ this.f_unitorderitem = ',f_unit ' + this.orderFields['f_unit']
758
+ this.f_floororderitem = ',f_floor ' + this.orderFields['f_floor']
759
+ this.f_roomorderitem = ',f_room ' + this.orderFields['f_room']
760
760
  }
761
761
  this.model.paramSource.orderitem = `'${this.f_card_idorderitem}${this.f_buildingorderitem}${this.f_unitorderitem}${this.f_floororderitem}${this.f_roomorderitem}'`
762
762
  console.log(this.model.paramSource.orderitem)