apply-clients 3.4.94 → 3.4.96
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 +8 -0
- package/package.json +1 -1
- package/src/components/product/Install/ContractCharge.vue +210 -185
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +375 -336
- package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +356 -334
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1734 -1814
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +210 -6
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
<th class="textNoLineBreak">作废原因</th>
|
|
24
24
|
<th class="textNoLineBreak">确认人</th>
|
|
25
25
|
<th class="textNoLineBreak">确认时间</th>
|
|
26
|
+
<th class="textNoLineBreak">审核人</th>
|
|
27
|
+
<th class="textNoLineBreak">审核时间</th>
|
|
26
28
|
<th class="textNoLineBreak">
|
|
27
29
|
<button
|
|
28
30
|
type="button"
|
|
@@ -95,15 +97,31 @@
|
|
|
95
97
|
<td style="text-align: center;">
|
|
96
98
|
<nobr>{{row.f_confirm_date}}</nobr>
|
|
97
99
|
</td>
|
|
100
|
+
<td style="text-align: center;">
|
|
101
|
+
<nobr>{{row.f_auditor_person}}</nobr>
|
|
102
|
+
</td>
|
|
103
|
+
<td style="text-align: center;">
|
|
104
|
+
<nobr>{{row.f_auditor_date}}</nobr>
|
|
105
|
+
</td>
|
|
98
106
|
<td style="text-align: center;">
|
|
99
107
|
<nobr v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && row.f_confirm_person==null">
|
|
100
108
|
<button
|
|
101
109
|
type="button"
|
|
102
110
|
name="button"
|
|
103
111
|
class="btn btn-link"
|
|
104
|
-
|
|
112
|
+
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
|
|
113
|
+
@click="$parent.$parent.showConfirmModal(row,'确认收款')"
|
|
105
114
|
>确认收款</button>
|
|
106
115
|
</nobr>
|
|
116
|
+
<nobr v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && row.f_confirm_person!=null&& row.f_auditor_person==null">
|
|
117
|
+
<button
|
|
118
|
+
type="button"
|
|
119
|
+
name="button"
|
|
120
|
+
class="btn btn-link"
|
|
121
|
+
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
|
|
122
|
+
@click="$parent.$parent.showConfirmModal(row,'确认审核')"
|
|
123
|
+
>确认审核</button>
|
|
124
|
+
</nobr>
|
|
107
125
|
<nobr v-if="row.f_charge_status !== '退款'">
|
|
108
126
|
<button
|
|
109
127
|
type="button"
|
|
@@ -145,6 +163,19 @@
|
|
|
145
163
|
close-on-select ></input-select>
|
|
146
164
|
</div>
|
|
147
165
|
</div>
|
|
166
|
+
<!-- <div class="form-group col-sm-12" :class="[$v.paymentterm.required ? 'has-error' : '']">
|
|
167
|
+
<label class="col-sm-2 control-label">收费项目:</label>
|
|
168
|
+
<div class="col-sm-10">
|
|
169
|
+
<input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.paymentterm.selectedItems" v-validate:paymentterm='{required: true }'>
|
|
170
|
+
<v-select width="100%" class="select select_list" placeholder='请选择'
|
|
171
|
+
v-model="charge.f_payment_term"
|
|
172
|
+
:value.sync="charge.f_payment_term"
|
|
173
|
+
:options='paymentTerm'
|
|
174
|
+
:multiple="true"
|
|
175
|
+
v-ref:paymentterm
|
|
176
|
+
></v-select>
|
|
177
|
+
</div>
|
|
178
|
+
</div>-->
|
|
148
179
|
<div class="form-group col-sm-12" :class="[$v.f_payment_term.required ? 'has-error' : '']">
|
|
149
180
|
<label class="col-sm-2 control-label">收费项目:</label>
|
|
150
181
|
<div class="col-sm-10">
|
|
@@ -484,6 +515,124 @@
|
|
|
484
515
|
<button type="button" class="btn btn-primary" @click="ConfirmPayment()">确认收款</button>
|
|
485
516
|
</footer>
|
|
486
517
|
</modal>
|
|
518
|
+
<modal v-if="showauditor" :show.sync="showauditor" v-ref:modal :backdrop="false" title="确认审核">
|
|
519
|
+
<header slot="modal-header" class="modal-header">
|
|
520
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
521
|
+
<h4 class="modal-title">确认审核</h4>
|
|
522
|
+
</header>
|
|
523
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
524
|
+
<div class="form-group col-sm-12" v-if="false">
|
|
525
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
526
|
+
<div class="col-sm-10">
|
|
527
|
+
<input type="text"
|
|
528
|
+
class="form-control input_view"
|
|
529
|
+
style="width: 100%"
|
|
530
|
+
readonly
|
|
531
|
+
v-model="charge.f_useraddres" />
|
|
532
|
+
</div>
|
|
533
|
+
</div>
|
|
534
|
+
<div class="form-group col-sm-12">
|
|
535
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
536
|
+
<div class="col-sm-10">
|
|
537
|
+
<input type="text"
|
|
538
|
+
class="form-control input_view"
|
|
539
|
+
style="width: 100%"
|
|
540
|
+
readonly
|
|
541
|
+
v-model="charge.f_charge_money" />
|
|
542
|
+
</div>
|
|
543
|
+
</div>
|
|
544
|
+
<div class="form-group col-sm-12">
|
|
545
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
546
|
+
<div class="col-sm-10">
|
|
547
|
+
<input type="text"
|
|
548
|
+
class="form-control input_view"
|
|
549
|
+
style="width: 100%"
|
|
550
|
+
readonly
|
|
551
|
+
v-model="charge.f_payment_method" />
|
|
552
|
+
</div>
|
|
553
|
+
</div>
|
|
554
|
+
<div class="form-group col-sm-12">
|
|
555
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
556
|
+
<div class="col-sm-10">
|
|
557
|
+
<input type="text"
|
|
558
|
+
class="form-control input_view"
|
|
559
|
+
style="width: 100%"
|
|
560
|
+
readonly
|
|
561
|
+
v-model="charge.f_amount_words" />
|
|
562
|
+
</div>
|
|
563
|
+
</div>
|
|
564
|
+
<div class="form-group col-sm-12">
|
|
565
|
+
<label class="col-sm-2 control-label">收费人员:</label>
|
|
566
|
+
<div class="col-sm-10">
|
|
567
|
+
<input type="text"
|
|
568
|
+
class="form-control input_view"
|
|
569
|
+
style="width: 100%"
|
|
570
|
+
readonly
|
|
571
|
+
v-model="charge.f_charge_collectors" />
|
|
572
|
+
</div>
|
|
573
|
+
</div>
|
|
574
|
+
<div class="form-group col-sm-12">
|
|
575
|
+
<label class="col-sm-2 control-label">确认人:</label>
|
|
576
|
+
<div class="col-sm-10">
|
|
577
|
+
<input type="text"
|
|
578
|
+
class="form-control input_view"
|
|
579
|
+
style="width: 100%"
|
|
580
|
+
readonly
|
|
581
|
+
v-model="charge.f_confirm_person" />
|
|
582
|
+
</div>
|
|
583
|
+
</div>
|
|
584
|
+
<div class="form-group col-sm-12">
|
|
585
|
+
<label class="col-sm-2 control-label">确认时间:</label>
|
|
586
|
+
<div class="col-sm-10">
|
|
587
|
+
<datepicker id="startDate" placeholder="确认时间"
|
|
588
|
+
style="width: 60%!important;"
|
|
589
|
+
v-model="charge.f_confirm_date"
|
|
590
|
+
:value.sync="charge.f_confirm_date"
|
|
591
|
+
readonly
|
|
592
|
+
disabled
|
|
593
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
594
|
+
:show-reset-button="true"
|
|
595
|
+
>
|
|
596
|
+
</datepicker>
|
|
597
|
+
</div>
|
|
598
|
+
</div>
|
|
599
|
+
<div class="form-group col-sm-12">
|
|
600
|
+
<label class="col-sm-2 control-label">审核人:</label>
|
|
601
|
+
<div class="col-sm-10">
|
|
602
|
+
<input type="text"
|
|
603
|
+
class="form-control input_view"
|
|
604
|
+
style="width: 100%"
|
|
605
|
+
v-model="charge.f_auditor_person" />
|
|
606
|
+
</div>
|
|
607
|
+
</div>
|
|
608
|
+
<div class="form-group col-sm-12">
|
|
609
|
+
<label class="col-sm-2 control-label">审核时间:</label>
|
|
610
|
+
<div class="col-sm-10">
|
|
611
|
+
<datepicker id="startDate" placeholder="确认时间"
|
|
612
|
+
style="width: 60%!important;"
|
|
613
|
+
v-model="charge.f_auditor_date"
|
|
614
|
+
:value.sync="charge.f_auditor_date"
|
|
615
|
+
:default="true"
|
|
616
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
617
|
+
:show-reset-button="true"
|
|
618
|
+
>
|
|
619
|
+
</datepicker>
|
|
620
|
+
</div>
|
|
621
|
+
</div>
|
|
622
|
+
<div class="form-group col-sm-12">
|
|
623
|
+
<label class="col-sm-2 control-label">备注:</label>
|
|
624
|
+
<div class="col-sm-10">
|
|
625
|
+
<input type="text"
|
|
626
|
+
class="form-control input_view"
|
|
627
|
+
style="width: 100%"
|
|
628
|
+
v-model="charge.f_charge_remarks" />
|
|
629
|
+
</div>
|
|
630
|
+
</div>
|
|
631
|
+
</article>
|
|
632
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
633
|
+
<button type="button" class="btn btn-primary" @click="ConfirmPayment()">确认收款</button>
|
|
634
|
+
</footer>
|
|
635
|
+
</modal>
|
|
487
636
|
<modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false" title="打印预览">
|
|
488
637
|
<header slot="modal-header" class="modal-header">
|
|
489
638
|
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
@@ -521,6 +670,7 @@ export default {
|
|
|
521
670
|
showInvalid: false, // 作废
|
|
522
671
|
showPrint: false, // 打印
|
|
523
672
|
showConfirm: false, // 确认收款
|
|
673
|
+
showauditor: false, // 确认审核
|
|
524
674
|
person:this.$login.f.name,
|
|
525
675
|
model: {
|
|
526
676
|
data: null
|
|
@@ -594,31 +744,84 @@ export default {
|
|
|
594
744
|
}
|
|
595
745
|
let res = await http.load('POST', 'rs/logic/confirmCharge', {data: data}, {
|
|
596
746
|
resolveMsg: null,
|
|
597
|
-
rejectMsg: '
|
|
747
|
+
rejectMsg: '提交失败!!!'
|
|
598
748
|
})
|
|
599
749
|
if(res.data==200){
|
|
600
|
-
this.$showAlert('
|
|
750
|
+
this.$showAlert('提交成功!!!', 'success', 3000)
|
|
601
751
|
//延时1s
|
|
602
752
|
setTimeout(() => {
|
|
603
753
|
this.showConfirm= false
|
|
754
|
+
this.showauditor= false
|
|
604
755
|
}, 1000)
|
|
605
756
|
}
|
|
606
757
|
//重新查询
|
|
607
758
|
this.search()
|
|
759
|
+
this.getbutton()
|
|
760
|
+
},
|
|
761
|
+
async getbutton(){
|
|
762
|
+
var defname = this.selectdata.defname
|
|
763
|
+
var processId = this.selectdata.f_process_id
|
|
764
|
+
let data = {
|
|
765
|
+
condition: `tc.f_process_id = '${processId}' and tc.defname = '${defname}'`
|
|
766
|
+
}
|
|
767
|
+
let http = new HttpResetClass()
|
|
768
|
+
let res = await http.load(
|
|
769
|
+
'POST',
|
|
770
|
+
`rs/sql/getPaymentRatio`,
|
|
771
|
+
{data: data},
|
|
772
|
+
{resolveMsg: null, rejectMsg: '查询失败!!!'}
|
|
773
|
+
)
|
|
774
|
+
if(res.data.length!==0){
|
|
775
|
+
var f_due_money= res.data[0].f_due_money
|
|
776
|
+
var cumulative= res.data[0].f_charge_money
|
|
777
|
+
if (Number(f_due_money) == Number(cumulative)) {
|
|
778
|
+
let flag = true
|
|
779
|
+
let res1 = await http.load(
|
|
780
|
+
'POST',
|
|
781
|
+
`rs/sql/getfeeconfirmation`,
|
|
782
|
+
{data: data},
|
|
783
|
+
{resolveMsg: null, rejectMsg: '查询失败!!!'}
|
|
784
|
+
)
|
|
785
|
+
for (let i =0;i<res1.data.length;i++){
|
|
786
|
+
if (isEmpty(res1.data[i].f_confirm_person) || isEmpty(res1.data[i].f_auditor_person)){
|
|
787
|
+
flag = false
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
if (flag){
|
|
791
|
+
let show_data = this.selectdata
|
|
792
|
+
show_data.user = this.$login.f
|
|
793
|
+
show_data.start_activity ='报装申请'
|
|
794
|
+
show_data.xmlfilename =this.selectdata.f_apply_type
|
|
795
|
+
show_data.button = {button_name:'提交'}
|
|
796
|
+
await this.$resetpost(
|
|
797
|
+
`rs/logic/ApplyProductService`,
|
|
798
|
+
{data: show_data},
|
|
799
|
+
{resolveMsg: null, rejectMsg: '数据保存失败'}
|
|
800
|
+
)
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}
|
|
608
804
|
},
|
|
609
805
|
// 打开作废收费
|
|
610
806
|
showInvalidModal(row) {
|
|
611
807
|
this.charge = row
|
|
612
808
|
this.showInvalid = true
|
|
613
809
|
},
|
|
614
|
-
showConfirmModal(row){
|
|
810
|
+
showConfirmModal(row,type){
|
|
615
811
|
this.charge = row
|
|
616
|
-
|
|
617
|
-
|
|
812
|
+
if (type == '确认收款'){
|
|
813
|
+
this.charge.f_confirm_person=this.person
|
|
814
|
+
this.showConfirm= true
|
|
815
|
+
}
|
|
816
|
+
if (type == '确认审核'){
|
|
817
|
+
this.charge.f_auditor_person=this.person
|
|
818
|
+
this.showauditor= true
|
|
819
|
+
}
|
|
618
820
|
},
|
|
619
821
|
// 新增收费
|
|
620
822
|
async saveCharge() {
|
|
621
823
|
let http = new HttpResetClass()
|
|
824
|
+
this.charge.defname = this.selectdata.defname
|
|
622
825
|
let data = {
|
|
623
826
|
apply: this.selectdata,
|
|
624
827
|
user: this.$login.f,
|
|
@@ -759,6 +962,7 @@ export default {
|
|
|
759
962
|
this.showInvalid = false
|
|
760
963
|
this.showPrint = false
|
|
761
964
|
this.showConfirm = false
|
|
965
|
+
this.showauditor = false
|
|
762
966
|
this.charge = {}
|
|
763
967
|
this.search()
|
|
764
968
|
}
|