apply-clients 3.0.10-21 → 3.0.10-210
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/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/doc//346/226/260/347/224/250/346/210/267/350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xls +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +0 -0
- package/gradlew.bat +84 -0
- package/package.json +5 -4
- package/src/apply.js +187 -146
- package/src/components/Util.js +26 -22
- package/src/components/app_apply/ApplyDownList.vue +21 -8
- package/src/components/app_apply/ApplyToDoList.vue +83 -59
- package/src/components/app_apply/ApplyUserInfo.vue +3 -3
- package/src/components/app_apply/PlaceControler.vue +255 -255
- package/src/components/app_apply/ServiceControl.vue +1387 -1387
- package/src/components/app_apply/ServiceView.vue +583 -361
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/product/BatchFunction/BatchPay.vue +663 -0
- package/src/components/product/Function/InstallFunction.vue +9 -9
- package/src/components/product/Function/InstallInfoSelect.vue +230 -38
- package/src/components/product/Function/Service/FunctionServiceControl.vue +3 -1
- package/src/components/product/Function/functions/InstallFee.vue +58 -35
- package/src/components/product/Function/functions/StopInstall.vue +13 -1
- package/src/components/product/HiddenDangersInProjects/AddHiddenDangers.vue +957 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectList.vue +425 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectSchedule.vue +146 -0
- package/src/components/product/Process/ExplorationSelect.vue +302 -71
- package/src/components/product/Process/ExplorationUser.vue +18 -3
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +736 -201
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +75 -69
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +3172 -3053
- package/src/components/product/ProjectManagement/AddProjectSchedule.vue +863 -0
- package/src/components/product/ProjectManagement/ProjectList.vue +420 -0
- package/src/components/product/ProjectManagement/ProjectSchedule.vue +146 -0
- package/src/components/product/ReportForm/PaymentRecord.vue +801 -0
- package/src/components/product/ReportForm/PaymentRecordAdd.vue +105 -0
- package/src/components/product/ReportForm/PaymentRecordBad.vue +1273 -0
- package/src/components/product/ReportForm/PaymentRecordDetailed.vue +472 -0
- package/src/components/product/ReportForm/PaymentRecordTooBad.vue +60 -0
- package/src/components/product/ReportForm/PaymentReport.vue +532 -0
- package/src/components/product/ReportForm/ProjectReport.vue +447 -0
- package/src/components/product/ReportForm/SettlementReport.vue +336 -0
- package/src/components/product/ReportForm/SummaryReport.vue +451 -0
- package/src/components/product/ReportForm/UserReport.vue +402 -0
- package/src/components/product/ServiceView.vue +17 -9
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +36 -2
- package/src/components/product/Supervisory/SupervisoryControl.vue +30 -6
- package/src/components/product/Supervisory/SupervisoryList.vue +249 -34
- package/src/components/product/VueUtils/ApplyUpload.vue +310 -0
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -1
- package/src/main.js +4 -0
- package/success.rar +0 -0
- package/doc//350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xlsx +0 -0
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
<installinfodown v-ref:installdown></installinfodown>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="col-sm-12" v-show="clishow">
|
|
12
|
-
<div class="col-sm-
|
|
13
|
-
<installfeeinfo :infeeinfo="selectdata"></installfeeinfo
|
|
12
|
+
<div class="col-sm-1">
|
|
13
|
+
<!-- <installfeeinfo :infeeinfo="selectdata"></installfeeinfo>-->
|
|
14
14
|
</div>
|
|
15
|
-
<div class="col-sm-
|
|
15
|
+
<div class="col-sm-11">
|
|
16
16
|
<function-service-control v-ref:fsc :funcdata = "funcdata" :selectdata="selectdata"></function-service-control>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
<route v-ref:route></route>
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
|
-
<div style="width: 20%;padding:0px 0px 0px 0px;margin-left: 0px"
|
|
25
|
-
<install-apply-cardlist :btns="operatebtn" :userinfoid="row ? row.f_userinfo_id : ''" @list-select-oper="recordCancel"
|
|
26
|
-
v-ref:card></install-apply-cardlist
|
|
27
|
-
</div
|
|
24
|
+
<!-- <div style="width: 20%;padding:0px 0px 0px 0px;margin-left: 0px">-->
|
|
25
|
+
<!-- <install-apply-cardlist :btns="operatebtn" :userinfoid="row ? row.f_userinfo_id : ''" @list-select-oper="recordCancel"-->
|
|
26
|
+
<!-- v-ref:card></install-apply-cardlist>-->
|
|
27
|
+
<!-- </div>-->
|
|
28
28
|
</div>
|
|
29
29
|
</div>
|
|
30
30
|
</template>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
this.totalheight = '100%'
|
|
107
107
|
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
108
108
|
// this.$refs.installdown.$refs.cp.$refs.cri.search()
|
|
109
|
-
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
109
|
+
// this.$refs.card.$refs.paged.$refs.cri.search()
|
|
110
110
|
},
|
|
111
111
|
'showline'(value) {
|
|
112
112
|
this.show = false
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
'searchcard'() {
|
|
116
116
|
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
117
117
|
// this.$refs.installdown.$refs.cp.$refs.cri.search()
|
|
118
|
-
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
118
|
+
// this.$refs.card.$refs.paged.$refs.cri.search()
|
|
119
119
|
},
|
|
120
120
|
'list-select-oper'() {
|
|
121
121
|
this.leftheight = '50%'
|
|
@@ -5,22 +5,31 @@
|
|
|
5
5
|
<criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
|
|
6
6
|
<form novalidate class="" partial>
|
|
7
7
|
<div class="col-sm-12">
|
|
8
|
-
<div class="form-group col-sm-
|
|
9
|
-
<label class="
|
|
8
|
+
<div class="form-group col-sm-2" >
|
|
9
|
+
<label class="col-sm-6">所属公司:</label>
|
|
10
10
|
<div class="col-sm-6">
|
|
11
|
-
<
|
|
12
|
-
|
|
11
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.apply_org" placeholder='所属公司' condition="f_filiale = '{}'"
|
|
12
|
+
v-model="model.f_filiale" @change="$parent.$parent.orgChange" :value.sync="model.f_filiale" close-on-select>
|
|
13
|
+
</v-select>
|
|
13
14
|
</div>
|
|
14
15
|
</div>
|
|
15
|
-
<div class="col-sm-
|
|
16
|
-
|
|
17
|
-
<div class="col-sm-
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
<div class="form-group col-sm-2">
|
|
17
|
+
<label class="col-sm-6">项目名称:</label>
|
|
18
|
+
<div class="col-sm-6">
|
|
19
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.entry_name" placeholder='项目名称' condition="f_entry_name = '{}'"
|
|
20
|
+
v-model="model.f_entry_name" @change="$parent.$parent.entryChange" :value.sync="model.f_entry_name" close-on-select>
|
|
21
|
+
</v-select>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="form-group col-sm-2">
|
|
25
|
+
<label class="col-sm-6">项目编号:</label>
|
|
26
|
+
<div class="col-sm-6">
|
|
27
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.entry_num" placeholder='项目编号' condition="f_entry_num = '{}'"
|
|
28
|
+
v-model="model.f_entry_num" :value.sync="model.f_entry_num" close-on-select>
|
|
29
|
+
</v-select>
|
|
21
30
|
</div>
|
|
22
31
|
</div>
|
|
23
|
-
<div class="col-sm-1">
|
|
32
|
+
<div class="form-group col-sm-1">
|
|
24
33
|
<!--<label class="col-sm-6">用户地址</label>-->
|
|
25
34
|
<div class="col-sm-12">
|
|
26
35
|
<input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
|
|
@@ -28,16 +37,16 @@
|
|
|
28
37
|
condition="f_address like '%{}%'">
|
|
29
38
|
</div>
|
|
30
39
|
</div>
|
|
31
|
-
<div class="col-sm-1">
|
|
40
|
+
<div class="form-group col-sm-1">
|
|
32
41
|
<!--<label class="col-sm-6"> 报建类型:</label>-->
|
|
33
|
-
<div class="col-sm-12"
|
|
42
|
+
<div class="col-sm-12">
|
|
34
43
|
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
|
|
35
44
|
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
36
45
|
</v-select>
|
|
37
46
|
</div>
|
|
38
47
|
</div>
|
|
39
|
-
<div class="col-sm-
|
|
40
|
-
<label class="col-sm-6">办理环节:</label
|
|
48
|
+
<div class="form-group col-sm-1">
|
|
49
|
+
<!-- <label class="col-sm-6">办理环节:</label>-->
|
|
41
50
|
<div class="col-sm-6">
|
|
42
51
|
<v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
43
52
|
condition="defname = '{}'" placeholder='办理环节'
|
|
@@ -45,12 +54,20 @@
|
|
|
45
54
|
</v-select>
|
|
46
55
|
</div>
|
|
47
56
|
</div>
|
|
48
|
-
<div class="col-sm-1">
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
57
|
+
<div class="form-group col-sm-1">
|
|
58
|
+
<!--<label class="col-sm-6"> 报建类型:</label>-->
|
|
59
|
+
<div class="col-sm-12">
|
|
60
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.projecttype" placeholder='项目类型' condition="f_project_type like '%{}%'"
|
|
61
|
+
v-model="model.f_project_type" :value.sync="model.f_project_type" close-on-select>
|
|
62
|
+
</v-select>
|
|
63
|
+
</div>
|
|
52
64
|
</div>
|
|
53
|
-
<div class="col-sm-1"
|
|
65
|
+
<!-- <div class="form-group col-sm-1">-->
|
|
66
|
+
<!-- <input type="text" class="form-control" placeholder='经办人' v-model="model.f_apply_operator"-->
|
|
67
|
+
<!-- v-on:keyup.enter="search"-->
|
|
68
|
+
<!-- condition=" f_apply_operator like '%{}%' ">-->
|
|
69
|
+
<!-- </div>-->
|
|
70
|
+
<div class="form-group col-sm-1">
|
|
54
71
|
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
|
|
55
72
|
<span class="glyphicon glyphicon-search"></span>查询
|
|
56
73
|
</button>
|
|
@@ -67,9 +84,14 @@
|
|
|
67
84
|
<th>
|
|
68
85
|
<nobr>当前环节</nobr>
|
|
69
86
|
</th>
|
|
70
|
-
<th><nobr>客户名称/联系人</nobr></th>
|
|
71
87
|
<th>
|
|
72
|
-
<nobr
|
|
88
|
+
<nobr>项目名称</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>项目编号</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>用户名称</nobr>
|
|
73
95
|
</th>
|
|
74
96
|
<th>
|
|
75
97
|
<nobr>电话</nobr>
|
|
@@ -77,18 +99,18 @@
|
|
|
77
99
|
<th>
|
|
78
100
|
<nobr>地址</nobr>
|
|
79
101
|
</th>
|
|
80
|
-
<th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
81
|
-
<nobr>用户类型</nobr>
|
|
82
|
-
</th>
|
|
83
102
|
<th>
|
|
84
103
|
<nobr>报建类型</nobr>
|
|
85
104
|
</th>
|
|
86
105
|
<th>
|
|
87
|
-
<nobr
|
|
106
|
+
<nobr>项目类型</nobr>
|
|
88
107
|
</th>
|
|
89
108
|
<th>
|
|
90
|
-
<nobr
|
|
109
|
+
<nobr>报建日期</nobr>
|
|
91
110
|
</th>
|
|
111
|
+
<!-- <th>-->
|
|
112
|
+
<!-- <nobr>申请户数</nobr>-->
|
|
113
|
+
<!-- </th>-->
|
|
92
114
|
<th>
|
|
93
115
|
<nobr>操作</nobr>
|
|
94
116
|
</th>
|
|
@@ -103,10 +125,13 @@
|
|
|
103
125
|
<nobr>{{row.defname}}</nobr>
|
|
104
126
|
</td>
|
|
105
127
|
<td style="text-align: center;">
|
|
106
|
-
<nobr>{{row.
|
|
128
|
+
<nobr>{{row.f_entry_name}}</nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td style="text-align: center;">
|
|
131
|
+
<nobr>{{row.f_entry_num}}</nobr>
|
|
107
132
|
</td>
|
|
108
133
|
<td style="text-align: center;">
|
|
109
|
-
<nobr>{{row.
|
|
134
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
110
135
|
</td>
|
|
111
136
|
<td style="text-align: center;">
|
|
112
137
|
<nobr>{{row.f_phone}}</nobr>
|
|
@@ -114,20 +139,21 @@
|
|
|
114
139
|
<td style="text-align: center;">
|
|
115
140
|
<nobr>{{row.f_address}}</nobr>
|
|
116
141
|
</td>
|
|
117
|
-
<td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
118
|
-
<nobr>{{row.f_user_type}}</nobr>
|
|
119
|
-
</td>
|
|
120
142
|
<td style="text-align: center;">
|
|
121
143
|
<nobr>{{row.f_apply_type}}</nobr>
|
|
122
144
|
</td>
|
|
123
145
|
<td style="text-align: center;">
|
|
124
|
-
<nobr>{{row.
|
|
146
|
+
<nobr>{{row.f_project_type}}</nobr>
|
|
125
147
|
</td>
|
|
126
148
|
<td style="text-align: center;">
|
|
127
|
-
<nobr>{{row.
|
|
149
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
128
150
|
</td>
|
|
151
|
+
<!-- <td style="text-align: center;">-->
|
|
152
|
+
<!-- <nobr>{{row.f_apply_count}}</nobr>-->
|
|
153
|
+
<!-- </td>-->
|
|
129
154
|
<td style="text-align: center;">
|
|
130
|
-
<dropdown v-if="row.defname != '完工'"
|
|
155
|
+
<!-- <dropdown v-if="row.defname != '完工'" >-->
|
|
156
|
+
<dropdown>
|
|
131
157
|
<button @click="$dispatch('checkfuncs',row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
132
158
|
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
133
159
|
</button>
|
|
@@ -158,7 +184,8 @@
|
|
|
158
184
|
refreshed:true,
|
|
159
185
|
usertype: this.$appdata.getParam('用户类型'),
|
|
160
186
|
defnameType: this.$appdata.getParam('流程状态'),
|
|
161
|
-
|
|
187
|
+
projecttype: this.$appdata.getParam('项目类型'),
|
|
188
|
+
applytype: [{label:"全部",value:''},{label:"新用户",value:'新用户'},{label:"零星散户",value:'零星散户'},{label:"工商业",value:'工商业'}],
|
|
162
189
|
//中燃 专用
|
|
163
190
|
fapplytype: this.$appdata.getParam('用户类型'),
|
|
164
191
|
funcs:[],
|
|
@@ -168,13 +195,18 @@
|
|
|
168
195
|
data: {
|
|
169
196
|
id: this.$login.f.id,
|
|
170
197
|
orgs: this.$login.f.orgs,
|
|
171
|
-
company: `${this.$login.f.orgs === '
|
|
198
|
+
company: `${this.$login.f.orgs === '重庆盛焰集团' ? "u.f_apply_num = '1' or 1 = 1" : '1 = 1'}`
|
|
172
199
|
}
|
|
173
200
|
}),
|
|
174
|
-
condition: ''
|
|
201
|
+
condition: '',
|
|
202
|
+
entry_name: [],
|
|
203
|
+
entry_num: [],
|
|
204
|
+
apply_org: []
|
|
175
205
|
}
|
|
176
206
|
},
|
|
177
207
|
ready() {
|
|
208
|
+
this.getOrgName()
|
|
209
|
+
this.getEntry()
|
|
178
210
|
this.$refs.cp.$refs.cri.search()
|
|
179
211
|
let http = new HttpResetClass()
|
|
180
212
|
http.load('POST', 'rs/sql/getDefnamesForActivityins', {data:{}}, {
|
|
@@ -202,6 +234,48 @@
|
|
|
202
234
|
}
|
|
203
235
|
},
|
|
204
236
|
methods: {
|
|
237
|
+
// 获取所有组织名称
|
|
238
|
+
async getOrgName() {
|
|
239
|
+
let http = new HttpResetClass()
|
|
240
|
+
let org = this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? " 1 = 1" : " name = '" + this.$login.f.orgs + "'"
|
|
241
|
+
let data = {
|
|
242
|
+
tablename: 't_organization',
|
|
243
|
+
condition: " name != '组织机构' and " + org
|
|
244
|
+
|
|
245
|
+
}
|
|
246
|
+
let res = await http.load('POST','rs/sql/applysingleTable',{data:data}, {
|
|
247
|
+
resolveMsg: null,
|
|
248
|
+
rejectMsg: '获取公司名称失败'
|
|
249
|
+
})
|
|
250
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
251
|
+
// 所属公司
|
|
252
|
+
let data1 = []
|
|
253
|
+
let array1 = []
|
|
254
|
+
data1 = res.data.map(item => {
|
|
255
|
+
return item.name;
|
|
256
|
+
})
|
|
257
|
+
for (let q = 0; q < data1.length; q++) {
|
|
258
|
+
let arraydata = {
|
|
259
|
+
'label': data1[q],
|
|
260
|
+
'value': data1[q]
|
|
261
|
+
}
|
|
262
|
+
if (array1.length != 0) {
|
|
263
|
+
for (let w = 0; w < array1.length; w++) {
|
|
264
|
+
if (array1[w].label == data1[q]) {
|
|
265
|
+
break
|
|
266
|
+
}
|
|
267
|
+
while (w == array1.length - 1) {
|
|
268
|
+
array1.push(arraydata)
|
|
269
|
+
break
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
} else {
|
|
273
|
+
array1.push(arraydata)
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
this.apply_org = array1
|
|
277
|
+
}
|
|
278
|
+
},
|
|
205
279
|
update(){
|
|
206
280
|
this.refreshed = false
|
|
207
281
|
this.$nextTick(()=>{
|
|
@@ -216,6 +290,124 @@
|
|
|
216
290
|
showpager() {
|
|
217
291
|
this.$refs.cp.pager = true
|
|
218
292
|
this.$dispatch('hiddenbtn')
|
|
293
|
+
},
|
|
294
|
+
async getEntry(val) {
|
|
295
|
+
// 获取项目名称和项目编号
|
|
296
|
+
let http = new HttpResetClass()
|
|
297
|
+
let data = {
|
|
298
|
+
tablename: 't_apply',
|
|
299
|
+
condition: this.$login.f.orgs === '重庆盛焰集团' ? " 1 = 1" : " f_filiale = '" + this.$login.f.orgs + "'"
|
|
300
|
+
}
|
|
301
|
+
// 判断是不是总公司得账号
|
|
302
|
+
if (this.$login.f.orgs == '重庆盛焰集团' || this.$login.f.orgs == '湖南燎原燃气有限公司') {
|
|
303
|
+
data.condition = " f_filiale = '" + val + "'"
|
|
304
|
+
}
|
|
305
|
+
let res = await http.load('POST','rs/sql/applysingleTable',{data:data}, {
|
|
306
|
+
resolveMsg: null,
|
|
307
|
+
rejectMsg: '获取项目名称和项目编号失败'
|
|
308
|
+
})
|
|
309
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
310
|
+
// 项目名称
|
|
311
|
+
let data = []
|
|
312
|
+
let array = []
|
|
313
|
+
data = res.data.map(item => {
|
|
314
|
+
return item.f_entry_name;
|
|
315
|
+
})
|
|
316
|
+
for (let q = 0; q < data.length; q++) {
|
|
317
|
+
let arraydata = {
|
|
318
|
+
'label': data[q],
|
|
319
|
+
'value': data[q]
|
|
320
|
+
}
|
|
321
|
+
if (array.length != 0) {
|
|
322
|
+
for (let w = 0; w < array.length; w++) {
|
|
323
|
+
if (array[w].label == data[q]) {
|
|
324
|
+
break
|
|
325
|
+
}
|
|
326
|
+
while (w == array.length - 1) {
|
|
327
|
+
array.push(arraydata)
|
|
328
|
+
break
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
} else {
|
|
332
|
+
array.push(arraydata)
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
this.entry_name = array
|
|
336
|
+
// 项目编号
|
|
337
|
+
// let data1 = []
|
|
338
|
+
// let array1 = []
|
|
339
|
+
// data1 = res.data.map(item => {
|
|
340
|
+
// return item.f_entry_num;
|
|
341
|
+
// })
|
|
342
|
+
// for (let q = 0; q < data1.length; q++) {
|
|
343
|
+
// let arraydata = {
|
|
344
|
+
// 'label': data1[q],
|
|
345
|
+
// 'value': data1[q]
|
|
346
|
+
// }
|
|
347
|
+
// if (array1.length != 0) {
|
|
348
|
+
// for (let w = 0; w < array1.length; w++) {
|
|
349
|
+
// if (array1[w].label == data1[q]) {
|
|
350
|
+
// break
|
|
351
|
+
// }
|
|
352
|
+
// while (w == array1.length - 1) {
|
|
353
|
+
// array1.push(arraydata)
|
|
354
|
+
// break
|
|
355
|
+
// }
|
|
356
|
+
// }
|
|
357
|
+
// } else {
|
|
358
|
+
// array1.push(arraydata)
|
|
359
|
+
// }
|
|
360
|
+
// }
|
|
361
|
+
// this.entry_num = array1
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
async getNum(val) {
|
|
365
|
+
// 获取项目名称和项目编号
|
|
366
|
+
let http = new HttpResetClass()
|
|
367
|
+
let data = {
|
|
368
|
+
tablename: 't_apply',
|
|
369
|
+
condition: this.$login.f.orgs === '重庆盛焰集团' ? "f_entry_name = '" + val + "'" : "f_filiale = '" + this.$login.f.orgs + "'" + " and f_entry_name = '" + val + "'"
|
|
370
|
+
}
|
|
371
|
+
let res = await http.load('POST','rs/sql/applysingleTable',{data:data}, {
|
|
372
|
+
resolveMsg: null,
|
|
373
|
+
rejectMsg: '获取项目名称和项目编号失败'
|
|
374
|
+
})
|
|
375
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
376
|
+
// 项目编号
|
|
377
|
+
let data1 = []
|
|
378
|
+
let array1 = []
|
|
379
|
+
data1 = res.data.map(item => {
|
|
380
|
+
return item.f_entry_num;
|
|
381
|
+
})
|
|
382
|
+
for (let q = 0; q < data1.length; q++) {
|
|
383
|
+
let arraydata = {
|
|
384
|
+
'label': data1[q],
|
|
385
|
+
'value': data1[q]
|
|
386
|
+
}
|
|
387
|
+
if (array1.length != 0) {
|
|
388
|
+
for (let w = 0; w < array1.length; w++) {
|
|
389
|
+
if (array1[w].label == data1[q]) {
|
|
390
|
+
break
|
|
391
|
+
}
|
|
392
|
+
while (w == array1.length - 1) {
|
|
393
|
+
array1.push(arraydata)
|
|
394
|
+
break
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
} else {
|
|
398
|
+
array1.push(arraydata)
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
this.entry_num = array1
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
entryChange(val) {
|
|
405
|
+
console.log("被选中的数据:" + val)
|
|
406
|
+
this.getNum(val)
|
|
407
|
+
},
|
|
408
|
+
orgChange(val) {
|
|
409
|
+
console.log("被选中的数据:" + val)
|
|
410
|
+
this.getEntry(val)
|
|
219
411
|
}
|
|
220
412
|
}
|
|
221
413
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<!-- 添加合同 -->
|
|
24
24
|
<addcontract :addcontract="selectdata" v-if="showcontract"></addcontract>
|
|
25
25
|
<!-- 终止报建 -->
|
|
26
|
-
<stop-install :stopapply="selectdata" v-if="showstop"></stop-install>
|
|
26
|
+
<stop-install :stopapply="selectdata" v-if="showstop" v-ref:stopdata></stop-install>
|
|
27
27
|
<!-- 领料记录 -->
|
|
28
28
|
<material_recording :infee="selectdata" v-if="show_material"></material_recording>
|
|
29
29
|
</div>
|
|
@@ -232,6 +232,8 @@
|
|
|
232
232
|
},
|
|
233
233
|
// 终止报建
|
|
234
234
|
stopInstall() {
|
|
235
|
+
// console.log('终止报建数据:' + JSON.stringify())
|
|
236
|
+
// this.$refs.stopdata.model.f_stop_remarks = ''
|
|
235
237
|
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
236
238
|
// this.selectdata = row
|
|
237
239
|
this.$parent.clishow= true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="col-sm-12 auto select-overspread">
|
|
2
|
+
<div class="col-sm-12 auto select-overspread" v-if="this.infee.f_apply_type != '新用户' || selectdata.f_roster != '有'">
|
|
3
3
|
<div class="auto select-overspread">
|
|
4
4
|
<div class="panel panel-info">
|
|
5
5
|
<div class="panel-heading auto">
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
<div class="col-sm-3 " v-show="!($login.f.orgs.includes('彩虹'))">
|
|
28
|
-
<label class="control-label-justify control-label col-sm-4" style=" margin-top: 7px;"
|
|
28
|
+
<label class="control-label-justify control-label col-sm-4" style=" margin-top: 7px;">应收金额:</label>
|
|
29
29
|
<div class="col-sm-8">
|
|
30
30
|
<input class="form-control" style="background-color: #f7fbff;" property="请输入" v-model="model.f_contract_money" readonly/>
|
|
31
31
|
</div>
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
<article slot="modal-body" class="modal-body">
|
|
244
244
|
<div v-if="showpay">
|
|
245
245
|
<div class="from-group">
|
|
246
|
-
<label
|
|
246
|
+
<label>应收金额(元)</label>
|
|
247
247
|
<input type="text" class="form-control" v-model="model.f_contract_money" readonly>
|
|
248
248
|
</div>
|
|
249
249
|
<div class="from-group">
|
|
@@ -274,6 +274,10 @@
|
|
|
274
274
|
<label>金额大写</label>
|
|
275
275
|
<input type="text" class="form-control" v-model="getCapital" readonly>
|
|
276
276
|
</div>
|
|
277
|
+
<div class="from-group">
|
|
278
|
+
<label>票据号</label>
|
|
279
|
+
<input type="text" class="form-control" v-model="addItem.f_invoice_num">
|
|
280
|
+
</div>
|
|
277
281
|
<!--<div class="from-group">-->
|
|
278
282
|
<!--<label>缴费类型</label>-->
|
|
279
283
|
|
|
@@ -355,6 +359,9 @@
|
|
|
355
359
|
</modal>
|
|
356
360
|
|
|
357
361
|
</div>
|
|
362
|
+
<div v-if="this.infee.f_apply_type == '新用户' && selectdata.f_roster == '有'">
|
|
363
|
+
<batch-pay :selectdata="selectdata"></batch-pay>
|
|
364
|
+
</div>
|
|
358
365
|
</template>
|
|
359
366
|
<script>
|
|
360
367
|
import {HttpResetClass} from 'vue-client'
|
|
@@ -426,7 +433,8 @@
|
|
|
426
433
|
chargeitems: this.$appdata.getParam('收费项目'),
|
|
427
434
|
billstyles: this.$appdata.getParam('票据类型'),
|
|
428
435
|
paymenttypes: this.$appdata.getParam('付款方式'),
|
|
429
|
-
bill: '' // 票数据
|
|
436
|
+
bill: '', // 票数据
|
|
437
|
+
selectdata: this.infee
|
|
430
438
|
}
|
|
431
439
|
},
|
|
432
440
|
// props: ['infee', 'showfee'],
|
|
@@ -642,17 +650,17 @@
|
|
|
642
650
|
this.$showMessage("不能缴费0元")
|
|
643
651
|
} else {
|
|
644
652
|
//获取购货方信息
|
|
645
|
-
http = new HttpResetClass()
|
|
646
|
-
data = {
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
}
|
|
650
|
-
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取购货方信息失败'})
|
|
651
|
-
this.buyerinfo.rows = res.data
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
653
|
+
// http = new HttpResetClass()
|
|
654
|
+
// data = {
|
|
655
|
+
// tablename: 't_buyer_info',
|
|
656
|
+
// condition: `f_process_id = '${this.infee.f_process_id}' and f_apply_num = '${this.infee.f_apply_num}'`
|
|
657
|
+
// }
|
|
658
|
+
// let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取购货方信息失败'})
|
|
659
|
+
// this.buyerinfo.rows = res.data
|
|
660
|
+
// if (this.buyerinfo.rows.length < 1 && this.addItem.f_bill_style === '增值税电子发票' && this.$appdata.getSingleValue('默认打印票据') === '是'){
|
|
661
|
+
// this.$showAlert('未找到购买方信息,请去报建功能"购买方信息"中完善购买方信息后再收费','info',2000)
|
|
662
|
+
// return
|
|
663
|
+
// }
|
|
656
664
|
|
|
657
665
|
// 累计缴费金额
|
|
658
666
|
let flag1 = this.accAdd(Number(this.addItem.f_charge_money), Number(this.model.f_cumulative_money))
|
|
@@ -695,11 +703,26 @@
|
|
|
695
703
|
this.close()
|
|
696
704
|
})
|
|
697
705
|
|
|
706
|
+
data = {
|
|
707
|
+
f_userinfo_id: '',
|
|
708
|
+
f_state: '已收费',
|
|
709
|
+
f_unaccounts_money: flag2,
|
|
710
|
+
f_cumulative_money: flag1,
|
|
711
|
+
f_process_id: this.infee.f_process_id
|
|
712
|
+
}
|
|
713
|
+
if (flag2 == 0.00 || flag2 == 0 || flag2 == '') {
|
|
714
|
+
data.f_state = '已收费'
|
|
715
|
+
}else {
|
|
716
|
+
data.f_state = '未结清'
|
|
717
|
+
}
|
|
718
|
+
//更改超长记录表
|
|
719
|
+
await http.load('POST', 'rs/logic/updateBatchSum', {data: data}, {resolveMsg: null, rejectMsg: "更新失败"})
|
|
698
720
|
|
|
699
721
|
data = {
|
|
700
722
|
f_cumulative_money: flag1,
|
|
701
723
|
f_unaccounts_money: flag2,
|
|
702
|
-
f_apply_num: this.infee.f_apply_num
|
|
724
|
+
f_apply_num: this.infee.f_apply_num,
|
|
725
|
+
f_contract_money: this.model.f_contract_money
|
|
703
726
|
}
|
|
704
727
|
await http.load('POST', 'rs/logic/updatechargemoney', {data: data}, {resolveMsg: null, rejectMsg: "添加累计金额失败"})
|
|
705
728
|
.then((res) => {
|
|
@@ -937,18 +960,18 @@
|
|
|
937
960
|
Object.assign(this.model,this.model, res.data[0])
|
|
938
961
|
|
|
939
962
|
// 获取补充协议
|
|
940
|
-
let data2 = {
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
}
|
|
944
|
-
//获取补充协议请求
|
|
945
|
-
await http.load('POST', 'rs/sql/singleTable', {data: data2}, {resolveMsg: null, rejectMsg: '获取补充协议失败'}).then((res2)=>{
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
})
|
|
963
|
+
// let data2 = {
|
|
964
|
+
// tablename: 't_contract',
|
|
965
|
+
// condition: ` f_contract_type = '补充协议' and f_process_id = '${this.infee.f_process_id}' and f_contract_type = '补充协议'`
|
|
966
|
+
// }
|
|
967
|
+
// //获取补充协议请求
|
|
968
|
+
// await http.load('POST', 'rs/sql/singleTable', {data: data2}, {resolveMsg: null, rejectMsg: '获取补充协议失败'}).then((res2)=>{
|
|
969
|
+
// if(res2.data.length>0){
|
|
970
|
+
// this.showMsg = true
|
|
971
|
+
// }else{
|
|
972
|
+
// this.showMsg = false
|
|
973
|
+
// }
|
|
974
|
+
// })
|
|
952
975
|
|
|
953
976
|
data = {
|
|
954
977
|
tablename: 't_charge_record',
|
|
@@ -964,12 +987,12 @@
|
|
|
964
987
|
this.model.rows = res.data
|
|
965
988
|
|
|
966
989
|
//获取购货方信息
|
|
967
|
-
data = {
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
}
|
|
971
|
-
res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取购货方信息失败'})
|
|
972
|
-
this.buyerinfo.rows = res.data
|
|
990
|
+
// data = {
|
|
991
|
+
// tablename: 't_buyer_info',
|
|
992
|
+
// condition: `f_process_id = '${this.infee.f_process_id}' and f_apply_num = '${this.infee.f_apply_num}'`
|
|
993
|
+
// }
|
|
994
|
+
// res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取购货方信息失败'})
|
|
995
|
+
// this.buyerinfo.rows = res.data
|
|
973
996
|
|
|
974
997
|
/*
|
|
975
998
|
data = {
|
|
@@ -1009,7 +1032,7 @@
|
|
|
1009
1032
|
condition: `f_charging_status='有效' and f_process_id = '${this.selectdata.f_process_id}'`
|
|
1010
1033
|
}
|
|
1011
1034
|
let res = await http.load('POST', 'rs/sql/getSum', {data: data}, {resolveMsg: null, rejectMsg: '获取缴费金额获取失败'})
|
|
1012
|
-
debugger
|
|
1035
|
+
// debugger
|
|
1013
1036
|
this.model.f_cumulative_money = res.data[0].f_charge_money
|
|
1014
1037
|
this.model.f_unaccounts_money = Number(this.model.f_contract_money) - this.model.f_cumulative_money
|
|
1015
1038
|
return this.model.f_cumulative_money
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
// import AppData from '../../../../stores/AppData'
|
|
66
66
|
import * as Util from '../../../Util'
|
|
67
67
|
import co from 'co'
|
|
68
|
+
import {HttpResetClass} from 'vue-client'
|
|
68
69
|
let gen = function * (self, val, val1) {
|
|
69
70
|
let data ={
|
|
70
71
|
tablename:'t_apply',
|
|
@@ -92,7 +93,8 @@
|
|
|
92
93
|
f_date: Util.toStandardTimeString(),
|
|
93
94
|
f_department: this.$login.f.f_department_name,
|
|
94
95
|
f_operator: this.$login.f.name,
|
|
95
|
-
f_filiale: this.$login.f.orgs
|
|
96
|
+
f_filiale: this.$login.f.orgs,
|
|
97
|
+
f_stop_remarks: ''
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
},
|
|
@@ -107,6 +109,16 @@
|
|
|
107
109
|
this.model.f_operat_type = '终止报建'
|
|
108
110
|
this.model.f_state = '有效'
|
|
109
111
|
this.model.f_describe = this.model.f_user_name + '已终止报建'
|
|
112
|
+
console.log('开始删除')
|
|
113
|
+
let http = new HttpResetClass()
|
|
114
|
+
http.load('POST', 'rs/logic/stopApplyDelete', {data: {f_process_id: this.stopapply.f_process_id}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
115
|
+
console.log('返回的数据:', res)
|
|
116
|
+
if (res.data != null && res.data !== '') {
|
|
117
|
+
this.$showMessage(res.data)
|
|
118
|
+
} else {
|
|
119
|
+
this.$showMessage('删除成功!')
|
|
120
|
+
}
|
|
121
|
+
})
|
|
110
122
|
let getGen = gen(this, this.model, this.stopapply)
|
|
111
123
|
co(getGen)
|
|
112
124
|
this.$dispatch('searchcard')
|