sale-client 3.6.120 → 3.6.122
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/FilesManage/FileUserFiles.vue +13 -0
- package/src/components/FilesManage/UserDeviceInfoTest.vue +25 -1
- package/src/components/charge/business/refund_copy/RefundManage.vue +6 -6
- package/src/components/chargeBatch/BatchCharge.vue +26 -4
- package/src/components/newpriceadjustment/NewPriceAdjustment.vue +906 -0
- package/src/components/newpriceadjustment/NewPriceAdjustmentManage.vue +58 -0
- package/src/components/newpriceadjustment/NewPriceAdjustmentSell.vue +596 -0
- package/src/components/newpriceadjustment/NewPriceAdjustmentWebmeter.vue +600 -0
- package/src/components/revenue/base/leftview/Userinfo.vue +6 -1
- package/src/filiale/liaoyuan/NewPriceAdjustment.vue +90 -32
- package/src/filiale/liaoyuan/NewPriceAdjustmentSell.vue +87 -1
- package/src/filiale/liaoyuan/NewPriceAdjustmentWebmeter.vue +93 -2
- package/src/filiale/liaoyuan/PriceAdjustmentManage.vue +0 -4
- package/src/filiale/liaoyuan/PriceChangeCompensation/CompensationManage.vue +26 -0
- package/src/filiale/liaoyuan/PriceChangeCompensation/IotCompensation.vue +307 -0
- package/src/filiale/liaoyuan/PriceChangeCompensation/JbCompensation.vue +343 -0
- package/src/filiale/liaoyuan/PriceChangeCompensation/SurplusRecordDetail.vue +72 -0
- package/src/filiale/liaoyuan/sale.js +2 -0
- package/src/filiale/rongcheng/business/MeterDisable/DisableManage.vue +95 -0
- package/src/filiale/rongcheng/business/MeterEnable/EnableManage.vue +185 -0
- package/src/filiale/rongcheng/plugins/LogicService.js +490 -0
- package/src/filiale/rongcheng/sale.js +2 -0
- package/src/main.js +2 -2
- package/src/plugins/CardService.js +3 -1
- package/src/sale.js +9 -0
package/package.json
CHANGED
|
@@ -37,6 +37,15 @@
|
|
|
37
37
|
placeholder='客户姓名'
|
|
38
38
|
style="width:60%" type="text" v-model="model.f_user_name">
|
|
39
39
|
</div>
|
|
40
|
+
<div
|
|
41
|
+
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
42
|
+
class="form-group">
|
|
43
|
+
<label class="font_normal_body">合同编号</label>
|
|
44
|
+
<input class="input_search" condition="f_contract_id = '{}'"
|
|
45
|
+
v-model="model.f_contract_id"
|
|
46
|
+
placeholder='合同编号'
|
|
47
|
+
style="width:60%" type="text" >
|
|
48
|
+
</div>
|
|
40
49
|
<div
|
|
41
50
|
:class="{'col-sm-3':$parent.$parent.clientWidth>1600||!$parent.$parent.createFile,'col-sm-4':$parent.$parent.clientWidth<1600&&$parent.$parent.createFile}"
|
|
42
51
|
class="form-group button-range">
|
|
@@ -308,6 +317,9 @@
|
|
|
308
317
|
<th>
|
|
309
318
|
<nobr>客户名称</nobr>
|
|
310
319
|
</th>
|
|
320
|
+
<th>
|
|
321
|
+
<nobr>合同编号</nobr>
|
|
322
|
+
</th>
|
|
311
323
|
<th>
|
|
312
324
|
<nobr>表号</nobr>
|
|
313
325
|
</th>
|
|
@@ -362,6 +374,7 @@
|
|
|
362
374
|
<td style="text-align: center;">
|
|
363
375
|
<span @click="$parent.$parent.$parent.dealmsg(row)"><a><b>{{row.f_user_name}}</b></a></span>
|
|
364
376
|
</td>
|
|
377
|
+
<td style="text-align: center;">{{row.f_contract_id}}</td>
|
|
365
378
|
<td style="text-align: center;">{{row.f_meternumber}}</td>
|
|
366
379
|
<td style="text-align: center;">{{row.f_card_id}}</td>
|
|
367
380
|
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
@@ -170,12 +170,19 @@
|
|
|
170
170
|
<datepicker placeholder="连接管安装日期" style="width: 60%"
|
|
171
171
|
v-model="row.f_pipeinstall_date"
|
|
172
172
|
:value.sync="row.f_pipeinstall_date"
|
|
173
|
+
:onchange="ljgexpireDate($index)"
|
|
173
174
|
:format="'yyyy-MM-dd'">
|
|
174
175
|
</datepicker>
|
|
175
176
|
</div>
|
|
176
177
|
</div>
|
|
177
178
|
<div class="row auto" style="margin-left: 10px;">
|
|
178
179
|
<div class="col-sm-6 form-group" style="padding-right: 5px;">
|
|
180
|
+
<label class="font_normal_body">使用年限</label>
|
|
181
|
+
<input type="number" class="input_search" style="width: 60%" v-model="row.f_service_liferg"
|
|
182
|
+
:value.sync="row.f_service_liferg"
|
|
183
|
+
:onchange="ljgexpireDate($index)">
|
|
184
|
+
</div>
|
|
185
|
+
<div class="col-sm-6 form-group" style="padding-right: 5px;" v-if="ljgDevicesinfoShow">
|
|
179
186
|
<label class="font_normal_body" title="连接管到期日期">到期日期</label>
|
|
180
187
|
<datepicker placeholder="连接管到期日期" style="width: 60%"
|
|
181
188
|
v-model="row.f_pipeexpire_date"
|
|
@@ -282,7 +289,8 @@ export default {
|
|
|
282
289
|
f_make_date: '',
|
|
283
290
|
f_expire_date: '',
|
|
284
291
|
f_service_life: 0,
|
|
285
|
-
devicesinfoShow: true
|
|
292
|
+
devicesinfoShow: true,
|
|
293
|
+
ljgDevicesinfoShow: true
|
|
286
294
|
}
|
|
287
295
|
},
|
|
288
296
|
props: {
|
|
@@ -373,6 +381,22 @@ export default {
|
|
|
373
381
|
})
|
|
374
382
|
}
|
|
375
383
|
},
|
|
384
|
+
ljgexpireDate (index) {
|
|
385
|
+
if (this.devicesinfo[index].f_pipeinstall_date === '' || this.devicesinfo[index].f_pipeinstall_date === undefined || this.devicesinfo[index].f_service_liferg === 0 || this.devicesinfo[index].f_service_liferg === undefined) {
|
|
386
|
+
|
|
387
|
+
} else {
|
|
388
|
+
var b = new Date(this.devicesinfo[index].f_pipeinstall_date)
|
|
389
|
+
var year = (b.getFullYear() - 0) + (this.devicesinfo[index].f_service_liferg - 0)
|
|
390
|
+
var month = (b.getMonth() - 0) + 1
|
|
391
|
+
var day = b.getDate()
|
|
392
|
+
// this.$set(this.devicesinfo, index, {f_expire_date: year + '-' + (month < 10 ? '0' + month : month) + '-' + (day < 10 ? '0' + day : day)})
|
|
393
|
+
this.devicesinfo[index].f_pipeexpire_date = year + '-' + (month < 10 ? '0' + month : month) + '-' + (day < 10 ? '0' + day : day)
|
|
394
|
+
this.ljgDevicesinfoShow = false
|
|
395
|
+
this.$nextTick(() => {
|
|
396
|
+
this.ljgDevicesinfoShow = true
|
|
397
|
+
})
|
|
398
|
+
}
|
|
399
|
+
},
|
|
376
400
|
async brandChange (index) {
|
|
377
401
|
console.log('this.devicesinfo[index].f_brand', this.devicesinfo[index].f_brand)
|
|
378
402
|
this.devicesModel = []
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="auto">
|
|
3
|
-
<iot-refund v-if="row.f_meter_type === '物联网表'" :data="row"></iot-refund>
|
|
4
|
-
<machine-
|
|
3
|
+
<iot-refund-copy v-if="row.f_meter_type === '物联网表'" :data="row"></iot-refund-copy>
|
|
4
|
+
<machine-refund-copy v-if="row.f_meter_type !== '物联网表'" :data="row"></machine-refund-copy>
|
|
5
5
|
</div>
|
|
6
6
|
|
|
7
7
|
</template>
|
|
8
8
|
<script>
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import IotRefundCopy from './IOTRefund'
|
|
10
|
+
import machineRefundCopy from './machineRefund'
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
13
|
title: '退费管理',
|
|
14
14
|
components: {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
IotRefundCopy,
|
|
16
|
+
machineRefundCopy
|
|
17
17
|
},
|
|
18
18
|
data () {
|
|
19
19
|
return {
|
|
@@ -92,10 +92,24 @@
|
|
|
92
92
|
<payment-code v-ref:paymentcode :payment="data.f_payment" :row="row" :money="data.f_after_discount"></payment-code>
|
|
93
93
|
</div>
|
|
94
94
|
</div>
|
|
95
|
+
<modal :show.sync="show" v-ref:modal backdrop="false">
|
|
96
|
+
<header slot="modal-header" class="modal-header text-center">
|
|
97
|
+
<h4 class="modal-title">正在批量处理中, 请耐心等待...</h4>
|
|
98
|
+
</header>
|
|
99
|
+
<article slot="modal-body">
|
|
100
|
+
<div class="progress" style="margin: 20px">
|
|
101
|
+
<div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: `${percent}%`}">
|
|
102
|
+
{{ percent }}
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</article>
|
|
106
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
107
|
+
</footer>
|
|
108
|
+
</modal>
|
|
95
109
|
</template>
|
|
96
110
|
|
|
97
111
|
<script>
|
|
98
|
-
import {HttpResetClass} from
|
|
112
|
+
import {HttpResetClass} from 'vue-client'
|
|
99
113
|
|
|
100
114
|
let asyncMachineMeterCenter = async function (self) {
|
|
101
115
|
await self.$getConfig(self, 'BatchCharge')
|
|
@@ -132,7 +146,10 @@ export default {
|
|
|
132
146
|
// 启用发票管理需要对票号进行验证
|
|
133
147
|
hasValidateBill: false,
|
|
134
148
|
validateOk: false,
|
|
135
|
-
editCollection: false
|
|
149
|
+
editCollection: false,
|
|
150
|
+
// 收费进度
|
|
151
|
+
show: false,
|
|
152
|
+
percent: 0
|
|
136
153
|
}
|
|
137
154
|
},
|
|
138
155
|
props: ['data', 'owe', 'civill'],
|
|
@@ -269,11 +286,16 @@ export default {
|
|
|
269
286
|
try {
|
|
270
287
|
await this.$resetpost('rs/logic/batchPayment', {data: param}, {resolveMsg: null, rejectMsg: null}, 1000)
|
|
271
288
|
} catch (e) {}
|
|
272
|
-
this.$showMessage(`正在批量处理中, 请耐心等待...`, [])
|
|
289
|
+
// this.$showMessage(`正在批量处理中, 请耐心等待...`, [])
|
|
290
|
+
this.show = true
|
|
273
291
|
// 启动定时器定时查询处理结果
|
|
274
292
|
this.timer = setInterval(async () => {
|
|
275
293
|
let res = await this.HttpReset.load('POST', 'rs/logic/getBatchOperaPro', {data: {uuid: uuid}}, {resolveMsg: null, rejectMsg: null})
|
|
294
|
+
if (res.data.percent) {
|
|
295
|
+
this.percent = res.data.percent
|
|
296
|
+
}
|
|
276
297
|
if (res.data.msg || res.data.error) {
|
|
298
|
+
this.show = false
|
|
277
299
|
clearInterval(this.timer)
|
|
278
300
|
this.$closeMessage()
|
|
279
301
|
if (res.data.error) {
|
|
@@ -304,7 +326,7 @@ export default {
|
|
|
304
326
|
this.clean()
|
|
305
327
|
}
|
|
306
328
|
}
|
|
307
|
-
},
|
|
329
|
+
}, 1500)
|
|
308
330
|
},
|
|
309
331
|
clean () {
|
|
310
332
|
this.$dispatch('success')
|