sale-client 3.6.451 → 3.6.453

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": "sale-client",
3
- "version": "3.6.451",
3
+ "version": "3.6.453",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -75,7 +75,7 @@
75
75
  "karma-sourcemap-loader": "^0.3.7",
76
76
  "karma-spec-reporter": "0.0.31",
77
77
  "karma-webpack": "^2.0.2",
78
- "ldap-clients": "3.0.96",
78
+ "ldap-clients": "3.0.60",
79
79
  "less": "^2.7.3",
80
80
  "manage-client": "3.1.8-88",
81
81
  "mkdirp": "^0.5.1",
@@ -90,7 +90,7 @@
90
90
  "sinon-chai": "^2.8.0",
91
91
  "style": "0.0.3",
92
92
  "style-loader": "^0.20.3",
93
- "system-clients": "3.3.2",
93
+ "system-clients": "3.2.87",
94
94
  "url-loader": "^0.5.7",
95
95
  "vue-clipboard2": "0.3.1",
96
96
  "vue-hot-reload-api": "^1.2.0",
@@ -760,11 +760,22 @@
760
760
  },
761
761
  calText (val) {
762
762
  let str = ''
763
+ let num = 0
763
764
  val.forEach((item) => {
765
+ if (item.f_gas > 0) {
766
+ num = num + 1
767
+ }
764
768
  str = str + item.f_price + ' x ' + item.f_gas + '+'
765
769
  })
766
770
  str = str.slice(0, str.length - 1)
767
771
  this.calculatedetail = str
772
+ if (num > 1) {
773
+ if (this.$login.r.find(item => item == '阶梯提示无按钮')) {
774
+ this.$showAlert('友好提示:本次购气已跨阶梯', 'warning', 3000)
775
+ } else {
776
+ this.$showMessage('友好提示:本次购气已跨阶梯', ['confirm', 'cancel'])
777
+ }
778
+ }
768
779
  },
769
780
  close () {
770
781
  this.print = false
@@ -537,7 +537,7 @@
537
537
  }
538
538
  row.f_user_id = row.f_user_id + ''
539
539
  // 余气量=累购-(本期指数-表初始指数)
540
- row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(2)
540
+ // row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(2)
541
541
  console.log('录入完毕。。', row)
542
542
  param.push(row)
543
543
  }
@@ -0,0 +1,233 @@
1
+ <template>
2
+ <div class="binary flex" >
3
+ <div class="row binary-left flex" style="width:99%;height:98%;margin-bottom:0px">
4
+ <div class="auto">
5
+ <user-base-info-new :row="row" :buttonshow="buttonshow"
6
+ @refresh="search"
7
+ @cancel-main="cancel"
8
+ @cancel-re="cancelRe"
9
+ @search-main="search"></user-base-info-new></div>
10
+ <saletabbut v-if="row" v-ref:list style="height:72%;margin-top: 1%;overflow-y: scroll">
11
+ <saletab header="流水查询" v-if="permission('流水查询')">
12
+ <record-query-user :row="row"></record-query-user>
13
+ </saletab>
14
+ <saletab header="机表流水查询" v-if="permission('机表流水查询')&&row.f_meter_type.includes('机表')">
15
+ <machine-record-query :row="row" v-if="show == '机表流水查询'" @deal-msg="dealMsg"></machine-record-query>
16
+ </saletab>
17
+ <saletab header="收费查询" v-if="!newWebHand && permission('收费查询')">
18
+ <charge-query-user :row="row" v-if="show == '收费查询'" @deal-msg="dealMsg"></charge-query-user>
19
+ </saletab>
20
+ <saletab header="收费查询" v-if="newWebHand && permission('收费查询')">
21
+ <charge-query-user :row="row" v-if="show == '收费查询'" @deal-msg="dealMsg"></charge-query-user>
22
+ </saletab>
23
+ <saletab header="累购查询" v-if="permission('累购查询')">
24
+ <Repurchase :row="row" v-if="show == '累购查询'" @deal-msg="dealMsg"></Repurchase>
25
+ </saletab>
26
+ <saletab header="下账查询" v-if="!newWebHand && row.f_meter_type.includes('物联网表')&&permission('自动下账查询')">
27
+ <automatic-purse :row="row" @deal-msg="dealMsg"></automatic-purse>
28
+ </saletab>
29
+ <saletab header="下账查询" v-if="newWebHand && row.f_meter_type.includes('物联网表')&&permission('自动下账查询')">
30
+ <web-automatic-purse :row="row" @deal-msg="dealMsg"></web-automatic-purse>
31
+ </saletab>
32
+ <saletab header="抄表记录" v-if="row.f_meter_type.includes('卡表')&&permission('抄表记录')">
33
+ <card-hand-record :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></card-hand-record>
34
+ </saletab>
35
+ <saletab header="抄表记录" v-if="!newWebHand && !row.f_meter_type.includes('卡表')&&permission('抄表记录')">
36
+ <hand-query-user :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></hand-query-user>
37
+ </saletab>
38
+ <saletab header="抄表记录" v-if="newWebHand && !row.f_meter_type.includes('卡表')&&permission('抄表记录')">
39
+ <web-hand-query-user :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></web-hand-query-user>
40
+ </saletab>
41
+ <saletab header="补卡查询" v-if="row.f_meter_type.includes('卡表')&&permission('补卡查询')">
42
+ <fill-card-query-user :row="row" v-if="show == '补卡查询'" @deal-msg="dealMsg"></fill-card-query-user>
43
+ </saletab>
44
+ <saletab header="补气查询" v-if="permission('补气查询')">
45
+ <fill-gas-query-user :row="row" v-if="show == '补气查询'" @deal-msg="dealMsg"></fill-gas-query-user>
46
+ </saletab>
47
+ <saletab header="换表查询" v-if="permission('换表查询')">
48
+ <change-meter-query-user :row="row" v-if="show == '换表查询'" @deal-msg="dealMsg"></change-meter-query-user>
49
+ </saletab>
50
+ <saletab header="其他收费" v-if="permission('其他收费')">
51
+ <other-charge-query-user :row="row" v-if="show == '其他收费'" @deal-msg="dealMsg"></other-charge-query-user>
52
+ </saletab>
53
+ <saletab header="过户查询" v-if="permission('过户查询')">
54
+ <transfer-query-user :row="row" v-if="show == '过户查询'" @deal-msg="dealMsg"></transfer-query-user>
55
+ </saletab>
56
+ <saletab header="价格调整" v-if="permission('价格调整')">
57
+ <price-change-query-user :row="row" v-if="show == '价格调整'" @deal-msg="dealMsg"></price-change-query-user>
58
+ </saletab>
59
+ <saletab header="附件查看" v-if="permission('附件查看')">
60
+ <upload-file-history :row="row" v-if="show == '附件查看'" @deal-msg="dealMsg"></upload-file-history>
61
+ </saletab>
62
+ <saletab header="变更记录" v-if="permission('变更记录')">
63
+ <change-record :row="row" v-if="show == '变更记录'" @deal-msg="dealMsg"></change-record>
64
+ </saletab>
65
+ <saletab header="指令查看" v-if="row.f_meter_type.includes('物联网表')&&permission('指令查看')">
66
+ <query-instruct :row="row" v-if="show == '指令查看'" @deal-msg="dealMsg"></query-instruct>
67
+ </saletab>
68
+ <saletab header="历史指令查看" v-if="row.f_meter_type.includes('物联网表')&&permission('历史指令查看')">
69
+ <query-history-instruct :row="row" v-if="show == '历史指令查看'" @deal-msg="dealMsg"></query-history-instruct>
70
+ </saletab>
71
+ <saletab header="异常报警" v-if="row.f_meter_type.includes('物联网表')&&permission('异常报警')">
72
+ <watch-warning :row="row" v-if="show == '异常报警'" @deal-msg="dealMsg"></watch-warning>
73
+ </saletab>
74
+ <saletab header="表具采集" v-if="row.f_meter_type.includes('物联网表')&&permission('表具采集')">
75
+ <watch-collection :row="row" v-if="show == '表具采集'" @deal-msg="dealMsg"></watch-collection>
76
+ </saletab>
77
+ <saletab header="调价补差" v-if="permission('调价补差')">
78
+ <price-adjustment-query-user :row="row" v-if="show == '调价补差'" @deal-msg="dealMsg"></price-adjustment-query-user>
79
+ </saletab>
80
+ <saletab header="设备查询" v-if="permission('设备查询')">
81
+ <deveice-record :row="row" v-if="show == '设备查询'" @deal-msg="dealMsg"></deveice-record>
82
+ </saletab>
83
+ <saletab header="流量计参数查看" v-if="permission('流量计参数查看')">
84
+ <meter-param :row="row" v-if="show == '流量计参数查看'" @deal-msg="dealMsg"></meter-param>
85
+ </saletab>
86
+ <saletab header="表使用量图表" v-if="permission('流量计参数查看')">
87
+ <table-usage-chart :row="row" v-if="show == '表使用量图表'" @deal-msg="dealMsg"></table-usage-chart>
88
+ </saletab>
89
+ <saletab header="用户设备查询" v-if="permission('用户设备查看')">
90
+ <user-device-query :row="row" v-if="show == '用户设备查询'" @deal-msg="dealMsg"></user-device-query>
91
+ </saletab>
92
+ <saletab header="合同查看" v-if="permission('合同查看')">
93
+ <contract-signing-list :row="row" v-if="show == '合同查看'" @deal-msg="dealMsg"></contract-signing-list>
94
+ </saletab>
95
+ <saletab header="用户重点记录" >
96
+ <user-key-record :row="row" @deal-msg="dealMsg"></user-key-record>
97
+ </saletab>
98
+ <!-- <saletab header="报装流转记录" v-if="permission('报装流转记录查看')">-->
99
+ <!-- <supervisory-control :row="row" ></supervisory-control>-->
100
+ <!-- </saletab>-->
101
+ <!-- <saletab header="报装收费记录" v-if="permission('报装收费记录查看')">-->
102
+ <!-- <apply-charge-search :row="row" ></apply-charge-search>-->
103
+ <!-- </saletab>-->
104
+ </saletabbut>
105
+ </div>
106
+ </div>
107
+ </template>
108
+
109
+ <script>
110
+ import {HttpResetClass} from 'vue-client'
111
+ // 导入IC卡相关查询界面
112
+ import ChangeMeterQueryUser from '../../components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser'
113
+ import ChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/ChargeQueryUser'
114
+ import ChargeRecordQueryUser from '../../components/common/userinfo_detail/ic_detail/ChargeRecordQuery'
115
+ import FillCardQueryUser from '../../components/common/userinfo_detail/ic_detail/FillCardQueryUser'
116
+ import HandQueryUser from '../../components/common/userinfo_detail/ic_detail/HandQueryUser'
117
+ import OtherChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/OtherChargeQueryUser'
118
+ import RecordQueryUser from '../../components/common/userinfo_detail/ic_detail/RecordQueryUser'
119
+ import TransferQueryUser from '../../components/common/userinfo_detail/ic_detail/TransferQueryUser'
120
+ import CardHandRecord from '../../components/common/userinfo_detail/ic_detail/CardHandRecord'
121
+ import AutomaticPurse from '../../components/common/userinfo_detail/ic_detail/AutomaticPurse'
122
+ import Repurchase from '../../components/common/userinfo_detail/ic_detail/Repurchase'
123
+ import MachineRecordQuery from '../../components/common/userinfo_detail/ic_detail/MachineRecordQuery'
124
+ import WebAutomaticPurse from '../../components/common/userinfo_detail/ic_detail/WebAutomaticPurse'
125
+ import WebChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/WebChargeQueryUser'
126
+ import WebHandQueryUser from '../../components/common/userinfo_detail/ic_detail/WebHandQueryUser'
127
+ import UserDeviceQuery from '../../components/common/userinfo_detail/ic_detail/UserDeviceQuery'
128
+ import contractSigningList from '../../components/common/userinfo_detail/ic_detail/contractSigningList'
129
+ import UserKeyRecord from '../../components/common/userinfo_detail/ic_detail/UserKeyRecord'
130
+ // import SupervisoryControl from './apply_detail/Supervisory/SupervisoryControl'
131
+ // import ApplyChargeSearch from './apply_detail/applyCharge/ApplyChargeSearch'
132
+ // 导入物联网相关查询
133
+ import QueryInstruct from '../../components/common/userinfo_detail/iot_detail/QueryInstruct'
134
+ import QueryHistoryInstruct from '../../components/common/userinfo_detail/iot_detail/QueryHistoryInstruct'
135
+ import WatchCollection from './WatchCollection'
136
+ import WatchWarning from '../../components/common/userinfo_detail/iot_detail/WatchWarning'
137
+ import PriceChangeQueryUser from '../../components/common/userinfo_detail/ic_detail/PriceChangeQueryUser'
138
+ import ChangeRecord from '../../components/common/userinfo_detail/ic_detail/ChangeRecord'
139
+ import PriceAdjustmentQueryUser from '../../components/common/userinfo_detail/ic_detail/PriceAdjustmentQueryUser'
140
+ import MeterParam from '../../components/common/userinfo_detail/ic_detail/MeterParam'
141
+ import DeveiceRecord from '../../components/common/userinfo_detail/ic_detail/DeveiceRecord'
142
+
143
+ export default {
144
+ title: '用户详细信息',
145
+ props: ['f_userfiles_id', 'f_userinfo_id', 'f_userinfo_code', 'parentname', 'buttonshow'],
146
+ components: {
147
+ PriceAdjustmentQueryUser,
148
+ PriceChangeQueryUser,
149
+ AutomaticPurse,
150
+ WebAutomaticPurse,
151
+ WebChargeQueryUser,
152
+ WebHandQueryUser,
153
+ Repurchase,
154
+ ChangeMeterQueryUser,
155
+ ChargeQueryUser,
156
+ ChargeRecordQueryUser,
157
+ FillCardQueryUser,
158
+ HandQueryUser,
159
+ OtherChargeQueryUser,
160
+ RecordQueryUser,
161
+ TransferQueryUser,
162
+ WatchWarning,
163
+ WatchCollection,
164
+ QueryInstruct,
165
+ QueryHistoryInstruct,
166
+ ChangeRecord,
167
+ CardHandRecord,
168
+ MeterParam,
169
+ DeveiceRecord,
170
+ MachineRecordQuery,
171
+ UserDeviceQuery,
172
+ contractSigningList,
173
+ UserKeyRecord
174
+ // SupervisoryControl,
175
+ // ApplyChargeSearch
176
+ },
177
+ data () {
178
+ return {
179
+ row: null,
180
+ name: '自动下账查询',
181
+ newWebHand: this.$appdata.getSingleValue('新抄表'),
182
+ show: ''
183
+ }
184
+ },
185
+ ready () {
186
+ this.search()
187
+ console.log(this.$login)
188
+ },
189
+ methods: {
190
+ permission (name) {
191
+ if (this.$login.r.find(value => value == '收费综合查询')) {
192
+ if (!this.$login.r.find(value => value == name)) {
193
+ return false
194
+ }
195
+ }
196
+ return true
197
+ },
198
+ async search () {
199
+ let http = new HttpResetClass()
200
+ let condition = ' 1 = 1'
201
+ if (this.f_userfiles_id) {
202
+ condition = `f_userfiles_id = '${this.f_userfiles_id}'`
203
+ } else if (this.f_userinfo_id) {
204
+ condition = `f_userinfo_id = '${this.f_userinfo_id}'`
205
+ } else if (this.f_userinfo_code) {
206
+ condition = `f_userinfo_code = '${this.f_userinfo_code}'`
207
+ }
208
+
209
+ let getBaseInfo = await http.load('POST', 'rs/sql/iot_getUserBaseData',
210
+ {data: {condition: condition}}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
211
+ this.row = getBaseInfo.data[0]
212
+ this.row.parentname = this.parentname || ''
213
+ },
214
+
215
+ cancel (val) {
216
+ this.$emit('cancel-main', val)
217
+ },
218
+
219
+ cancelRe (val) {
220
+ this.$emit('cancel-re', val)
221
+ },
222
+
223
+ butOper (val) {
224
+ this.name = val
225
+ }
226
+ },
227
+ watch: {
228
+ 'f_userinfo_id' () {
229
+ this.search()
230
+ }
231
+ }
232
+ }
233
+ </script>
@@ -0,0 +1,115 @@
1
+ <template >
2
+ <div id="stand-work-list" >
3
+ <div @keyup.enter="search" class="span">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+
9
+ <div class="col-sm-2 form-group ">
10
+ <label class="font_normal_body">上报时间</label>
11
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_start_date"
12
+ class="datepicker"
13
+ condition="m.f_hand_date >= '{}'"
14
+ placeholder="大于等于"
15
+ style="width: 60%"
16
+ v-model="model.f_start_date"
17
+ ></datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group " >
20
+ <label class="font_normal_body">&nbsp;至</label>
21
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_end_date"
22
+ class="datepicker"
23
+ condition="m.f_hand_date <= '{}'"
24
+ placeholder="小于等于"
25
+ style="width: 60%"
26
+ v-model="model.f_end_date"
27
+ ></datepicker>
28
+ </div>
29
+ <div style="float: right">
30
+ <button @click="search()" class="button_search" v-el:cba>查询</button>
31
+ </div>
32
+ </div>
33
+
34
+ </div>
35
+ </criteria>
36
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
37
+ <template partial='head'>
38
+ <tr>
39
+ <th><nobr>上报日期</nobr></th>
40
+ <th><nobr>表上余额</nobr></th>
41
+ <th><nobr>本次抄表底数</nobr></th>
42
+ <th><nobr>阀门状态</nobr></th>
43
+ <th><nobr>上报类型</nobr></th>
44
+ <th><nobr>系统接收时间</nobr></th>
45
+ <th><nobr>表内累计充值金额</nobr></th>
46
+ <th><nobr>噪音强度</nobr></th>
47
+ <th><nobr>信噪比</nobr></th>
48
+ <th><nobr>电压</nobr></th>
49
+ <th><nobr>电压状态</nobr></th>
50
+ <th><nobr>阀门强制状态</nobr></th>
51
+ <th><nobr>计量类型</nobr></th>
52
+ <th><nobr>金额状态</nobr></th>
53
+
54
+ <th><nobr>磁干扰异常</nobr></th>
55
+ <th><nobr>补偿状态</nobr></th>
56
+ </tr>
57
+ </template>
58
+ <template partial='body' partial='list'>
59
+ <tr >
60
+ <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
61
+ <th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
62
+ <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
63
+ <th style="text-align:center"><nobr>{{row.f_valvestate == 0 ? '开阀' : row.f_valvestate === '1' ? '关阀' : '未上报'}}</nobr>
64
+ <th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
65
+ <th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
66
+ <th style="text-align:center"><nobr>{{row.f_meterdebitamt}}</nobr></th>
67
+ <th style="text-align:center"><nobr>{{row.f_signal}}</nobr></th>
68
+ <th style="text-align:center"><nobr>{{row.f_snr}}</nobr></th>
69
+ <th style="text-align:center"><nobr>{{row.f_batterylevel}}</nobr></th>
70
+ <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery ? ((row.f_lowlithiumbattery - 0) == 0 ? '正常' : '异常') : '未知'}}</nobr></th>
71
+ <th style="text-align:center"><nobr>{{row.f_networkshutvalve}}</nobr></th>
72
+ <th style="text-align:center"><nobr>{{row.f_wmprepaytype}}</nobr></th>
73
+ <th style="text-align:center"><nobr>{{row.f_moneystate}}</nobr></th>
74
+ <th style="text-align:center"><nobr>{{row.f_magneticInterference}}</nobr></th>
75
+ <th style="text-align:center"><nobr>{{row.f_compensateState}}</nobr></th>
76
+ </tr>
77
+ </template>
78
+ <template partial='foot'></template>
79
+ </data-grid>
80
+ </criteria-paged>
81
+ </div>
82
+ </div>
83
+ </template>
84
+
85
+ <script>
86
+ import {PagedList} from 'vue-client'
87
+
88
+ export default {
89
+ title: 'WatchCollection',
90
+ data () {
91
+ return {
92
+ model: new PagedList('rs/sql/iot_getNewLoseUserQuery', 50)
93
+ }
94
+ },
95
+ props: ['row'],
96
+ ready () {
97
+ this.$refs.paged.$refs.criteria.search()
98
+ },
99
+ methods: {
100
+ search (args) {
101
+ args.condition = `${args.condition} and f_userfiles_id='${this.row.f_userfiles_id}'`
102
+ this.model.search(args.condition, args.model)
103
+ }
104
+ },
105
+ watch: {
106
+ // 监听查询对象
107
+ 'row' (val) {
108
+ if (this.row != null) {
109
+ this.$refs.paged.$refs.criteria.search()
110
+ }
111
+ }
112
+ }
113
+ }
114
+ </script>
115
+
@@ -37,4 +37,5 @@ export default function () {
37
37
  Vue.component('card-hand', (resolve) => { require(['./CardHand'], resolve) })
38
38
  // 基本信息 表具信息
39
39
  Vue.component('user-base-info-new', (resolve) => { require(['./UserBaseInfoNew'], resolve) })
40
+ Vue.component('user-info-detail-manage-new', (resolve) => { require(['./UserInfoDetailManageNew'], resolve) })
40
41
  }
@@ -151,6 +151,17 @@
151
151
  <input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_limit_times_big"
152
152
  condition="f_limit_times <= '{}' " placeholder="小于等于">
153
153
  </div>
154
+ <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}">
155
+ <label class="font_normal_body">限购类型</label>
156
+ <v-select
157
+ :value.sync="model.f_limit_type"
158
+ v-model="model.f_limit_type"
159
+ :options="$parent.$parent.limitTypes"
160
+ placeholder='请选择'
161
+ condition="f_limit_type = '{}'"
162
+ close-on-select>
163
+ </v-select>
164
+ </div>
154
165
  <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}">
155
166
  <label class="font_normal_body">气量/金额</label>
156
167
  <input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_limit_amount_small"
@@ -176,6 +187,7 @@
176
187
  <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>限购日期</th>
177
188
  <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>操作人</th>
178
189
  <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>限购次数</th>
190
+ <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>限购类型</th>
179
191
  <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>气量/金额</th>
180
192
  <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>审核状态</th>
181
193
  <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>移入原因</th>
@@ -196,6 +208,7 @@
196
208
  <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_parameter_value}}</td>
197
209
  <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_operator}}</td>
198
210
  <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_limit_times}}</td>
211
+ <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_limit_type}}</td>
199
212
  <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_limit_amount}}</td>
200
213
  <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_black_state}}</td>
201
214
  <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_comments}}</td>
@@ -248,9 +261,11 @@
248
261
  'f_parameter_value': '限购日期',
249
262
  'f_comments': '移入原因',
250
263
  'f_limit_times': '限购次数',
264
+ 'f_limit_type': '限购类型',
251
265
  'f_limit_amount': '气量/金额',
252
266
  'f_remark': '备注'
253
- }
267
+ },
268
+ limitTypes: [{label: '全部', value: ''}, {label: '气量', value: '气量'}, {label: '金额', value: '金额'}]
254
269
  }
255
270
  },
256
271
  props: {
@@ -130,6 +130,18 @@
130
130
  <input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_limit_times_big"
131
131
  condition="f_limit_times <= '{}' " placeholder="小于等于">
132
132
  </div>
133
+ <div class="col-sm-2 form-group">
134
+ <label class=" font_normal_body">限购类型</label>
135
+ <v-select
136
+ :value.sync="model.f_limit_type"
137
+ v-model="model.f_limit_type"
138
+ :options="$parent.$parent.limitTypes"
139
+ placeholder='请选择'
140
+ condition="f_limit_type = '{}'"
141
+ close-on-select
142
+ >
143
+ </v-select>
144
+ </div>
133
145
  <div class="form-group col-sm-2">
134
146
  <label class="font_normal_body">气量/金额</label>
135
147
  <input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_limit_amount_small"
@@ -178,6 +190,7 @@
178
190
  <th style="text-align: center;">移入(移出)原因</th>
179
191
  <th style="text-align: center;">备注</th>
180
192
  <th style="text-align: center;">限购次数</th>
193
+ <th style="text-align: center;">限购类型</th>
181
194
  <th style="text-align: center;">气量/金额</th>
182
195
  <th style="text-align: center;">管控级别</th>
183
196
  <th style="text-align: center;">限制功能</th>
@@ -204,6 +217,7 @@
204
217
  <td style="text-align: center;">{{row.f_comments}}</td>
205
218
  <td style="text-align: center;">{{row.f_remark}}</td>
206
219
  <td style="text-align: center;">{{row.f_limit_times}}</td>
220
+ <td style="text-align: center;">{{row.f_limit_type}}</td>
207
221
  <td style="text-align: center;">{{row.f_limit_amount}}</td>
208
222
  <td style="text-align: center;">{{row.f_level}}</td>
209
223
  <td style="text-align: center;">{{$parent.$parent.$parent.formatFunction(row.f_function)}}</td>
@@ -261,6 +275,7 @@
261
275
  'f_black_state': '审核状态',
262
276
  'f_audit_comments': '审核备注',
263
277
  'f_limit_times': '限购次数',
278
+ 'f_limit_type': '限购类型',
264
279
  'f_limit_amount': '气量(金额)',
265
280
  'f_level': '管控级别',
266
281
  'f_function': '限制功能',
@@ -269,7 +284,8 @@
269
284
  },
270
285
  operateType: [{label: '全部', value: ''}, {label: '移入重点用户 ', value: '移入重点用户'}, {label: '移出重点用户', value: '移出重点用户'}],
271
286
  fstate: [{label: '移入', value: '移入'}, {label: '移出', value: '移出'}],
272
- flevel: [{label: '高', value: '高'}, {label: '中', value: '中'}, {label: '低', value: '低'}]
287
+ flevel: [{label: '高', value: '高'}, {label: '中', value: '中'}, {label: '低', value: '低'}],
288
+ limitTypes: [{label: '全部', value: ''}, {label: '气量', value: '气量'}, {label: '金额', value: '金额'}]
273
289
  }
274
290
  },
275
291
  props: {
@@ -33,6 +33,8 @@ let MachineChargeService = {
33
33
  f_serial_number: f_serial_number,
34
34
  f_balance: row.f_balance,
35
35
  f_overdue: model.f_overdue,
36
+ userinfo_version: row.userinfo_version,
37
+ version: row.version,
36
38
  f_collection: model.f_collection - model.f_garbage_fee,
37
39
  f_preamount: model.f_totalcost,
38
40
  f_payment: model.f_payment[0],