sale-client 3.6.121 → 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/UserDeviceInfoTest.vue +25 -1
- 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/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/plugins/CardService.js +3 -1
- package/src/sale.js +9 -0
package/package.json
CHANGED
|
@@ -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 = []
|