sale-client 4.0.74-preview → 4.0.76-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/package.json +1 -1
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +6 -1
- package/src/components/common/userinfo_detail/ic_detail/meteringRecords.vue +112 -0
- package/src/filiale/dexin/cardsHand.vue +898 -0
- package/src/filiale/dexin/sale.js +2 -0
- package/src/filiale/ronghao/CardMeterChargeCancel.vue +395 -0
- package/src/filiale/ronghao/IOTRefund.vue +3 -3
- package/src/filiale/ronghao/sale.js +2 -0
- package/src/main.js +1 -1
package/package.json
CHANGED
|
@@ -101,6 +101,9 @@
|
|
|
101
101
|
<saletab header="安检记录" v-if="permission('安检记录')">
|
|
102
102
|
<security-check-info :row="row" @deal-msg="dealMsg"></security-check-info>
|
|
103
103
|
</saletab>
|
|
104
|
+
<saletab header="装表记录" v-if="permission('装表记录')">
|
|
105
|
+
<metering-records :row="row" @deal-msg="dealMsg"></metering-records>
|
|
106
|
+
</saletab>
|
|
104
107
|
<!-- <saletab header="报装流转记录" v-if="permission('报装流转记录查看')">-->
|
|
105
108
|
<!-- <supervisory-control :row="row" ></supervisory-control>-->
|
|
106
109
|
<!-- </saletab>-->
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
import UserKeyRecord from './ic_detail/UserKeyRecord'
|
|
136
139
|
import RepairList from "./ic_detail/RepairList";
|
|
137
140
|
import SecurityCheckInfo from './ic_detail/SecuritycheckInfo';
|
|
141
|
+
import MeteringRecords from './ic_detail/MeteringRecords'
|
|
138
142
|
// import SupervisoryControl from './apply_detail/Supervisory/SupervisoryControl'
|
|
139
143
|
// import ApplyChargeSearch from './apply_detail/applyCharge/ApplyChargeSearch'
|
|
140
144
|
// 导入物联网相关查询
|
|
@@ -180,7 +184,8 @@ export default {
|
|
|
180
184
|
MachineRecordQuery,
|
|
181
185
|
UserDeviceQuery,
|
|
182
186
|
contractSigningList,
|
|
183
|
-
UserKeyRecord
|
|
187
|
+
UserKeyRecord,
|
|
188
|
+
MeteringRecords
|
|
184
189
|
// SupervisoryControl,
|
|
185
190
|
// ApplyChargeSearch
|
|
186
191
|
},
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex" style="justify-content: space-between;" >
|
|
3
|
+
<div @keyup.enter="search">
|
|
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" width="100%">
|
|
8
|
+
<div class="col-sm-2 form-group">
|
|
9
|
+
<label class="font_normal_body">开始时间</label>
|
|
10
|
+
<datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_start_date"
|
|
11
|
+
class="datepicker"
|
|
12
|
+
condition="f_parameter_value >= '{} 00:00:00' "
|
|
13
|
+
placeholder="起始时间"
|
|
14
|
+
style="width:60%"
|
|
15
|
+
v-model="model.f_start_date"
|
|
16
|
+
></datepicker>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-2 form-group" >
|
|
19
|
+
<label class="font_normal_body" >结束时间</label>
|
|
20
|
+
<datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_end_date"
|
|
21
|
+
class="datepicker"
|
|
22
|
+
condition="f_parameter_value <= '{} 23:59:59' "
|
|
23
|
+
placeholder="结束时间"
|
|
24
|
+
style="width:60%"
|
|
25
|
+
v-model="model.f_end_date"
|
|
26
|
+
></datepicker>
|
|
27
|
+
</div>
|
|
28
|
+
<div style="float: right">
|
|
29
|
+
<button @click="search()" class="button_search" style="margin-right: 10px" v-el:cba>查询</button>
|
|
30
|
+
<button class="btn btn-success" @click="$parent.$parent.clear()" v-el:cx>清空</button>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</criteria>
|
|
35
|
+
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
36
|
+
<template partial='head'>
|
|
37
|
+
<tr>
|
|
38
|
+
<th><nobr>序号</nobr></th>
|
|
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
|
+
</tr>
|
|
48
|
+
</template>
|
|
49
|
+
<template partial='body' partial='list' v-ref:grid>
|
|
50
|
+
<tr v-for="(row, index) in model.items" :key="index">
|
|
51
|
+
<td style="text-align:center">{{$index+1}}</td>
|
|
52
|
+
<td style="text-align:center">{{row.f_userinfo_code}}</td>
|
|
53
|
+
<td style="text-align:center">{{row.f_user_name}}</td>
|
|
54
|
+
<td style="text-align:center">{{row.f_address}}</td>
|
|
55
|
+
<td style="text-align:center">{{row.f_user_phone}}</td>
|
|
56
|
+
<td style="text-align:center">{{row.f_meternumber}}</td>
|
|
57
|
+
<td style="text-align:center">{{row.f_card_id}}</td>
|
|
58
|
+
<td style="text-align:center">{{row.f_comments}}</td>
|
|
59
|
+
</tr>
|
|
60
|
+
</template>
|
|
61
|
+
</data-grid>
|
|
62
|
+
</criteria-paged>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
</template>
|
|
67
|
+
<script>
|
|
68
|
+
import {PagedList} from "vue-client"
|
|
69
|
+
export default {
|
|
70
|
+
title: '装表记录',
|
|
71
|
+
data () {
|
|
72
|
+
return {
|
|
73
|
+
condition: '1=1',
|
|
74
|
+
model: new PagedList('/api/af-revenue/sql/sale_blackRecordQuery', 20),
|
|
75
|
+
searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userfiles_id',
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
props: ['row'],
|
|
79
|
+
methods: {
|
|
80
|
+
formatFunction (functionString) {
|
|
81
|
+
if (!functionString) return ''
|
|
82
|
+
try {
|
|
83
|
+
// 解析 JSON 字符串为数组
|
|
84
|
+
let functionArray = JSON.parse(functionString)
|
|
85
|
+
// 将数组转换为用逗号分隔的字符串
|
|
86
|
+
return functionArray.join(', ')
|
|
87
|
+
} catch (e) {
|
|
88
|
+
// 如果解析失败,返回原始字符串
|
|
89
|
+
return functionString
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
clear () {
|
|
93
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
94
|
+
this.$refs.paged.$refs.criteria.model[key] = []
|
|
95
|
+
})
|
|
96
|
+
},
|
|
97
|
+
async search () {
|
|
98
|
+
this.condition = `${this.$refs.paged.$refs.criteria.condition} and ${this.searchValue} = '${this.row[this.searchValue]}'`
|
|
99
|
+
this.model.search(this.condition, this.model)
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
ready () {
|
|
103
|
+
this.$refs.paged.$refs.criteria.search()
|
|
104
|
+
},
|
|
105
|
+
computed: {
|
|
106
|
+
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
}
|
|
110
|
+
</script>
|
|
111
|
+
<style scoped>
|
|
112
|
+
</style>
|