apply-clients 3.4.2 → 3.4.4
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/android.html +23 -23
- package/build/dev-server.js +119 -119
- package/build/webpack.base.conf.js +2 -1
- package/build/webpack.dev.conf.js +12 -0
- package/dingding.html +23 -0
- package/index.html +33 -33
- package/package.json +2 -1
- package/src/AndroidApp.vue +35 -35
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +21 -21
- package/src/apply.js +38 -13
- package/src/applyAndroid.js +46 -32
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +343 -301
- package/src/components/android/AppServiceView.vue +189 -10
- package/src/components/android/AppSign.vue +19 -7
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
- package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
- package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
- package/src/components/android/Function/AppInstallFunction.vue +366 -0
- package/src/components/android/Process/AppExplorationUser.vue +500 -320
- package/src/components/android/Process/AppServiceControl.vue +999 -48
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
- package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
- package/src/components/android/Process/Processes/selectApply.vue +250 -0
- package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
- package/src/components/android/TaskGraph.vue +125 -125
- package/src/components/common/TabButton.vue +149 -0
- package/src/components/common/Tabs.vue +67 -0
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/txt.jpg +0 -0
- package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
- package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
- package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
- package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
- package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
- package/src/components/product/Business/BusinessApply.vue +269 -0
- package/src/components/product/Business/CivilApply.vue +269 -0
- package/src/components/product/Function/InstallFunction.vue +132 -125
- package/src/components/product/Function/InstallInfoSelect.vue +320 -292
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
- package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
- package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
- package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
- package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/Material/MaterialDetailed.vue +262 -0
- package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
- package/src/components/product/OldApply/OldApply.vue +209 -0
- package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
- package/src/components/product/Onetomany.vue +406 -377
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
- package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
- package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
- package/src/components/product/Process/ExplorationSelect.vue +495 -410
- package/src/components/product/Process/ExplorationUser.vue +189 -138
- package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
- package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
- package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
- package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
- package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
- package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
- package/src/components/product/Process/Processes/selectApply.vue +2 -2
- package/src/components/product/Process/Service/ServiceControl.vue +638 -20
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
- package/src/components/product/Process/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +357 -7
- package/src/components/product/Stop/StopApply.vue +101 -103
- package/src/components/product/Stop/StopApplyList.vue +271 -269
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
- package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
- package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
- package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/components/product/VueUtils/ToolsPage.vue +51 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/dingding.js +19 -0
- package/src/expandcssAndroid.less +517 -1034
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
- package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
- package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
- package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
- package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
- package/src/filiale/yuchuan/android.js +14 -14
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
- package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
- package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
- package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
- package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
- package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
- package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
- package/src/filiale/yuchuan/pc.js +20 -12
- package/src/main.js +4 -1
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
|
@@ -1,138 +1,189 @@
|
|
|
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
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
{
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
//
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
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
|
+
|
|
26
|
+
<validator name="v">
|
|
27
|
+
<modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
|
|
28
|
+
<header slot="modal-header" class="modal-header">
|
|
29
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
30
|
+
<h4 class="modal-title">稍后处理</h4>
|
|
31
|
+
</header>
|
|
32
|
+
|
|
33
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
34
|
+
<div class="form-group col-sm-12">
|
|
35
|
+
<label class="col-sm-2 control-label">稍后处理备注:</label>
|
|
36
|
+
<div class="col-sm-10">
|
|
37
|
+
<input type="textarea"
|
|
38
|
+
class="form-control input_view"
|
|
39
|
+
style="width: 100%"
|
|
40
|
+
v-model="laterapply.f_later_remarks" />
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</article>
|
|
44
|
+
|
|
45
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
46
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
|
|
47
|
+
</footer>
|
|
48
|
+
</modal>
|
|
49
|
+
</validator>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
<script>
|
|
54
|
+
import Vue from 'vue'
|
|
55
|
+
import {HttpResetClass} from 'vue-client'
|
|
56
|
+
export default {
|
|
57
|
+
title: '报建流程',
|
|
58
|
+
data () {
|
|
59
|
+
return {
|
|
60
|
+
showQuery: true, // 控制查询页
|
|
61
|
+
showData: true, // 控制列表数据
|
|
62
|
+
showtotal: false, // 详情显示
|
|
63
|
+
selectdata: {},
|
|
64
|
+
xmlname: '', // 配置文件名
|
|
65
|
+
showLater: false,
|
|
66
|
+
laterapply: {}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
ready () {
|
|
70
|
+
},
|
|
71
|
+
methods: {
|
|
72
|
+
// 获取页面配置json文件
|
|
73
|
+
async loadName () {
|
|
74
|
+
|
|
75
|
+
let data = {
|
|
76
|
+
workname: this.selectdata.processname
|
|
77
|
+
}
|
|
78
|
+
let http = new HttpResetClass()
|
|
79
|
+
let res = await http.load(
|
|
80
|
+
'POST',
|
|
81
|
+
'rs/logic/ApplyGetConfigs',
|
|
82
|
+
{data: data},
|
|
83
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
Vue.prototype.$workflow_vue = res.data
|
|
87
|
+
},
|
|
88
|
+
async later () {
|
|
89
|
+
let http = new HttpResetClass()
|
|
90
|
+
let data = {
|
|
91
|
+
laterapply: this.laterapply,
|
|
92
|
+
selectdata: this.selectdata,
|
|
93
|
+
user: this.$login.f
|
|
94
|
+
}
|
|
95
|
+
let res = await http.load('POST', 'rs/logic/laterprocessing', {data:data}, {
|
|
96
|
+
resolveMsg: null,
|
|
97
|
+
rejectMsg: '稍后处理记录保存失败!!!'
|
|
98
|
+
})
|
|
99
|
+
this.closeModal()
|
|
100
|
+
},
|
|
101
|
+
closeModal () {
|
|
102
|
+
this.selectdata = null
|
|
103
|
+
this.showLater = false
|
|
104
|
+
this.laterapply = {}
|
|
105
|
+
|
|
106
|
+
this.$refs.query.loadPage()
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
events: {
|
|
110
|
+
'onMessage' (data) {
|
|
111
|
+
console.log('接收消息')
|
|
112
|
+
console.log(data)
|
|
113
|
+
if (data.type === 'apply-task') {
|
|
114
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
// 刷新控制层
|
|
118
|
+
async 'breakControl' (servicedata) {
|
|
119
|
+
|
|
120
|
+
if (servicedata.id) {
|
|
121
|
+
let data = {
|
|
122
|
+
condition: `u.id = ${servicedata.id}`,
|
|
123
|
+
data: {
|
|
124
|
+
id: this.$login.f.id,
|
|
125
|
+
orgid: this.$login.f.orgid
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
let res = await this.$resetpost(
|
|
129
|
+
'rs/sql/checkuser',
|
|
130
|
+
{data: data},
|
|
131
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
this.selectdata = res.data[0]
|
|
135
|
+
} else {
|
|
136
|
+
this.selectdata = servicedata
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
this.showtotal = false
|
|
140
|
+
this.$nextTick(() => {
|
|
141
|
+
this.showtotal = true
|
|
142
|
+
})
|
|
143
|
+
|
|
144
|
+
},
|
|
145
|
+
async openLater (row) {
|
|
146
|
+
this.selectdata = row
|
|
147
|
+
this.showLater = true
|
|
148
|
+
},
|
|
149
|
+
// 初始化
|
|
150
|
+
async 'apply' (val) {
|
|
151
|
+
this.showtotal = false
|
|
152
|
+
this.selectdata = val
|
|
153
|
+
|
|
154
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
155
|
+
// 获取页面json配置文件
|
|
156
|
+
await this.loadName()
|
|
157
|
+
|
|
158
|
+
// 显示详细
|
|
159
|
+
this.showtotal = true
|
|
160
|
+
// 关闭列表数据
|
|
161
|
+
this.showData = false
|
|
162
|
+
// 关闭分页
|
|
163
|
+
this.$refs.query.$refs.cp.pager = false
|
|
164
|
+
},
|
|
165
|
+
'search' () {
|
|
166
|
+
// 关闭详细
|
|
167
|
+
this.showtotal = false
|
|
168
|
+
// 显示列表数据
|
|
169
|
+
this.showData = true
|
|
170
|
+
// 显示分页
|
|
171
|
+
this.$refs.query.$refs.cp.pager = true
|
|
172
|
+
// 调用查询
|
|
173
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
174
|
+
},
|
|
175
|
+
'loadPage' () {
|
|
176
|
+
// 关闭详细
|
|
177
|
+
this.showtotal = false
|
|
178
|
+
// 显示列表数据
|
|
179
|
+
this.showData = true
|
|
180
|
+
// 显示分页
|
|
181
|
+
this.$refs.query.$refs.cp.pager = true
|
|
182
|
+
// 调用查询
|
|
183
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
watch: {
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
</script>
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
<th>客户名称</th>
|
|
16
16
|
<th>客户电话</th>
|
|
17
17
|
<th>地址信息</th>
|
|
18
|
+
<th v-if="$parent.$parent.$parent.selectdata.f_apply_type === '团购报建'">备注</th>
|
|
18
19
|
<th>表具数量</th>
|
|
19
20
|
<th>
|
|
20
21
|
<template v-if="$parent.$parent.$parent.selectdata.f_apply_type === '团购报建'">
|
|
@@ -50,6 +51,9 @@
|
|
|
50
51
|
<td style="text-align: center;">
|
|
51
52
|
<nobr>{{row.f_address}}</nobr>
|
|
52
53
|
</td>
|
|
54
|
+
<th v-if="$parent.$parent.$parent.selectdata.f_apply_type === '团购报建'">
|
|
55
|
+
<nobr>{{row.f_userinfo_comments}}</nobr>
|
|
56
|
+
</th>
|
|
53
57
|
<td style="text-align: center;">
|
|
54
58
|
<nobr>{{row.f_userfiles_num === null ? 0 : row.f_userfiles_num}}</nobr>
|
|
55
59
|
</td>
|
|
@@ -137,6 +141,8 @@
|
|
|
137
141
|
<div class="col-sm-8">
|
|
138
142
|
<input class="form-control input_view" style=""
|
|
139
143
|
placeholder="表号"
|
|
144
|
+
type="number"
|
|
145
|
+
οnkeyup="this.value=this.value.replace(/\s+/g,'')"
|
|
140
146
|
v-model="item.f_meternumber"
|
|
141
147
|
:value="item.f_meternumber"
|
|
142
148
|
@change="meternumberValidate(i)"
|
|
@@ -298,7 +304,15 @@ export default {
|
|
|
298
304
|
'f_meter_base': '表读数',
|
|
299
305
|
'f_initial_base': '初始底数',
|
|
300
306
|
'f_aroundmeter': '表向',
|
|
301
|
-
'
|
|
307
|
+
'f_user_phone': '电话',
|
|
308
|
+
'f_userinfo_comments': '备注',
|
|
309
|
+
'f_position': '安装位置',
|
|
310
|
+
'f_userinfo_code': '用户编号',
|
|
311
|
+
'f_material_name': '材料名称',
|
|
312
|
+
'f_material_style': '材料型号',
|
|
313
|
+
'f_material_price': '材料价格',
|
|
314
|
+
'f_material_unit': '材料单位',
|
|
315
|
+
'f_material_number': '材料数量'
|
|
302
316
|
},
|
|
303
317
|
showWork: false
|
|
304
318
|
}
|
|
@@ -443,7 +457,7 @@ export default {
|
|
|
443
457
|
async notInstalled () {
|
|
444
458
|
let http = new HttpResetClass()
|
|
445
459
|
let data = {
|
|
446
|
-
condition: `ui.f_process_id = '${this.selectdata.f_process_id}' and uf.f_table_state
|
|
460
|
+
condition: `ui.f_process_id = '${this.selectdata.f_process_id}' and uf.f_table_state != '待开通'`
|
|
447
461
|
}
|
|
448
462
|
let res = await http.load(
|
|
449
463
|
'POST',
|
|
@@ -464,14 +478,18 @@ export default {
|
|
|
464
478
|
}
|
|
465
479
|
},
|
|
466
480
|
searchCondition (args) {
|
|
467
|
-
|
|
468
|
-
if
|
|
481
|
+
var tablestate=''
|
|
482
|
+
if(this.selectdata.f_sub_state==='完工'){
|
|
483
|
+
tablestate='正常'
|
|
484
|
+
}else{
|
|
485
|
+
tablestate='待开通'
|
|
486
|
+
}
|
|
487
|
+
if (this.selectdata.f_apply_type === '团购转散户' || this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建' || this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
469
488
|
args.condition = args.condition + `and ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
|
|
470
489
|
} else {
|
|
471
490
|
args.condition = args.condition + `and ua.f_process_id = '${this.selectdata.f_process_id}'`
|
|
472
491
|
}
|
|
473
|
-
|
|
474
|
-
this.model.search(args.condition, args.model)
|
|
492
|
+
this.model.search(args.condition, args.model,tablestate)
|
|
475
493
|
},
|
|
476
494
|
// 查询
|
|
477
495
|
async search () {
|
|
@@ -520,7 +538,7 @@ export default {
|
|
|
520
538
|
return this.selectdata.f_apply_type === '团购报建'
|
|
521
539
|
},
|
|
522
540
|
getCondition () {
|
|
523
|
-
let condition = `ua.f_process_id = '${this.selectdata.f_process_id}'
|
|
541
|
+
let condition = `ua.f_process_id = '${this.selectdata.f_process_id}'`
|
|
524
542
|
|
|
525
543
|
return {
|
|
526
544
|
condition: condition
|
|
@@ -43,21 +43,25 @@
|
|
|
43
43
|
</h4>
|
|
44
44
|
<table border="1" width="100%">
|
|
45
45
|
<tr>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
<td colspan="
|
|
53
|
-
|
|
54
|
-
|
|
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>
|
|
55
57
|
</tr>
|
|
56
58
|
<tr>
|
|
57
59
|
<td style="width: 17%">用户姓名</td>
|
|
58
|
-
<td colspan="
|
|
60
|
+
<td colspan="4" style="width: 33%">{{ selectdata.f_user_name }}</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
59
63
|
<td style="width: 17%">用户编号</td>
|
|
60
|
-
<td colspan="
|
|
64
|
+
<td colspan="4" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
|
|
61
65
|
</tr>
|
|
62
66
|
<tr>
|
|
63
67
|
<td>用户地址</td>
|
|
@@ -65,21 +69,41 @@
|
|
|
65
69
|
</tr>
|
|
66
70
|
<tr>
|
|
67
71
|
<td>收款项目</td>
|
|
68
|
-
<td colspan="
|
|
72
|
+
<td colspan="4">{{ charge.f_payment_term }}</td>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr>
|
|
69
75
|
<td>收款方式</td>
|
|
70
76
|
<td colspan="2">{{ charge.f_payment_method }}</td>
|
|
71
77
|
</tr>
|
|
72
78
|
<tr>
|
|
73
79
|
<td>金额</td>
|
|
74
|
-
<td colspan="
|
|
80
|
+
<td colspan="4">{{ charge.f_charge_money }}</td>
|
|
81
|
+
</tr>
|
|
82
|
+
<tr>
|
|
75
83
|
<td>金额大写</td>
|
|
76
|
-
<td colspan="
|
|
84
|
+
<td colspan="4">{{ charge.f_amount_words }}</td>
|
|
77
85
|
</tr>
|
|
78
86
|
<tr>
|
|
79
87
|
<td>收款人</td>
|
|
80
|
-
<td colspan="
|
|
88
|
+
<td colspan="4">{{ charge.f_charge_collectors }}</td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
81
91
|
<td>销售方(章)</td>
|
|
82
|
-
<td colspan="
|
|
92
|
+
<td colspan="4" v-if="charge.f_orgname==='郸城县天然气有限公司'">
|
|
93
|
+
<img src="../../../../image/郸城收款专用章.png" style="overflow: hidden;width: 200px;height: 200px">
|
|
94
|
+
</td>
|
|
95
|
+
<td colspan="4" v-if="charge.f_orgname==='周口市天然气有限公司'">
|
|
96
|
+
<img src="../../../../image/周口收款专用章.png" style="overflow: hidden;width: 200px;height: 200px">
|
|
97
|
+
</td>
|
|
98
|
+
<td colspan="4" v-if="charge.f_orgname==='项城市天然气有限公司'">
|
|
99
|
+
<img src="../../../../image/项城收款专用章.png" style="overflow: hidden;width: 200px;height: 200px">
|
|
100
|
+
</td>
|
|
101
|
+
<td colspan="4" v-if="charge.f_orgname==='西华县天然气有限公司'">
|
|
102
|
+
<img src="../../../../image/西华收款专用章.png" style="overflow: hidden;width: 200px;height: 200px">
|
|
103
|
+
</td>
|
|
104
|
+
<td colspan="4" v-if="charge.f_orgname==='鹿邑县天然气有限公司'">
|
|
105
|
+
<img src="../../../../image/鹿邑收款专用章.png" style="overflow: hidden;width: 200px;height: 200px">
|
|
106
|
+
</td>
|
|
83
107
|
</tr>
|
|
84
108
|
<tr>
|
|
85
109
|
<td>备  注</td>
|
|
@@ -91,7 +115,7 @@
|
|
|
91
115
|
</td>
|
|
92
116
|
</tr>
|
|
93
117
|
</table>
|
|
94
|
-
<img class="seal" border="0" :src="src" alt=""
|
|
118
|
+
<!-- <img class="seal" border="0" :src="src" alt="">-->
|
|
95
119
|
</div>
|
|
96
120
|
|
|
97
121
|
<print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
@@ -0,0 +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>
|