apply-clients 3.5.4-83 → 3.5.4-85
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 +5 -9
- package/package.json +3 -3
- package/src/App.vue +25 -25
- package/src/applyAndroid.js +72 -72
- package/src/components/android/AppTakePic.vue +182 -181
- package/src/components/android/Process/Processes/AppChargeManagement.vue +635 -635
- package/src/components/android/Process/Processes/AppChargeManagementNew.vue +630 -635
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +1 -1
- package/src/components/product/Material/MaterialDetailed.vue +268 -268
- package/src/components/product/Process/ExplorationSelect.vue +497 -497
- package/src/components/product/Process/Processes/InstallationDetails.vue +1 -1
- package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
- package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -916
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -448
- package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
- package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
- package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1843
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +197 -191
- package/src/filiale/fugou/android/printCharge.vue +162 -0
- package/src/filiale/fugou/android.js +16 -15
- package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
- package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1703
- package/src/filiale/fugou/pc/ServiceView.vue +941 -941
- package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
- package/src/filiale/fugou/pc/printChargepc.vue +148 -0
- package/src/filiale/fugou/pc.js +14 -13
- package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
- package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -1925
- package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +203 -203
- package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -589
- package/src/filiale/jinhuang/pc.js +8 -8
- package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
- package/src/filiale/qianneng/android.js +15 -15
- package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -0
- package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
- package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
- package/src/filiale/qianneng/pc.js +29 -28
- package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +466 -466
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
- package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -639
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -2075
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -1059
- package/src/filiale/yongzhouch/pc/ApplyUpload.vue +327 -327
- package/src/filiale/yongzhouch/pc/ExplorationSelect.vue +490 -490
- package/src/filiale/yongzhouch/pc/InstallationDetails.vue +610 -610
- package/src/filiale/yongzhouch/pc/ServiceControl.vue +1943 -1943
- package/src/filiale/yongzhouch/pc/devicesManagement.vue +488 -488
- package/src/filiale/yongzhouch/pc.js +10 -10
- package/src/main.js +23 -23
|
@@ -1,191 +1,197 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
-
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
-
<template partial='head'>
|
|
5
|
-
<tr>
|
|
6
|
-
<th class="textNoLineBreak">序号</th>
|
|
7
|
-
<th class="textNoLineBreak">检查项目</th>
|
|
8
|
-
<th class="textNoLineBreak">检查结果</th>
|
|
9
|
-
<th class="textNoLineBreak">操作</th>
|
|
10
|
-
</tr>
|
|
11
|
-
</template>
|
|
12
|
-
<template partial='body'>
|
|
13
|
-
<tr>
|
|
14
|
-
<td style="text-align: center;">
|
|
15
|
-
<nobr>{{$index+1}}</nobr>
|
|
16
|
-
</td>
|
|
17
|
-
<td style="text-align: center;" >
|
|
18
|
-
<nobr>{{row.f_check_list}}</nobr>
|
|
19
|
-
</td>
|
|
20
|
-
<td style="text-align: center;">
|
|
21
|
-
<nobr>{{row.f_check_value}}</nobr>
|
|
22
|
-
</td>
|
|
23
|
-
<td style="text-align: center;">
|
|
24
|
-
<nobr>
|
|
25
|
-
<button
|
|
26
|
-
type="button"
|
|
27
|
-
name="button"
|
|
28
|
-
class="btn btn-link"
|
|
29
|
-
@click="$parent.$parent.showModal(row)"
|
|
30
|
-
>修改</button>
|
|
31
|
-
</nobr>
|
|
32
|
-
</td>
|
|
33
|
-
</tr>
|
|
34
|
-
</template>
|
|
35
|
-
</data-grid>
|
|
36
|
-
<validator name="v">
|
|
37
|
-
<modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
38
|
-
<header slot="modal-header" class="modal-header">
|
|
39
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
40
|
-
<h4 class="modal-title">检查明细</h4>
|
|
41
|
-
</header>
|
|
42
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
43
|
-
<div class="form-group col-sm-12">
|
|
44
|
-
<label class="col-sm-2 control-label">检查项目:</label>
|
|
45
|
-
<div class="col-sm-10">
|
|
46
|
-
<textarea width="100%" rows="3" v-model="checkList.f_check_list"></textarea>
|
|
47
|
-
</div>
|
|
48
|
-
|
|
49
|
-
</div>
|
|
50
|
-
<div class="form-group col-sm-12" >
|
|
51
|
-
<label class="col-sm-2 control-label">检查结果:</label>
|
|
52
|
-
<div class="col-sm-10">
|
|
53
|
-
<input-select
|
|
54
|
-
placeholder='请选择' width="100%"
|
|
55
|
-
v-model="checkList.f_check_value"
|
|
56
|
-
:value.sync="checkList.f_check_value"
|
|
57
|
-
:options='item'
|
|
58
|
-
class="select select_list"
|
|
59
|
-
:value-single="true"
|
|
60
|
-
close-on-select ></input-select>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
<app-check-take-pic
|
|
64
|
-
:blobid="selectdata.f_process_id"
|
|
65
|
-
:flag="flag"
|
|
66
|
-
:defname="selectdata.defname"
|
|
67
|
-
:isdelete="true"
|
|
68
|
-
:istakepic="true"
|
|
69
|
-
:istype="true">
|
|
70
|
-
</app-check-take-pic>
|
|
71
|
-
</article>
|
|
72
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
73
|
-
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="save()">保存</button>
|
|
74
|
-
</footer>
|
|
75
|
-
</modal>
|
|
76
|
-
</validator>
|
|
77
|
-
</div>
|
|
78
|
-
</template>
|
|
79
|
-
<script>
|
|
80
|
-
import {HttpResetClass} from 'vue-client'
|
|
81
|
-
import Vue from 'vue'
|
|
82
|
-
|
|
83
|
-
export default {
|
|
84
|
-
title: '检查项管理',
|
|
85
|
-
props: {
|
|
86
|
-
selectdata: {
|
|
87
|
-
type: Object
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
data () {
|
|
91
|
-
return {
|
|
92
|
-
model: {
|
|
93
|
-
data: null
|
|
94
|
-
},
|
|
95
|
-
flag:0,
|
|
96
|
-
showCheckModel: false,
|
|
97
|
-
checkList:{},
|
|
98
|
-
item: [{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
99
|
-
hasList:false,
|
|
100
|
-
savelist:[]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
ready () {
|
|
104
|
-
this.search()
|
|
105
|
-
},
|
|
106
|
-
methods: {
|
|
107
|
-
async save(){
|
|
108
|
-
let res = await this.$resetpost(
|
|
109
|
-
`${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
|
|
110
|
-
this.checkList,
|
|
111
|
-
{resolveMsg: null, rejectMsg: '数据保存失败!!!'}
|
|
112
|
-
)
|
|
113
|
-
if(res){
|
|
114
|
-
this.showCheckModel=false
|
|
115
|
-
this.search()
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
showModal(row){
|
|
119
|
-
this.checkList=row
|
|
120
|
-
this.flag=this.selectdata.f_apply_num+row.id
|
|
121
|
-
this.showCheckModel=true
|
|
122
|
-
},
|
|
123
|
-
closeModal() {
|
|
124
|
-
this.showCheckModel=false
|
|
125
|
-
},
|
|
126
|
-
//如果是第一次,则新保存检查想到数据库
|
|
127
|
-
async saveCheck() {
|
|
128
|
-
if (this.hasList === false) {
|
|
129
|
-
this.savelist = []
|
|
130
|
-
let checkList
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
let
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
let
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak">检查项目</th>
|
|
8
|
+
<th class="textNoLineBreak">检查结果</th>
|
|
9
|
+
<th class="textNoLineBreak">操作</th>
|
|
10
|
+
</tr>
|
|
11
|
+
</template>
|
|
12
|
+
<template partial='body'>
|
|
13
|
+
<tr>
|
|
14
|
+
<td style="text-align: center;">
|
|
15
|
+
<nobr>{{$index+1}}</nobr>
|
|
16
|
+
</td>
|
|
17
|
+
<td style="text-align: center;" >
|
|
18
|
+
<nobr>{{row.f_check_list}}</nobr>
|
|
19
|
+
</td>
|
|
20
|
+
<td style="text-align: center;">
|
|
21
|
+
<nobr>{{row.f_check_value}}</nobr>
|
|
22
|
+
</td>
|
|
23
|
+
<td style="text-align: center;">
|
|
24
|
+
<nobr>
|
|
25
|
+
<button
|
|
26
|
+
type="button"
|
|
27
|
+
name="button"
|
|
28
|
+
class="btn btn-link"
|
|
29
|
+
@click="$parent.$parent.showModal(row)"
|
|
30
|
+
>修改</button>
|
|
31
|
+
</nobr>
|
|
32
|
+
</td>
|
|
33
|
+
</tr>
|
|
34
|
+
</template>
|
|
35
|
+
</data-grid>
|
|
36
|
+
<validator name="v">
|
|
37
|
+
<modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
38
|
+
<header slot="modal-header" class="modal-header">
|
|
39
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
40
|
+
<h4 class="modal-title">检查明细</h4>
|
|
41
|
+
</header>
|
|
42
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
43
|
+
<div class="form-group col-sm-12">
|
|
44
|
+
<label class="col-sm-2 control-label">检查项目:</label>
|
|
45
|
+
<div class="col-sm-10">
|
|
46
|
+
<textarea width="100%" rows="3" readonly v-model="checkList.f_check_list"></textarea>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
</div>
|
|
50
|
+
<div class="form-group col-sm-12" >
|
|
51
|
+
<label class="col-sm-2 control-label">检查结果:</label>
|
|
52
|
+
<div class="col-sm-10">
|
|
53
|
+
<input-select
|
|
54
|
+
placeholder='请选择' width="100%"
|
|
55
|
+
v-model="checkList.f_check_value"
|
|
56
|
+
:value.sync="checkList.f_check_value"
|
|
57
|
+
:options='item'
|
|
58
|
+
class="select select_list"
|
|
59
|
+
:value-single="true"
|
|
60
|
+
close-on-select ></input-select>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<app-check-take-pic
|
|
64
|
+
:blobid="selectdata.f_process_id"
|
|
65
|
+
:flag="flag"
|
|
66
|
+
:defname="selectdata.defname"
|
|
67
|
+
:isdelete="true"
|
|
68
|
+
:istakepic="true"
|
|
69
|
+
:istype="true">
|
|
70
|
+
</app-check-take-pic>
|
|
71
|
+
</article>
|
|
72
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
73
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="save()">保存</button>
|
|
74
|
+
</footer>
|
|
75
|
+
</modal>
|
|
76
|
+
</validator>
|
|
77
|
+
</div>
|
|
78
|
+
</template>
|
|
79
|
+
<script>
|
|
80
|
+
import {HttpResetClass} from 'vue-client'
|
|
81
|
+
import Vue from 'vue'
|
|
82
|
+
|
|
83
|
+
export default {
|
|
84
|
+
title: '检查项管理',
|
|
85
|
+
props: {
|
|
86
|
+
selectdata: {
|
|
87
|
+
type: Object
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
data () {
|
|
91
|
+
return {
|
|
92
|
+
model: {
|
|
93
|
+
data: null
|
|
94
|
+
},
|
|
95
|
+
flag:0,
|
|
96
|
+
showCheckModel: false,
|
|
97
|
+
checkList:{},
|
|
98
|
+
item: [{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
99
|
+
hasList:false,
|
|
100
|
+
savelist:[]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
ready () {
|
|
104
|
+
this.search()
|
|
105
|
+
},
|
|
106
|
+
methods: {
|
|
107
|
+
async save(){
|
|
108
|
+
let res = await this.$resetpost(
|
|
109
|
+
`${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
|
|
110
|
+
this.checkList,
|
|
111
|
+
{resolveMsg: null, rejectMsg: '数据保存失败!!!'}
|
|
112
|
+
)
|
|
113
|
+
if(res){
|
|
114
|
+
this.showCheckModel=false
|
|
115
|
+
this.search()
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
showModal(row){
|
|
119
|
+
this.checkList=row
|
|
120
|
+
this.flag=this.selectdata.f_apply_num+row.id
|
|
121
|
+
this.showCheckModel=true
|
|
122
|
+
},
|
|
123
|
+
closeModal() {
|
|
124
|
+
this.showCheckModel=false
|
|
125
|
+
},
|
|
126
|
+
//如果是第一次,则新保存检查想到数据库
|
|
127
|
+
async saveCheck() {
|
|
128
|
+
if (this.hasList === false) {
|
|
129
|
+
this.savelist = []
|
|
130
|
+
let checkList
|
|
131
|
+
if (this.selectdata.f_apply_type == '工商户报建'){
|
|
132
|
+
checkList = this.$appdata.getParam("报建非民用检查项目")
|
|
133
|
+
}else {
|
|
134
|
+
checkList = this.$appdata.getParam("报建民用检查项目")
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
//遍历数组,获取数组中的每一个对象,并获取对象的value
|
|
138
|
+
for (let i = 0; i < checkList.length; i++) {
|
|
139
|
+
let obj = checkList[i]
|
|
140
|
+
let value = obj.value
|
|
141
|
+
this.savelist.push(value)
|
|
142
|
+
}
|
|
143
|
+
//保存到数据库
|
|
144
|
+
let http = new HttpResetClass()
|
|
145
|
+
let data = {
|
|
146
|
+
apply: this.selectdata,
|
|
147
|
+
user: Vue.user,
|
|
148
|
+
check:this.savelist
|
|
149
|
+
}
|
|
150
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
|
|
151
|
+
resolveMsg: null,
|
|
152
|
+
rejectMsg: '添加失败!!!'
|
|
153
|
+
})
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
//查询
|
|
157
|
+
async search() {
|
|
158
|
+
let http = new HttpResetClass()
|
|
159
|
+
let data = {
|
|
160
|
+
tablename: 't_apply_check',
|
|
161
|
+
condition: `f_process_id= '${this.selectdata.f_process_id}'`
|
|
162
|
+
}
|
|
163
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
|
|
164
|
+
resolveMsg: null,
|
|
165
|
+
rejectMsg: '检查项查询失败!!!'
|
|
166
|
+
})
|
|
167
|
+
if(res.data.length>0){
|
|
168
|
+
this.model.data=res.data
|
|
169
|
+
}else{
|
|
170
|
+
this.saveCheck()
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
events: {
|
|
175
|
+
},
|
|
176
|
+
computed: {
|
|
177
|
+
CheckItems() {
|
|
178
|
+
return this.$appdata.getParam("报建检查项目")
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
watch: {
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
</script>
|
|
185
|
+
<style scoped>
|
|
186
|
+
.textNoLineBreak {
|
|
187
|
+
white-space: nowrap;
|
|
188
|
+
}
|
|
189
|
+
.head-but{
|
|
190
|
+
margin-left: 5px;
|
|
191
|
+
height: 34px;
|
|
192
|
+
/*background-color: #6aa6e2;*/
|
|
193
|
+
border-radius: 4px;
|
|
194
|
+
font-family: PingFang;
|
|
195
|
+
color: #ffffff;
|
|
196
|
+
}
|
|
197
|
+
</style>
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<style id="printChargeStyle">
|
|
3
|
+
td{
|
|
4
|
+
height: 30px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
}
|
|
7
|
+
table{
|
|
8
|
+
margin: auto;
|
|
9
|
+
/*width: 100%;*/
|
|
10
|
+
border-collapse:collapse;
|
|
11
|
+
border: 1px solid black;
|
|
12
|
+
}
|
|
13
|
+
h1,h2,h3,h4,h5,h6 {
|
|
14
|
+
text-align: center;
|
|
15
|
+
}
|
|
16
|
+
.orgs {
|
|
17
|
+
border-bottom: 2px solid;
|
|
18
|
+
padding: 5px;
|
|
19
|
+
}
|
|
20
|
+
.date {
|
|
21
|
+
float: left;
|
|
22
|
+
padding-left: 10px;
|
|
23
|
+
}
|
|
24
|
+
.status {
|
|
25
|
+
float: right;
|
|
26
|
+
padding-right: 10px;
|
|
27
|
+
}
|
|
28
|
+
.seal {
|
|
29
|
+
position: absolute;
|
|
30
|
+
right: 100px;
|
|
31
|
+
top: 120px;
|
|
32
|
+
width: 150px;
|
|
33
|
+
height: 150px;
|
|
34
|
+
/*opacity: 0.5;*/
|
|
35
|
+
z-index: -1;
|
|
36
|
+
}
|
|
37
|
+
</style>
|
|
38
|
+
<div id="printCharge">
|
|
39
|
+
<h4>
|
|
40
|
+
<span class="orgs">
|
|
41
|
+
{{orgs}}统一收据
|
|
42
|
+
</span>
|
|
43
|
+
</h4>
|
|
44
|
+
<table border="1" width="100%">
|
|
45
|
+
<tr>
|
|
46
|
+
|
|
47
|
+
<td style="width: 17%">开票日期</td>
|
|
48
|
+
<td colspan="4" style="width: 33%">{{ new Date().Format('yyyy年MM月dd日') }}</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<td style="width: 17%">收据编码</td>
|
|
52
|
+
<td colspan="4" style="width: 33%">{{ charge.f_charge_number }}</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td style="width: 17%">状态</td>
|
|
56
|
+
<td colspan="4" style="width: 33%">{{ charge.f_charge_status }}</td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<td style="width: 17%">用户姓名</td>
|
|
60
|
+
<td colspan="4" style="width: 33%">{{ selectdata.f_user_name }}</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td style="width: 17%">用户编号</td>
|
|
64
|
+
<td colspan="4" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<td>用户地址</td>
|
|
68
|
+
<td colspan="5">{{ selectdata.f_address }}</td>
|
|
69
|
+
</tr>
|
|
70
|
+
<tr>
|
|
71
|
+
<td>收款项目</td>
|
|
72
|
+
<td colspan="4">{{ charge.f_payment_term }}</td>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr>
|
|
75
|
+
<td>收款方式</td>
|
|
76
|
+
<td colspan="2">{{ charge.f_payment_method }}</td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<td>付款金额</td>
|
|
80
|
+
<td colspan="4">{{ charge.f_charge_money }}</td>
|
|
81
|
+
</tr>
|
|
82
|
+
<tr>
|
|
83
|
+
<td>金额大写</td>
|
|
84
|
+
<td colspan="4">{{ charge.f_amount_words }}</td>
|
|
85
|
+
</tr>
|
|
86
|
+
<tr>
|
|
87
|
+
<td>已付比例</td>
|
|
88
|
+
<td colspan="4">{{ selectdata.f_payment_ratio }}</td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<td>累计付款金额</td>
|
|
92
|
+
<td colspan="4">{{ selectdata.f_cumulative_payment_money }}</td>
|
|
93
|
+
</tr>
|
|
94
|
+
<tr>
|
|
95
|
+
<td>收款人</td>
|
|
96
|
+
<td colspan="4">{{ charge.f_charge_collectors }}</td>
|
|
97
|
+
</tr>
|
|
98
|
+
<tr>
|
|
99
|
+
<td>销售方(章)</td>
|
|
100
|
+
<td colspan="4" >
|
|
101
|
+
<img :src="src" style="overflow: hidden;width: 200px;height: 200px">
|
|
102
|
+
</td>
|
|
103
|
+
</tr>
|
|
104
|
+
<tr>
|
|
105
|
+
<td>备  注</td>
|
|
106
|
+
<td colspan="5">{{ charge.f_charge_remarks }}</td>
|
|
107
|
+
</tr>
|
|
108
|
+
<tr>
|
|
109
|
+
<td colspan="6">
|
|
110
|
+
请持此收据到{{orgs}}营业厅换取发票
|
|
111
|
+
</td>
|
|
112
|
+
</tr>
|
|
113
|
+
</table>
|
|
114
|
+
<!-- <img class="seal" border="0" :src="src" alt="">-->
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
<print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
118
|
+
top='20' left='30' width='100%' height='100%'>
|
|
119
|
+
</print-element>
|
|
120
|
+
</template>
|
|
121
|
+
|
|
122
|
+
<script>
|
|
123
|
+
import { isEmpty } from '../../../components/Util'
|
|
124
|
+
Date.prototype.Format = function (fmt) {
|
|
125
|
+
var o = {
|
|
126
|
+
"M+": this.getMonth() + 1, //月份
|
|
127
|
+
"d+": this.getDate(), //日
|
|
128
|
+
"H+": this.getHours(), //小时
|
|
129
|
+
"m+": this.getMinutes(), //分
|
|
130
|
+
"s+": this.getSeconds(), //秒
|
|
131
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
132
|
+
"S": this.getMilliseconds() //毫秒
|
|
133
|
+
};
|
|
134
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
135
|
+
for (var k in o)
|
|
136
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
137
|
+
return fmt;
|
|
138
|
+
}
|
|
139
|
+
export default {
|
|
140
|
+
title: '打印收费票据',
|
|
141
|
+
props: ['selectdata', 'charge'],
|
|
142
|
+
data () {
|
|
143
|
+
return {}
|
|
144
|
+
},
|
|
145
|
+
ready () {
|
|
146
|
+
},
|
|
147
|
+
methods: {
|
|
148
|
+
},
|
|
149
|
+
computed: {
|
|
150
|
+
orgs () {
|
|
151
|
+
return this.$login.f.orgs
|
|
152
|
+
},
|
|
153
|
+
src () {
|
|
154
|
+
return require(`../../../assets/${this.$login.f.number}.png`)
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
</script>
|
|
159
|
+
|
|
160
|
+
<style scoped>
|
|
161
|
+
|
|
162
|
+
</style>
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
|
|
3
|
-
let specialComp = {
|
|
4
|
-
'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
|
|
5
|
-
'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
|
|
6
|
-
'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
|
|
7
|
-
'app-zhihuan-management': (resolve) => { require(['./android/AppZhihuanManagement'], resolve) },
|
|
8
|
-
'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) },
|
|
9
|
-
'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
|
|
10
|
-
'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
|
|
11
|
-
'app-apply-replacement': (resolve) => { require(['./android/AppAddReplacement'], resolve) },
|
|
12
|
-
'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
|
|
3
|
+
let specialComp = {
|
|
4
|
+
'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
|
|
5
|
+
'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
|
|
6
|
+
'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
|
|
7
|
+
'app-zhihuan-management': (resolve) => { require(['./android/AppZhihuanManagement'], resolve) },
|
|
8
|
+
'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) },
|
|
9
|
+
'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
|
|
10
|
+
'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
|
|
11
|
+
'app-apply-replacement': (resolve) => { require(['./android/AppAddReplacement'], resolve) },
|
|
12
|
+
'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
|
|
13
|
+
'apply-print-charge': (resolve) => { require(['./android/printCharge'], resolve) }
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
exports.specialComp = specialComp
|