sale-client 4.0.34-preview → 4.0.36-preview
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/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/components/FilesManage/MeterinfoTest.vue +12 -12
- package/src/components/charge/business/CardChangeFill.vue +28 -9
- package/src/components/charge/business/IOTMeterCenter.vue +1 -1
- package/src/components/charge/business/NoCardMeterCenter.vue +1 -1
- package/src/components/common/searchuploadfile/uploadFilesHistory.vue +3 -2
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +4 -6
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +20 -12
- package/src/components/common/userinfo_detail/apply_detail/Supervisory/Service/ResAreaSelectGroup.vue +1 -1
- package/src/components/common/userinfo_detail/iot_detail/QueryInstruct.vue +1 -1
- package/src/components/revenue/HandManager/MeterBookUser.vue +3 -16
- package/src/components/revenue/base/rightview/CardList.vue +3 -3
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketRecordList.vue +2 -2
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +30 -1
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/iotTable.vue +24 -10
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterListMaintain.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/otherRecords/specificInformation.vue +10 -6
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +8 -8
- package/src/filiale/alashan/business/CardMeterCenter.vue +610 -609
- package/src/filiale/alashan/business/IOTMeterCenter.vue +875 -0
- package/src/filiale/alashan/business/NoCardMeterCenter.vue +499 -0
- package/src/filiale/alashan/{CustQueryEticket.vue → eticket/CustQueryEticket.vue} +82 -25
- package/src/filiale/alashan/{EticketManage.vue → eticket/EticketManage.vue} +2 -11
- package/src/filiale/alashan/eticket/EticketPrint.vue +241 -0
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -0
- package/src/filiale/alashan/sale.js +12 -5
- package/src/filiale/bayan/FileUserFiles.vue +849 -0
- package/src/filiale/bayan/OtherChargeNew.vue +1 -1
- package/src/filiale/bayan/meterinfodetail.vue +1 -1
- package/src/filiale/bayan/sale.js +2 -0
- package/src/filiale/fugou/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +1 -1
- package/src/filiale/fugou/components/revenue/comprehen/ComprehenOperation/GiftFee/iotTable.vue +1 -1
- package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
- package/src/filiale/gehua/WebMeterList.vue +1 -1
- package/src/filiale/meihekou/MessageList.vue +1 -1
- package/src/filiale/rongchuang/BlackList.vue +290 -0
- package/src/filiale/rongchuang/EticketPrint.vue +1 -1
- package/src/filiale/rongchuang/bill/CustQueryEticket.vue +3 -2
- package/src/filiale/rongchuang/bill/EticketRecordList.vue +7 -3
- package/src/filiale/rongchuang/sale.js +2 -0
- package/src/filiale/ronghao/DisableManage.vue +1 -1
- package/src/filiale/ronghao/ReplaceCardManage.vue +1 -1
- package/src/filiale/ronghao/ShowCardSellGas.vue +5 -5
- package/src/filiale/ronghao/UserGeneralInfoTest.vue +4 -4
- package/src/filiale/shexian/UserBaseInfoNew.vue +2 -1
- package/src/filiale/shiquan/charge/CardMeterCenter.vue +1 -1
- package/src/filiale/siyang/DisableManage.vue +120 -0
- package/src/filiale/siyang/EticketModal.vue +95 -0
- package/src/filiale/siyang/ReplaceCardManage.vue +415 -0
- package/src/filiale/siyang/ShowCardSellGas.vue +931 -0
- package/src/filiale/siyang/UserGeneralInfoTest.vue +839 -0
- package/src/filiale/siyang/UserPaperInfoTest.vue +144 -0
- package/src/filiale/siyang/sale.js +17 -0
- package/src/filiale/tongchuan/EditWebMeterInfo.vue +4 -4
- package/src/filiale/tongchuan/plugins/FileManageService.js +1 -1
- package/src/filiale/wuhai/ChargeRecordQuery.vue +1 -1
- package/src/filiale/wuhai/deductionManage.vue +25 -0
- package/src/filiale/wuhai/feeDeduction.vue +201 -0
- package/src/filiale/wuhai/sale.js +2 -0
- package/src/filiale/yangchun/ChangeMeter.vue +2 -2
- package/src/filiale/yangchun/FilesManage/UserEssentialInfoTest.vue +10 -0
- package/src/filiale/yuansheng/UserBaseInfoNew.vue +1 -1
- package/src/filiale/yuncheng/FilesManage/MeterinfoTest.vue +4 -0
- package/src/plugins/CommonService.js +1 -1
package/build/dev-server.js
CHANGED
package/package.json
CHANGED
|
@@ -264,14 +264,10 @@
|
|
|
264
264
|
v-show="(formconfig && formconfig.f_use_limit && formconfig.f_use_limit.required) || !onlyshowmust"
|
|
265
265
|
v-if="getConfigShowItem('f_use_limit')">
|
|
266
266
|
<label class="font_normal_body">表具使用年限</label>
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
<v-select :value.sync="row.f_use_limit?row.f_use_limit:'10'" :options='uselimit'
|
|
272
|
-
:placeholder="getConfigPlaceholder('f_use_limit','使用年限')"
|
|
273
|
-
close-on-select
|
|
274
|
-
v-model='row.f_use_limit'></v-select>
|
|
267
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_use_limit"
|
|
268
|
+
v-validate:f_use_limit=getConfigValidate("f_use_limit",false)
|
|
269
|
+
:value.sync="row.f_use_limit"
|
|
270
|
+
placeholder='表具使用年限' >
|
|
275
271
|
</div>
|
|
276
272
|
<div class="col-sm-4 form-group" :class="[$m.f_gas_person.required ? 'has-error' : '']"
|
|
277
273
|
v-show="(formconfig && formconfig.f_gas_person && formconfig.f_gas_person.required) || !onlyshowmust"
|
|
@@ -655,7 +651,12 @@
|
|
|
655
651
|
try {
|
|
656
652
|
let result = yield http.load('GET', `rs/vue/MeterinfoTest.json`, {}, {resolveMsg: null, rejectMsg: null})
|
|
657
653
|
Object.assign(self.config, result.data)
|
|
658
|
-
if (!self.row.f_open_way)
|
|
654
|
+
if (!self.row.f_open_way) {
|
|
655
|
+
self.row.f_open_way = self.config.open_way
|
|
656
|
+
}
|
|
657
|
+
if (!self.row.f_usetype || self.row.f_usetype.length === 0) {
|
|
658
|
+
self.row.f_usetype = self.config.f_usetype
|
|
659
|
+
}
|
|
659
660
|
} catch (error) {
|
|
660
661
|
// 忽略704,文件找不到异常
|
|
661
662
|
if (error.status !== 704) {
|
|
@@ -704,7 +705,8 @@
|
|
|
704
705
|
stuckFlowmeterShow: false,
|
|
705
706
|
overduesetShow: true,
|
|
706
707
|
f_install_date: true,
|
|
707
|
-
|
|
708
|
+
f_usetype: '',
|
|
709
|
+
open_way: '指令开户'
|
|
708
710
|
},
|
|
709
711
|
mapShow: false,
|
|
710
712
|
viewsee: false,
|
|
@@ -724,7 +726,6 @@
|
|
|
724
726
|
usetype: this.$appdata.getParam('使用类型'),
|
|
725
727
|
usestate: this.$appdata.getParam('使用状态'),
|
|
726
728
|
aroundmeters: this.$appdata.getParam('左右表'),
|
|
727
|
-
uselimit: this.$appdata.getParam('表具使用年限'),
|
|
728
729
|
forceMeasure: this.$appdata.getParam('三项强制措施'),
|
|
729
730
|
garbagefee: this.$appdata.getParam('垃圾费'),
|
|
730
731
|
valvestate: this.$appdata.getParam('阀门状态'),
|
|
@@ -1003,7 +1004,6 @@
|
|
|
1003
1004
|
resolveMsg: null,
|
|
1004
1005
|
rejectMsg: '表号验证失败!!'
|
|
1005
1006
|
})
|
|
1006
|
-
console.log("res=====",res)
|
|
1007
1007
|
if (this.row.gasbrand[0].f_meter_type === '物联网表') {
|
|
1008
1008
|
if (res.data) {
|
|
1009
1009
|
this.row.f_meternumber = ''
|
|
@@ -40,9 +40,11 @@
|
|
|
40
40
|
v-next-el='sk' :disabled="row.f_collection_type !== '按气量'">
|
|
41
41
|
</div>
|
|
42
42
|
|
|
43
|
-
<div class="col-sm-4 form-group"
|
|
43
|
+
<div class="col-sm-4 form-group"
|
|
44
|
+
:class="[$v.f_preamount.required || $v.f_preamount.dctest? 'has-error' : 'has-success']">
|
|
44
45
|
<label for="f_preamount" class=" font_normal_body">预购金额</label>
|
|
45
46
|
<input class="input_search" style="width:60%" type="number" v-model="model.f_preamount"
|
|
47
|
+
v-validate:f_preamount='{dctest: [maxmoney, "<=" ]}'
|
|
46
48
|
v-scale="[model.f_preamount, 4]" placeholder="预购金额" disabled>
|
|
47
49
|
</div>
|
|
48
50
|
</div>
|
|
@@ -77,10 +79,15 @@
|
|
|
77
79
|
v-validate:f_totalcost='{required: true, dctest: [(openFee - 0), ">=" ] }' placeholder="应收金额"
|
|
78
80
|
v-next-el='sk' v-scale="[model.f_totalcost, 4]" :disabled="row.f_collection_type !== '按金额'">
|
|
79
81
|
</div>
|
|
80
|
-
<div class="col-sm-4 form-group" v-if="hasLimit">
|
|
82
|
+
<div class="col-sm-4 form-group" v-if="hasLimit&&limitgas">
|
|
81
83
|
<label class="font_normal_body">购气上限</label>
|
|
82
84
|
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="maxgas"
|
|
83
|
-
v-scale="[maxgas,
|
|
85
|
+
v-scale="[maxgas, 2]" placeholder='限购余气' disabled>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="col-sm-4 form-group" v-if="hasLimit&&limitmoney">
|
|
88
|
+
<label class="font_normal_body">金额上限</label>
|
|
89
|
+
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="maxmoney"
|
|
90
|
+
v-scale="[maxmoney, 2]" placeholder='限购金额' disabled>
|
|
84
91
|
</div>
|
|
85
92
|
<!--<div class="col-sm-4 form-group" v-if="!hasLimit">-->
|
|
86
93
|
<!--</div>-->
|
|
@@ -330,11 +337,20 @@
|
|
|
330
337
|
console.log('获取限购值', getLimit)
|
|
331
338
|
self.hasLimit = getLimit.data.hasLimit
|
|
332
339
|
if (self.hasLimit) {
|
|
333
|
-
if (getLimit.data.f_limit_value
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
340
|
+
if (getLimit.data.f_limit_value || getLimit.data.f_limit_amount) {
|
|
341
|
+
if (getLimit.data.f_limit_value < 0 || getLimit.data.f_limit_amount < 0) {
|
|
342
|
+
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
343
|
+
self.$dispatch('refresh')
|
|
344
|
+
} else {
|
|
345
|
+
if (getLimit.data.f_limit_value) {
|
|
346
|
+
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
347
|
+
self.limitgas = true
|
|
348
|
+
}
|
|
349
|
+
if (getLimit.data.f_limit_amount) {
|
|
350
|
+
self.maxmoney = (getLimit.data.f_limit_amount - 0)
|
|
351
|
+
self.limitmoney = true
|
|
352
|
+
}
|
|
353
|
+
}
|
|
338
354
|
}
|
|
339
355
|
}
|
|
340
356
|
}
|
|
@@ -392,6 +408,9 @@
|
|
|
392
408
|
validateOk: false,
|
|
393
409
|
|
|
394
410
|
maxgas: 99999999,
|
|
411
|
+
maxmoney: 99999999,
|
|
412
|
+
limitmoney: false,
|
|
413
|
+
limitgas: false,
|
|
395
414
|
|
|
396
415
|
clickConfirm: false,
|
|
397
416
|
|
|
@@ -416,7 +435,7 @@
|
|
|
416
435
|
let getResult = this.$CommonService.calRemanentMoney(this.row)
|
|
417
436
|
if (this.row.f_collection_type === '按气量') {
|
|
418
437
|
if (getResult > 0) {
|
|
419
|
-
this.model.f_pregas = this.model.f_fill_gas = getResult
|
|
438
|
+
this.model.f_pregas = this.model.f_fill_gas = getResult - 0
|
|
420
439
|
this.model.f_preamount = 0
|
|
421
440
|
} else {
|
|
422
441
|
this.model.f_pregas = ''
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
self.hasLimit = getLimit.data.hasLimit
|
|
429
429
|
if (self.hasLimit) {
|
|
430
430
|
if (getLimit.data.f_limit_value || getLimit.data.f_limit_amount) {
|
|
431
|
-
if (getLimit.data.f_limit_value < 0
|
|
431
|
+
if (getLimit.data.f_limit_value < 0 || getLimit.data.f_limit_amount < 0) {
|
|
432
432
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
433
433
|
self.$dispatch('refresh')
|
|
434
434
|
} else {
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
self.hasLimit = getLimit.data.hasLimit
|
|
298
298
|
if (self.hasLimit) {
|
|
299
299
|
if (getLimit.data.f_limit_value || getLimit.data.f_limit_amount) {
|
|
300
|
-
if (getLimit.data.f_limit_value < 0
|
|
300
|
+
if (getLimit.data.f_limit_value < 0 || getLimit.data.f_limit_amount < 0) {
|
|
301
301
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
302
302
|
self.$dispatch('refresh')
|
|
303
303
|
} else {
|
|
@@ -154,10 +154,11 @@ export default {
|
|
|
154
154
|
let temp = res.data.array[j].f_downloadpath
|
|
155
155
|
let URL = temp.substring(temp.lastIndexOf(':\\') + 2)
|
|
156
156
|
if (res.data.array[j].fusetype == '安检照片') {
|
|
157
|
-
res.data.array[j].f_downloadURL = '
|
|
157
|
+
res.data.array[j].f_downloadURL = location.protocol + '//' + location.host + '/rs/image/file/' + res.data.array[j].f_filename
|
|
158
158
|
} else {
|
|
159
|
-
res.data.array[j].f_downloadURL = '
|
|
159
|
+
res.data.array[j].f_downloadURL = location.protocol + '//' + location.host + '/' + URL
|
|
160
160
|
}
|
|
161
|
+
console.log('res.data.array[j].f_downloadURL', res.data.array[j].f_downloadURL)
|
|
161
162
|
this.files[i].arrays.push(res.data.array[j])
|
|
162
163
|
}
|
|
163
164
|
}
|
|
@@ -498,14 +498,12 @@ export default {
|
|
|
498
498
|
if (this.row.parentname === 'charge-manage') {
|
|
499
499
|
this.$emit('cancel-re')
|
|
500
500
|
} else {
|
|
501
|
-
|
|
501
|
+
if (window.parent !== window) {
|
|
502
|
+
window.parent.postMessage({type: 'route', path:'/chargeMange/charge-manage'}, '*')
|
|
503
|
+
} else {
|
|
502
504
|
this.$goto('charge-manage', {f: this.$login.f}, 'main')
|
|
503
|
-
} catch (e) {
|
|
504
|
-
}
|
|
505
|
-
try {
|
|
506
|
-
window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}))
|
|
507
|
-
} catch (e) {
|
|
508
505
|
}
|
|
506
|
+
// window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}))
|
|
509
507
|
}
|
|
510
508
|
},
|
|
511
509
|
openUser () {
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
<saletab header="用户重点记录" >
|
|
96
96
|
<user-key-record :row="row" @deal-msg="dealMsg"></user-key-record>
|
|
97
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
|
|
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
104
|
</saletabbut>
|
|
105
105
|
</div>
|
|
106
106
|
</div>
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
import UserDeviceQuery from './ic_detail/UserDeviceQuery'
|
|
128
128
|
import contractSigningList from './ic_detail/contractSigningList'
|
|
129
129
|
import UserKeyRecord from './ic_detail/UserKeyRecord'
|
|
130
|
-
import SupervisoryControl from './apply_detail/Supervisory/SupervisoryControl'
|
|
131
|
-
import ApplyChargeSearch from './apply_detail/applyCharge/ApplyChargeSearch'
|
|
130
|
+
// import SupervisoryControl from './apply_detail/Supervisory/SupervisoryControl'
|
|
131
|
+
// import ApplyChargeSearch from './apply_detail/applyCharge/ApplyChargeSearch'
|
|
132
132
|
// 导入物联网相关查询
|
|
133
133
|
import QueryInstruct from './iot_detail/QueryInstruct'
|
|
134
134
|
import QueryHistoryInstruct from './iot_detail/QueryHistoryInstruct'
|
|
@@ -170,9 +170,9 @@ export default {
|
|
|
170
170
|
MachineRecordQuery,
|
|
171
171
|
UserDeviceQuery,
|
|
172
172
|
contractSigningList,
|
|
173
|
-
UserKeyRecord
|
|
174
|
-
SupervisoryControl,
|
|
175
|
-
ApplyChargeSearch
|
|
173
|
+
UserKeyRecord
|
|
174
|
+
// SupervisoryControl,
|
|
175
|
+
// ApplyChargeSearch
|
|
176
176
|
},
|
|
177
177
|
data () {
|
|
178
178
|
return {
|
|
@@ -204,6 +204,9 @@ export default {
|
|
|
204
204
|
condition = `f_userinfo_id = '${this.f_userinfo_id}'`
|
|
205
205
|
} else if (this.f_userinfo_code) {
|
|
206
206
|
condition = `f_userinfo_code = '${this.f_userinfo_code}'`
|
|
207
|
+
}else{
|
|
208
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
209
|
+
return
|
|
207
210
|
}
|
|
208
211
|
|
|
209
212
|
let getBaseInfo = await http.load('POST', 'api/af-revenue/sql/iot_getUserBaseData',
|
|
@@ -213,7 +216,12 @@ export default {
|
|
|
213
216
|
},
|
|
214
217
|
|
|
215
218
|
cancel (val) {
|
|
216
|
-
|
|
219
|
+
// 判断当前是否在 iframe 环境中
|
|
220
|
+
if (window.parent !== window) {
|
|
221
|
+
window.parent.postMessage({type: 'goBack'}, '*')
|
|
222
|
+
} else {
|
|
223
|
+
this.$emit('cancel-main', val)
|
|
224
|
+
}
|
|
217
225
|
},
|
|
218
226
|
|
|
219
227
|
cancelRe (val) {
|
|
@@ -81,7 +81,7 @@ export default {
|
|
|
81
81
|
//获取区域地址
|
|
82
82
|
async getResList() {
|
|
83
83
|
let http = new HttpResetClass()
|
|
84
|
-
let req = await http.load('POST', '/
|
|
84
|
+
let req = await http.load('POST', '/api/af-revenue/logic/resAreaSelect', {
|
|
85
85
|
userid: this.$login.f.id,
|
|
86
86
|
orgid: this.$login.f.orgid
|
|
87
87
|
}, {resolveMsg: null, rejectMsg: '获取区域地址失败'})
|
|
@@ -227,7 +227,7 @@ export default {
|
|
|
227
227
|
cancelreason: '',
|
|
228
228
|
cancelid: '',
|
|
229
229
|
f_userfiles_id: '',
|
|
230
|
-
model: new PagedList('api/af-revenue/sql/insturctDetailQuery', 30),
|
|
230
|
+
model: new PagedList('api/af-revenue/sql/insturctDetailQuery', 30, {f_userfiles_id: this.row.f_userfiles_id}),
|
|
231
231
|
row: null,
|
|
232
232
|
searchshow: false,
|
|
233
233
|
show: false,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<export-excel
|
|
19
19
|
:data="{condition: $parent.$parent.condition,orderitem: $parent.$parent.orderitem}"
|
|
20
20
|
:field="$parent.$parent.getfield"
|
|
21
|
-
sqlurl="
|
|
21
|
+
sqlurl="rs/logic/saleExport" sql-name="getMeterBookUser" :template-name="$parent.$parent.model.rows[0].f_book_name+'抄表册名'"
|
|
22
22
|
:choose-col="true"></export-excel>
|
|
23
23
|
<button class="button_export button_spacing" @click="$parent.$parent.importFile">导入</button>
|
|
24
24
|
<div
|
|
@@ -209,6 +209,7 @@
|
|
|
209
209
|
<td style="text-align:center" v-if="$parent.$parent.$parent.removebook">
|
|
210
210
|
<nobr>
|
|
211
211
|
<span title="移出表册" class="glyphicon glyphicon-paste" style="font-size: 20px" @click="$parent.$parent.$parent.delete($index, row)" v-el:cba></span>
|
|
212
|
+
<!-- <button class="btn btn-deltete width-10" @click="$parent.$parent.$parent.delete($index, row)"><a style="color: #e51a1abf"><b>移出表册</b></a></button>-->
|
|
212
213
|
</nobr>
|
|
213
214
|
</td>
|
|
214
215
|
<td style="text-align:center"><nobr><span @click="$parent.$parent.$parent.dealmsg(row)"><a><b>{{row.f_userinfo_code}}</b></a></span></nobr></td>
|
|
@@ -275,7 +276,7 @@
|
|
|
275
276
|
<modal :show.sync="show" width="800px" title="文件导入" v-ref:modal large backdrop="false">
|
|
276
277
|
<article slot="modal-body" class="modal-body">
|
|
277
278
|
<file-upload class="my-file-uploader " name="UploadFile" style="border-radius: 2px;"
|
|
278
|
-
action="
|
|
279
|
+
action="rs/file/uploadFile" tagname="导入表册用户" v-ref:file multiple></file-upload>
|
|
279
280
|
</article>
|
|
280
281
|
<footer slot="modal-footer" class="modal-footer">
|
|
281
282
|
</footer>
|
|
@@ -495,11 +496,6 @@
|
|
|
495
496
|
}
|
|
496
497
|
}
|
|
497
498
|
},
|
|
498
|
-
// dblclick(obj){
|
|
499
|
-
// console.log("-------------------------row",obj)
|
|
500
|
-
// this.row=obj
|
|
501
|
-
// this.sortShow=true
|
|
502
|
-
// },
|
|
503
499
|
async saveEditSort () {
|
|
504
500
|
for (let item of this.$refs.paged.$refs.grid.model.rows) {
|
|
505
501
|
let param = {
|
|
@@ -524,11 +520,9 @@
|
|
|
524
520
|
let temp = rows[index + 1]
|
|
525
521
|
rows[index + 1] = rows[index]
|
|
526
522
|
rows[index] = temp
|
|
527
|
-
|
|
528
523
|
let tempsort = rows[index + 1].f_meter_book_sort
|
|
529
524
|
rows[index + 1].f_meter_book_sort = rows[index].f_meter_book_sort
|
|
530
525
|
rows[index].f_meter_book_sort = tempsort
|
|
531
|
-
|
|
532
526
|
this.$refs.paged.$refs.grid.model.rows = rows
|
|
533
527
|
}
|
|
534
528
|
},
|
|
@@ -538,13 +532,11 @@
|
|
|
538
532
|
this.$showAlert('已经是本页第一个了', 'warning', 2000)
|
|
539
533
|
} else {
|
|
540
534
|
let rows = this.$refs.paged.$refs.grid.model.rows
|
|
541
|
-
|
|
542
535
|
this.$refs.paged.$refs.grid.model.rows = []
|
|
543
536
|
let temp = rows[index - 1]
|
|
544
537
|
rows[index - 1] = rows[index]
|
|
545
538
|
rows[index] = temp
|
|
546
539
|
console.log('--------------this.$refs.paged.$refs.grid.model.rows,', rows)
|
|
547
|
-
|
|
548
540
|
let tempsort = rows[index - 1].f_meter_book_sort
|
|
549
541
|
rows[index - 1].f_meter_book_sort = rows[index].f_meter_book_sort
|
|
550
542
|
rows[index].f_meter_book_sort = tempsort
|
|
@@ -574,7 +566,6 @@
|
|
|
574
566
|
bookname: ''
|
|
575
567
|
}
|
|
576
568
|
},
|
|
577
|
-
|
|
578
569
|
userTypeChange () {
|
|
579
570
|
this.gasproperties = []
|
|
580
571
|
if (this.$refs.paged.$refs.criteria.model !== null) {
|
|
@@ -584,7 +575,6 @@
|
|
|
584
575
|
this.gasproperties = [{label: '全部', value: ''}]
|
|
585
576
|
}
|
|
586
577
|
},
|
|
587
|
-
|
|
588
578
|
async initParams () {
|
|
589
579
|
console.log('=================>加载', this.$GetSaleParam.getGasbrand())
|
|
590
580
|
let arr = []
|
|
@@ -659,9 +649,6 @@
|
|
|
659
649
|
},
|
|
660
650
|
events: {
|
|
661
651
|
onFileUpload: function (file, res) {
|
|
662
|
-
// let URL = res.f_downloadpath.substring(res.f_downloadpath.lastIndexOf(":\\") + 2)
|
|
663
|
-
// res.f_downloadpath = "http://" + location.host + "/" + URL
|
|
664
|
-
// res.f_downloadpath.replace('\\','/')
|
|
665
652
|
this.$resetpost('api/af-revenue/logic/upLoadBookFile',
|
|
666
653
|
{data: {
|
|
667
654
|
condition: this.condition,
|
|
@@ -494,11 +494,11 @@
|
|
|
494
494
|
name = 'api/af-revenue/report/garbageChargeReport'
|
|
495
495
|
} else if (type === '物联网赠费') {
|
|
496
496
|
name = 'api/af-revenue/report/iotGiftFee'
|
|
497
|
-
}else if (type === '物联网赠气') {
|
|
497
|
+
} else if (type === '物联网赠气') {
|
|
498
498
|
name = 'api/af-revenue/report/iotGiftGas'
|
|
499
|
-
}else if (type === '卡表赠费') {
|
|
499
|
+
} else if (type === '卡表赠费') {
|
|
500
500
|
name = 'api/af-revenue/report/icGiftFee'
|
|
501
|
-
}else if (type === '
|
|
501
|
+
} else if (type === '卡表赠气') {
|
|
502
502
|
name = 'api/af-revenue/report/icGiftGas'
|
|
503
503
|
}
|
|
504
504
|
return name
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<div class="form-group col-sm-2">
|
|
92
92
|
<label class="font_normal_body">收款人 </label>
|
|
93
93
|
<input type="text" class="form-control" v-model="model.sell_operator" style="width:60%"
|
|
94
|
-
condition="sell_operator = '{}'" placeholder="收款人"
|
|
94
|
+
condition="(s.sell_operator = '{}' or other.sell_operator = '{}') " placeholder="收款人"
|
|
95
95
|
>
|
|
96
96
|
</div>
|
|
97
97
|
<div class="col-sm-2 form-group">
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<v-select :value.sync="model.f_user_type"
|
|
100
100
|
:options='$parent.$parent.usertypes'
|
|
101
101
|
placeholder='请选择' v-model="model.f_user_type"
|
|
102
|
-
condition="f_user_type = '{}'"
|
|
102
|
+
condition="(s.f_user_type = '{}' or uf.f_user_type = '{}') "
|
|
103
103
|
close-on-select></v-select>
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
<button class="button_clear" @click="clean()" >取消</button>
|
|
57
57
|
</div>
|
|
58
58
|
</validator>
|
|
59
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
59
60
|
</div>
|
|
60
61
|
</div>
|
|
61
62
|
<upload :blodid="row.f_userinfo_id" :businessid="randomBusinessId" isremark="true" fusetype="赠气"></upload>
|
|
@@ -123,6 +124,10 @@
|
|
|
123
124
|
await self.$resetpost('api/af-revenue/logic/otherGasRollback', {data: rollback}, {rejectMsg: '赠气回滚出错', resolveMsg: null})
|
|
124
125
|
}
|
|
125
126
|
}
|
|
127
|
+
let asyncIcTable = async function (self) {
|
|
128
|
+
await self.$getConfig(self, 'icTable')
|
|
129
|
+
console.log('卡表赠气赠费config', self.config)
|
|
130
|
+
}
|
|
126
131
|
|
|
127
132
|
export default {
|
|
128
133
|
title: '卡表赠气赠费',
|
|
@@ -144,6 +149,14 @@
|
|
|
144
149
|
f_reason: '',
|
|
145
150
|
f_add_gas: '不计入'
|
|
146
151
|
},
|
|
152
|
+
config: {
|
|
153
|
+
hasPrint: false
|
|
154
|
+
},
|
|
155
|
+
billData: {
|
|
156
|
+
url: 'rs/report/icGiftGas',
|
|
157
|
+
operator: this.$login.f.name,
|
|
158
|
+
billnumber: ''
|
|
159
|
+
},
|
|
147
160
|
print: false
|
|
148
161
|
}
|
|
149
162
|
},
|
|
@@ -153,6 +166,12 @@
|
|
|
153
166
|
this.row.cardInfo = this.cardData
|
|
154
167
|
console.log('卡信息', this.row.cardInfo)
|
|
155
168
|
this.getRandomId()
|
|
169
|
+
asyncIcTable(this)
|
|
170
|
+
if (this.isGas) {
|
|
171
|
+
this.billData.url = 'rs/report/icGiftGas'
|
|
172
|
+
} else {
|
|
173
|
+
this.billData.url = 'rs/report/icGiftFee'
|
|
174
|
+
}
|
|
156
175
|
},
|
|
157
176
|
events: {
|
|
158
177
|
// 删除Resid数组元素
|
|
@@ -185,7 +204,14 @@
|
|
|
185
204
|
}
|
|
186
205
|
this.$resetpost('api/af-revenue/logic/updatefiles', data)
|
|
187
206
|
|
|
188
|
-
this
|
|
207
|
+
if (this.config.hasPrint) {
|
|
208
|
+
this.row.id = res
|
|
209
|
+
this.row.f_bill_type = this.isGas ? '卡表赠气' : '卡表赠费'
|
|
210
|
+
this.row.f_bill_style = '普通收据'
|
|
211
|
+
this.print = true
|
|
212
|
+
} else {
|
|
213
|
+
this.$dispatch('success')
|
|
214
|
+
}
|
|
189
215
|
})
|
|
190
216
|
},
|
|
191
217
|
pregas () {
|
|
@@ -251,6 +277,9 @@
|
|
|
251
277
|
clean () {
|
|
252
278
|
this.$info('取消操作')
|
|
253
279
|
this.$dispatch('cancelclean', this.row)
|
|
280
|
+
},
|
|
281
|
+
printok () {
|
|
282
|
+
this.$dispatch('success')
|
|
254
283
|
}
|
|
255
284
|
},
|
|
256
285
|
computed: {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
</validator>
|
|
60
60
|
<!--<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>-->
|
|
61
61
|
<!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
|
|
62
|
-
|
|
62
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
63
63
|
</div>
|
|
64
64
|
<upload :blodid="row.f_userinfo_id" v-ref:upload :businessid="randomBusinessId" :isremark="true" fusetype="赠气"></upload>
|
|
65
65
|
</template>
|
|
@@ -90,7 +90,16 @@ export default {
|
|
|
90
90
|
f_preamount: 0,
|
|
91
91
|
f_add_gas: '计入',
|
|
92
92
|
f_comments: ''
|
|
93
|
-
}
|
|
93
|
+
},
|
|
94
|
+
config: {
|
|
95
|
+
hasPrint: false
|
|
96
|
+
},
|
|
97
|
+
billData: {
|
|
98
|
+
url: 'rs/report/iotGiftGas',
|
|
99
|
+
operator: this.$login.f.name,
|
|
100
|
+
billnumber: ''
|
|
101
|
+
},
|
|
102
|
+
print: false
|
|
94
103
|
|
|
95
104
|
}
|
|
96
105
|
},
|
|
@@ -101,8 +110,10 @@ export default {
|
|
|
101
110
|
this.getRandomId()
|
|
102
111
|
if (this.row.f_collection_type === '按气量') {
|
|
103
112
|
this.model.f_operat_type = ['物联网赠气']
|
|
113
|
+
this.billData.url = 'rs/report/iotGiftGas'
|
|
104
114
|
} else {
|
|
105
115
|
this.model.f_operat_type = ['物联网赠费']
|
|
116
|
+
this.billData.url = 'rs/report/iotGiftFee'
|
|
106
117
|
}
|
|
107
118
|
},
|
|
108
119
|
events: {
|
|
@@ -168,19 +179,22 @@ export default {
|
|
|
168
179
|
f_blobid: res.data.id
|
|
169
180
|
}
|
|
170
181
|
this.$resetpost('api/af-revenue/logic/updatefiles', data)
|
|
171
|
-
this.
|
|
182
|
+
if (this.config.hasPrint) {
|
|
183
|
+
this.row.id = res.data.id
|
|
184
|
+
this.row.f_bill_type = this.row.f_collection_type === '按气量' ? '物联网赠气' : '物联网赠费'
|
|
185
|
+
this.row.f_bill_style = '普通收据'
|
|
186
|
+
this.print = true
|
|
187
|
+
} else {
|
|
188
|
+
this.clean()
|
|
189
|
+
}
|
|
172
190
|
})
|
|
173
191
|
},
|
|
174
|
-
clean () {
|
|
175
|
-
this.$dispatch('refresh')
|
|
176
|
-
},
|
|
177
192
|
printok () {
|
|
178
193
|
this.$dispatch('success')
|
|
179
194
|
},
|
|
180
|
-
|
|
181
|
-
this
|
|
182
|
-
|
|
183
|
-
},
|
|
195
|
+
clean () {
|
|
196
|
+
this.$dispatch('refresh')
|
|
197
|
+
}
|
|
184
198
|
}
|
|
185
199
|
}
|
|
186
200
|
</script>
|
package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterListMaintain.vue
CHANGED
|
@@ -394,7 +394,7 @@ const myMap = new Map()
|
|
|
394
394
|
}
|
|
395
395
|
console.log('查询。。。', this.f_orgid)
|
|
396
396
|
if (!this.orgCondtionStr) {
|
|
397
|
-
args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
|
|
397
|
+
args.condition = `${args.condition}` + ' and f_orgid = ' + `'${this.$login.f.orgid}'`
|
|
398
398
|
} else {
|
|
399
399
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
400
400
|
}
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
<!-- <label class="font_normal_body">收据类型</label>-->
|
|
33
33
|
<!-- <input type="text" v-model="model.bill_style" style="width: 60%" class="input_search">-->
|
|
34
34
|
<!-- </div>-->
|
|
35
|
-
<div class="col-sm-4">
|
|
35
|
+
<div class="col-sm-4" title="参数:操作时间, 权限:【其他收费金额修改】">
|
|
36
36
|
<label class="font_normal_body">缴费金额</label>
|
|
37
|
-
<input type="text" v-model="model.f_collection" disabled=
|
|
37
|
+
<input type="text" v-model="model.f_collection" :disabled="!editcollection" style="width: 60%" class="input_search">
|
|
38
38
|
</div>
|
|
39
39
|
<div class="col-sm-4">
|
|
40
40
|
<label class="font_normal_body">收费时间</label>
|
|
@@ -114,15 +114,15 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
</div>
|
|
116
116
|
<div class="row auto">
|
|
117
|
-
<div class="form-group form-input-group">
|
|
117
|
+
<div class="form-group form-input-group" title="参数:操作时间, 权限:【其他收费金额修改】">
|
|
118
118
|
<label for="" class="control-label">数量:</label>
|
|
119
|
-
<input type="text" width="300px" class="form-control" v-model="mingxi.number"
|
|
119
|
+
<input type="text" width="300px" class="form-control" v-model="mingxi.number" :disabled="!editcollection">
|
|
120
120
|
</div>
|
|
121
121
|
</div>
|
|
122
122
|
<div class="row auto">
|
|
123
|
-
<div class="form-group form-input-group">
|
|
123
|
+
<div class="form-group form-input-group" title="参数:操作时间, 权限:【其他收费金额修改】">
|
|
124
124
|
<label for="" class="control-label">单价:</label>
|
|
125
|
-
<input type="text" width="300px" class="form-control" v-model="mingxi.unitprice" >
|
|
125
|
+
<input type="text" width="300px" class="form-control" v-model="mingxi.unitprice" :disabled="!editcollection" >
|
|
126
126
|
</div>
|
|
127
127
|
</div>
|
|
128
128
|
<div class="row auto">
|
|
@@ -166,6 +166,7 @@
|
|
|
166
166
|
bill_styles: this.$appdata.getParam('打印格式') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('打印格式')] : [],
|
|
167
167
|
payments: this.$appdata.getParam('付款方式') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')] : [],
|
|
168
168
|
editshow: false,
|
|
169
|
+
editcollection: false,
|
|
169
170
|
mingxi: '',
|
|
170
171
|
oldmingxi: '',
|
|
171
172
|
brand_spec: '',
|
|
@@ -206,6 +207,9 @@
|
|
|
206
207
|
recordlist: Array
|
|
207
208
|
},
|
|
208
209
|
ready () {
|
|
210
|
+
if (this.$login.r.includes('其他收费金额修改')) {
|
|
211
|
+
this.editcollection = true
|
|
212
|
+
}
|
|
209
213
|
this.cou()
|
|
210
214
|
this.oldmodel = JSON.parse(JSON.stringify(this.model))
|
|
211
215
|
console.log(this.model)
|