apply-clients 5.0.35-6 → 5.0.35-62
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/.eslintrc.js +16 -16
- package/package.json +3 -3
- package/src/AndroidApp.vue +28 -28
- package/src/android.js +1 -1
- package/src/apply.js +14 -1
- package/src/components/app_apply/ApplyDownList.vue +168 -164
- package/src/components/app_apply/ApplyInfo.vue +56 -56
- package/src/components/app_apply/ApplyListUpload.vue +268 -268
- package/src/components/app_apply/ApplyToDoList.vue +2588 -10
- package/src/components/app_apply/Gongcheng.vue +3614 -0
- package/src/components/app_apply/OneToMany.vue +194 -0
- package/src/components/app_apply/PlaceControler.vue +299 -256
- package/src/components/app_apply/ServiceControl.vue +537 -335
- package/src/components/app_apply/ServiceView.vue +383 -383
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -109
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -100
- package/src/components/app_apply/ezhou/MinYong.vue +92 -92
- package/src/components/app_apply/ezhou/ServiceView.vue +790 -620
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/product/Common/ApplyValidateBill.vue +13 -6
- package/src/components/product/Common/PrintBill.vue +3 -2
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -0
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -0
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +588 -0
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -0
- package/src/components/product/Function/InstallInfoSelect.vue +255 -254
- package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
- package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
- package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
- package/src/components/product/Function/functions/InstallFee.vue +569 -344
- package/src/components/product/Process/ExplorationSelect.vue +640 -636
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +123 -37
- package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +304 -21
- package/src/components/product/ServiceView.vue +16 -6
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +53 -6
- package/src/components/product/Supervisory/SupervisoryList.vue +350 -349
- package/src/components/product/applyReport/ApplyReport.vue +205 -0
- package/src/components/product/applyReport/PrintApplyReport.vue +116 -0
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -280
- package/src/ezhouAndroid.js +13 -10
- package/src/index.js +8 -8
- package/src/main.js +32 -32
- package/src/plugins/commonService.js +11 -7
|
@@ -598,21 +598,18 @@
|
|
|
598
598
|
if (!this.selectdata)
|
|
599
599
|
return
|
|
600
600
|
let data = {
|
|
601
|
-
tablename: 't_userinfo',
|
|
601
|
+
tablename: 't_userinfo u left join t_user_address ua on u.f_userinfo_id=ua.f_userinfo_id',
|
|
602
602
|
condition: 'f_process_id=' + '\'' + this.selectdata.f_process_id + '\''
|
|
603
603
|
}
|
|
604
604
|
let self = this
|
|
605
605
|
let http = new HttpResetClass()
|
|
606
|
-
let res = await http.load('POST', 'rs/sql/
|
|
606
|
+
let res = await http.load('POST', 'rs/sql/singleTableUserInfo', {data: data}, {
|
|
607
607
|
resolveMsg: null,
|
|
608
608
|
rejectMsg: '获取户档案信息失败'
|
|
609
609
|
})
|
|
610
610
|
self.model.rows = []
|
|
611
|
-
|
|
612
611
|
self.model.rows = res.data
|
|
613
612
|
self.params = res.data
|
|
614
|
-
|
|
615
|
-
|
|
616
613
|
},
|
|
617
614
|
impexcel() {
|
|
618
615
|
this.importtype='1'
|
|
@@ -103,6 +103,25 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
|
|
106
|
+
<div class="form-group col-sm-2">
|
|
107
|
+
<label class="col-sm-4 control-label linehhh">报装类型</label>
|
|
108
|
+
<div class="col-sm-8">
|
|
109
|
+
<v-select :value.sync="model.f_work_type" v-model="model.f_work_type"
|
|
110
|
+
:options='$parent.$parent.worktype' width="100%"
|
|
111
|
+
close-on-select condition="a.f_work_type = '{}'">
|
|
112
|
+
</v-select>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<div class="form-group col-sm-2">
|
|
117
|
+
<label class="col-sm-4 control-label linehhh">用户类型</label>
|
|
118
|
+
<div class="col-sm-8">
|
|
119
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
120
|
+
:options='$parent.$parent.usertype' width="100%"
|
|
121
|
+
close-on-select condition="a.f_user_type = '{}'">
|
|
122
|
+
</v-select>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
106
125
|
|
|
107
126
|
<div class="form-group">
|
|
108
127
|
<button class="btn btn-primary" @click="search(),$parent.$parent.showpager()">
|
|
@@ -130,7 +149,7 @@
|
|
|
130
149
|
<th><nobr>总应缴金额</nobr></th>
|
|
131
150
|
<th><nobr>已交金额</nobr></th>
|
|
132
151
|
<th><nobr>未交金额</nobr></th>
|
|
133
|
-
|
|
152
|
+
<th><nobr>操作</nobr></th>
|
|
134
153
|
</tr>
|
|
135
154
|
</template>
|
|
136
155
|
<template partial='body'>
|
|
@@ -151,7 +170,9 @@
|
|
|
151
170
|
<td style="text-align: center;">{{row.f_total_cost}}</td>
|
|
152
171
|
<td style="text-align: center;">{{row.app_f_cumulative_money}}</td>
|
|
153
172
|
<td style="text-align: center;">{{row.f_unaccounts_money}}</td>
|
|
154
|
-
|
|
173
|
+
<td style="text-align: center;">
|
|
174
|
+
<button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.$parent.update_way(row)">修改</button>
|
|
175
|
+
</td>
|
|
155
176
|
</template>
|
|
156
177
|
</data-grid>
|
|
157
178
|
</criteria-paged>
|
|
@@ -159,19 +180,44 @@
|
|
|
159
180
|
<div class="flex" style="height: 10%">
|
|
160
181
|
<div novalidate class="form-inline auto" partial>
|
|
161
182
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">合计收费记录共
|
|
162
|
-
<span style="color: red">{{modeluse.rows.length}}</span
|
|
183
|
+
<span style="color: red">{{modeluse.rows.length}}</span>笔,
|
|
184
|
+
合计应缴总金额<span style="color: red">{{price.rows[0].f_total_cost}}</span>元,
|
|
185
|
+
已缴<span style="color: red">{{price.rows[0].f_cumulative_money}}</span>元,未缴<span style="color: red">{{price.rows[0].f_unaccounts_money}}</span>元
|
|
163
186
|
</p>
|
|
164
187
|
</div>
|
|
165
188
|
</div>
|
|
166
189
|
</div>
|
|
190
|
+
<!--修改弹出框-->
|
|
191
|
+
<modal :show.sync="updateControl" v-ref:modal backdrop="false">
|
|
192
|
+
<header slot="modal-header" class="modal-header">
|
|
193
|
+
<button type="button" class="close" @click="closeUpdate()"><span>×</span></button>
|
|
194
|
+
<h4 class="modal-title">修改</h4>
|
|
195
|
+
</header>
|
|
196
|
+
<article slot="modal-body" class="modal-body" >
|
|
197
|
+
<div class="from-group" style="width: 100%">
|
|
198
|
+
<label style="width: 15%;float: left">票据类型</label>
|
|
199
|
+
<v-select :value.sync="selectItem.f_bill_style" v-model="selectItem.f_bill_style"
|
|
200
|
+
:options='billstyle' placeholder='请选择' style="width: 80%;float: left"
|
|
201
|
+
close-on-select >
|
|
202
|
+
</v-select>
|
|
203
|
+
</div>
|
|
204
|
+
</article>
|
|
205
|
+
|
|
167
206
|
|
|
207
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
208
|
+
<div class="from-group" style="width: 100%;float: left">
|
|
209
|
+
<button v-show="updateControl" type="button" class="btn btn-default" @click='closeUpdate'>取消</button>
|
|
210
|
+
<button v-show="updateControl" type="button" class="btn btn-success" @click='confirm'>确认</button>
|
|
211
|
+
</div>
|
|
212
|
+
</footer>
|
|
213
|
+
</modal>
|
|
168
214
|
</div>
|
|
169
215
|
</template>
|
|
170
216
|
<script>
|
|
171
217
|
import * as Util from '../../../../Util'
|
|
172
218
|
|
|
173
219
|
import { PagedList } from 'vue-client'
|
|
174
|
-
|
|
220
|
+
import {HttpResetClass} from 'vue-client'
|
|
175
221
|
Date.prototype.Format = function (fmt) {
|
|
176
222
|
var o = {
|
|
177
223
|
"M+": this.getMonth() + 1, //月份
|
|
@@ -196,57 +242,99 @@
|
|
|
196
242
|
filialeNameStr: null,
|
|
197
243
|
filialeCodeStr: this.$login.f.f_orgids,
|
|
198
244
|
userid: this.$login.f.id,
|
|
199
|
-
source
|
|
245
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
|
|
200
246
|
// f_operate_start_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
201
247
|
// f_operate_end_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
202
|
-
model: new PagedList('rs/sql/getApplyCharge', 30, {
|
|
203
|
-
modeluse: new PagedList('rs/sql/getApplyCharge', 999999, {
|
|
204
|
-
price: new PagedList('rs/sql/getChargeAll', 999999, {
|
|
205
|
-
human:[],
|
|
206
|
-
filiale:[],
|
|
207
|
-
method:
|
|
208
|
-
|
|
248
|
+
model: new PagedList('rs/sql/getApplyCharge', 30, {orderitem: '`id`'}),
|
|
249
|
+
modeluse: new PagedList('rs/sql/getApplyCharge', 999999, {orderitem: '`id`'}),
|
|
250
|
+
price: new PagedList('rs/sql/getChargeAll', 999999, {orderitem: '`f_charge_money`'}),
|
|
251
|
+
human: [],
|
|
252
|
+
filiale: [],
|
|
253
|
+
method: this.$appdata.getParam('付款方式'),
|
|
254
|
+
usertype:[
|
|
255
|
+
{label: '民用', value: '民用'},
|
|
256
|
+
{label: '非民用', value: '非民用'}
|
|
257
|
+
],
|
|
258
|
+
worktype:[
|
|
259
|
+
{label: '新报装', value: '新报装'},
|
|
260
|
+
{label: '改管', value: '改管'}
|
|
261
|
+
],
|
|
262
|
+
correct: [
|
|
209
263
|
{label: '是', value: '是'},
|
|
210
|
-
{label:'否', value: '否'}
|
|
264
|
+
{label: '否', value: '否'}
|
|
211
265
|
],
|
|
212
|
-
state:[
|
|
266
|
+
state: [
|
|
213
267
|
{label: '有效', value: '有效'},
|
|
214
|
-
{label:'无效', value: '无效'}
|
|
215
|
-
]
|
|
268
|
+
{label: '无效', value: '无效'}
|
|
269
|
+
],
|
|
270
|
+
selectItem: {},
|
|
271
|
+
billstyle: this.$appdata.getParam('发票类型'),
|
|
272
|
+
updateControl: false,
|
|
273
|
+
billID: 0
|
|
216
274
|
}
|
|
217
275
|
},
|
|
218
276
|
ready () {
|
|
219
|
-
this.$refs.
|
|
220
|
-
this.$refs.
|
|
277
|
+
this.$refs.paged.$refs.criteria.model.f_operate_start_date = Util.toStandardDateString() + ' 00:00:00'
|
|
278
|
+
this.$refs.paged.$refs.criteria.model.f_operate_end_date = Util.toStandardDateString() + ' 23:59:59'
|
|
221
279
|
this.search()
|
|
222
280
|
this.gethuman()
|
|
223
281
|
},
|
|
224
282
|
methods: {
|
|
225
|
-
clear(){
|
|
226
|
-
this.$refs.
|
|
283
|
+
clear () {
|
|
284
|
+
this.$refs.paged.$refs.criteria.model = {}
|
|
227
285
|
},
|
|
228
|
-
getRes(obj) {
|
|
286
|
+
getRes (obj) {
|
|
229
287
|
this.filialeNameStr = obj.res
|
|
230
288
|
this.filialeCodeStr = obj.resids
|
|
231
289
|
console.log(this.filialeNameStr)
|
|
232
290
|
console.log(this.filialeCodeStr)
|
|
233
291
|
},
|
|
234
|
-
showpager() {
|
|
292
|
+
showpager () {
|
|
235
293
|
// this.$refs.cp.pager = true
|
|
236
294
|
this.$dispatch('hiddenbtn')
|
|
237
295
|
},
|
|
238
|
-
|
|
239
|
-
|
|
296
|
+
search () {
|
|
297
|
+
let condition = "1=1 and r.f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
|
|
298
|
+
// debugger
|
|
299
|
+
// let condition = args.condition
|
|
300
|
+
debugger
|
|
240
301
|
this.model.search(condition)
|
|
241
302
|
this.modeluse.search(condition)
|
|
242
|
-
|
|
303
|
+
let condition1 = condition
|
|
304
|
+
this.price.search(condition1)
|
|
243
305
|
},
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
306
|
+
update_way (row) {
|
|
307
|
+
console.log('进入修改方法')
|
|
308
|
+
this.selectItem = {}
|
|
309
|
+
this.billID = row.id
|
|
310
|
+
this.updateControl = true
|
|
311
|
+
},
|
|
312
|
+
closeUpdate () {
|
|
313
|
+
this.updateControl = false
|
|
314
|
+
},
|
|
315
|
+
confirm () {
|
|
316
|
+
let data = {
|
|
317
|
+
f_bill_style: this.selectItem.f_bill_style[0],
|
|
318
|
+
id: this.billID
|
|
319
|
+
}
|
|
320
|
+
console.log('数据:' + JSON.stringify(this.selectItem))
|
|
321
|
+
this.$resetpost('rs/entity/t_charge_record', data).then((res) => {
|
|
322
|
+
console.log('返回值:' + JSON.stringify(res.data))
|
|
323
|
+
if (res.data.id > 0) {
|
|
324
|
+
// this.$showMessage('修改成功!')
|
|
325
|
+
this.closeUpdate()
|
|
326
|
+
this.search()
|
|
327
|
+
}
|
|
328
|
+
})
|
|
329
|
+
},
|
|
330
|
+
selfSearch (args) {
|
|
331
|
+
args.condition = args.condition + ` and a.f_filialeids like '%${this.filialeCodeStr}%'`
|
|
332
|
+
console.log('condition:', args.condition)
|
|
247
333
|
this.model.search(args.condition, args.model)
|
|
334
|
+
this.modeluse.search(args.condition, args.model)
|
|
335
|
+
this.price.search(args.condition, args.model)
|
|
248
336
|
},
|
|
249
|
-
cleaner() {
|
|
337
|
+
cleaner () {
|
|
250
338
|
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
251
339
|
this.$refs.paged.$refs.criteria.model[key] = ''
|
|
252
340
|
})
|
|
@@ -256,19 +344,19 @@
|
|
|
256
344
|
this.modeluse.search(this.$refs.paged.$refs.criteria.condition)
|
|
257
345
|
this.price.search(this.$refs.paged.$refs.criteria.condition)
|
|
258
346
|
},
|
|
259
|
-
gethuman(){
|
|
347
|
+
gethuman () {
|
|
260
348
|
console.log('获取人员')
|
|
261
349
|
this.$resetpost('rs/logic/getChargeList', {data: {condition: `1=1`}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
262
350
|
// this.params.rows.splice(index, 1)
|
|
263
|
-
console.log('获取成功',res)
|
|
351
|
+
console.log('获取成功', res)
|
|
264
352
|
let house = []
|
|
265
|
-
for (let row of res.data.human){
|
|
266
|
-
house.push({label: row.f_charge_collectors,value: row.f_charge_collectors})
|
|
353
|
+
for (let row of res.data.human) {
|
|
354
|
+
house.push({label: row.f_charge_collectors, value: row.f_charge_collectors})
|
|
267
355
|
}
|
|
268
356
|
this.human = house
|
|
269
357
|
let house2 = []
|
|
270
358
|
for (let row of res.data.f){
|
|
271
|
-
house2.push({label: row.f_filiale,value: row.f_filiale})
|
|
359
|
+
house2.push({label: row.r.f_filiale,value: row.r.f_filiale})
|
|
272
360
|
}
|
|
273
361
|
this.filiale = house2
|
|
274
362
|
let house3 = []
|
|
@@ -277,9 +365,7 @@
|
|
|
277
365
|
}
|
|
278
366
|
this.method = house3
|
|
279
367
|
})
|
|
280
|
-
|
|
281
|
-
},
|
|
282
|
-
|
|
368
|
+
}
|
|
283
369
|
},
|
|
284
370
|
computed: {
|
|
285
371
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto form-horizontal" >
|
|
3
|
+
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
4
|
+
<header slot="modal-header" class="modal-header">
|
|
5
|
+
<h3 style="color:black" class="modal-title">发票号</h3>
|
|
6
|
+
</header>
|
|
7
|
+
<article slot="modal-body" class="modal-body">
|
|
8
|
+
|
|
9
|
+
<validator name='v'>
|
|
10
|
+
<form class="form-horizontal select-overspread">
|
|
11
|
+
<div class="row" style="display: flex;justify-content: center;" id='normal-bill' >
|
|
12
|
+
<div class="form-group col-sm-6">
|
|
13
|
+
<label class=" col-sm-2 control-label">发票代码:</label>
|
|
14
|
+
<input type="text" class="form-control" v-model="model.f_bill_code" style="width:60%"
|
|
15
|
+
placeholder="发票代码" disabled
|
|
16
|
+
>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-6">
|
|
19
|
+
<label class=" col-sm-2 control-label">发票号码:</label>
|
|
20
|
+
<input type="text" class="form-control" v-model="model.f_bill_number" style="width:60%"
|
|
21
|
+
placeholder="发票号码" disabled
|
|
22
|
+
>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</form>
|
|
26
|
+
</validator>
|
|
27
|
+
</article>
|
|
28
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
29
|
+
<button type="button" class="btn btn-default" @click='cancel()' >取消</button>
|
|
30
|
+
</footer>
|
|
31
|
+
</modal>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
<script>
|
|
35
|
+
import { DataModel } from 'vue-client'
|
|
36
|
+
let getBillData = async function(self) {
|
|
37
|
+
if(self.data.eticketid){
|
|
38
|
+
let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` id= ${self.data.eticketid}`}})
|
|
39
|
+
console.log("看看res",res)
|
|
40
|
+
self.model.f_bill_code=res.data[0].f_bill_code
|
|
41
|
+
self.model.f_bill_number=res.data[0].f_bill_number
|
|
42
|
+
}else{
|
|
43
|
+
let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` f_sell_id=${self.data.id}`}})
|
|
44
|
+
console.log("看看res",res)
|
|
45
|
+
self.model.f_bill_code=res.data[0].f_bill_code
|
|
46
|
+
self.model.f_bill_number=res.data[0].f_bill_number
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export default {
|
|
51
|
+
title: '收费发票',
|
|
52
|
+
data () {
|
|
53
|
+
return {
|
|
54
|
+
model:{
|
|
55
|
+
f_bill_code:'',
|
|
56
|
+
f_bill_number:''
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
props: ['show', 'data'],
|
|
61
|
+
ready () {
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
cancel () {
|
|
65
|
+
this.$dispatch('toggle')
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
watch: {
|
|
69
|
+
'show' (val) {
|
|
70
|
+
if (val) {
|
|
71
|
+
getBillData(this, val).then(() => {
|
|
72
|
+
this.$emit('ready')
|
|
73
|
+
}).catch((error) => {
|
|
74
|
+
this.$emit('error', error)
|
|
75
|
+
})
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
events: {
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
</script>
|
|
84
|
+
<style >
|
|
85
|
+
</style>
|