apply-clients 3.3.61 → 3.3.65
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 +4 -4
- package/package.json +1 -1
- package/src/AndroidApp.vue +35 -35
- package/src/apply.js +87 -93
- package/src/applyAndroid.js +31 -31
- package/src/components/android/AppOnetomany.vue +301 -301
- package/src/components/android/AppServiceView.vue +566 -566
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/Function/AppInstallFunction.vue +366 -366
- package/src/components/android/Process/AppServiceControl.vue +865 -865
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
- package/src/components/product/Function/InstallFunction.vue +132 -132
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
- package/src/components/product/Material/MaterialDetailed.vue +235 -235
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
- package/src/components/product/OldApply/OldApply.vue +150 -150
- package/src/components/product/Onetomany.vue +377 -377
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
- package/src/components/product/Process/ExplorationSelect.vue +457 -457
- package/src/components/product/Process/ExplorationUser.vue +147 -147
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
- package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
- package/src/components/product/ServiceView.vue +631 -631
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +804 -804
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
- package/src/components/product/Supervisory/SupervisoryList.vue +311 -306
- package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/components/product/Order/OrderApply.vue +0 -47
- package/src/components/product/Order/OrderApplyList.vue +0 -263
- package/src/components/product/Order/OrderMessage.vue +0 -237
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
|
-
<exploration-select v-ref:query :show-data="showData"></exploration-select>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-if="showtotal" style="height: 89%">
|
|
8
|
-
<tabset v-ref:tabs :close="false">
|
|
9
|
-
<tab :header='selectdata.defname'>
|
|
10
|
-
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
|
-
</tab>
|
|
12
|
-
<tab header='附件'>
|
|
13
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
-
:isupload = "true"
|
|
15
|
-
:isdelete="true"
|
|
16
|
-
:isusetype="true"
|
|
17
|
-
:isremark = "true"
|
|
18
|
-
:takeimg="true"
|
|
19
|
-
:issearch="true"
|
|
20
|
-
:defname="selectdata.defname">
|
|
21
|
-
</apply-upload>
|
|
22
|
-
</tab>
|
|
23
|
-
</tabset>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
28
|
-
<script>
|
|
29
|
-
import Vue from 'vue'
|
|
30
|
-
import {HttpResetClass} from 'vue-client'
|
|
31
|
-
export default {
|
|
32
|
-
title: '报建流程',
|
|
33
|
-
data () {
|
|
34
|
-
return {
|
|
35
|
-
showQuery: true, // 控制查询页
|
|
36
|
-
showData: true, // 控制列表数据
|
|
37
|
-
showtotal: false, // 详情显示
|
|
38
|
-
selectdata: {},
|
|
39
|
-
xmlname: '' // 配置文件名
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
ready () {
|
|
43
|
-
},
|
|
44
|
-
methods: {
|
|
45
|
-
// 获取页面配置json文件
|
|
46
|
-
async loadName () {
|
|
47
|
-
|
|
48
|
-
let data = {
|
|
49
|
-
workname: this.selectdata.processname
|
|
50
|
-
}
|
|
51
|
-
let http = new HttpResetClass()
|
|
52
|
-
let res = await http.load(
|
|
53
|
-
'POST',
|
|
54
|
-
'rs/logic/ApplyGetConfigs',
|
|
55
|
-
{data: data},
|
|
56
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
57
|
-
)
|
|
58
|
-
|
|
59
|
-
Vue.prototype.$workflow_vue = res.data
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
events: {
|
|
63
|
-
'onMessage' (data) {
|
|
64
|
-
console.log('接收消息')
|
|
65
|
-
console.log(data)
|
|
66
|
-
if (data.type === 'apply-task') {
|
|
67
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
// 刷新控制层
|
|
71
|
-
async 'breakControl' (servicedata) {
|
|
72
|
-
|
|
73
|
-
if (servicedata.id) {
|
|
74
|
-
let data = {
|
|
75
|
-
condition: `u.id = ${servicedata.id}`,
|
|
76
|
-
data: {
|
|
77
|
-
id: this.$login.f.id,
|
|
78
|
-
orgid: this.$login.f.orgid
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
let res = await this.$resetpost(
|
|
82
|
-
'rs/sql/checkuser',
|
|
83
|
-
{data: data},
|
|
84
|
-
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
85
|
-
)
|
|
86
|
-
|
|
87
|
-
this.selectdata = res.data[0]
|
|
88
|
-
} else {
|
|
89
|
-
this.selectdata = servicedata
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
this.showtotal = false
|
|
93
|
-
this.$nextTick(() => {
|
|
94
|
-
this.showtotal = true
|
|
95
|
-
})
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
async 'later' (row) {
|
|
99
|
-
row.f_is_later = '是'
|
|
100
|
-
let res = await this.$resetpost(
|
|
101
|
-
'rs/entity/t_apply',
|
|
102
|
-
row
|
|
103
|
-
)
|
|
104
|
-
|
|
105
|
-
this.$refs.query.loadPage()
|
|
106
|
-
},
|
|
107
|
-
// 初始化
|
|
108
|
-
async 'apply' (val) {
|
|
109
|
-
this.showtotal = false
|
|
110
|
-
this.selectdata = val
|
|
111
|
-
|
|
112
|
-
// 次方法必须同步执行,否则后续会出问题
|
|
113
|
-
// 获取页面json配置文件
|
|
114
|
-
await this.loadName()
|
|
115
|
-
|
|
116
|
-
// 显示详细
|
|
117
|
-
this.showtotal = true
|
|
118
|
-
// 关闭列表数据
|
|
119
|
-
this.showData = false
|
|
120
|
-
// 关闭分页
|
|
121
|
-
this.$refs.query.$refs.cp.pager = false
|
|
122
|
-
},
|
|
123
|
-
'search' () {
|
|
124
|
-
// 关闭详细
|
|
125
|
-
this.showtotal = false
|
|
126
|
-
// 显示列表数据
|
|
127
|
-
this.showData = true
|
|
128
|
-
// 显示分页
|
|
129
|
-
this.$refs.query.$refs.cp.pager = true
|
|
130
|
-
// 调用查询
|
|
131
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
132
|
-
},
|
|
133
|
-
'loadPage' () {
|
|
134
|
-
// 关闭详细
|
|
135
|
-
this.showtotal = false
|
|
136
|
-
// 显示列表数据
|
|
137
|
-
this.showData = true
|
|
138
|
-
// 显示分页
|
|
139
|
-
this.$refs.query.$refs.cp.pager = true
|
|
140
|
-
// 调用查询
|
|
141
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
watch: {
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
|
+
<exploration-select v-ref:query :show-data="showData"></exploration-select>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" style="height: 89%">
|
|
8
|
+
<tabset v-ref:tabs :close="false">
|
|
9
|
+
<tab :header='selectdata.defname'>
|
|
10
|
+
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
|
+
</tab>
|
|
12
|
+
<tab header='附件'>
|
|
13
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
+
:isupload = "true"
|
|
15
|
+
:isdelete="true"
|
|
16
|
+
:isusetype="true"
|
|
17
|
+
:isremark = "true"
|
|
18
|
+
:takeimg="true"
|
|
19
|
+
:issearch="true"
|
|
20
|
+
:defname="selectdata.defname">
|
|
21
|
+
</apply-upload>
|
|
22
|
+
</tab>
|
|
23
|
+
</tabset>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
<script>
|
|
29
|
+
import Vue from 'vue'
|
|
30
|
+
import {HttpResetClass} from 'vue-client'
|
|
31
|
+
export default {
|
|
32
|
+
title: '报建流程',
|
|
33
|
+
data () {
|
|
34
|
+
return {
|
|
35
|
+
showQuery: true, // 控制查询页
|
|
36
|
+
showData: true, // 控制列表数据
|
|
37
|
+
showtotal: false, // 详情显示
|
|
38
|
+
selectdata: {},
|
|
39
|
+
xmlname: '' // 配置文件名
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
ready () {
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
// 获取页面配置json文件
|
|
46
|
+
async loadName () {
|
|
47
|
+
|
|
48
|
+
let data = {
|
|
49
|
+
workname: this.selectdata.processname
|
|
50
|
+
}
|
|
51
|
+
let http = new HttpResetClass()
|
|
52
|
+
let res = await http.load(
|
|
53
|
+
'POST',
|
|
54
|
+
'rs/logic/ApplyGetConfigs',
|
|
55
|
+
{data: data},
|
|
56
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
Vue.prototype.$workflow_vue = res.data
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
events: {
|
|
63
|
+
'onMessage' (data) {
|
|
64
|
+
console.log('接收消息')
|
|
65
|
+
console.log(data)
|
|
66
|
+
if (data.type === 'apply-task') {
|
|
67
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
// 刷新控制层
|
|
71
|
+
async 'breakControl' (servicedata) {
|
|
72
|
+
|
|
73
|
+
if (servicedata.id) {
|
|
74
|
+
let data = {
|
|
75
|
+
condition: `u.id = ${servicedata.id}`,
|
|
76
|
+
data: {
|
|
77
|
+
id: this.$login.f.id,
|
|
78
|
+
orgid: this.$login.f.orgid
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
let res = await this.$resetpost(
|
|
82
|
+
'rs/sql/checkuser',
|
|
83
|
+
{data: data},
|
|
84
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
this.selectdata = res.data[0]
|
|
88
|
+
} else {
|
|
89
|
+
this.selectdata = servicedata
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
this.showtotal = false
|
|
93
|
+
this.$nextTick(() => {
|
|
94
|
+
this.showtotal = true
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
},
|
|
98
|
+
async 'later' (row) {
|
|
99
|
+
row.f_is_later = '是'
|
|
100
|
+
let res = await this.$resetpost(
|
|
101
|
+
'rs/entity/t_apply',
|
|
102
|
+
row
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
this.$refs.query.loadPage()
|
|
106
|
+
},
|
|
107
|
+
// 初始化
|
|
108
|
+
async 'apply' (val) {
|
|
109
|
+
this.showtotal = false
|
|
110
|
+
this.selectdata = val
|
|
111
|
+
|
|
112
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
113
|
+
// 获取页面json配置文件
|
|
114
|
+
await this.loadName()
|
|
115
|
+
|
|
116
|
+
// 显示详细
|
|
117
|
+
this.showtotal = true
|
|
118
|
+
// 关闭列表数据
|
|
119
|
+
this.showData = false
|
|
120
|
+
// 关闭分页
|
|
121
|
+
this.$refs.query.$refs.cp.pager = false
|
|
122
|
+
},
|
|
123
|
+
'search' () {
|
|
124
|
+
// 关闭详细
|
|
125
|
+
this.showtotal = false
|
|
126
|
+
// 显示列表数据
|
|
127
|
+
this.showData = true
|
|
128
|
+
// 显示分页
|
|
129
|
+
this.$refs.query.$refs.cp.pager = true
|
|
130
|
+
// 调用查询
|
|
131
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
132
|
+
},
|
|
133
|
+
'loadPage' () {
|
|
134
|
+
// 关闭详细
|
|
135
|
+
this.showtotal = false
|
|
136
|
+
// 显示列表数据
|
|
137
|
+
this.showData = true
|
|
138
|
+
// 显示分页
|
|
139
|
+
this.$refs.query.$refs.cp.pager = true
|
|
140
|
+
// 调用查询
|
|
141
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
watch: {
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
</script>
|
|
@@ -1,142 +1,142 @@
|
|
|
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
|
-
<td colspan="2" style="border: none">
|
|
47
|
-
开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
|
|
48
|
-
</td>
|
|
49
|
-
<td colspan="2" style="border: none">
|
|
50
|
-
收据编码:{{ charge.f_charge_number }}
|
|
51
|
-
</td>
|
|
52
|
-
<td colspan="2" style="border: none">
|
|
53
|
-
状态:{{ charge.f_charge_status }}
|
|
54
|
-
</td>
|
|
55
|
-
</tr>
|
|
56
|
-
<tr>
|
|
57
|
-
<td style="width: 17%">用户姓名</td>
|
|
58
|
-
<td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
|
|
59
|
-
<td style="width: 17%">用户编号</td>
|
|
60
|
-
<td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
|
|
61
|
-
</tr>
|
|
62
|
-
<tr>
|
|
63
|
-
<td>用户地址</td>
|
|
64
|
-
<td colspan="5">{{ selectdata.f_address }}</td>
|
|
65
|
-
</tr>
|
|
66
|
-
<tr>
|
|
67
|
-
<td>收款项目</td>
|
|
68
|
-
<td colspan="2">{{ charge.f_payment_term }}</td>
|
|
69
|
-
<td>收款方式</td>
|
|
70
|
-
<td colspan="2">{{ charge.f_payment_method }}</td>
|
|
71
|
-
</tr>
|
|
72
|
-
<tr>
|
|
73
|
-
<td>金额</td>
|
|
74
|
-
<td colspan="2">{{ charge.f_charge_money }}</td>
|
|
75
|
-
<td>金额大写</td>
|
|
76
|
-
<td colspan="2">{{ charge.f_amount_words }}</td>
|
|
77
|
-
</tr>
|
|
78
|
-
<tr>
|
|
79
|
-
<td>收款人</td>
|
|
80
|
-
<td colspan="2">{{ charge.f_charge_collectors }}</td>
|
|
81
|
-
<td>销售方(章)</td>
|
|
82
|
-
<td colspan="2"></td>
|
|
83
|
-
</tr>
|
|
84
|
-
<tr>
|
|
85
|
-
<td>备  注</td>
|
|
86
|
-
<td colspan="5">{{ charge.f_charge_remarks }}</td>
|
|
87
|
-
</tr>
|
|
88
|
-
<tr>
|
|
89
|
-
<td colspan="6">
|
|
90
|
-
请持此收据到{{orgs}}营业厅换取发票
|
|
91
|
-
</td>
|
|
92
|
-
</tr>
|
|
93
|
-
</table>
|
|
94
|
-
<img class="seal" border="0" :src="src" alt="">
|
|
95
|
-
</div>
|
|
96
|
-
|
|
97
|
-
<print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
98
|
-
top='20' left='30' width='100%' height='100%'>
|
|
99
|
-
</print-element>
|
|
100
|
-
</template>
|
|
101
|
-
|
|
102
|
-
<script>
|
|
103
|
-
import { isEmpty } from '../../../../Util'
|
|
104
|
-
Date.prototype.Format = function (fmt) {
|
|
105
|
-
var o = {
|
|
106
|
-
"M+": this.getMonth() + 1, //月份
|
|
107
|
-
"d+": this.getDate(), //日
|
|
108
|
-
"H+": this.getHours(), //小时
|
|
109
|
-
"m+": this.getMinutes(), //分
|
|
110
|
-
"s+": this.getSeconds(), //秒
|
|
111
|
-
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
112
|
-
"S": this.getMilliseconds() //毫秒
|
|
113
|
-
};
|
|
114
|
-
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
115
|
-
for (var k in o)
|
|
116
|
-
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
117
|
-
return fmt;
|
|
118
|
-
}
|
|
119
|
-
export default {
|
|
120
|
-
title: '打印收费票据',
|
|
121
|
-
props: ['selectdata', 'charge'],
|
|
122
|
-
data () {
|
|
123
|
-
return {}
|
|
124
|
-
},
|
|
125
|
-
ready () {
|
|
126
|
-
},
|
|
127
|
-
methods: {
|
|
128
|
-
},
|
|
129
|
-
computed: {
|
|
130
|
-
orgs () {
|
|
131
|
-
return this.$login.f.orgs
|
|
132
|
-
},
|
|
133
|
-
src () {
|
|
134
|
-
return require(`./img/${this.$login.f.number}.png`)
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
</script>
|
|
139
|
-
|
|
140
|
-
<style scoped>
|
|
141
|
-
|
|
142
|
-
</style>
|
|
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
|
+
<td colspan="2" style="border: none">
|
|
47
|
+
开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
|
|
48
|
+
</td>
|
|
49
|
+
<td colspan="2" style="border: none">
|
|
50
|
+
收据编码:{{ charge.f_charge_number }}
|
|
51
|
+
</td>
|
|
52
|
+
<td colspan="2" style="border: none">
|
|
53
|
+
状态:{{ charge.f_charge_status }}
|
|
54
|
+
</td>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<td style="width: 17%">用户姓名</td>
|
|
58
|
+
<td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
|
|
59
|
+
<td style="width: 17%">用户编号</td>
|
|
60
|
+
<td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td>用户地址</td>
|
|
64
|
+
<td colspan="5">{{ selectdata.f_address }}</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<td>收款项目</td>
|
|
68
|
+
<td colspan="2">{{ charge.f_payment_term }}</td>
|
|
69
|
+
<td>收款方式</td>
|
|
70
|
+
<td colspan="2">{{ charge.f_payment_method }}</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td>金额</td>
|
|
74
|
+
<td colspan="2">{{ charge.f_charge_money }}</td>
|
|
75
|
+
<td>金额大写</td>
|
|
76
|
+
<td colspan="2">{{ charge.f_amount_words }}</td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<td>收款人</td>
|
|
80
|
+
<td colspan="2">{{ charge.f_charge_collectors }}</td>
|
|
81
|
+
<td>销售方(章)</td>
|
|
82
|
+
<td colspan="2"></td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td>备  注</td>
|
|
86
|
+
<td colspan="5">{{ charge.f_charge_remarks }}</td>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<td colspan="6">
|
|
90
|
+
请持此收据到{{orgs}}营业厅换取发票
|
|
91
|
+
</td>
|
|
92
|
+
</tr>
|
|
93
|
+
</table>
|
|
94
|
+
<img class="seal" border="0" :src="src" alt="">
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
98
|
+
top='20' left='30' width='100%' height='100%'>
|
|
99
|
+
</print-element>
|
|
100
|
+
</template>
|
|
101
|
+
|
|
102
|
+
<script>
|
|
103
|
+
import { isEmpty } from '../../../../Util'
|
|
104
|
+
Date.prototype.Format = function (fmt) {
|
|
105
|
+
var o = {
|
|
106
|
+
"M+": this.getMonth() + 1, //月份
|
|
107
|
+
"d+": this.getDate(), //日
|
|
108
|
+
"H+": this.getHours(), //小时
|
|
109
|
+
"m+": this.getMinutes(), //分
|
|
110
|
+
"s+": this.getSeconds(), //秒
|
|
111
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
112
|
+
"S": this.getMilliseconds() //毫秒
|
|
113
|
+
};
|
|
114
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
115
|
+
for (var k in o)
|
|
116
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
117
|
+
return fmt;
|
|
118
|
+
}
|
|
119
|
+
export default {
|
|
120
|
+
title: '打印收费票据',
|
|
121
|
+
props: ['selectdata', 'charge'],
|
|
122
|
+
data () {
|
|
123
|
+
return {}
|
|
124
|
+
},
|
|
125
|
+
ready () {
|
|
126
|
+
},
|
|
127
|
+
methods: {
|
|
128
|
+
},
|
|
129
|
+
computed: {
|
|
130
|
+
orgs () {
|
|
131
|
+
return this.$login.f.orgs
|
|
132
|
+
},
|
|
133
|
+
src () {
|
|
134
|
+
return require(`./img/${this.$login.f.number}.png`)
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
</script>
|
|
139
|
+
|
|
140
|
+
<style scoped>
|
|
141
|
+
|
|
142
|
+
</style>
|