sale-client 3.5.259 → 3.5.261
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 +1 -23
- package/package.json +1 -1
- package/src/components/revenue/batchPreloads/batchPreloadsList.vue +9 -0
- package/src/filiale/shanxian/ChangeMeter.vue +16 -9
- package/src/filiale/wenxi/FilesManageNew/UserEssentialInfoTest.vue +0 -1
- package/src/filiale/wenxi/UserGeneralInfoTest.vue +12 -4
- package/src/filiale/yuansheng/MeterinfoTest.vue +3 -3
- package/src/plugins/FileManageService.js +1 -0
package/build/dev-server.js
CHANGED
|
@@ -8,6 +8,7 @@ var devConfig = {
|
|
|
8
8
|
hot: true,
|
|
9
9
|
publicPath: baseConfig.output.publicPath,
|
|
10
10
|
historyApiFallback: true,
|
|
11
|
+
host: '127.0.0.1',
|
|
11
12
|
port: 8089,
|
|
12
13
|
open: true,
|
|
13
14
|
stats: {
|
|
@@ -23,29 +24,6 @@ var devConfig = {
|
|
|
23
24
|
'/rs/search': {
|
|
24
25
|
target: serverRul
|
|
25
26
|
},
|
|
26
|
-
'/rs/sql/sale_getUser': {
|
|
27
|
-
target: localUrl
|
|
28
|
-
},
|
|
29
|
-
'/rs/logic/chargeCancel': {
|
|
30
|
-
target: localUrl
|
|
31
|
-
},
|
|
32
|
-
'/rs/sql/gasCancel': {
|
|
33
|
-
target: localUrl
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
'/rs/logic/marginCharge': {
|
|
37
|
-
target: localUrl
|
|
38
|
-
},
|
|
39
|
-
'/rs/logic/sale_cardCharge_logic': {
|
|
40
|
-
target: localUrl
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
'/rs/logic/getOperBtns': {
|
|
44
|
-
target: localUrl
|
|
45
|
-
},
|
|
46
|
-
'/rs/logic/commonCal': {
|
|
47
|
-
target: localUrl
|
|
48
|
-
},
|
|
49
27
|
// 查找资源服务数据
|
|
50
28
|
'/rs/logic/getLogin': {
|
|
51
29
|
target: serverRul
|
package/package.json
CHANGED
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
<th>用户姓名</th>
|
|
58
58
|
<th>用气性质</th>
|
|
59
59
|
<th>收费金额</th>
|
|
60
|
+
<th>付款方式</th>
|
|
60
61
|
<th>收费时间</th>
|
|
61
62
|
<th>记录状态</th>
|
|
62
63
|
<th>生成记录人员</th>
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
<td>{{ row.f_user_name }}</td>
|
|
71
72
|
<td>{{ row.f_gasproperties }}</td>
|
|
72
73
|
<td>{{ row.f_collection }}</td>
|
|
74
|
+
<td>{{ row.f_payment }}</td>
|
|
73
75
|
<td>{{ row.f_operate_date }}</td>
|
|
74
76
|
<td>{{ row.f_state }}</td>
|
|
75
77
|
<td>{{ row.f_operator }}</td>
|
|
@@ -222,4 +224,11 @@ export default {
|
|
|
222
224
|
}
|
|
223
225
|
</script>
|
|
224
226
|
<style lang="less" scoped>
|
|
227
|
+
.table_sy {
|
|
228
|
+
tr {
|
|
229
|
+
td {
|
|
230
|
+
text-align: center;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
225
234
|
</style>
|
|
@@ -552,16 +552,17 @@ export default {
|
|
|
552
552
|
},
|
|
553
553
|
async confirm () {
|
|
554
554
|
let msg = ''
|
|
555
|
-
if (this.row.f_meter_type.includes('机表')) {
|
|
555
|
+
if (this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) {
|
|
556
556
|
if ((parseInt(this.model.f_using_base_old) > parseInt(this.row.f_meter_base))) {
|
|
557
|
-
msg = '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录'
|
|
557
|
+
msg = (this.row.f_meter_type === '机表' ? '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录' : '该用户表底数大于上次抄表底数,请确定是否进行结算')
|
|
558
558
|
} else if (this.row.f_capacity && this.row.f_capacity > 0 && (parseInt(this.model.f_using_base_old) < parseInt(this.row.f_meter_base))) {
|
|
559
559
|
msg = '该用户表底数大于上次抄表底数,且已超越最大量程,请确定是否继续生成欠费记录'
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
if (this.row.f_meter_type.includes('机表') && msg) {
|
|
562
|
+
if ((this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) && msg) {
|
|
563
563
|
this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
|
|
564
564
|
if (res === 'confirm') {
|
|
565
|
+
let url = this.row.f_meter_type.includes('物联网表') ? 'rs/logic/changeMeterWebHand' : 'rs/logic/changeMeterHand'
|
|
565
566
|
let data = {
|
|
566
567
|
downDate: this.$login.toStandardTimeString(),
|
|
567
568
|
startDate: this.$login.toStandardDateString(),
|
|
@@ -575,9 +576,10 @@ export default {
|
|
|
575
576
|
f_serial_number: this.model.f_serial_number,
|
|
576
577
|
f_meterbase: this.model.f_using_base_old,
|
|
577
578
|
f_meter_brand: this.row.f_meter_brand,
|
|
579
|
+
f_meter_classify: this.row.f_meter_type,
|
|
578
580
|
f_price_id: this.row.f_price_id
|
|
579
581
|
}
|
|
580
|
-
this.$resetpost(
|
|
582
|
+
this.$resetpost(url, {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
|
|
581
583
|
console.log('成功')
|
|
582
584
|
if (this.model.metermessage.f_meter_type[0] != '机表') {
|
|
583
585
|
this.$dispatch('refresh')
|
|
@@ -721,16 +723,17 @@ export default {
|
|
|
721
723
|
this.Iotjisuan()
|
|
722
724
|
}
|
|
723
725
|
let msg = ''
|
|
724
|
-
if (this.row.f_meter_type.includes('机表')) {
|
|
726
|
+
if (this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) {
|
|
725
727
|
if ((parseInt(this.model.f_using_base_old) > parseInt(this.row.f_meter_base))) {
|
|
726
|
-
msg = '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录'
|
|
728
|
+
msg = (this.row.f_meter_type === '机表' ? '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录' : '该用户表底数大于上次抄表底数,请确定是否进行结算')
|
|
727
729
|
} else if (this.row.f_capacity && this.row.f_capacity > 0 && (parseInt(this.model.f_using_base_old) < parseInt(this.row.f_meter_base))) {
|
|
728
730
|
msg = '该用户表底数大于上次抄表底数,且已超越最大量程,请确定是否继续生成欠费记录'
|
|
729
731
|
}
|
|
730
732
|
}
|
|
731
|
-
if (this.row.f_meter_type.includes('机表') && msg) {
|
|
733
|
+
if ((this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) && msg) {
|
|
732
734
|
this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
|
|
733
735
|
if (res === 'confirm') {
|
|
736
|
+
let url = this.row.f_meter_type.includes('物联网表') ? 'rs/logic/changeMeterWebHand' : 'rs/logic/changeMeterHand'
|
|
734
737
|
let data = {
|
|
735
738
|
downDate: this.$login.toStandardTimeString(),
|
|
736
739
|
startDate: this.$login.toStandardDateString(),
|
|
@@ -746,9 +749,13 @@ export default {
|
|
|
746
749
|
f_meter_brand: this.row.f_meter_brand,
|
|
747
750
|
f_price_id: this.row.f_price_id
|
|
748
751
|
}
|
|
749
|
-
this.$resetpost(
|
|
752
|
+
this.$resetpost(url, {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
|
|
750
753
|
console.log('成功')
|
|
751
|
-
this
|
|
754
|
+
if (this.row.f_meter_type.includes('物联网表')) {
|
|
755
|
+
this.$dispatch('refresh')
|
|
756
|
+
} else {
|
|
757
|
+
this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
|
|
758
|
+
}
|
|
752
759
|
})
|
|
753
760
|
}
|
|
754
761
|
})
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<button class="button_search" style="width: max-content" @click="openBankAccount()" v-if="data.meterinfo[0].f_user_type[0] === '非民用' && ($login.r.includes('银行开户'))">银行开户</button>
|
|
12
12
|
</div>
|
|
13
13
|
<file-user-essential-info :usertype="row?row.f_user_type:null" :userphonelist="data.baseinfo.userphonelist" :baseinfo="data.baseinfo" :addressinfo="data.addressinfo" @valid="essentialInfo = true"
|
|
14
|
-
:flag="
|
|
14
|
+
:flag="2" @invalid="essentialInfo = false" v-ref:useressential :isedit="isedit"></file-user-essential-info>
|
|
15
15
|
<file-userinfo-device :userinfodevices.sync="userinfodevices" :show_userinfodevices.sync="show_userinfodevices"
|
|
16
16
|
:userinfoid='data.baseinfo.base.f_userinfo_id'></file-userinfo-device>
|
|
17
17
|
</div>
|
|
@@ -224,9 +224,9 @@ export default {
|
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
async ready () {
|
|
227
|
-
if (this.data.baseinfo.base.f_userinfo_id){
|
|
227
|
+
if (this.data.baseinfo.base.f_userinfo_id) {
|
|
228
228
|
this.blodid = this.data.baseinfo.base.f_userinfo_id
|
|
229
|
-
}else {
|
|
229
|
+
} else {
|
|
230
230
|
this.blodid = '临时id' + Date.now()
|
|
231
231
|
}
|
|
232
232
|
console.log('ready,,,', this.row)
|
|
@@ -237,7 +237,7 @@ export default {
|
|
|
237
237
|
// 将小区信息转化为综合信息的格式
|
|
238
238
|
await this.areainfoInUser(this.areainfo)
|
|
239
239
|
}
|
|
240
|
-
console.log('this.blodid------------>',this.blodid)
|
|
240
|
+
console.log('this.blodid------------>', this.blodid)
|
|
241
241
|
},
|
|
242
242
|
watch: {
|
|
243
243
|
async 'row' (val) {
|
|
@@ -339,6 +339,7 @@ export default {
|
|
|
339
339
|
if (!this.filechangeDetailsShow) this.confirmation()
|
|
340
340
|
},
|
|
341
341
|
confirmation () {
|
|
342
|
+
debugger
|
|
342
343
|
if (this.fileSaveData.reason && this.fileSaveData.reason !== '其他') {
|
|
343
344
|
this.fileSaveData.modifyReason = this.fileSaveData.reason
|
|
344
345
|
}
|
|
@@ -358,6 +359,13 @@ export default {
|
|
|
358
359
|
this.fileSaveData.userinfo.userfiles.f_depid = parentnameId
|
|
359
360
|
}
|
|
360
361
|
}
|
|
362
|
+
console.log('打印保存数据', this.fileSaveData)
|
|
363
|
+
console.log('打印id', this.fileSaveData.userinfo.f_userinfo_id)
|
|
364
|
+
// 如果是修改操作则修改建党人
|
|
365
|
+
if (this.fileSaveData.userinfo.f_userinfo_id) {
|
|
366
|
+
this.fileSaveData.userinfo.f_createfile_person = this.$login.f.name
|
|
367
|
+
}
|
|
368
|
+
console.log('二次打印打印保存数据', this.fileSaveData)
|
|
361
369
|
FileManageService.fileSave(this.fileSaveData).then((res) => {
|
|
362
370
|
this.$parent.resdata = res.data.result[0].f_userinfo_code
|
|
363
371
|
if (!this.row) {
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
<input type="text" class="input_search" style="width:60%" v-model="row.f_table_state" placeholder='表具状态' disabled>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="col-sm-4 form-group">
|
|
47
|
-
<label for="f_meter_base" class="font_normal_body"> 表&ensp
|
|
47
|
+
<label for="f_meter_base" class="font_normal_body"> 表 底 数</label>
|
|
48
48
|
<input type="number" class="input_search" style="width:60%" v-model="row.f_meter_base" placeholder='表底数'
|
|
49
|
-
:disabled="!jurisdiction.includes('档案信息查询修改')"
|
|
49
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
50
50
|
</div>
|
|
51
51
|
<div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
|
|
52
52
|
<label for="f_meter_base" class="font_normal_body"> 初始底数</label>
|
|
53
53
|
<input type="number" class="input_search" style="width:60%" v-model="row.f_initial_base" placeholder='表底数'
|
|
54
|
-
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
54
|
+
:disabled="!jurisdiction.includes('档案信息查询修改')" :readonly="!row.f_userfiles_id">
|
|
55
55
|
</div>
|
|
56
56
|
|
|
57
57
|
<div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
|
|
@@ -347,6 +347,7 @@ let FileManageService = {
|
|
|
347
347
|
return {userinfo: result, address: address, limit_gas: data.limit_gas, hasnumber: data.hasnumber, inputcode: data.inputcode}
|
|
348
348
|
},
|
|
349
349
|
fileSave (data) {
|
|
350
|
+
data.userinfo.f_user_name = data.userinfo.f_user_name? data.userinfo.f_user_name.trim():null
|
|
350
351
|
return Vue.resetpost('rs/logic/filemanage_fileSave', {data: data})
|
|
351
352
|
},
|
|
352
353
|
batchOperate (model, type) {
|