sale-client 4.2.71 → 4.2.73

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 (108) hide show
  1. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  2. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  3. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  4. package/businessNew.json +201 -0
  5. package/package.json +1 -1
  6. package/src/components/FilesManage/FileUserFiles.vue +1 -1
  7. package/src/components/revenue/Common/EticketPrint.vue +2 -2
  8. package/src/components/revenue/HandManager/CardHand.vue +6 -6
  9. package/src/components/revenue/cardHandManage/cardDown.vue +6 -6
  10. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -1
  11. package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -1
  12. package/src/filiale/alashan/FileUserFiles.vue +1 -1
  13. package/src/filiale/alashan/eticket/EticketPrint.vue +2 -2
  14. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -1
  15. package/src/filiale/bayan/FilesManage/FileUserFiles.vue +1 -1
  16. package/src/filiale/beifangshiye/FilesManage/FileUserFiles.vue +1 -1
  17. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -1
  18. package/src/filiale/dexin/FileUserFiles.vue +1 -1
  19. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -1
  20. package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +1 -1
  21. package/src/filiale/fugou/FileUserFiles.vue +1 -1
  22. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -1
  23. package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +1 -1
  24. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
  25. package/src/filiale/gehua/FileUserFiles.vue +1 -1
  26. package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +1 -1
  27. package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -1
  28. package/src/filiale/hantou/WebMeterBatchOperationValve.vue +1 -1
  29. package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1 -1
  30. package/src/filiale/huayin/FileUserFiles.vue +1 -1
  31. package/src/filiale/jingwei/FileUserFiles.vue +1 -1
  32. package/src/filiale/jingyang/EticketPrint.vue +2 -2
  33. package/src/filiale/jingyang/GovernmentSell.vue +1 -1
  34. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  35. package/src/filiale/jinhuang/cardsHand.vue +8 -8
  36. package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -1
  37. package/src/filiale/konggang/FileUserFiles.vue +1 -1
  38. package/src/filiale/macheng/EstimateManager.vue +1 -1
  39. package/src/filiale/macheng/FileUserFiles.vue +1 -1
  40. package/src/filiale/meihekou/FileUserFiles.vue +1 -1
  41. package/src/filiale/ningjin/FileUserFiles.vue +1 -1
  42. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
  43. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +1 -1
  44. package/src/filiale/qingjian/FileUserFiles.vue +1 -1
  45. package/src/filiale/rizhao/FileUserFiles.vue +1 -1
  46. package/src/filiale/rongcheng/FileUserFiles.vue +1 -1
  47. package/src/filiale/rongchuang/FilesManage/FileUserFiles.vue +1 -1
  48. package/src/filiale/shanggao/FileUserFiles.vue +1 -1
  49. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -1
  50. package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -1
  51. package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +1 -1
  52. package/src/filiale/shaoguan/Message/MessageList.vue +1 -1
  53. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -1
  54. package/src/filiale/wenxi/FileUserFiles.vue +1 -1
  55. package/src/filiale/wuan/FileUserFiles.vue +1 -1
  56. package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +1 -1
  57. package/src/filiale/yangchun/EticketPrint.vue +2 -2
  58. package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1 -1
  59. package/src/filiale/yuncheng/FileManageService.js +469 -469
  60. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -1
  61. package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
  62. package/static/syrh.png +0 -0
  63. package/static/syyj.png +0 -0
  64. package/static/xyrh.png +0 -0
  65. package/static/xyyj.png +0 -0
  66. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  67. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  68. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  69. package/src/components/SendCard/SendCardData.vue +0 -208
  70. package/src/components/accounts/accountAdd.vue +0 -276
  71. package/src/components/accounts/accountsList.vue +0 -183
  72. package/src/components/accounts/accountsManage.vue +0 -87
  73. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  74. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  75. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  76. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  77. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  78. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  79. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  80. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  81. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  82. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  83. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  84. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  85. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  86. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  87. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  88. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  89. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  90. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  91. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  92. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  93. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  94. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  95. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  96. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  97. package/src/components/thirdapply/thirdAdd.vue +0 -289
  98. package/src/components/thirdapply/thirdList.vue +0 -162
  99. package/src/components/thirdapply/thirdManage.vue +0 -74
  100. package/src/components/webMeter/InstructQuery.vue +0 -414
  101. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  102. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  103. package/src/components/webMeter/WebUserHand.vue +0 -483
  104. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  105. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  106. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  107. package/src/plugins/FileManageServicets.js +0 -214
  108. package/src/plugins/GetImg.js +0 -53
@@ -1,276 +0,0 @@
1
- <template>
2
- <div class="span">
3
- <validator name='v'>
4
- <div class="form-horizontal select-overspread container-fluid" style="overflow-y: auto">
5
-
6
- <div class="row auto">
7
- <div class="col-sm-6 form-group" :class="[$v.f_payment_code.required ? 'has-error' : 'has-success']">
8
- <label for="f_payment_code" class=" font_normal_body">付款编码</label>
9
- <input class="input_search" style="width:60%" type="text" class="input_search" style="width:60%"
10
- v-model="accountmodel.f_payment_code"
11
- v-validate:f_account='{required: true }'
12
- placeholder="付款编码">
13
- </div>
14
- <div class="col-sm-6 form-group" :class="[$v.f_payment.required ? 'has-error' : 'has-success']">
15
- <label for="f_payment" class=" font_normal_body">付款方式</label>
16
- <input type="text" v-show="false" v-model="accountmodel.f_payment"
17
- v-validate:f_payment='{required: true }'>
18
- <v-select :value.sync="accountmodel.f_payment" :value-single="true"
19
- :options='paymentoptions' placeholder='付款方式'
20
- close-on-select></v-select>
21
- </div>
22
- <div :class="defaultstyle" >
23
- <label class="font_normal_body">公&emsp;&emsp;司</label>
24
- <res-select restype='organization'
25
- @res-select="getorg"
26
- is-mul="false" v-ref:orgcom
27
- :initresid='initres.org'>
28
- </res-select>
29
- <!--<right-tree @re-res="getorg"-->
30
- <!--:initresid='initres.org'></right-tree>-->
31
- </div>
32
- <div :class="defaultstyle" >
33
- <label class="font_normal_body">部&emsp;&emsp;门</label>
34
- <res-select restype='department'
35
- @res-select="getdep"
36
- is-mul="false"
37
- :parentresid="depresid"
38
- :initresid='initres.dep'
39
- >
40
- </res-select>
41
- </div>
42
- <div class="col-sm-6 form-group" :class="[$v.f_account.required ? 'has-error' : 'has-success']">
43
- <label for="f_account" class=" font_normal_body">收款账号</label>
44
- <input class="input_search" style="width:60%" type="text" class="input_search" style="width:60%"
45
- v-model="accountmodel.f_account"
46
- v-validate:f_account='{required: true }'
47
- placeholder="收款账号">
48
- </div>
49
- <div class="col-sm-12 form-group" style="margin: 8px 0">
50
- <label class="font_normal_body " >备&emsp;&emsp;注</label>
51
- <textarea class="input_textarea" rows="3" style="width:80%;height: auto !important;" v-model="accountmodel.f_comments"></textarea>
52
- </div>
53
- </div>
54
- <div class="row auto" style="text-align:right;margin: 20px 13%;">
55
- <button class="button_search button_spacing" @click="confirm()" :disabled='!$v.valid'>保存</button>
56
- <button class="button_clear button_spacing" @click="cancel()">取消</button>
57
- </div>
58
- </div>
59
- </validator>
60
- </div>
61
- </template>
62
-
63
- <script>
64
- import {HttpResetClass} from 'vue-client'
65
- let initGen = async function (self) {
66
- await self.initParams();
67
- await self.initdata()
68
- }
69
- export default {
70
- title: '账号添加/修改',
71
- data () {
72
- return {
73
- accountmodel:{
74
- f_payment:"",
75
- f_account:"",
76
- f_orgid:'',
77
- f_depid:'',
78
- f_orgname:'',
79
- f_depname:'',
80
- f_payment_code:'' //付款编码
81
- },
82
- paymentoptions:[{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
83
- initres: {
84
- org:[this.$login.f.orgid],
85
- dep:[],
86
- user:[]
87
- },
88
- defaultstyle:"col-sm-6 form-group",
89
- defaultcomponent:['company','department'],
90
- depresid:[this.f_filialeids],
91
- }
92
- },
93
- props: ['f_filialeids','operation'],
94
- ready(){
95
- initGen(this)
96
- },
97
- methods: {
98
- getdep(obj,val) {
99
- if(obj){
100
- console.log("选中部门的数据22",obj);
101
- if(obj.length > 0){
102
- this.accountmodel.f_depid = obj[0];
103
- }
104
- this.accountmodel.f_depname=val[0];
105
- }
106
- },
107
- getorg (obj,val) {
108
- console.log("选中公司的数据11",obj.resids);
109
- if(obj){
110
- this.depresid=obj;
111
- if(this.depresid.length > 0){
112
- this.accountmodel.f_orgid = this.depresid[0];
113
- }
114
- if(val[0] && val[0]!='' && val[0].indexOf(" - ")<0){
115
- this.accountmodel.f_orgname=val[0];
116
- }else if (val[0] && val[0]!='' && val[0].indexOf(" - ")>0){
117
- let orgnames = val[0].split(" - ");
118
- this.accountmodel.f_orgname=orgnames[0];
119
- }else{
120
- this.accountmodel.f_orgname='';
121
- }
122
-
123
- }
124
- },
125
- //初始化数据
126
- initdata(){
127
- if(this.f_filialeids){
128
- this.$set('initres.org',[this.f_filialeids])
129
- //this.initres.org = [this.f_filialeids];
130
- this.accountmodel.f_orgid=this.f_filialeids;
131
- }
132
- },
133
- initdatamodify(rows){
134
- if(this.f_filialeids){
135
- this.$set('initres.org',[rows.f_orgid])
136
- this.accountmodel.f_orgid=this.f_filialeids;
137
- }
138
- if(this.operation == 'modify'){
139
- if(rows ==null) return;
140
- this.$set('initres.org',[rows.f_orgid])
141
- this.$set('initres.dep',[rows.f_depid])
142
- this.accountmodel = Object.assign({},this.accountmodel,rows);
143
- }
144
- this.$refs.orgcom.getResList();
145
- },
146
- async initParams() {
147
- await this.$LoadParams.loadParam(this.f_filialeids)
148
- },
149
- //保存
150
- async confirm(){
151
- await this.savearchives();
152
- this.cleardara();
153
- this.$dispatch('confirm');
154
- },
155
- cancel(){
156
- this.cleardara()
157
- this.$dispatch('cancel')
158
- },
159
- cleardara(){
160
- this.accountmodel = {
161
- f_payment:"",
162
- f_account:"",
163
- f_orgid:'',
164
- f_depid:'',
165
- f_orgname:'',
166
- f_depname:'',
167
- f_payment_code:'' //付款编码
168
- };
169
- },
170
- async savearchives(){
171
- if(this.f_filialeids == ''){
172
- this.f_filialeids = this.$login.f.orgid;
173
- }
174
- let param = Object.assign({},this.accountmodel);
175
- param.f_operate_date=this.$login.toStandardTimeString();
176
- param.f_operatorid = param.f_operatorid||param.f_operatorid!='' ? param.f_operatorid: this.$login.f.id;
177
- param.f_operator = param.f_operator||param.f_operator!=''? param.f_operator:this.$login.f.name;
178
- param.f_orgname= param.f_orgname||param.f_orgname!=''? param.f_orgname:this.$login.f.orgs;
179
- param.f_depid= param.f_depid||param.f_depid!=''? param.f_depid:this.$login.f.depids;
180
- param.f_depname=param.f_depname||param.f_depname!=''? param.f_depname: this.$login.f.deps;
181
- param.f_orgid = param.f_orgid ||param.f_orgid !=''?param.f_orgid:this.$login.f.orgid;
182
- await this.$resetpost('rs/entity/t_payment_accounts',param,{
183
- resolveMsg: '保存成功!',
184
- rejectMsg: '保存失败!'
185
- });
186
- }
187
- },
188
- watch: {
189
- async 'model.f_payment'(){
190
- let payment = "";
191
- if(this.accountmodel.f_payment instanceof Array && this.model.f_payment.length>0 ){
192
- payment = this.accountmodel.f_payment[0]
193
- }else{
194
- payment = this.model.f_payment;
195
- }
196
- if(payment =="现金缴费"){
197
- this.accountmust = false;
198
- }else{
199
- this.accountmust = true;
200
- }
201
- //加载收费账号
202
- if(payment != ''){
203
- let res = await this.$resetpost('rs/sql/manageSingleTable',
204
- {data: {tablename: 't_payment_accounts', condition: ` f_payment = '${payment}' and f_state='有效' and f_orgid=${this.$login.f.orgid} and f_depid = ${this.$login.f.depids} `}},
205
- {resolveMsg: null, rejectMsg: null})
206
- if(res.data){
207
- if(res.data.length>0){
208
- let arr = [];
209
- res.data.forEach((item)=>{
210
- let tmp = {
211
- label:item.f_account,
212
- value: item.id
213
- }
214
- arr.push(tmp);
215
- })
216
- }
217
- }
218
- }
219
- },
220
- 'f_filialeids'(){
221
- if (this.accountmodel.f_filialeid) {
222
- if (this.accountmodel.f_filialeid != this.f_filialeids) {
223
- this.$dispatch('cancel')
224
- }
225
- }
226
- this.cleardara()
227
- this.initdata()
228
- }
229
- },
230
- computed: {
231
- usertypes () {
232
- return this.$appdata.getParam('用户类型')
233
- },
234
- f_price_types () {
235
- return this.$appdata.getParam('气价类型')
236
- },
237
-
238
- },
239
- }
240
- </script>
241
- <style>
242
- .box {
243
- width: 727px;
244
- height: 175px;
245
- border-radius: 2px;
246
- background-color: #fafafa;
247
- border: 1px solid #999999;
248
- margin-top: 13px;
249
- }
250
- .datapanel {
251
- color: #333;
252
- background-color: white;
253
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
254
- padding: 10px 30px 10px 30px;
255
- border-radius:15px;
256
- }
257
- .infosshow{
258
- height: 50px;text-align: right;
259
- line-height: 27px; padding-right:18px;
260
- font-size: 25px;
261
- width:50px;
262
- cursor:pointer;
263
- color:#000;
264
- position:absolute;
265
- top:0px;
266
- right:2px;
267
- }
268
- .infosshow:hover{
269
- color:#333;
270
- }
271
- .addmeterc{
272
- position:absolute;
273
- right:3px;
274
- top:-3px;
275
- }
276
- </style>
@@ -1,183 +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">付款方式</label>
17
- <v-select :options='$parent.$parent.paymentoptions' :value.sync="model.f_payment"
18
- close-on-select condition="f_payment='{}'"
19
- placeholder='付款方式' v-model="model.f_payment"></v-select>
20
- </div>
21
- <div :class="$parent.$parent.style" >
22
- <label class="font_normal_body">账号编码</label>
23
- <input type="text" class="input_search" style="width:60%" v-model="model.f_payment_code"
24
- condition="f_payment_code like '%{}%'" placeholder="账号编码"/>
25
- </div>
26
- <div :class="$parent.$parent.style" >
27
- <label class="font_normal_body">支付账号</label>
28
- <input type="text" class="input_search" style="width:60%" v-model="model.f_account"
29
- condition="f_account like '%{}%'" placeholder="支付账号"/>
30
- </div>
31
-
32
- <div class="col-sm-4 form-group button-range">
33
- <button class="button_search button_spacing" @click="search()" >查询</button>
34
- <button class="button_search button_spacing" @click="$parent.$parent.add()" >添加</button>
35
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
36
- <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>
37
- </div>
38
- </div>
39
- <div class="row" v-if="$parent.$parent.criteriaShow">
40
- <div :class="$parent.$parent.style">
41
- <label class="font_normal_body">账号状态</label>
42
- <v-select :options='$parent.$parent.paystate' :value.sync="model.f_state"
43
- close-on-select condition="f_state='{}'"
44
- placeholder='账号状态' v-model="model.f_state"></v-select>
45
- </div>
46
- </div>
47
- </div>
48
-
49
-
50
- </criteria>
51
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
52
- <template partial='head'>
53
- <tr>
54
- <th><nobr>序号</nobr></th>
55
- <th><nobr>所属组织</nobr></th>
56
- <th><nobr>所属部门</nobr></th>
57
- <th><nobr>支付类型</nobr></th>
58
- <th><nobr>账号</nobr></th>
59
- <th><nobr>添加日期</nobr></th>
60
- <th><nobr>状态</nobr></th>
61
- <th><nobr>管理</nobr></th>
62
- <th><nobr>操作</nobr></th>
63
- </tr>
64
- </template>
65
- <template partial='body'>
66
- <tr >
67
- <td style="text-align:center" :style="{background:(row.f_state=='停用'? '#f1dec2':'')}"><nobr>{{$index + 1}}</nobr></td>
68
- <td style="text-align:center" :style="{background:(row.f_state=='停用'? '#f1dec2':'')}"><nobr>{{row.f_orgname}}</nobr></td>
69
- <td style="text-align:center" :style="{background:(row.f_state=='停用'? '#f1dec2':'')}"><nobr>{{row.f_depname}}</nobr></td>
70
- <td style="text-align:center" :style="{background:(row.f_state=='停用'? '#f1dec2':'')}"><nobr>{{row.f_payment}}</nobr></td>
71
- <td style="text-align:center" :style="{background:(row.f_state=='停用'? '#f1dec2':'')}"><nobr>{{row.f_account}}</nobr></td>
72
- <td style="text-align:center" :style="{background:(row.f_state=='停用'? '#f1dec2':'')}"><nobr>{{row.f_operate_date}}</nobr></td>
73
- <td style="text-align:center" :style="{background:(row.f_state=='停用'? '#f1dec2':'')}"><nobr>{{row.f_state==null||row.f_state==''?'停用':row.f_state }}</nobr></td>
74
- <td style="text-align:center" :style="{background:(row.f_state=='停用'? '#f1dec2':'')}"><nobr>
75
- <button type="button" name="button" class="button_delete button_spacing" v-if="row.f_state=='有效'"
76
- @click.stop="$parent.$parent.$parent.stopaccounts('1',row)">停用</button>
77
- <button type="button" name="button" class="button_search button_spacing" v-if="row.f_state!='有效'"
78
- @click.stop="$parent.$parent.$parent.stopaccounts('0',row)">启用</button>
79
- </nobr></td>
80
- <td :style="{background:(row.f_state=='停用'? '#f1dec2':'')}" style="text-align:center"><nobr>
81
- <button type="button" name="button" class="btn btn-link"
82
- @click.stop="$parent.$parent.$parent.modify(row)">修改</button>
83
- </nobr></td>
84
- </tr>
85
- </template>
86
- <template partial='foot'></template>
87
- </data-grid>
88
- </criteria-paged>
89
- </div>
90
- </template>
91
-
92
- <script>
93
- import { PagedList } from 'vue-client'
94
-
95
- export default {
96
-
97
- data () {
98
- return {
99
- criteriaShow: false,
100
- model: new PagedList('rs/sql/accountsQuery',20),
101
- addflag: false,
102
- addtitle:'',
103
-
104
- // 公司下拉
105
- curorgid: [this.$login.f.orgid],
106
- f_orgid: '',
107
- paymentoptions:[{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
108
- paystate: [{label: '全部', value: ''},{label:'有效',value:'有效'},{label:'停用',value:'停用'}],
109
- }
110
- },
111
- title: '收费账号管理',
112
- props:{
113
- f_filialeids:{
114
- type: String
115
- },
116
- style: {
117
- type: String,
118
- default: 'col-sm-2 form-group'
119
- },
120
- f_special:{
121
- type: String
122
- }
123
- },
124
- ready(){
125
- this.search()
126
- },
127
- methods: {
128
- hidden() {
129
- this.criteriaShow = !this.criteriaShow
130
- },
131
- search() {
132
- this.$refs.paged.$refs.cri.search()
133
- },
134
-
135
- async delete(row){
136
-
137
- },
138
- add(){
139
- if (this.f_filialeids) {
140
- this.$refs.paged.$refs.grid.selectStore.selected = null
141
- this.$dispatch('add',this.f_filialeids)
142
- } else {
143
- this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
144
- }
145
- },
146
- modify(val){
147
- this.$dispatch('modify',val)
148
- },
149
- stopaccounts(val,row){
150
- let msg = val == '1'? '停用':'启用';
151
- this.$showMessage(`是否要${msg}当前账号`,['confirm','cancel']).then(async (res)=>{
152
- if(res == 'confirm'){
153
- let state = val == '0'? '有效':'停用';
154
- row.f_state=state;
155
- await this.$resetpost('rs/entity/t_payment_accounts',row,{
156
- resolveMsg: `${msg}成功!!`,
157
- rejectMsg:`${msg}失败!!`
158
- });
159
- this.$refs.paged.$refs.cri.search();
160
- }
161
- })
162
-
163
- },
164
- selfSearch (args) {
165
- if (!this.f_orgid) {
166
- this.getorg([this.$login.f.orgid])
167
- }
168
- args.condition = `${args.condition} and f_orgid = ${this.f_orgid}`
169
- this.model.search(args.condition, args.model)
170
- this.$parent.cleanresfesh();
171
- },
172
- //清空
173
- clear(){
174
- this.$refs.paged.$refs.cri.model = {}
175
- },
176
- getorg (val) {
177
- this.f_orgid = this.$login.convertToIn(val)
178
- this.f_filialeids = val[0]
179
- }
180
- }
181
-
182
- }
183
- </script>
@@ -1,87 +0,0 @@
1
- <template>
2
- <div id="unit" class="flex-row" :class="{'binary':listShow}">
3
- <div :class="{'basic-main':!listShow,'binary-left':listShow}" >
4
- <accounts-list v-ref:accountlist :style="style" ></accounts-list>
5
- </div>
6
- <div v-show="listShow" class="binary-right">
7
- <div class="flex">
8
- <accounts-add v-ref:accountadd :operation="operation"
9
- :f_filialeids.sync="f_filialeids"></accounts-add>
10
- </div>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
-
17
- export default {
18
- title: '非民用档案管理',
19
- components:{
20
- },
21
- data () {
22
- return {
23
- //分公司id串
24
- width:'100%',
25
- f_filialeids: '',
26
- listShow:false,
27
- style:'col-sm-2 form-group'
28
- }
29
- },
30
- ready(){
31
-
32
- },
33
- props:{
34
-
35
- },
36
- methods:{
37
- refresh() {
38
- this.listShow = false
39
- this.$refs.accountlist.$refs.paged.$refs.cri.search()
40
- },
41
- cleanresfesh(){
42
- this.listShow = false;
43
- this.f_filialeid='';
44
- }
45
- },
46
- events:{
47
- 'add'(f_orgid){
48
- if(f_orgid==''){
49
- this.f_filialeids = this.$login.f.orgid
50
- }else{
51
- this.f_filialeids = f_orgid;
52
- }
53
- this.style='col-sm-3 form-group'
54
- this.listShow=true
55
- this.$refs.accountadd.cleardara()
56
- this.$refs.accountadd.operation='add'
57
- this.$refs.accountadd.initdata()
58
- },
59
- 'confirm' () {
60
- this.style='col-sm-2 form-group'
61
- this.$refs.accountadd.cleardara()
62
- this.listShow = false
63
- this.$refs.accountlist.$refs.paged.$refs.cri.search()
64
- },
65
- 'cancel' () {
66
- this.style='col-sm-2 form-group'
67
- this.$refs.accountadd.cleardara()
68
- this.$refs.accountlist.$refs.paged.$refs.cri.search()
69
- this.listShow = false
70
- },
71
- async 'modify'(val){
72
- if(val.f_orgid==''){
73
- this.f_filialeids = this.$login.f.orgid;
74
- }else{
75
- this.f_filialeids = val.f_orgid;
76
- }
77
- //修改账号
78
- this.style='col-sm-3 form-group';
79
- this.listShow=true;
80
- this.$refs.accountadd.cleardara();
81
- this.$refs.accountadd.operation='modify';
82
- this.$refs.accountadd.initdatamodify(val);
83
- }
84
- }
85
- }
86
- </script>
87
-
@@ -1,55 +0,0 @@
1
- <template>
2
- <modal :if.sync="isBusy" v-ref:modal backdrop="false">
3
- <header slot="modal-header" class="modal-header">
4
- <h4 class="modal-title">购气确认</h4>
5
- </header>
6
- <article slot="modal-body" class="modal-body">
7
- <form class="form-horizontal">
8
- <div class="form-group">
9
- <label class="col-sm-2 control-label">客户名称</label>
10
- <div class="col-sm-4">
11
- <p class="form-control-static">{{model.CardID}}</p>
12
- </div>
13
-
14
- <label class="col-sm-2 control-label">本次购气量</label>
15
- <div class="col-sm-4">
16
- <p class="form-control-static">{{model.Times}}</p>
17
- </div>
18
- </div>
19
- <div class="form-group">
20
- <label class="col-sm-2 control-label">应收金额</label>
21
- <div class="col-sm-4">
22
- <p class="form-control-static">{{model.Gas}}</p>
23
- </div>
24
-
25
- <label class="col-sm-2 control-label">实收金额</label>
26
- <div class="col-sm-4">
27
- <p class="form-control-static">{{model.Money}}</p>
28
- </div>
29
- </div>
30
- <div class="form-group" v-if="cardInfo.NewParam.IsInsert == 0">
31
- <label class="col-sm-2 control-label">累购气量</label>
32
- <div class="col-sm-4">
33
- <p class="form-control-static">{{model.NewParam.ljgql}}</p>
34
- </div>
35
- </div>
36
- </form>
37
- </article>
38
- <footer slot="modal-footer" class="modal-footer">
39
- <button type="button" class="button_search" @click='hasGasContinue'>确认</button>
40
- <button type="button" class="btn btn-default" @click='hasGasClose'>取消</button>
41
- </footer>
42
- </modal>
43
- </template>
44
-
45
- <script>
46
- export default {
47
- title: 'busy',
48
- props: ['isBusy','model'],
49
- data () {
50
- return {
51
- isBusy: false
52
- }
53
- }
54
- }
55
- </script>