apply-clients 5.0.35-81 → 5.0.35-84
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/app_apply/ApplyToDoList.vue +2820 -2820
- package/src/components/app_apply/Gongcheng.vue +3631 -3631
- package/src/components/app_apply/ServiceControl.vue +740 -736
- package/src/components/app_apply/ezhou/ServiceView.vue +808 -808
- package/src/components/product/Common/PrintBill.vue +121 -121
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -304
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -137
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +586 -587
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -281
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +1 -2
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +7 -3
- package/src/components/product/Function/InstallInfoSelect.vue +255 -255
- package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
- package/src/components/product/Function/functions/InstallFee.vue +2 -3
- package/src/components/product/Function/functions/InstallFeeInfo.vue +6 -1
- package/src/components/product/Process/ExplorationSelect.vue +640 -640
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +2 -2
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2155 -2155
- package/src/components/product/Supervisory/SupervisoryList.vue +409 -401
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -281
- package/src/ezhouAndroid.js +48 -48
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto form-horizontal" >
|
|
3
|
-
<modal :show.sync="show" v-if="show" v-ref:modal large backdrop="false">
|
|
4
|
-
<header slot="modal-header" class="modal-header">
|
|
5
|
-
<h3 style="color:black" class="modal-title" >{{billConfig.billtype}}</h3>
|
|
6
|
-
<button type="button" class="close" @click="closebuyerinfo"><span>×</span></button>
|
|
7
|
-
</header>
|
|
8
|
-
<article slot="modal-body" class="modal-body">
|
|
9
|
-
<!-- <div v-if="bill.data">-->
|
|
10
|
-
<!-- {{{bill.data}}}-->
|
|
11
|
-
<!-- </div>-->
|
|
12
|
-
<validator name='v'>
|
|
13
|
-
<form class="form-horizontal select-overspread">
|
|
14
|
-
<div class="row" style="display: flex;justify-content: center;" id='normal-bill_xx' v-if="bill.data" v-html="bill.data">
|
|
15
|
-
|
|
16
|
-
</div>
|
|
17
|
-
</form>
|
|
18
|
-
</validator>
|
|
19
|
-
</article>
|
|
20
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
21
|
-
<div v-if="billConfig.hasBillManage">
|
|
22
|
-
<div class="col-sm-2" >
|
|
23
|
-
<span><strong>发票号:{{model.f_using_number}}</strong></span>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
27
|
-
<report-print :id="'normal-bill_xx'" top='15mm' left='5mm' width='90%' height='70%' :notrepeat="false" :showbtn="false" v-ref:reportprint></report-print>
|
|
28
|
-
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
|
|
29
|
-
</footer>
|
|
30
|
-
</modal>
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
<script>
|
|
34
|
-
import { DataModel } from 'vue-client'
|
|
35
|
-
import Vue from "vue";
|
|
36
|
-
|
|
37
|
-
let getBillData = async function(self, val) {
|
|
38
|
-
debugger
|
|
39
|
-
self.bill = new DataModel(self.billData.url, {reprint: "'正常'"})
|
|
40
|
-
await self.bill.search(self.data.chargeid)
|
|
41
|
-
// self.bill.condition=
|
|
42
|
-
// 获取发票号
|
|
43
|
-
self.model.f_using_number = self.billData.bill.number
|
|
44
|
-
console.log(self.bill)
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export default {
|
|
48
|
-
title: '收费发票',
|
|
49
|
-
data () {
|
|
50
|
-
return {
|
|
51
|
-
model: {
|
|
52
|
-
f_using_number: null
|
|
53
|
-
},
|
|
54
|
-
bill: {data:''},
|
|
55
|
-
messShow: false
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
props: ['show', 'data', 'billData', 'billConfig','titleName','billDataantai'],
|
|
59
|
-
ready () {
|
|
60
|
-
console.log('打票!!!!!!!!!!!!!!!!!')
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
},
|
|
64
|
-
methods: {
|
|
65
|
-
closebuyerinfo(){
|
|
66
|
-
this.show=false;
|
|
67
|
-
},
|
|
68
|
-
cancel () {
|
|
69
|
-
this.$dispatch('toggle')
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
async print () {
|
|
74
|
-
// 更新系统发票
|
|
75
|
-
this.data.f_operator=this.$login.f.name,
|
|
76
|
-
this.data.f_filiale= this.$login.f.f_fengongsi,
|
|
77
|
-
this.data.f_outlets= this.$login.f.f_parentname,
|
|
78
|
-
this.data.f_orgstr=this.$login.f.orgpathstr,
|
|
79
|
-
this.data.f_filialeids=this.$login.f.f_orgids
|
|
80
|
-
|
|
81
|
-
try {
|
|
82
|
-
if (this.billConfig.hasBillManage) {
|
|
83
|
-
console.log("进入hasBillManage====================================")
|
|
84
|
-
await this.$commonService.openPaperBill(this.data.chargeid, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常',this.data.f_operator,this.data.f_filiale,this.data.f_outlets,this.data.f_orgstr,this.data.f_filialeids)
|
|
85
|
-
}
|
|
86
|
-
//票据打印!!!!!!!!!!!!!!!!!!!!
|
|
87
|
-
this.$refs.reportprint.print()
|
|
88
|
-
this.$dispatch('selfsearch')
|
|
89
|
-
this.$parent.model.f_charge_money=0
|
|
90
|
-
this.$parent.model.f_amount_words=0
|
|
91
|
-
this.$parent.model.f_amount_words=0
|
|
92
|
-
this.show=false
|
|
93
|
-
} catch (error) {
|
|
94
|
-
this.$dispatch('refresh')
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
watch: {
|
|
99
|
-
'show' (val) {
|
|
100
|
-
if (val) {
|
|
101
|
-
getBillData(this, val).then(() => {
|
|
102
|
-
}).catch((error) => {
|
|
103
|
-
|
|
104
|
-
this.$emit('error', error)
|
|
105
|
-
})
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
events: {
|
|
110
|
-
'print' () {
|
|
111
|
-
this.$dispatch('printok', '发票打印', this.data)
|
|
112
|
-
},
|
|
113
|
-
'print-error' () {
|
|
114
|
-
this.$dispatch('error', '发票打印', this.data, null)
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
</script>
|
|
120
|
-
<style >
|
|
121
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto form-horizontal" >
|
|
3
|
+
<modal :show.sync="show" v-if="show" v-ref:modal large backdrop="false">
|
|
4
|
+
<header slot="modal-header" class="modal-header">
|
|
5
|
+
<h3 style="color:black" class="modal-title" >{{billConfig.billtype}}</h3>
|
|
6
|
+
<button type="button" class="close" @click="closebuyerinfo"><span>×</span></button>
|
|
7
|
+
</header>
|
|
8
|
+
<article slot="modal-body" class="modal-body">
|
|
9
|
+
<!-- <div v-if="bill.data">-->
|
|
10
|
+
<!-- {{{bill.data}}}-->
|
|
11
|
+
<!-- </div>-->
|
|
12
|
+
<validator name='v'>
|
|
13
|
+
<form class="form-horizontal select-overspread">
|
|
14
|
+
<div class="row" style="display: flex;justify-content: center;" id='normal-bill_xx' v-if="bill.data" v-html="bill.data">
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
</form>
|
|
18
|
+
</validator>
|
|
19
|
+
</article>
|
|
20
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
21
|
+
<div v-if="billConfig.hasBillManage">
|
|
22
|
+
<div class="col-sm-2" >
|
|
23
|
+
<span><strong>发票号:{{model.f_using_number}}</strong></span>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
27
|
+
<report-print :id="'normal-bill_xx'" top='15mm' left='5mm' width='90%' height='70%' :notrepeat="false" :showbtn="false" v-ref:reportprint></report-print>
|
|
28
|
+
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
|
|
29
|
+
</footer>
|
|
30
|
+
</modal>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
<script>
|
|
34
|
+
import { DataModel } from 'vue-client'
|
|
35
|
+
import Vue from "vue";
|
|
36
|
+
|
|
37
|
+
let getBillData = async function(self, val) {
|
|
38
|
+
debugger
|
|
39
|
+
self.bill = new DataModel(self.billData.url, {reprint: "'正常'"})
|
|
40
|
+
await self.bill.search(self.data.chargeid)
|
|
41
|
+
// self.bill.condition=
|
|
42
|
+
// 获取发票号
|
|
43
|
+
self.model.f_using_number = self.billData.bill.number
|
|
44
|
+
console.log(self.bill)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export default {
|
|
48
|
+
title: '收费发票',
|
|
49
|
+
data () {
|
|
50
|
+
return {
|
|
51
|
+
model: {
|
|
52
|
+
f_using_number: null
|
|
53
|
+
},
|
|
54
|
+
bill: {data:''},
|
|
55
|
+
messShow: false
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
props: ['show', 'data', 'billData', 'billConfig','titleName','billDataantai'],
|
|
59
|
+
ready () {
|
|
60
|
+
console.log('打票!!!!!!!!!!!!!!!!!')
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
},
|
|
64
|
+
methods: {
|
|
65
|
+
closebuyerinfo(){
|
|
66
|
+
this.show=false;
|
|
67
|
+
},
|
|
68
|
+
cancel () {
|
|
69
|
+
this.$dispatch('toggle')
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
async print () {
|
|
74
|
+
// 更新系统发票
|
|
75
|
+
this.data.f_operator=this.$login.f.name,
|
|
76
|
+
this.data.f_filiale= this.$login.f.f_fengongsi,
|
|
77
|
+
this.data.f_outlets= this.$login.f.f_parentname,
|
|
78
|
+
this.data.f_orgstr=this.$login.f.orgpathstr,
|
|
79
|
+
this.data.f_filialeids=this.$login.f.f_orgids
|
|
80
|
+
|
|
81
|
+
try {
|
|
82
|
+
if (this.billConfig.hasBillManage) {
|
|
83
|
+
console.log("进入hasBillManage====================================")
|
|
84
|
+
await this.$commonService.openPaperBill(this.data.chargeid, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常',this.data.f_operator,this.data.f_filiale,this.data.f_outlets,this.data.f_orgstr,this.data.f_filialeids)
|
|
85
|
+
}
|
|
86
|
+
//票据打印!!!!!!!!!!!!!!!!!!!!
|
|
87
|
+
this.$refs.reportprint.print()
|
|
88
|
+
this.$dispatch('selfsearch')
|
|
89
|
+
this.$parent.model.f_charge_money=0
|
|
90
|
+
this.$parent.model.f_amount_words=0
|
|
91
|
+
this.$parent.model.f_amount_words=0
|
|
92
|
+
this.show=false
|
|
93
|
+
} catch (error) {
|
|
94
|
+
this.$dispatch('refresh')
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
watch: {
|
|
99
|
+
'show' (val) {
|
|
100
|
+
if (val) {
|
|
101
|
+
getBillData(this, val).then(() => {
|
|
102
|
+
}).catch((error) => {
|
|
103
|
+
|
|
104
|
+
this.$emit('error', error)
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
events: {
|
|
110
|
+
'print' () {
|
|
111
|
+
this.$dispatch('printok', '发票打印', this.data)
|
|
112
|
+
},
|
|
113
|
+
'print-error' () {
|
|
114
|
+
this.$dispatch('error', '发票打印', this.data, null)
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
</script>
|
|
120
|
+
<style >
|
|
121
|
+
</style>
|