sale-client 3.5.121 → 3.5.123
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 +1 -1
- package/package.json +1 -1
- package/src/components/charge/business/PriceChangeCompensation/IotCompensation.vue +1 -0
- package/src/components/charge/business/PriceChangeCompensation/JbCompensation.vue +1 -0
- package/src/components/charge/business/ShowCardSellGas.vue +74 -63
- package/src/components/chargeBatch/BatchCharge.vue +8 -1
- package/src/components/revenue/comprehen/ComprehenOperation/removeTable.vue +30 -0
- package/src/components/webMeter/paramSaveNew/ParamHistory.vue +1 -1
- package/src/filiale/dongguan/components/FilesManage/MeterinfoTest.vue +968 -0
- package/src/filiale/dongguan/components/meterinfodetail.vue +5 -0
- package/src/filiale/dongguan/components/newchangemeter/ChangeMeter.vue +976 -0
- package/src/filiale/dongguan/components/newchangemeter/ResetMeter.vue +978 -0
- package/src/filiale/dongguan/sale.js +12 -1
- package/src/filiale/gehua/MisPosPay.vue +2 -2
- package/src/filiale/guangxi/CardHand.vue +885 -0
- package/src/filiale/qianneng/revenue/machineHandManage/machineHand.vue +64 -43
- package/src/filiale/qianneng/revenue/machineHandManage/machinePhoneManage.vue +27 -4
package/build/dev-server.js
CHANGED
|
@@ -184,7 +184,7 @@ app.use(hotMiddleware)
|
|
|
184
184
|
// serve pure static assets
|
|
185
185
|
app.use('/static', express.static('./static'))
|
|
186
186
|
|
|
187
|
-
module.exports = app.listen(
|
|
187
|
+
module.exports = app.listen(8089, function (err) {
|
|
188
188
|
if (err) {
|
|
189
189
|
console.log(err)
|
|
190
190
|
return
|
package/package.json
CHANGED
|
@@ -300,6 +300,7 @@
|
|
|
300
300
|
this.model.f_depname = this.$login.f.deps
|
|
301
301
|
// 先调用付款码支付组件流程
|
|
302
302
|
let ss = await this.$refs.paymentcode.flowPath()
|
|
303
|
+
this.$refs.paymentcode.paymentCodeShow = false
|
|
303
304
|
console.log('付款码操作返回', ss)
|
|
304
305
|
if (!ss.result) return
|
|
305
306
|
compensationChargeGen(this)
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
<div class="row" style="margin-top:5px;">
|
|
7
7
|
<div class="col-sm-4 form-group" :class="[$v.payment.required ? 'has-error' : '']">
|
|
8
8
|
<label for="f_paytype" class=" font_normal_body" title="参数名称:付款方式">收款方式</label>
|
|
9
|
-
<input type="text" v-show="false" v-model="$refs.payment.selectedItems"
|
|
9
|
+
<input type="text" v-show="false" v-model="$refs.payment.selectedItems"
|
|
10
|
+
v-validate:payment='{required: true }'>
|
|
10
11
|
<v-select id="f_payment"
|
|
11
12
|
v-model="f_payment"
|
|
12
13
|
placeholder='请选择'
|
|
@@ -19,15 +20,16 @@
|
|
|
19
20
|
<input class="input_search" style="width:60%" type="number" id="fouces"
|
|
20
21
|
@blur="pregas()" v-model="model.f_pregas"
|
|
21
22
|
v-validate:f_pregas='{required: true, dctest: [maxgas, "<=" ]}' placeholder="预购气量"
|
|
22
|
-
v-next-el='sk'
|
|
23
|
+
v-next-el='sk'>
|
|
23
24
|
</div>
|
|
24
25
|
|
|
25
26
|
<div class="col-sm-4 form-group"
|
|
26
27
|
:class="[$v.f_preamount.required || $v.f_preamount.dctest? 'has-error' : 'has-success']">
|
|
27
|
-
<label for="f_preamount" class=" font_normal_body"
|
|
28
|
-
<input
|
|
29
|
-
@blur="preamount()" v-validate:f_preamount='{required: true, dctest: [maxmoney, "<=" ]}'
|
|
30
|
-
|
|
28
|
+
<label for="f_preamount" class=" font_normal_body">*预购金额</label>
|
|
29
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_preamount"
|
|
30
|
+
@blur="preamount()" v-validate:f_preamount='{required: true, dctest: [maxmoney, "<=" ]}'
|
|
31
|
+
placeholder="预购金额"
|
|
32
|
+
v-scale="[model.f_preamount, 4]" placeholder="预购金额">
|
|
31
33
|
</div>
|
|
32
34
|
</div>
|
|
33
35
|
<div class="row" style="margin-top:5px;">
|
|
@@ -57,15 +59,15 @@
|
|
|
57
59
|
</div>
|
|
58
60
|
<div class="col-sm-4 form-group" v-if="!hasLimit">
|
|
59
61
|
</div>
|
|
60
|
-
<div class="col-sm-4 form-group"
|
|
62
|
+
<div class="col-sm-4 form-group">
|
|
61
63
|
<label for="f_temp_amount" v-if="row.f_collection_type === '按气量'"
|
|
62
64
|
class=" font_normal_body"> 应收金额</label>
|
|
63
65
|
<label for="f_temp_amount" v-if="row.f_collection_type === '按金额'"
|
|
64
66
|
class=" font_normal_body">*本次缴费</label>
|
|
65
67
|
<input class="input_search" style="width:60%" type="number"
|
|
66
|
-
|
|
68
|
+
v-model="model.f_totalcost"
|
|
67
69
|
v-validate:f_totalcost='{required: true, dctest: [(openFee - 0), ">=" ] }' placeholder="应收金额"
|
|
68
|
-
v-next-el='sk' v-scale="[model.f_totalcost, 4]" disabled
|
|
70
|
+
v-next-el='sk' v-scale="[model.f_totalcost, 4]" disabled>
|
|
69
71
|
</div>
|
|
70
72
|
</div>
|
|
71
73
|
|
|
@@ -95,7 +97,8 @@
|
|
|
95
97
|
v-el:sk v-scale="[model.f_collection, 4]" :disabled="$refs.givechange.promptText != ''">
|
|
96
98
|
</div>
|
|
97
99
|
<div class="col-sm-1 form-group">
|
|
98
|
-
<give-change :curbalance="curbalance" :collection.sync="model.f_collection"
|
|
100
|
+
<give-change :curbalance="curbalance" :collection.sync="model.f_collection"
|
|
101
|
+
v-ref:givechange></give-change>
|
|
99
102
|
</div>
|
|
100
103
|
</div>
|
|
101
104
|
<div class="row" style="margin-top:5px;" v-show="authArr.includes('优惠权限')">
|
|
@@ -121,7 +124,8 @@
|
|
|
121
124
|
<div class="row" v-if="openFee > 0">
|
|
122
125
|
<div class="col-sm-4 form-group">
|
|
123
126
|
<label class="font_normal_body"> 开卡费</label>
|
|
124
|
-
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="openFee"
|
|
127
|
+
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="openFee"
|
|
128
|
+
placeholder='开卡费' disabled>
|
|
125
129
|
</div>
|
|
126
130
|
</div>
|
|
127
131
|
<div class="row" style="margin-top:5px;">
|
|
@@ -134,19 +138,21 @@
|
|
|
134
138
|
<div class="row" v-if="model.f_payment[0].includes('POS')">
|
|
135
139
|
<div class="col-sm-4 form-group">
|
|
136
140
|
<label for="f_voucher_number" class="font_normal_body"> 凭证号</label>
|
|
137
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_voucher_number"
|
|
141
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_voucher_number"
|
|
142
|
+
placeholder="凭证号">
|
|
138
143
|
</div>
|
|
139
144
|
</div>
|
|
140
145
|
<div class="row" style="padding-top: 0.5em;">
|
|
141
146
|
|
|
142
|
-
<div class="col-sm-4" v-if="!mjshow"
|
|
147
|
+
<div class="col-sm-4" v-if="!mjshow">
|
|
143
148
|
<label for="f_serial_number" class=" font_normal_body">业务单号</label>
|
|
144
|
-
<input class="input_search" style="width:60%"
|
|
149
|
+
<input class="input_search" style="width:60%" type="text"
|
|
145
150
|
v-model="model.f_serial_number" placeholder="业务单号">
|
|
146
151
|
</div>
|
|
147
|
-
<div class="col-sm-4" v-if="mjshow"
|
|
152
|
+
<div class="col-sm-4" v-if="mjshow"
|
|
153
|
+
:class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
|
|
148
154
|
<label for="f_serial_number" class=" font_normal_body">业务单号</label>
|
|
149
|
-
<input class="input_search" style="width:60%"
|
|
155
|
+
<input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
|
|
150
156
|
v-model="model.f_serial_number" placeholder="业务单号">
|
|
151
157
|
</div>
|
|
152
158
|
|
|
@@ -157,12 +163,13 @@
|
|
|
157
163
|
</div>
|
|
158
164
|
</div>
|
|
159
165
|
<div v-if="paymentModel.length >1">
|
|
160
|
-
<div class="row" style="margin-top:10px;"
|
|
161
|
-
<p class="col-sm-2 text-left" style="padding: 10px;"><img src="../../../../static/juxing.png"/><strong
|
|
166
|
+
<div class="row" style="margin-top:10px;">
|
|
167
|
+
<p class="col-sm-2 text-left" style="padding: 10px;"><img src="../../../../static/juxing.png"/><strong
|
|
168
|
+
style="margin-left: 4%">付款明细</strong></p>
|
|
162
169
|
</div>
|
|
163
|
-
<div class="row" style="margin-top:10px;"
|
|
164
|
-
<div class="col-sm-4 form-group " v-for="pay in paymentModel"
|
|
165
|
-
<label class="font_normal_body">{{pay.f_payment}}:</label>
|
|
170
|
+
<div class="row" style="margin-top:10px;">
|
|
171
|
+
<div class="col-sm-4 form-group " v-for="pay in paymentModel">
|
|
172
|
+
<label class="font_normal_body">{{ pay.f_payment }}:</label>
|
|
166
173
|
<input id="f_money" type="text" class="input_search" style="width:60%" v-model="pay.f_money">
|
|
167
174
|
</div>
|
|
168
175
|
<div class="col-sm-4 form-group ">
|
|
@@ -176,14 +183,17 @@
|
|
|
176
183
|
:data='row' @printok="printok" v-ref:printbill></print-bill>
|
|
177
184
|
<div style="text-align:right; height: 25%">
|
|
178
185
|
<strong style="color:red;margin-right: 5px">{{ $refs.givechange.promptText }}</strong>
|
|
179
|
-
<strong style="font-size: large"
|
|
186
|
+
<strong style="font-size: large"
|
|
187
|
+
v-if="!config.notShowFormula">计算公式:{{ calculatedetail ? calculatedetail : ' 暂无' }}</strong><br/>
|
|
180
188
|
<payment-code-button :clickable="!$v.valid || validateOk || !islegal || clickConfirm"
|
|
181
189
|
:payment.sync="model.f_payment" :payment-data="paytype"
|
|
182
190
|
@confirm-payment="confirm()">
|
|
183
191
|
</payment-code-button>
|
|
184
|
-
<button class="button_search btn-gn" @click="checkInvoiceMsg()"
|
|
185
|
-
|
|
186
|
-
|
|
192
|
+
<button class="button_search btn-gn" @click="checkInvoiceMsg()"
|
|
193
|
+
:disabled='!$v.valid || validateOk || !islegal || clickConfirm'>确认
|
|
194
|
+
</button>
|
|
195
|
+
<button class="button_clear btn-gn" @click="clean()">取消</button>
|
|
196
|
+
</div>
|
|
187
197
|
<modal :show.sync="eticket_msg" v-ref:modal large backdrop="false" :width="900">
|
|
188
198
|
<header slot="modal-header" class="modal-header">
|
|
189
199
|
<button type="button" class="close" @click="eticket_msg = false"><span>×</span></button>
|
|
@@ -214,7 +224,7 @@
|
|
|
214
224
|
<input class="form-control col-sm-2"
|
|
215
225
|
v-model="row.f_paper_account" placeholder="购方开户行及账号">
|
|
216
226
|
</div>
|
|
217
|
-
<div class="col-sm-12 form-group form-input-group"
|
|
227
|
+
<div class="col-sm-12 form-group form-input-group">
|
|
218
228
|
<label class="control-label">纳税人识别号:</label>
|
|
219
229
|
<input class="form-control col-sm-2"
|
|
220
230
|
v-model="row.f_taxpayer_id" placeholder="纳税人识别号">
|
|
@@ -239,12 +249,13 @@
|
|
|
239
249
|
</button>
|
|
240
250
|
</footer>
|
|
241
251
|
</modal>
|
|
242
|
-
<ticket-print
|
|
252
|
+
<ticket-print :show="eticket_show" @toggle="eticket_toggle" v-ref:eticketbill></ticket-print>
|
|
243
253
|
|
|
244
254
|
</validator>
|
|
245
255
|
</div>
|
|
246
256
|
|
|
247
|
-
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="row"
|
|
257
|
+
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="row"
|
|
258
|
+
:money="model.f_after_discount"></payment-code>
|
|
248
259
|
</div>
|
|
249
260
|
<upload v-if="config.showupload" isremark="true" fusetype="发卡售气"></upload>
|
|
250
261
|
</template>
|
|
@@ -285,10 +296,10 @@ let preamountGen = async function (self) {
|
|
|
285
296
|
self.model.f_pregas = Math.floor(getGas.data.gas - 0)
|
|
286
297
|
}
|
|
287
298
|
}
|
|
288
|
-
self.model.f_totalcost = ((self.row.f_balance - 0)
|
|
299
|
+
self.model.f_totalcost = ((self.row.f_balance - 0) >= (calFee - 0) ? 0 : ((calFee - 0) - (self.row.f_balance - 0)).toFixed(2))
|
|
289
300
|
self.model.chargeprice = getGas.data.chargeprice
|
|
290
301
|
Object.assign(self.model, self.model, getGas.data)
|
|
291
|
-
self.model.f_totalcost = ((self.model.f_totalcost - 0) - (self.dymoney - 0)
|
|
302
|
+
self.model.f_totalcost = ((self.dymoney - 0) >= (self.model.f_totalcost - 0) ? 0 : (self.model.f_totalcost - 0) - (self.dymoney - 0).toFixed(2))
|
|
292
303
|
self.model.f_collection = self.model.f_totalcost
|
|
293
304
|
if (self.config.floor) {
|
|
294
305
|
self.model.f_collection = Math.ceil(self.model.f_collection)
|
|
@@ -444,7 +455,7 @@ let asyncShowCardSellGas = async function (self) {
|
|
|
444
455
|
|
|
445
456
|
export default {
|
|
446
457
|
title: '发卡售气',
|
|
447
|
-
data
|
|
458
|
+
data() {
|
|
448
459
|
return {
|
|
449
460
|
serialShow: false,
|
|
450
461
|
resid: [],
|
|
@@ -515,7 +526,7 @@ export default {
|
|
|
515
526
|
}
|
|
516
527
|
},
|
|
517
528
|
props: ['row'],
|
|
518
|
-
ready
|
|
529
|
+
ready() {
|
|
519
530
|
console.log('==>' + this.$refs.valid)
|
|
520
531
|
if (this.authArr.includes('余额写卡限定')) {
|
|
521
532
|
this.paytype = [{label: '余额写卡', value: '余额写卡'}]
|
|
@@ -555,20 +566,20 @@ export default {
|
|
|
555
566
|
},
|
|
556
567
|
events: {
|
|
557
568
|
// 删除Resid数组元素
|
|
558
|
-
'delResid'
|
|
569
|
+
'delResid'(val) {
|
|
559
570
|
this.resid.$remove({id: val, f_biobid: ''})
|
|
560
571
|
// this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
|
|
561
572
|
},
|
|
562
573
|
// 增加Resid数组元素
|
|
563
|
-
'resid'
|
|
574
|
+
'resid'(val) {
|
|
564
575
|
this.resid.push({id: val, f_biobid: ''})
|
|
565
576
|
}
|
|
566
577
|
},
|
|
567
578
|
watch: {
|
|
568
|
-
'row'
|
|
579
|
+
'row'(val) {
|
|
569
580
|
this.model.f_balance = val.f_balance
|
|
570
581
|
},
|
|
571
|
-
'model.f_payment.length'
|
|
582
|
+
'model.f_payment.length'(val) {
|
|
572
583
|
console.log('付款方式多选。。', val)
|
|
573
584
|
if (val > 3) {
|
|
574
585
|
this.$showAlert('目前只支持三种支付方式', 'warning', 2000)
|
|
@@ -591,18 +602,18 @@ export default {
|
|
|
591
602
|
this.getPrivilegeList()
|
|
592
603
|
}
|
|
593
604
|
},
|
|
594
|
-
'model.f_payment'
|
|
605
|
+
'model.f_payment'(val) {
|
|
595
606
|
if (val == '免交') {
|
|
596
607
|
this.mjshow = true
|
|
597
608
|
} else {
|
|
598
609
|
this.mjshow = false
|
|
599
610
|
}
|
|
600
611
|
},
|
|
601
|
-
'model.f_collection'
|
|
612
|
+
'model.f_collection'(val) {
|
|
602
613
|
// 获取计算优惠
|
|
603
614
|
this.getPrivilegeList()
|
|
604
615
|
},
|
|
605
|
-
'$v'
|
|
616
|
+
'$v'(val) {
|
|
606
617
|
},
|
|
607
618
|
'$v': {
|
|
608
619
|
handler: function (val) {
|
|
@@ -614,12 +625,12 @@ export default {
|
|
|
614
625
|
},
|
|
615
626
|
deep: true
|
|
616
627
|
},
|
|
617
|
-
'$v.f_serial_number.valid'
|
|
628
|
+
'$v.f_serial_number.valid'(val) {
|
|
618
629
|
}
|
|
619
630
|
},
|
|
620
631
|
methods: {
|
|
621
632
|
// 校验发票信息
|
|
622
|
-
checkInvoiceMsg
|
|
633
|
+
checkInvoiceMsg() {
|
|
623
634
|
console.log(this.model.f_print[0])
|
|
624
635
|
if (this.model.f_print[0] === '电子发票') {
|
|
625
636
|
if (!this.row.f_taxpayer_id) {
|
|
@@ -639,11 +650,11 @@ export default {
|
|
|
639
650
|
this.confirm()
|
|
640
651
|
}
|
|
641
652
|
},
|
|
642
|
-
eticket_toggle
|
|
653
|
+
eticket_toggle() {
|
|
643
654
|
this.eticket_show = false
|
|
644
655
|
this.$dispatch('success')
|
|
645
656
|
},
|
|
646
|
-
async confirm
|
|
657
|
+
async confirm() {
|
|
647
658
|
this.eticket_msg = false
|
|
648
659
|
if (this.$appdata.getSingleValue('开卡费')) {
|
|
649
660
|
let sql = `select od.* from t_othercharge oc
|
|
@@ -690,11 +701,11 @@ export default {
|
|
|
690
701
|
}
|
|
691
702
|
})
|
|
692
703
|
},
|
|
693
|
-
clean
|
|
704
|
+
clean() {
|
|
694
705
|
this.$info('取消操作')
|
|
695
706
|
this.$dispatch('refresh', this.row)
|
|
696
707
|
},
|
|
697
|
-
pregas
|
|
708
|
+
pregas() {
|
|
698
709
|
this.dymoney = 0
|
|
699
710
|
if (this.model.f_pregas && this.model.f_pregas > 0) {
|
|
700
711
|
try {
|
|
@@ -713,7 +724,7 @@ export default {
|
|
|
713
724
|
this.model.f_pregas = 0
|
|
714
725
|
}
|
|
715
726
|
},
|
|
716
|
-
preamount
|
|
727
|
+
preamount() {
|
|
717
728
|
this.dymoney = 0
|
|
718
729
|
// if ((this.model.f_totalcost && this.model.f_totalcost > 0) || this.row.f_balance > 0) {
|
|
719
730
|
// if ((this.model.f_totalcost && this.model.f_totalcost > 0) || this.row.f_balance > 0) {
|
|
@@ -728,11 +739,11 @@ export default {
|
|
|
728
739
|
// }
|
|
729
740
|
},
|
|
730
741
|
|
|
731
|
-
validateBill
|
|
742
|
+
validateBill(val) {
|
|
732
743
|
this.validateOk = !val.isOk
|
|
733
744
|
this.billData.bill = val.bill
|
|
734
745
|
},
|
|
735
|
-
printok
|
|
746
|
+
printok() {
|
|
736
747
|
// 收据打完,判断是否还有其他票据进行请求
|
|
737
748
|
for (let i = 0; i < this.model.f_print.length; i++) {
|
|
738
749
|
if (this.model.f_print[i] === '电子发票') {
|
|
@@ -741,7 +752,7 @@ export default {
|
|
|
741
752
|
}
|
|
742
753
|
this.$dispatch('success')
|
|
743
754
|
},
|
|
744
|
-
calText
|
|
755
|
+
calText(val) {
|
|
745
756
|
let str = ''
|
|
746
757
|
let num = 0
|
|
747
758
|
val.forEach((item) => {
|
|
@@ -764,13 +775,13 @@ export default {
|
|
|
764
775
|
}
|
|
765
776
|
}
|
|
766
777
|
},
|
|
767
|
-
close
|
|
778
|
+
close() {
|
|
768
779
|
this.showprint = false
|
|
769
780
|
this.print = false
|
|
770
781
|
this.clean()
|
|
771
782
|
},
|
|
772
783
|
// 根据选择的付款方式 获取优惠列表
|
|
773
|
-
async getPrivilegeList
|
|
784
|
+
async getPrivilegeList() {
|
|
774
785
|
// 初始化下拉选择列表
|
|
775
786
|
this.privilegeList = [{label: '无优惠', value: '0'}]
|
|
776
787
|
// 初始为无优惠
|
|
@@ -796,7 +807,7 @@ export default {
|
|
|
796
807
|
}
|
|
797
808
|
},
|
|
798
809
|
// 优惠计算
|
|
799
|
-
async privilegeCalculate
|
|
810
|
+
async privilegeCalculate() {
|
|
800
811
|
// 初始化减免金额
|
|
801
812
|
this.model.f_privilege_money = 0
|
|
802
813
|
this.model.f_after_discount = this.model.f_collection
|
|
@@ -837,13 +848,13 @@ export default {
|
|
|
837
848
|
}
|
|
838
849
|
},
|
|
839
850
|
computed: {
|
|
840
|
-
'invoice_show_gas'
|
|
851
|
+
'invoice_show_gas'() {
|
|
841
852
|
return this.row.f_collection_type === '按气量' ? '是' : '否'
|
|
842
853
|
},
|
|
843
|
-
authArr
|
|
854
|
+
authArr() {
|
|
844
855
|
return this.$login.r ? this.$login.r : []
|
|
845
856
|
},
|
|
846
|
-
'curbalance'
|
|
857
|
+
'curbalance'() {
|
|
847
858
|
if (this.model.f_payment === '赠气') {
|
|
848
859
|
return this.model.f_balance
|
|
849
860
|
}
|
|
@@ -857,7 +868,7 @@ export default {
|
|
|
857
868
|
return this.row.f_balance
|
|
858
869
|
}
|
|
859
870
|
},
|
|
860
|
-
'islegal'
|
|
871
|
+
'islegal'() {
|
|
861
872
|
if (this.paymentModel.length > 1 && this.model.f_collection) {
|
|
862
873
|
let sum = 0
|
|
863
874
|
this.paymentModel.forEach((res) => {
|
|
@@ -875,13 +886,13 @@ export default {
|
|
|
875
886
|
|
|
876
887
|
|
|
877
888
|
<style>
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
889
|
+
input::-webkit-outer-spin-button,
|
|
890
|
+
input::-webkit-inner-spin-button {
|
|
891
|
+
-webkit-appearance: none;
|
|
892
|
+
}
|
|
882
893
|
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
894
|
+
input[type="number"] {
|
|
895
|
+
-moz-appearance: textfield;
|
|
896
|
+
}
|
|
886
897
|
</style>
|
|
887
898
|
|
|
@@ -254,7 +254,14 @@ export default {
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
for (let row of this.owe.rows) {
|
|
257
|
-
param.chargeUser.push({
|
|
257
|
+
param.chargeUser.push({
|
|
258
|
+
f_userinfo_id: row.f_userinfo_id,
|
|
259
|
+
f_collection: row.f_oughtfee_all,
|
|
260
|
+
f_oughtfee: row.f_oughtfee,
|
|
261
|
+
f_oughtamount: row.f_oughtamount,
|
|
262
|
+
min_handplan_id: row.min_handplan_id,
|
|
263
|
+
max_handplan_id: row.max_handplan_id
|
|
264
|
+
})
|
|
258
265
|
}
|
|
259
266
|
if (this.civill) {
|
|
260
267
|
param = Object.assign(this.civill, param)
|
|
@@ -158,6 +158,36 @@ export default {
|
|
|
158
158
|
return
|
|
159
159
|
}
|
|
160
160
|
this.saveobj()
|
|
161
|
+
} else {
|
|
162
|
+
//物联网表拆表
|
|
163
|
+
this.$showMessage(`将生成抄表记录,是否确认`, ['confirm', 'cancel']).then((res) => {
|
|
164
|
+
if (res === 'confirm') {
|
|
165
|
+
let data = {
|
|
166
|
+
downDate: this.$login.toStandardTimeString(),
|
|
167
|
+
startDate: this.$login.toStandardDateString(),
|
|
168
|
+
endDate: this.$login.toStandardDateString(),
|
|
169
|
+
condition: `f_userfiles_id = '${this.row.f_userfiles_id}'`,
|
|
170
|
+
f_operator: this.$login.f.name,
|
|
171
|
+
f_operatorid: this.$login.f.id,
|
|
172
|
+
f_meternumber: this.row.f_meternumber,
|
|
173
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
174
|
+
f_userfiles_id: this.row.f_userfiles_id,
|
|
175
|
+
f_meterbase: this.model.f_using_base_old,
|
|
176
|
+
f_meter_brand: this.row.f_meter_brand,
|
|
177
|
+
f_meter_type: this.row.f_meter_type,
|
|
178
|
+
f_meter_classify: this.row.f_meter_type,
|
|
179
|
+
f_price_id: this.row.f_price_id
|
|
180
|
+
}
|
|
181
|
+
//划价
|
|
182
|
+
this.$resetpost('rs/logic/changeMeterHand', {data: data}, {resolveMsg: null,rejectMsg:null }).then((res) => {
|
|
183
|
+
console.log('划价成功')
|
|
184
|
+
//保存拆表记录
|
|
185
|
+
this.saveobj()
|
|
186
|
+
})
|
|
187
|
+
} else {
|
|
188
|
+
//取消
|
|
189
|
+
}
|
|
190
|
+
})
|
|
161
191
|
}
|
|
162
192
|
},
|
|
163
193
|
async saveobj () {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div class="col-sm-12" style="height: auto">时间区间2:{{row['readperiodusegasAlarmparam'].bak_val.timesection2||'暂无数据'}}</div>
|
|
19
19
|
<div class="col-sm-12" style="height: auto">区间2用气量:{{row['readperiodusegasAlarmparam'].bak_val.usegas2||'暂无数据'}}</div>
|
|
20
20
|
<div class="col-sm-12" style="height: auto">时间区间3:{{row['readperiodusegasAlarmparam'].bak_val.timesection3||'暂无数据'}}</div>
|
|
21
|
-
<div class="col-sm-12" style="height: auto">区间3用气量:{{row['readperiodusegasAlarmparam'].bak_val.
|
|
21
|
+
<div class="col-sm-12" style="height: auto">区间3用气量:{{row['readperiodusegasAlarmparam'].bak_val.usegas3||'暂无数据'}}</div>
|
|
22
22
|
<div class="col-sm-12" style="height: auto">上次报警区间:{{row['readperiodusegasAlarmparam'].bak_val.realusegas1||'暂无数据'}}</div>
|
|
23
23
|
<div class="col-sm-12" style="height: auto">上次报警区间:{{row['readperiodusegasAlarmparam'].bak_val.realusegas2||'暂无数据'}}</div>
|
|
24
24
|
<div class="col-sm-12" style="height: auto">上次报警区间:{{row['readperiodusegasAlarmparam'].bak_val.realusegas3||'暂无数据'}}</div>
|