sale-client 4.2.144 → 4.2.146

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 (100) hide show
  1. package/build/dev-server.js +48 -28
  2. package/index.html +7 -2
  3. package/package.json +1 -1
  4. package/src/App.vue +1 -1
  5. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  6. package/src/components/revenue/base/CardServer/ReadCard.vue +98 -98
  7. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  8. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  9. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  10. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  11. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  12. package/src/filiale/bayan/StockListmain.vue +543 -543
  13. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  14. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  15. package/src/filiale/bazhong/sale.js +8 -8
  16. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  17. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  18. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  19. package/src/filiale/meihekou/MeterOperatemain.vue +59 -3
  20. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  21. package/src/filiale/meihekou/handAudit/MeterReadAudit.vue +32 -6
  22. package/src/filiale/meihekou/replacementSingleInfoOperation.vue +50 -0
  23. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  24. package/src/filiale/ronghao/CardService.js +2144 -2144
  25. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  26. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  27. package/src/filiale/ronghao/PaymentCode.vue +60 -42
  28. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  29. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  30. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  31. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  32. package/src/filiale/ronghao/Upload.vue +654 -654
  33. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  34. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  35. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  36. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  37. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  38. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  39. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  40. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  41. package/src/filiale/ronghao/specificInformation.vue +537 -537
  42. package/src/filiale/yangchun/ChargeList.vue +954 -954
  43. package/src/filiale/yuncheng/ChangeMeter.vue +1149 -1149
  44. package/src/filiale/yuncheng/FileManageService.js +469 -469
  45. package/src/filiale/yuncheng/ParamHistory.vue +147 -0
  46. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  47. package/src/filiale/yuncheng/sale.js +1 -0
  48. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  49. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  50. package/src/main.js +3 -3
  51. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  52. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  53. package/.gradle/5.2.1/gc.properties +0 -0
  54. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  55. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  56. package/.gradle/vcs-1/gc.properties +0 -0
  57. package/hs_err_pid255736.log +0 -796
  58. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  59. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  60. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  61. package/src/components/SendCard/SendCardData.vue +0 -208
  62. package/src/components/accounts/accountAdd.vue +0 -276
  63. package/src/components/accounts/accountsList.vue +0 -183
  64. package/src/components/accounts/accountsManage.vue +0 -87
  65. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  66. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  67. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  68. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  69. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  70. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  71. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  72. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  73. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  74. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  75. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  76. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  77. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  78. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  79. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  80. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  81. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  82. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  83. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  84. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  85. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  86. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  87. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  88. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  89. package/src/components/thirdapply/thirdAdd.vue +0 -289
  90. package/src/components/thirdapply/thirdList.vue +0 -162
  91. package/src/components/thirdapply/thirdManage.vue +0 -74
  92. package/src/components/webMeter/InstructQuery.vue +0 -414
  93. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  94. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  95. package/src/components/webMeter/WebUserHand.vue +0 -483
  96. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  97. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  98. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  99. package/src/plugins/FileManageServicets.js +0 -214
  100. package/src/plugins/GetImg.js +0 -53
@@ -1,159 +0,0 @@
1
- <template>
2
- <div class="flex" @keyup.enter="search">
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">
7
- <div :class="$parent.$parent.style">
8
- <label class="font_normal_body">组织机构</label>
9
- <res-select restype='organization'
10
- @res-select="$parent.$parent.getorg"
11
- is-mul="false"
12
- :initresid='$parent.$parent.curorgid'>
13
- </res-select>
14
- </div>
15
- <div :class="$parent.$parent.style" >
16
- <label class="font_normal_body">NC客戶编码</label>
17
- <input type="text" class="input_search" style="width:60%" v-model="model.f_customer"
18
- condition="f_customer like '%{}%'" placeholder="NC客戶编码"/>
19
- </div>
20
- <div :class="$parent.$parent.style" v-if="$parent.$parent.areaShow">
21
- <label class="font_normal_body">NC客戶名称</label>
22
- <input type="text" class="input_search" style="width:60%" v-model="model.f_user_name"
23
- condition="f_user_name like '%{}%'" placeholder="NC客戶名称"/>
24
- </div>
25
-
26
- <div class="col-sm-4 form-group button-range">
27
- <button class="button_search button_spacing" @click="search()" >查询</button>
28
- <button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add()">建档</button>
29
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
30
- <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>
31
- </div>
32
- </div>
33
- <div class="row" v-if="$parent.$parent.criteriaShow">
34
- <div :class="$parent.$parent.style" v-if="!$parent.$parent.areaShow">
35
- <label class="font_normal_body">客戶地址</label>
36
- <input type="text" class="input_search" style="width:60%" v-model="model.f_address"
37
- condition="f_address like '%{}%'" placeholder="NC客戶地址"/>
38
- </div>
39
-
40
- </div>
41
- </div>
42
-
43
-
44
- </criteria>
45
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
46
- <template partial='head'>
47
- <tr>
48
- <th><nobr>序号</nobr></th>
49
- <th><nobr>NC客戶编码</nobr></th>
50
- <th><nobr>NC客戶名称</nobr></th>
51
- <th><nobr>NC客戶类型</nobr></th>
52
- <th><nobr>客戶地址</nobr></th>
53
- <th><nobr>NC客戶电话</nobr></th>
54
- <th><nobr>表具数量</nobr></th>
55
- <th><nobr>操作</nobr></th>
56
- </tr>
57
- </template>
58
- <template partial='body'>
59
- <tr>
60
- <td style="text-align:center"><nobr>{{$index + 1}}</nobr></td>
61
- <td style="text-align:center"><nobr>{{row.f_customer}}</nobr></td>
62
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
63
- <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
64
- <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
65
- <td style="text-align:center"><nobr>{{row.f_user_phone}}</nobr></td>
66
- <td style="text-align:center"><nobr>{{row.sumuserfiles}}</nobr></td>
67
- <td><nobr>
68
- <button type="button" name="button" class="btn btn-link"
69
- @click.stop="$parent.$parent.$parent.modify(row)">修改</button>
70
- <!--<button type="button" name="button" class="btn btn-link"-->
71
- <!--@click.stop="$parent.$parent.$parent.delete(row)">删除</button>-->
72
- </nobr></td>
73
- </tr>
74
- </template>
75
- <template partial='foot'></template>
76
- </data-grid>
77
- </criteria-paged>
78
- </div>
79
- </template>
80
-
81
- <script>
82
- import { PagedList } from 'vue-client'
83
-
84
- export default {
85
-
86
- data () {
87
- return {
88
- criteriaShow: false,
89
- model: new PagedList('rs/sql/ncarchivesQuery',20),
90
- addflag: false,
91
- addtitle:'',
92
-
93
- // 公司下拉
94
- curorgid: [this.$login.f.orgid],
95
- f_orgid: '',
96
- areaShow:true
97
- }
98
- },
99
- title: 'NC档案查询',
100
- props:{
101
- f_filialeids:{
102
- type: String
103
- },
104
- style: {
105
- type: String,
106
- default: 'col-sm-2 form-group'
107
- },
108
- f_special:{
109
- type: String
110
- }
111
- },
112
- ready(){
113
- this.search()
114
- },
115
- methods: {
116
- hidden() {
117
- this.criteriaShow = !this.criteriaShow
118
- },
119
- search() {
120
- this.$refs.paged.$refs.cri.search()
121
- },
122
-
123
- async delete(row){
124
-
125
- },
126
- add(){
127
- if (this.f_filialeids) {
128
- this.$refs.paged.$refs.grid.selectStore.selected = null
129
- this.areaShow=false;
130
- this.$dispatch('add')
131
- } else {
132
- this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
133
- }
134
- },
135
- modify(val){
136
- this.areaShow=false;
137
- this.$dispatch('modify',val)
138
- },
139
- selfSearch (args) {
140
- this.areaShow=true;
141
- if (!this.f_orgid) {
142
- this.getorg([this.$login.f.orgid])
143
- }
144
- args.condition = `${args.condition} and f_filialeid = ${this.f_orgid}`
145
- this.model.search(args.condition, args.model)
146
- this.$dispatch('newsearch')
147
- },
148
- //清空
149
- clear(){
150
- this.$refs.paged.$refs.cri.model = {}
151
- },
152
- getorg (val) {
153
- this.f_orgid = this.$login.convertToIn(val)
154
- this.f_filialeids = val[0]
155
- }
156
- }
157
-
158
- }
159
- </script>
@@ -1,373 +0,0 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex">
5
- <div style="flex:1;" class="flex" >
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" partial>
9
- <div class="row">
10
- <div class="col-sm-2">
11
- <label class="font_normal_body labelother">客户编号</label>
12
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
14
- </div>
15
- <div class="col-sm-2">
16
- <label class="font_normal_body labelother">客户名称</label>
17
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
- condition="f_user_name like '%{}%'" placeholder="客户名称">
19
- </div>
20
- <div class="col-sm-2">
21
- <label class="font_normal_body labelother">客户电话</label>
22
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
23
- condition="f_user_phone like '{}%'" placeholder="客户电话">
24
- </div>
25
- <div class="col-sm-4">
26
- <label class="font_normal_body labelother">客户地址</label>
27
- <input type="text" style="width:80%" class="input_search" v-model="model.f_address"
28
- placeholder='客户地址'>
29
- </div>
30
- <div class="span" style="float:right;">
31
- <button class="button_search button_spacing" @click="search()">查询</button>
32
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
33
- <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>
34
- </div>
35
- </div>
36
- <div class="row" style="margin-top: 11px;" v-show="$parent.$parent.criteriaShow">
37
- <div class="col-sm-2">
38
- <label class="font_normal_body labelother">表&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
39
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
40
- condition="f_meternumber like '%{}%'" placeholder='表号'>
41
- </div>
42
- <div class="col-sm-2">
43
- <label class="font_normal_body labelother">卡&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
44
- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
45
- condition="f_card_id like '%{}%'" placeholder='卡号'>
46
- </div>
47
- <div class="col-sm-2">
48
- <label class="font_normal_body labelother">气表状态</label>
49
- <v-select :value.sync="model.f_table_state"
50
- v-model="model.f_table_state"
51
- :options='$parent.$parent.tablestate' placeholder='请选择'
52
- condition="f_table_state = '{}'"
53
- close-on-select></v-select>
54
- </div>
55
- </div>
56
- </div>
57
- </criteria>
58
-
59
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
60
- <template partial='head'>
61
- <tr>
62
- <th>
63
- <nobr>选择</nobr>
64
- </th>
65
- <th>
66
- <nobr>序号</nobr>
67
- </th>
68
- <th>
69
- <nobr>客户编号</nobr>
70
- </th>
71
- <th>
72
- <nobr>客户名称</nobr>
73
- </th>
74
- <th>
75
- <nobr>客户电话</nobr>
76
- </th>
77
- <th>
78
- <nobr>身份证号</nobr>
79
- </th>
80
- <th>
81
- <nobr>客户地址</nobr>
82
- </th>
83
- <th>
84
- <nobr>客户类型</nobr>
85
- </th>
86
- <th>
87
- <nobr>用气性质</nobr>
88
- </th>
89
- <th>
90
- <nobr>表号</nobr>
91
- </th>
92
- <th>
93
- <nobr>卡号</nobr>
94
- </th>
95
- <th>
96
- <nobr>气价名称</nobr>
97
- </th>
98
- <th>
99
- <nobr>气表品牌</nobr>
100
- </th>
101
- <th>
102
- <nobr>气表型号</nobr>
103
- </th>
104
- <th>
105
- <nobr>气表状态</nobr>
106
- </th>
107
- </tr>
108
- </template>
109
- <template partial='body'>
110
- <td style="text-align:center">
111
- <button type="button" name="button" class="button_export"
112
- @click.stop="$parent.$parent.$parent.confirmaddress(row)">确认选择</button>
113
- </td>
114
- <td style="text-align: center;"><nobr>
115
- <span >{{$index+1}}</span>
116
- </nobr> </td>
117
- <td style="text-align: center;"><nobr>
118
- <span >{{row.f_userinfo_code}}</span>
119
- </nobr> </td>
120
- <td style="text-align: center;">
121
- <nobr>{{row.f_user_name}}</nobr>
122
- </td>
123
- <td style="text-align: center;">
124
- <nobr>{{row.f_user_phone}}</nobr>
125
- </td>
126
- <td style="text-align: center;">
127
- <nobr>{{row.f_idnumber}}</nobr>
128
- </td>
129
- <td style="text-align: center;">
130
- <nobr>{{row.f_address}}</nobr>
131
- </td>
132
- <td style="text-align: center;">
133
- <nobr>{{row.f_user_type}}</nobr>
134
- </td>
135
- <td style="text-align: center;">
136
- <nobr>{{row.f_gasproperties}}</nobr>
137
- </td>
138
- <td style="text-align: center;">
139
- <nobr>{{row.f_meternumber}}</nobr>
140
- </td>
141
- <td style="text-align: center;">
142
- <nobr>{{row.f_card_id}}</nobr>
143
- </td>
144
- <td style="text-align: center;">
145
- <nobr>{{row.f_price_name}}</nobr>
146
- </td>
147
- <td style="text-align: center;">
148
- <nobr>{{row.f_meter_brand}}</nobr>
149
- </td>
150
- <td style="text-align: center;">
151
- <nobr>{{row.f_meter_style}}</nobr>
152
- </td>
153
- <td style="text-align: center;">
154
- <nobr>{{row.f_table_state}}</nobr>
155
- </td>
156
- </template>
157
- <template partial='foot'>
158
- </template>
159
- </data-grid>
160
- </criteria-paged>
161
- </div>
162
- </div>
163
- </div>
164
- </div>
165
- </template>
166
-
167
- <script>
168
- import {PagedList} from 'vue-client'
169
- let readySomething = async function (self) {
170
- await self.$MagLoadParams.loadParam()
171
- self.initParams()
172
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
173
- }
174
-
175
- export default {
176
- data() {
177
- return {
178
- model: new PagedList('rs/sql/ncmeterQuery', 20, {}, {f_balance_amount: 0, f_balance_gas: 0}),
179
- criteriaShow: false,
180
- modelval: [],
181
- printshow: false,
182
- all: false,
183
- fields: {},
184
- rowdata:{},
185
- meterbrands: [],
186
- pricenames: [],
187
- gasproperties:[],
188
- prices: [],
189
- //合计数据
190
- sumsmodel: {},
191
- selectfields:[],
192
- usertypes:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')],
193
- metertypes:[{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')],
194
- pricetypes:[{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
195
- }
196
- },
197
- props:['f_filialeid','fileinfo','meterinfo','usertype'],
198
- ready() {
199
- readySomething(this).then(() => {
200
- this.$emit('ready')
201
- }).catch((error) => {
202
- this.$emit('error', error)
203
- })
204
- },
205
- methods: {
206
- confirmaddress (row) {
207
- this.$dispatch('confirmuserfiles',row)
208
- },
209
- search(){
210
- this.$refs.paged.$refs.cri.search()
211
- },
212
- selfSearch(args) {
213
- if(this.meterinfo instanceof Array){
214
- if(this.meterinfo.length>0){
215
- let str = ' and f_userfiles_id not in (';
216
- this.meterinfo.forEach((item)=>{
217
- str += `'${item.f_userfiles_id}',`;
218
- })
219
- str = str.substring(0,str.length-1);
220
- str += ')'
221
- args.condition = `${args.condition} ${str} `
222
- }
223
- }
224
- if(this.usertype!=null && this.usertype !=''){
225
- args.condition = `${args.condition} and f_user_type='${this.usertype}' `;;
226
- }
227
-
228
- let othercondition = '1=1'
229
- args.condition = `${args.condition} and f_civill_id is null `;
230
- args.condition = `${args.condition}` + " and f_orgid = " + this.f_filialeid;
231
- args.condition = `${args.condition} `;
232
- if(args.model.f_address){
233
- othercondition = `contains(f_address,'${args.model.f_address}')`
234
- }
235
- let condition = {
236
- condition:args.condition,
237
- othercondition:othercondition
238
- }
239
- this.model.search(condition, args.model);
240
- },
241
- clear() {
242
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
243
- this.$refs.paged.$refs.cri.model[key] = ''
244
- })
245
- },
246
- hidden() {
247
- this.criteriaShow = !this.criteriaShow
248
- },
249
-
250
- close() {
251
- this.printshow = false;
252
- this.all = false
253
- },
254
- userTypeChange () {
255
- this.gasproperties=[]
256
- if(this.$refs.paged.$refs.cri.model !==null) {
257
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
258
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
259
- }
260
- else{
261
- this.gasproperties =[{label: '全部', value: ''}]
262
- }
263
- },
264
- initParams() {
265
- // 初始化气表品牌
266
- let brandArr = []
267
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
268
- let temp = {}
269
- temp.label = item.label
270
- temp.value = item.value.f_meter_brand
271
- brandArr.push(temp)
272
- })
273
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
274
- //初始化气表价格
275
- this.prices = this.$MagGetSaleParam.getPrices();
276
- },
277
- // 对选择的列进行排序
278
- sortModelval() {
279
- let sortModel = []
280
- Object.keys(this.fields).forEach((key) => {
281
- if (this.modelval.includes(key)) {
282
- sortModel.push(key)
283
- }
284
- })
285
- this.modelval = sortModel
286
- console.log('选择的打印的字段', this.modelval)
287
- },
288
- async updateParams() {
289
- await this.$MagLoadParams.loadParam(this.f_filialeid)
290
- this.initParams()
291
- },
292
- },
293
- watch: {
294
- 'all'(val) {
295
- if (val) {
296
- this.modelval = this.bodyData
297
- } else {
298
- this.modelval = defaultPrint.config
299
- this.put()
300
- }
301
- },
302
- 'modelval.length'() {
303
- this.put()
304
- },
305
- },
306
- computed: {
307
- getPricenames() {
308
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
309
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
310
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
311
- if(this.$refs.paged.$refs.cri.model !==null) {
312
- let rs = []
313
- let priceArr = []
314
- if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
315
- let params = {
316
- f_user_type: f_user_type[0],
317
- f_gasproperties: f_gasproperties[0],
318
- f_price_type: pricetype[0],
319
- filter: this.f_filialeid,
320
- prices: this.prices
321
- }
322
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
323
- let temp = {}
324
- temp.label = item.label
325
- temp.value = item.value.f_price_name
326
- priceArr.push(temp)
327
- })
328
- rs = [{label: '全部', value: ''}, ...priceArr]
329
- }
330
- if (rs.length === 0) {
331
- console.log('rs读出来是空')
332
- this.$refs.paged.$refs.cri.model.f_price_name = ''
333
- }
334
- return rs
335
- }
336
- },
337
- areas() {
338
- let rs = []
339
- for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
340
- let temp = {
341
- label: this.$login.f.f_allArea[i].label,
342
- value: this.$login.f.f_allArea[i].label
343
- }
344
- rs.push(temp)
345
- }
346
- return [{label: '全部', value: ''}, ...rs]
347
- },
348
- sliceArea() {
349
- let rs = []
350
- if (this.$refs.paged.$refs.cri.model.f_area.length > 0) {
351
- for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
352
- if (this.$login.f.f_allArea[i].label === this.$refs.paged.$refs.cri.model.f_area[0]) {
353
- rs = this.$login.f.f_allArea[i].value
354
- }
355
- }
356
- }
357
- return [{label: '全部', value: ''}, ...rs]
358
- },
359
-
360
- tablestate() {
361
- return [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}]
362
- },
363
- bgl(){
364
- return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
365
- }
366
- }
367
- }
368
- </script>
369
- <style scoped>
370
- .labelother {
371
- line-height: 18px;
372
- }
373
- </style>
@@ -1,80 +0,0 @@
1
- <template>
2
- <div id="unit" class="flex-row" :class="{'binary':listShow}">
3
- <div :class="{'basic-main':!listShow,'binary-left':listShow}">
4
- <nc-archives-list v-ref:arealist :style="style" :f_filialeids.sync="f_filialeids"></nc-archives-list>
5
- </div>
6
- <div v-show="listShow" style="width: 60%" class="binary-right">
7
- <div class="flex">
8
- <nc-archives-add v-ref:addareamsg :areatype="areatype" :operation="operation"
9
- :f_filialeids.sync="f_filialeids" :row="arearow"></nc-archives-add>
10
- </div>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
-
17
- export default {
18
- title: 'NC档案管理',
19
- components:{
20
- },
21
- data () {
22
- return {
23
- //分公司id串
24
- width:'100%',
25
- f_filialeids: this.$login.f.f_orgids,
26
- listShow:false,
27
- areatype:'小区',
28
- arearow:{},
29
- style:'col-sm-3 form-group'
30
- }
31
- },
32
- ready(){
33
-
34
- },
35
- props:{
36
-
37
- },
38
- methods:{
39
- refresh() {
40
- this.listShow = false
41
- this.$refs.arealist.$refs.paged.$refs.cri.search()
42
- }
43
- },
44
- events:{
45
- 'add'(){
46
- this.style='col-sm-3 form-group'
47
- this.listShow=true
48
- this.$refs.addareamsg.cleardara()
49
- this.$refs.addareamsg.operation='add'
50
- this.$refs.addareamsg.initdata();
51
- },
52
- 'confirm' () {
53
- this.style='col-sm-2 form-group'
54
- this.listShow = false
55
- this.$refs.arealist.$refs.paged.$refs.cri.search()
56
- this.$refs.arealist.areaShow=true;
57
- },
58
- 'cancel' () {
59
- this.style='col-sm-2 form-group'
60
- this.$refs.arealist.$refs.paged.$refs.cri.search();
61
- this.$refs.arealist.areaShow=true;
62
- this.listShow = false;
63
- },
64
- 'newsearch' () {
65
- this.style='col-sm-3 form-group'
66
- this.listShow = false
67
- this.$refs.addareamsg.cleardara()
68
- },
69
- 'modify'(val){
70
- //修改档案
71
- this.style='col-sm-3 form-group'
72
- this.listShow=true
73
- this.$refs.addareamsg.cleardara()
74
- this.$refs.addareamsg.operation='modify'
75
- this.$refs.addareamsg.initdata(val)
76
- }
77
- }
78
- }
79
- </script>
80
-