sale-client 3.6.21 → 3.6.23

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 (88) hide show
  1. package/build/dev-server.js +1 -1
  2. package/package.json +2 -2
  3. package/src/components/FilesManage/FileUserFiles.vue +1014 -1014
  4. package/src/components/FilesManage/FileUserMerge.vue +203 -203
  5. package/src/components/FilesManage/UserPaperInfoTest.vue +58 -51
  6. package/src/components/FilesManageNew/FileUserFiles.vue +756 -756
  7. package/src/components/FilesManageNew/FileUserMerge.vue +202 -202
  8. package/src/components/charge/business/CardMeterCenter.vue +944 -944
  9. package/src/components/charge/business/IOTMeterCenter.vue +793 -793
  10. package/src/components/charge/business/OtherChargeNew.vue +550 -550
  11. package/src/components/charge/business/machine/MachineMeterCenter.vue +676 -676
  12. package/src/components/charge/gasloss/gasLossOperate.vue +383 -383
  13. package/src/components/newBill/CardMeterCenter.vue +902 -902
  14. package/src/components/newBill/IOTMeterCenter.vue +797 -797
  15. package/src/components/revenue/Common/EticketModal.vue +95 -90
  16. package/src/components/revenue/comprehen/Maintenance/T+MoneyDocking/moneyDocking.vue +202 -202
  17. package/src/components/revenue/comprehen/SpecialUser/BasicLiving/BasicLivingList.vue +280 -280
  18. package/src/filiale/alashan/business/CardMeterCenter.vue +897 -897
  19. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1010 -1010
  20. package/src/filiale/ancheng/FilesManageNew/FileUserFiles.vue +763 -763
  21. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1019 -1019
  22. package/src/filiale/chengtou/components/OtherChargeNew.vue +549 -549
  23. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1037 -1037
  24. package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +934 -934
  25. package/src/filiale/gehua/CardMeterCenter.vue +898 -898
  26. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +769 -769
  27. package/src/filiale/gehua/FileUserFiles.vue +1007 -1007
  28. package/src/filiale/gehua/IOTMeterCenter.vue +791 -791
  29. package/src/filiale/gehua/MachineMeterCenter.vue +685 -685
  30. package/src/filiale/gehua/OtherChargeNew.vue +558 -558
  31. package/src/filiale/guangxi/CardMeterCenter.vue +891 -891
  32. package/src/filiale/guangxi/IOTMeterCenter.vue +774 -774
  33. package/src/filiale/guangxi/MachineMeterCenter.vue +622 -622
  34. package/src/filiale/haile/MachineMeterCenter.vue +762 -762
  35. package/src/filiale/huayin/CardMeterCenter.vue +903 -903
  36. package/src/filiale/huayin/FileUserFiles.vue +1007 -1007
  37. package/src/filiale/huayin/IOTMeterCenter.vue +796 -796
  38. package/src/filiale/huayin/MachineMeterCenter.vue +680 -680
  39. package/src/filiale/jingwei/CardMeterCenter.vue +870 -870
  40. package/src/filiale/jingwei/FileUserFiles.vue +905 -905
  41. package/src/filiale/jingwei/ShowCardSellGas.vue +903 -903
  42. package/src/filiale/kelai/CardMeterCenter.vue +934 -934
  43. package/src/filiale/kelai/FileUserFiles.vue +762 -762
  44. package/src/filiale/kelai/IOTMeterCenter.vue +833 -833
  45. package/src/filiale/kelai/MachineMeterCenter.vue +705 -705
  46. package/src/filiale/konggang/FileUserFiles.vue +990 -990
  47. package/src/filiale/liaoyuan/FileUserFiles.vue +844 -844
  48. package/src/filiale/macheng/CardMeterCenter.vue +939 -939
  49. package/src/filiale/macheng/FileUserFiles.vue +930 -930
  50. package/src/filiale/meihekou/FileUserFiles.vue +995 -995
  51. package/src/filiale/ningjin/FileUserFiles.vue +1020 -1020
  52. package/src/filiale/qianneng/OtherChargeNew.vue +544 -544
  53. package/src/filiale/qianneng/eticket/EticketModal.vue +96 -91
  54. package/src/filiale/qianneng/eticket/EticketPrint.vue +377 -376
  55. package/src/filiale/qianneng/eticket/EticketRecordList.vue +309 -289
  56. package/src/filiale/qianneng/machine/MachineMeterCenter.vue +676 -676
  57. package/src/filiale/rizhao/FileUserFiles.vue +984 -984
  58. package/src/filiale/rizhao/IOTMeterCenter.vue +795 -795
  59. package/src/filiale/rongcheng/FileUserFiles.vue +881 -881
  60. package/src/filiale/rongcheng/FilesManageNew/FileUserFiles.vue +732 -732
  61. package/src/filiale/rongcheng/FilesManageNew/FileUserMerge.vue +202 -202
  62. package/src/filiale/shanggao/FileUserFiles.vue +995 -995
  63. package/src/filiale/shangluo/CardMeterCenter.vue +892 -892
  64. package/src/filiale/shangluo/IOTMeterCenter.vue +797 -797
  65. package/src/filiale/shangluo/MachineMeterCenter.vue +734 -734
  66. package/src/filiale/shanxian/OtherChargeNew.vue +561 -561
  67. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1004 -1004
  68. package/src/filiale/shanxian/components/FilesManageNew/FileUserFiles.vue +756 -756
  69. package/src/filiale/shanxian/components/revenue/CardMeterCenter.vue +944 -944
  70. package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +881 -881
  71. package/src/filiale/shaoguan/FilesManageNew/FileUserFiles.vue +734 -734
  72. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +991 -991
  73. package/src/filiale/tongchuan/BasicLivingList.vue +253 -253
  74. package/src/filiale/tongchuan/CardMeterCenter.vue +923 -923
  75. package/src/filiale/tongchuan/FileUserFiles.vue +1206 -1206
  76. package/src/filiale/tongchuan/bill/EticketModal.vue +90 -90
  77. package/src/filiale/tongchuan/filemanagenew/FileUserFiles.vue +842 -842
  78. package/src/filiale/wenxi/CardMeterCenter.vue +942 -942
  79. package/src/filiale/wenxi/FileUserFiles.vue +1032 -1032
  80. package/src/filiale/wenxi/IOTMeterCenter.vue +774 -774
  81. package/src/filiale/wuan/FileUserFiles.vue +1006 -1006
  82. package/src/filiale/wuhai/CardMeterCenter.vue +945 -945
  83. package/src/filiale/wuhai/IOTMeterCenter.vue +757 -757
  84. package/src/filiale/yuansheng/CardMeterCenter.vue +950 -950
  85. package/src/filiale/yuansheng/IOTMeterCenter.vue +788 -788
  86. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1038 -1038
  87. package/src/filiale/zhongyi/FileUserFiles.vue +1020 -1020
  88. package/src/main.js +27 -27
@@ -1,90 +1,95 @@
1
- <template>
2
- <div class="auto form-horizontal">
3
- <modal :show.sync="show" v-ref:modal large backdrop="false" :width="900">
4
- <header slot="modal-header" class="modal-header">
5
- <button type="button" class="close" @click="closeShow"><span>&times;</span></button>
6
- <h4 class="modal-title">发票信息</h4>
7
- </header>
8
- <article slot="modal-body" class="modal-body">
9
- <div class="auto select-overspread form-horizontal">
10
- <div class="row auto">
11
- <div class="col-sm-6 form-group form-input-group" :class="[!row.f_paper_name ? 'has-error' : '']">
12
- <label class="control-label">开票名称:</label>
13
- <input class="form-control col-sm-2"
14
- v-model="row.f_paper_name" placeholder="开票名称">
15
- </div>
16
- <div class="col-sm-6 form-group form-input-group">
17
- <nobr class="col-sm-4"><label class="control-label">是否征税:</label></nobr>
18
- <v-select v-model="row.invoice_is_pax"
19
- placeholder='请选择'
20
- :value.sync="row.invoice_is_pax"
21
- close-on-select
22
- :width="60" disabled
23
- :value-single="true"
24
- :search="false"
25
- :options='is_pax' clear-button>
26
- </v-select>
27
- </div>
28
- <div class="col-sm-12 form-group form-input-group">
29
- <label class="control-label">开户行及账号:</label>
30
- <input class="form-control col-sm-2"
31
- v-model="row.f_paper_account" placeholder="购方开户行及账号">
32
- </div>
33
- <div class="col-sm-12 form-group form-input-group"
34
- :class="[ row.f_taxpayer_id.length<16 || row.f_taxpayer_id.length>18 ? 'has-error' : '']">
35
- <label class="control-label">纳税人识别号:</label>
36
- <input class="form-control col-sm-2"
37
- v-model="row.f_taxpayer_id" placeholder="纳税人识别号(16至18位)">
38
- </div>
39
- <div class="col-sm-12 form-group form-input-group" :class="[!row.f_address_phone ? 'has-error' : '']">
40
- <label class="control-label">开票地址电话:</label>
41
- <input class="form-control col-sm-2"
42
- v-model="row.f_address_phone" placeholder="开票地址">
43
- </div>
44
- <div class="col-sm-12 form-group form-input-group" >
45
- <label class="control-label">发票备注:</label>
46
- <input class="form-control col-sm-2"
47
- v-model="row.f_eticket_reason" placeholder="发票备注">
48
- </div>
49
- </div>
50
- </div>
51
- </article>
52
- <footer slot="modal-footer" class="modal-footer">
53
- <button type="button" class="btn button_search"
54
- :disabled="!(row.f_paper_name&&row.f_address_phone&&row.f_taxpayer_id.length>=16 && row.f_taxpayer_id.length<=18)"
55
- @click='confirm'>确认收费
56
- </button>
57
- </footer>
58
- </modal>
59
- </div>
60
- </template>
61
- <script>
62
-
63
- export default {
64
- title: '电子发票',
65
- data () {
66
- return {
67
- is_pax: [{label: '征税', value: '征税'}, {label: '不征税', value: '不征税'}],
68
- }
69
- },
70
- props: ['row','show'],
71
- ready () {
72
- },
73
- methods: {
74
- confirm(){
75
- this.$dispatch('confirm')
76
- },
77
- closeShow(){
78
- this.$dispatch('closeModalShow')
79
- }
80
- },
81
- watch: {
82
- 'row'(){
83
- this.row.invoice_is_pax=['征税']
84
- }
85
- },
86
- events: {}
87
- }
88
- </script>
89
- <style>
90
- </style>
1
+ <template>
2
+ <div class="auto form-horizontal">
3
+ <modal :show.sync="show" v-ref:modal large backdrop="false" :width="900">
4
+ <header slot="modal-header" class="modal-header">
5
+ <button type="button" class="close" @click="closeShow"><span>&times;</span></button>
6
+ <h4 class="modal-title">发票信息</h4>
7
+ </header>
8
+ <article slot="modal-body" class="modal-body">
9
+ <div class="auto select-overspread form-horizontal">
10
+ <div class="row auto">
11
+ <div class="col-sm-6 form-group form-input-group" :class="[!row.f_paper_name ? 'has-error' : '']">
12
+ <label class="control-label">开票名称:</label>
13
+ <input class="form-control col-sm-2"
14
+ v-model="row.f_paper_name" placeholder="开票名称">
15
+ </div>
16
+ <div class="col-sm-6 form-group form-input-group">
17
+ <nobr class="col-sm-4"><label class="control-label">是否征税:</label></nobr>
18
+ <v-select v-model="row.invoice_is_pax"
19
+ placeholder='请选择'
20
+ :value.sync="row.invoice_is_pax"
21
+ close-on-select
22
+ :width="60" disabled
23
+ :value-single="true"
24
+ :search="false"
25
+ :options='is_pax' clear-button>
26
+ </v-select>
27
+ </div>
28
+ <div class="col-sm-12 form-group form-input-group">
29
+ <label class="control-label">开户行及账号:</label>
30
+ <input class="form-control col-sm-2"
31
+ v-model="row.f_paper_account" placeholder="购方开户行及账号">
32
+ </div>
33
+ <div class="col-sm-12 form-group form-input-group"
34
+ :class="[ row.f_taxpayer_id.length<16 || row.f_taxpayer_id.length>18 ? 'has-error' : '']">
35
+ <label class="control-label">纳税人识别号:</label>
36
+ <input class="form-control col-sm-2"
37
+ v-model="row.f_taxpayer_id" placeholder="纳税人识别号(16至18位)">
38
+ </div>
39
+ <div class="col-sm-12 form-group form-input-group" :class="[!row.f_address_phone ? 'has-error' : '']">
40
+ <label class="control-label">开票地址电话:</label>
41
+ <input class="form-control col-sm-2"
42
+ v-model="row.f_address_phone" placeholder="开票地址">
43
+ </div>
44
+ <div class="col-sm-12 form-group form-input-group" >
45
+ <label class="control-label">发票备注:</label>
46
+ <input class="form-control col-sm-2"
47
+ v-model="row.f_eticket_reason" placeholder="发票备注">
48
+ </div>
49
+ <div class="col-sm-12 form-group form-input-group">
50
+ <label class="control-label">邮箱推送:</label>
51
+ <input class="form-control col-sm-2"
52
+ v-model="row.f_email" placeholder="邮箱推送">
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </article>
57
+ <footer slot="modal-footer" class="modal-footer">
58
+ <button type="button" class="btn button_search"
59
+ :disabled="!(row.f_paper_name&&row.f_address_phone&&row.f_taxpayer_id.length>=16 && row.f_taxpayer_id.length<=18)"
60
+ @click='confirm'>确认收费
61
+ </button>
62
+ </footer>
63
+ </modal>
64
+ </div>
65
+ </template>
66
+ <script>
67
+
68
+ export default {
69
+ title: '电子发票',
70
+ data () {
71
+ return {
72
+ is_pax: [{label: '征税', value: '征税'}, {label: '不征税', value: '不征税'}],
73
+ }
74
+ },
75
+ props: ['row','show'],
76
+ ready () {
77
+ },
78
+ methods: {
79
+ confirm(){
80
+ this.$dispatch('confirm')
81
+ },
82
+ closeShow(){
83
+ this.$dispatch('closemodalshow')
84
+ }
85
+ },
86
+ watch: {
87
+ 'row'(){
88
+ this.row.invoice_is_pax=['征税']
89
+ }
90
+ },
91
+ events: {}
92
+ }
93
+ </script>
94
+ <style>
95
+ </style>
@@ -1,202 +1,202 @@
1
- <template>
2
- <div @keyup.enter="search" class="flex-row" id="unit">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:paged>
5
- <criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
- <div class="row">
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">组织机构</label>
10
- <res-select :initresid='$parent.$parent.curorgid'
11
- @res-select="$parent.$parent.getorg"
12
- is-mul="false"
13
- restype='organization'>
14
- </res-select>
15
- </div>
16
- <div class="col-sm-2 form-group">
17
- <label class="font_normal_body">客户姓名</label>
18
- <input class="input_search" condition="f_user_name = '{}'" placeholder="客户姓名" style="width:60%"
19
- style="width:60%"
20
- type="text" v-model="model.f_user_name"
21
- />
22
- </div>
23
- <div class="col-sm-2 form-group ">
24
- <label class="font_normal_body">客户编号</label>
25
- <input class="input_search" condition="f_userinfo_id = '{}'" placeholder="客户编号" style="width:60%"
26
- style="width:60%"
27
- type="text" v-model="model.f_building"
28
- />
29
- </div>
30
- <div class="col-sm-2 form-group">
31
- <label class="font_normal_body">客户地址</label>
32
- <input class="input_search" condition="f_address like '%{}%'" placeholder="客户地址" style="width:60%"
33
- style="width:60%"
34
- type="text" v-model="model.f_address"
35
- />
36
- </div>
37
- <div class="col-sm-2" >
38
- <label class="font_normal_body" >开始时间</label>
39
- <datepicker style="width:60% " placeholder="开始时间"
40
- :value.sync="model.f_delivery_date"
41
- v-model="model.f_delivery_date"
42
- :format="'yyyy-MM-dd HH:mm:ss'"
43
- condition="f_delivery_date >= '{}'"
44
- ></datepicker>
45
- </div>
46
- <div class="col-sm-2" >
47
- <label class="font_normal_body" >结束时间</label>
48
- <datepicker style="width:60% " placeholder="结束时间"
49
- :value.sync="model.f_operate_date"
50
- v-model="model.f_operate_date"
51
- :format="'yyyy-MM-dd HH:mm:ss'"
52
- condition="f_operate_date <= '{}'"
53
- ></datepicker>
54
- </div>
55
- <div class="form-group col-sm-2 button-range" style="float: left">
56
- <button @click="search()" class="button_search button_spacing">查询</button>
57
- <button @click="$parent.$parent.submit()" class="button_export button_spacing"
58
- style="width: max-content">导入到T+系统中
59
- </button>
60
- <button @click="clear()" class="button_search button_spacing">清空</button>
61
- </div>
62
- </div>
63
- </div>
64
- </criteria>
65
- <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
66
- <template partial='head'>
67
- <tr>
68
- <th style="padding: 0;border: 0">选择导入</th>
69
- <th>
70
- <nobr>客户编号</nobr>
71
- </th>
72
- <th>
73
- <nobr>客户姓名</nobr><s></s>
74
- </th>
75
- <th>
76
- <nobr>缴费类型</nobr>
77
- </th>
78
- <th>
79
- <nobr>客户地址</nobr>
80
- </th>
81
- <th>
82
- <nobr>账单状态</nobr>
83
- </th>
84
- <th>
85
- <nobr>开始时间</nobr>
86
- </th>
87
- <th>
88
- <nobr>缴费金额</nobr>
89
- </th>
90
- <th>
91
- <nobr>结束时间</nobr>
92
- </th>
93
- </tr>
94
- </template>
95
- <template partial='body'>
96
- <tr>
97
- <td style="text-align: center;padding: 0;border: 0">
98
- <input :checked="$parent.$parent.$parent.ischecked(row)"
99
- @change="$parent.$parent.$parent.selectOne($event,row,$index)"
100
- style="width: 22px;height: 22px;"
101
- type='checkbox' v-show="row.f_state === '有效'"/>
102
- </td>
103
- <td style="text-align:center"><nobr>{{row.f_userinfo_id}}</nobr></td>
104
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
105
- <td style="text-align:center"><nobr>{{row.f_payment}}</nobr></td>
106
- <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
107
- <td style="text-align:center"><nobr>{{row.f_state}}</nobr></td>
108
- <td style="text-align:center"><nobr>{{row.f_delivery_date}}</nobr></td>
109
- <td style="text-align:center"><nobr>{{row.f_preamount}}</nobr></td>
110
- <td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
111
- </tr>
112
- </template>
113
- <template partial='foot'></template>
114
- </data-grid>
115
- </criteria-paged>
116
- </div>
117
- </div>
118
-
119
- </template>
120
-
121
- <script>
122
- import { PagedList } from 'vue-client'
123
- import {HttpResetClass} from 'vue-client'
124
-
125
- export default {
126
- data () {
127
- return {
128
- model: new PagedList('rs/sql/getSellinggas', 20, {}),
129
- selecteddata: {
130
- data: []
131
- },
132
- showmergeinfo: false
133
- }
134
- },
135
- title: '导入到T+系统中',
136
- ready () {
137
- this.search()
138
- },
139
- computed: {
140
- ischecked () {
141
- return function (row) {
142
- return this.selecteddata.data.includes(row)
143
- }
144
- }
145
- },
146
- events: {
147
- init (val) {
148
- this.showmergeinfo = false
149
- this.search()
150
- }
151
- },
152
- methods: {
153
-
154
- search () {
155
- this.$refs.paged.$refs.cri.search()
156
- },
157
-
158
- async selfSearch (args) {
159
- this.selecteddata.data = []
160
- this.rowsdata = []
161
- this.all = false
162
- if (!this.f_orgid) {
163
- this.getorg([this.$login.f.orgid])
164
- }
165
-
166
- args.condition = `${args.condition} and f_orgid = '${this.f_filialeids}'`
167
- await this.model.search(args.condition, args.model)
168
- this.length = this.model.count
169
- },
170
-
171
- // 清空
172
- clear () {
173
- this.$refs.paged.$refs.cri.model = {}
174
- },
175
- getorg (val) {
176
- this.f_orgid = this.$login.convertToIn(val)
177
- this.f_filialeids = val[0]
178
- },
179
- selectOne (event, row, i) {
180
- if (this.all) {
181
- this.all = !this.all
182
- }
183
- if (event.target.checked) {
184
- this.selecteddata.data.push(row.f_userinfo_id)
185
- if (this.length === this.selecteddata.data.length) {
186
- this.all = true
187
- }
188
- } else {
189
- this.all = false
190
- this.selecteddata.data.splice(this.selecteddata.data.indexOf(row), 1)
191
- }
192
- },
193
- submit () {
194
- this.$showAlert('测试点击后是否可以显示数据' + this.selecteddata.data, 'danger')
195
- this.$showMessage('开始进行测试')
196
-
197
- this.showmergeinfo = true
198
- }
199
- }
200
-
201
- }
202
- </script>
1
+ <template>
2
+ <div @keyup.enter="search" class="flex-row" id="unit">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">组织机构</label>
10
+ <res-select :initresid='$parent.$parent.curorgid'
11
+ @res-select="$parent.$parent.getorg"
12
+ is-mul="false"
13
+ restype='organization'>
14
+ </res-select>
15
+ </div>
16
+ <div class="col-sm-2 form-group">
17
+ <label class="font_normal_body">客户姓名</label>
18
+ <input class="input_search" condition="f_user_name like '%{}%'" placeholder="客户姓名" style="width:60%"
19
+ style="width:60%"
20
+ type="text" v-model="model.f_user_name"
21
+ />
22
+ </div>
23
+ <div class="col-sm-2 form-group ">
24
+ <label class="font_normal_body">客户编号</label>
25
+ <input class="input_search" condition="f_userinfo_id = '{}'" placeholder="客户编号" style="width:60%"
26
+ style="width:60%"
27
+ type="text" v-model="model.f_building"
28
+ />
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">客户地址</label>
32
+ <input class="input_search" condition="f_address like '%{}%'" placeholder="客户地址" style="width:60%"
33
+ style="width:60%"
34
+ type="text" v-model="model.f_address"
35
+ />
36
+ </div>
37
+ <div class="col-sm-2" >
38
+ <label class="font_normal_body" >开始时间</label>
39
+ <datepicker style="width:60% " placeholder="开始时间"
40
+ :value.sync="model.f_delivery_date"
41
+ v-model="model.f_delivery_date"
42
+ :format="'yyyy-MM-dd HH:mm:ss'"
43
+ condition="f_delivery_date >= '{}'"
44
+ ></datepicker>
45
+ </div>
46
+ <div class="col-sm-2" >
47
+ <label class="font_normal_body" >结束时间</label>
48
+ <datepicker style="width:60% " placeholder="结束时间"
49
+ :value.sync="model.f_operate_date"
50
+ v-model="model.f_operate_date"
51
+ :format="'yyyy-MM-dd HH:mm:ss'"
52
+ condition="f_operate_date <= '{}'"
53
+ ></datepicker>
54
+ </div>
55
+ <div class="form-group col-sm-2 button-range" style="float: left">
56
+ <button @click="search()" class="button_search button_spacing">查询</button>
57
+ <button @click="$parent.$parent.submit()" class="button_export button_spacing"
58
+ style="width: max-content">导入到T+系统中
59
+ </button>
60
+ <button @click="clear()" class="button_search button_spacing">清空</button>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </criteria>
65
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
66
+ <template partial='head'>
67
+ <tr>
68
+ <th style="padding: 0;border: 0">选择导入</th>
69
+ <th>
70
+ <nobr>客户编号</nobr>
71
+ </th>
72
+ <th>
73
+ <nobr>客户姓名</nobr><s></s>
74
+ </th>
75
+ <th>
76
+ <nobr>缴费类型</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>客户地址</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>账单状态</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>开始时间</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>缴费金额</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>结束时间</nobr>
92
+ </th>
93
+ </tr>
94
+ </template>
95
+ <template partial='body'>
96
+ <tr>
97
+ <td style="text-align: center;padding: 0;border: 0">
98
+ <input :checked="$parent.$parent.$parent.ischecked(row)"
99
+ @change="$parent.$parent.$parent.selectOne($event,row,$index)"
100
+ style="width: 22px;height: 22px;"
101
+ type='checkbox' v-show="row.f_state === '有效'"/>
102
+ </td>
103
+ <td style="text-align:center"><nobr>{{row.f_userinfo_id}}</nobr></td>
104
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
105
+ <td style="text-align:center"><nobr>{{row.f_payment}}</nobr></td>
106
+ <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
107
+ <td style="text-align:center"><nobr>{{row.f_state}}</nobr></td>
108
+ <td style="text-align:center"><nobr>{{row.f_delivery_date}}</nobr></td>
109
+ <td style="text-align:center"><nobr>{{row.f_preamount}}</nobr></td>
110
+ <td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
111
+ </tr>
112
+ </template>
113
+ <template partial='foot'></template>
114
+ </data-grid>
115
+ </criteria-paged>
116
+ </div>
117
+ </div>
118
+
119
+ </template>
120
+
121
+ <script>
122
+ import { PagedList } from 'vue-client'
123
+ import {HttpResetClass} from 'vue-client'
124
+
125
+ export default {
126
+ data () {
127
+ return {
128
+ model: new PagedList('rs/sql/getSellinggas', 20, {}),
129
+ selecteddata: {
130
+ data: []
131
+ },
132
+ showmergeinfo: false
133
+ }
134
+ },
135
+ title: '导入到T+系统中',
136
+ ready () {
137
+ this.search()
138
+ },
139
+ computed: {
140
+ ischecked () {
141
+ return function (row) {
142
+ return this.selecteddata.data.includes(row)
143
+ }
144
+ }
145
+ },
146
+ events: {
147
+ init (val) {
148
+ this.showmergeinfo = false
149
+ this.search()
150
+ }
151
+ },
152
+ methods: {
153
+
154
+ search () {
155
+ this.$refs.paged.$refs.cri.search()
156
+ },
157
+
158
+ async selfSearch (args) {
159
+ this.selecteddata.data = []
160
+ this.rowsdata = []
161
+ this.all = false
162
+ if (!this.f_orgid) {
163
+ this.getorg([this.$login.f.orgid])
164
+ }
165
+
166
+ args.condition = `${args.condition} and f_orgid = '${this.f_filialeids}'`
167
+ await this.model.search(args.condition, args.model)
168
+ this.length = this.model.count
169
+ },
170
+
171
+ // 清空
172
+ clear () {
173
+ this.$refs.paged.$refs.cri.model = {}
174
+ },
175
+ getorg (val) {
176
+ this.f_orgid = this.$login.convertToIn(val)
177
+ this.f_filialeids = val[0]
178
+ },
179
+ selectOne (event, row, i) {
180
+ if (this.all) {
181
+ this.all = !this.all
182
+ }
183
+ if (event.target.checked) {
184
+ this.selecteddata.data.push(row.f_userinfo_id)
185
+ if (this.length === this.selecteddata.data.length) {
186
+ this.all = true
187
+ }
188
+ } else {
189
+ this.all = false
190
+ this.selecteddata.data.splice(this.selecteddata.data.indexOf(row), 1)
191
+ }
192
+ },
193
+ submit () {
194
+ this.$showAlert('测试点击后是否可以显示数据' + this.selecteddata.data, 'danger')
195
+ this.$showMessage('开始进行测试')
196
+
197
+ this.showmergeinfo = true
198
+ }
199
+ }
200
+
201
+ }
202
+ </script>