sale-client 4.2.63 → 4.2.65
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 +7 -7
- package/package.json +1 -1
- package/src/filiale/hongYa/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +1191 -0
- package/src/filiale/hongYa/sale.js +6 -0
- package/src/filiale/jinhong/HandList.vue +120 -0
- package/src/filiale/jinhong/sale.js +2 -0
- package/src/main.js +1 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<partial-view v-ref:pv>
|
|
3
|
+
<criteria-paged :model="model" :pager="false" v-ref:paged>
|
|
4
|
+
<div partial="list" style="overflow-y: scroll;height: 90%">
|
|
5
|
+
<accordion :one-at-atime="true" type="info">
|
|
6
|
+
<panel :is-click="false" :is-open="true" type="info" v-for="row in model.rows">
|
|
7
|
+
<span @click="$parent.$parent.$parent.selected(row)" class="panel-title row" slot="header"
|
|
8
|
+
style="cursor: pointer;">
|
|
9
|
+
<div class="col-sm-11">
|
|
10
|
+
<div class="row">
|
|
11
|
+
<strong :title="row.f_userinfo_code"
|
|
12
|
+
class="col-sm-4"
|
|
13
|
+
show-overflow-tooltip="true">
|
|
14
|
+
{{ row.f_userinfo_code.length > 9 ? '' + row.f_userinfo_code.substring(0, 9) + '...' : row.f_userinfo_code }}
|
|
15
|
+
</strong>
|
|
16
|
+
<span class="col-sm-5" title="抄表日期">
|
|
17
|
+
{{ row.f_input_date.substr(0, 10) }}
|
|
18
|
+
</span>
|
|
19
|
+
<span class="col-sm-3"
|
|
20
|
+
title="是否欠费">
|
|
21
|
+
{{ row.f_whether_pay ? row.f_whether_pay === '是' ? '已缴' : '欠费' : '' }}
|
|
22
|
+
</span>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</span>
|
|
26
|
+
<div class="panel-body" v-if="$parent.$parent.$parent.isSelected(row)">
|
|
27
|
+
<div class="auto">
|
|
28
|
+
<div class="row">
|
|
29
|
+
<label class="col-sm-4">客户名称:</label>
|
|
30
|
+
<span class="col-sm-8" style="text-align:left">{{ row.f_user_name }}</span>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="row">
|
|
33
|
+
<label class="col-sm-4">上期底数:</label>
|
|
34
|
+
<span class="col-sm-2" style="text-align:left">{{ row.f_last_tablebase }}</span>
|
|
35
|
+
<label class="col-sm-4">本期底数:</label>
|
|
36
|
+
<span class="col-sm-2" style="text-align:left">{{ row.f_tablebase }}</span>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row">
|
|
39
|
+
<label class="col-sm-4">用气量:</label>
|
|
40
|
+
<span style="text-align:left" class="col-sm-2">{{ row.f_oughtamount }}</span>
|
|
41
|
+
<label class="col-sm-4">用气金额:</label>
|
|
42
|
+
<span class="col-sm-2" style="text-align:left">{{ row.f_oughtfee }}</span>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="row">
|
|
45
|
+
<label class="col-sm-4">抄表员:</label>
|
|
46
|
+
<span style="text-align:left" class="col-sm-2">{{ row.f_inputtor }}</span>
|
|
47
|
+
<label class="col-sm-4">是否缴费:</label>
|
|
48
|
+
<span class="col-sm-2" style="text-align:left">{{ row.f_whether_pay }}</span>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="row">
|
|
51
|
+
<label class="col-sm-4" title="所属月份">下发日期:</label>
|
|
52
|
+
<span class="col-sm-8" style="text-align:left">{{ row.f_hand_date }}</span>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="row">
|
|
55
|
+
<label class="col-sm-4">抄表时间:</label>
|
|
56
|
+
<span class="col-sm-8" style="text-align:left">{{ row.f_input_date }}</span>
|
|
57
|
+
</div>
|
|
58
|
+
<div class="row">
|
|
59
|
+
<label class="col-sm-4">录入时间:</label>
|
|
60
|
+
<span class="col-sm-8" style="text-align:left">{{ row.f_operate_date }}</span>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="row">
|
|
63
|
+
<label class="col-sm-4">缴费时间:</label>
|
|
64
|
+
<span class="col-sm-8" style="text-align:left">{{ row.f_sellinggas_date }}</span>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<div style="margin-top: 8px;background: #FFF;" v-if="!$parent.$parent.$parent.isSelected(row)">
|
|
69
|
+
<span>上期底数:{{ row.f_last_tablebase }} 本期指数:{{ row.f_tablebase }}</span>
|
|
70
|
+
</div>
|
|
71
|
+
</panel>
|
|
72
|
+
</accordion>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
</criteria-paged>
|
|
76
|
+
</partial-view>
|
|
77
|
+
</template>
|
|
78
|
+
|
|
79
|
+
<script>
|
|
80
|
+
import {PagedList} from 'vue-client'
|
|
81
|
+
|
|
82
|
+
export default {
|
|
83
|
+
title: '历史抄表',
|
|
84
|
+
props: {
|
|
85
|
+
'f_userfiles_id': {},
|
|
86
|
+
isOperate: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: true
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
data () {
|
|
92
|
+
return {
|
|
93
|
+
model: new PagedList('api/af-revenue/sql/gethandlist', 9999),
|
|
94
|
+
row: Object
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
ready () {
|
|
98
|
+
let condition = `f_userfiles_id = '${this.f_userfiles_id}' `
|
|
99
|
+
this.model.search(condition)
|
|
100
|
+
},
|
|
101
|
+
methods: {
|
|
102
|
+
selected (row) {
|
|
103
|
+
if (this.row === row) {
|
|
104
|
+
this.row = null
|
|
105
|
+
} else {
|
|
106
|
+
this.row = row
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
isSelected (row) {
|
|
110
|
+
return this.row === row
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
watch: {
|
|
114
|
+
'f_userfiles_id' () {
|
|
115
|
+
let condition = `f_userfiles_id = '${this.f_userfiles_id}' `
|
|
116
|
+
this.model.search(condition)
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
</script>
|
|
@@ -56,4 +56,6 @@ export default function () {
|
|
|
56
56
|
Vue.component('machine-hand', (resolve) => { require(['./machineHand'], resolve) })
|
|
57
57
|
// 操作记录撤销
|
|
58
58
|
Vue.component('record-cancel', (resolve) => { require(['./RecordCancel'], resolve) })
|
|
59
|
+
// 历史抄表
|
|
60
|
+
Vue.component('hand-list', (resolve) => { require(['./HandList'], resolve) })
|
|
59
61
|
}
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/hongYa/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|