sale-client 3.6.198 → 3.6.199
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/filiale/qianneng/revenue/common/ic_detail/HandQueryUser.vue +55 -0
- package/src/filiale/yuncheng/CardList.vue +558 -0
- package/src/filiale/yuncheng/ChargeList.vue +927 -0
- package/src/filiale/yuncheng/DetailManage.vue +41 -0
- package/src/filiale/yuncheng/detailinfo/CardInfo.vue +40 -0
- package/src/filiale/yuncheng/detailinfo/DevicesDetail.vue +69 -0
- package/src/filiale/yuncheng/detailinfo/OldmeterDetail.vue +88 -0
- package/src/filiale/yuncheng/detailinfo/OtherChargeRecord.vue +81 -0
- package/src/filiale/yuncheng/detailinfo/PriceDetail.vue +21 -0
- package/src/filiale/yuncheng/detailinfo/UserfilesDetail.vue +79 -0
- package/src/filiale/yuncheng/detailinfo/UserinfoDetail.vue +66 -0
- package/src/filiale/yuncheng/detailinfo/price/MixpriceDetail.vue +48 -0
- package/src/filiale/yuncheng/detailinfo/price/StairpriceDetail.vue +129 -0
- package/src/filiale/yuncheng/sale.js +4 -0
package/package.json
CHANGED
|
@@ -49,6 +49,14 @@
|
|
|
49
49
|
close-on-select
|
|
50
50
|
condition="f_hand_state = '{}'"></v-select>
|
|
51
51
|
</div>
|
|
52
|
+
<div class="col-sm-2 form-group" v-if="$parent.$parent.row.f_meter_type == '机表'">
|
|
53
|
+
<label class="font_normal_body" title="下账状态">下账状态</label>
|
|
54
|
+
<v-select :value.sync="model.f_accounts_state" v-model='model.f_accounts_state'
|
|
55
|
+
style="width:60%"
|
|
56
|
+
:options='$parent.$parent.accountsstates' placeholder='下账状态'
|
|
57
|
+
close-on-select
|
|
58
|
+
condition="f_accounts_state = '{}'"></v-select>
|
|
59
|
+
</div>
|
|
52
60
|
|
|
53
61
|
<div style="float: right">
|
|
54
62
|
<button @click="search()" class="button_search" style="margin-right: 10px" v-el:cba>查询</button>
|
|
@@ -88,8 +96,10 @@
|
|
|
88
96
|
<th><nobr>抄表状态 </nobr></th>
|
|
89
97
|
<th><nobr>抄表结果状态 </nobr></th>
|
|
90
98
|
<th><nobr>表单状态 </nobr></th>
|
|
99
|
+
<th><nobr>下账状态 </nobr></th>
|
|
91
100
|
<th><nobr>抄表员</nobr></th>
|
|
92
101
|
<th><nobr>录入员</nobr></th>
|
|
102
|
+
<th v-if="$parent.$parent.$parent.row.f_meter_type == '机表'"><nobr>操作</nobr></th>
|
|
93
103
|
</tr>
|
|
94
104
|
</template>
|
|
95
105
|
<template partial='body' partial='list' v-ref:grid>
|
|
@@ -114,8 +124,13 @@
|
|
|
114
124
|
<td style="text-align:center">{{row.f_meter_state}}</td>
|
|
115
125
|
<td style="text-align:center">{{row.f_result_state?row.f_result_state:''}}</td>
|
|
116
126
|
<td style="text-align:center">{{row.f_hand_state}}</td>
|
|
127
|
+
<td style="text-align:center">{{row.f_accounts_state}}</td>
|
|
117
128
|
<td style="text-align:center">{{row.f_inputtor}}</td>
|
|
118
129
|
<td style="text-align:center">{{row.f_input_person}}</td>
|
|
130
|
+
<td style="text-align:center" v-if="$parent.$parent.$parent.row.f_meter_type == '机表'">
|
|
131
|
+
<button @click.stop="$parent.$parent.$parent.report(row)" class="btn btn-link" name="button" type="button"
|
|
132
|
+
v-if="row.f_accounts_state==='自动下账' && row.f_hand_state === '有效'">打印扣费单</button>
|
|
133
|
+
</td>
|
|
119
134
|
</tr>
|
|
120
135
|
</template>
|
|
121
136
|
<template partial='foot'></template>
|
|
@@ -155,13 +170,38 @@
|
|
|
155
170
|
</td>
|
|
156
171
|
</tr>
|
|
157
172
|
</table>
|
|
173
|
+
<reissue-bill :data="reissue_data" :show.sync="reissue_show" @cancel="reissueOper()" @reissue-success="reissueSucc()" v-if="reissue_show"></reissue-bill>
|
|
158
174
|
</div>
|
|
159
175
|
|
|
160
176
|
</template>
|
|
161
177
|
|
|
162
178
|
<script>
|
|
163
179
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
180
|
+
import co from "co";
|
|
181
|
+
let reprintGen = function * (self, row) {
|
|
182
|
+
try {
|
|
183
|
+
let reissueData = {}
|
|
184
|
+
reissueData = Object.assign({}, reissueData, row)
|
|
164
185
|
|
|
186
|
+
reissueData.f_bill_type = row.type
|
|
187
|
+
reissueData.f_bill_style = '普通收据'
|
|
188
|
+
reissueData.f_operator = self.$login.f.name
|
|
189
|
+
reissueData.f_operatorid = self.$login.f.id
|
|
190
|
+
reissueData.f_orgid = self.$login.f.orgid
|
|
191
|
+
reissueData.f_orgname = self.$login.f.orgs
|
|
192
|
+
reissueData.f_depid = self.$login.f.depids
|
|
193
|
+
reissueData.f_depname = self.$login.f.deps
|
|
194
|
+
reissueData.billUrl = 'rs/report/machine_charging_bill'
|
|
195
|
+
|
|
196
|
+
self.reissue_data = reissueData
|
|
197
|
+
self.reissue_show = true
|
|
198
|
+
} catch (error) {
|
|
199
|
+
if (error.status) {
|
|
200
|
+
self.$warn(`加载数据出错, ${JSON.stringify(error)}`, 'CardList')
|
|
201
|
+
}
|
|
202
|
+
throw error
|
|
203
|
+
}
|
|
204
|
+
}
|
|
165
205
|
export default {
|
|
166
206
|
title: '抄表',
|
|
167
207
|
data () {
|
|
@@ -177,6 +217,8 @@
|
|
|
177
217
|
f_stair3amount: 0,
|
|
178
218
|
f_stair3fee: 0
|
|
179
219
|
}),
|
|
220
|
+
reissue_show: false,
|
|
221
|
+
reissue_data: null,
|
|
180
222
|
show: false,
|
|
181
223
|
lists: [],
|
|
182
224
|
meterstates: this.$appdata.getParam('抄表状态') ? [{
|
|
@@ -187,6 +229,7 @@
|
|
|
187
229
|
label: '全部',
|
|
188
230
|
value: ''
|
|
189
231
|
}, ...this.$appdata.getParam('表单状态')] : [],
|
|
232
|
+
accountsstates: [{label: '全部', value: ''}, {label: '自动下账', value: '自动下账'}, {label: '缴费清欠', value: '缴费清欠'}],
|
|
190
233
|
// 控制单选
|
|
191
234
|
radio: [],
|
|
192
235
|
// 选中的页
|
|
@@ -232,6 +275,18 @@
|
|
|
232
275
|
}
|
|
233
276
|
},
|
|
234
277
|
methods: {
|
|
278
|
+
reissueSucc () {
|
|
279
|
+
this.reissue_show = false
|
|
280
|
+
this.$dispatch('refresh')
|
|
281
|
+
},
|
|
282
|
+
reissueOper () {
|
|
283
|
+
this.reissue_data = null
|
|
284
|
+
this.reissue_show = false
|
|
285
|
+
},
|
|
286
|
+
report (row) {
|
|
287
|
+
let reprint = reprintGen(this, row)
|
|
288
|
+
return co(reprint)
|
|
289
|
+
},
|
|
235
290
|
// search() {
|
|
236
291
|
// this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.row.f_user_id}'`
|
|
237
292
|
// this.model.search(this.condition, this.model)
|