apply-clients 3.3.32 → 3.3.36
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/package.json +1 -1
- package/src/apply.js +3 -0
- package/src/components/android/Function/AppFunctionServiceControl.vue +18 -3
- package/src/components/android/Process/AppServiceControl.vue +756 -756
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +33 -12
- package/src/components/product/Function/Service/FunctionServiceControl.vue +22 -1
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/Material/MaterialDetailed.vue +224 -0
- package/src/components/product/OldApply/Handle/HandleApply.vue +10 -2
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +59 -2
- package/src/components/product/Process/ExplorationSelect.vue +42 -6
- package/src/components/product/Process/Processes/Print/printBuildOrder.vue +105 -48
- package/src/components/product/Process/Processes/Print/printCharge.vue +14 -11
- package/src/components/product/Process/Processes/Print/printRefund.vue +15 -12
- package/src/components/product/Process/Service/ServiceControl.vue +2 -2
- package/src/components/product/Stop/StopApply.vue +101 -103
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +9 -3
|
@@ -118,17 +118,21 @@
|
|
|
118
118
|
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
119
119
|
<template partial='head'>
|
|
120
120
|
<tr>
|
|
121
|
-
<th>序号</th>
|
|
122
|
-
<th>工程编号</th>
|
|
123
|
-
<th>合同编号</th>
|
|
124
|
-
<th>报建类型</th>
|
|
125
|
-
<th
|
|
126
|
-
<th
|
|
127
|
-
<th
|
|
128
|
-
<th
|
|
129
|
-
<th
|
|
130
|
-
<th
|
|
131
|
-
<th
|
|
121
|
+
<th style="white-space: nowrap;">序号</th>
|
|
122
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
123
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
124
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
125
|
+
<th style="white-space: nowrap;">报建性质</th>
|
|
126
|
+
<th style="white-space: nowrap;">用户名称</th>
|
|
127
|
+
<th style="white-space: nowrap;">用户电话</th>
|
|
128
|
+
<th style="white-space: nowrap;">用户地址</th>
|
|
129
|
+
<th style="white-space: nowrap;">缴费编码</th>
|
|
130
|
+
<th style="white-space: nowrap;">收费金额(退款金额)</th>
|
|
131
|
+
<th style="white-space: nowrap;">付款方式</th>
|
|
132
|
+
<th style="white-space: nowrap;">流水号</th>
|
|
133
|
+
<th style="white-space: nowrap;">收费人员(退款人员)</th>
|
|
134
|
+
<th style="white-space: nowrap;">收费日期(退款日期)</th>
|
|
135
|
+
<th style="white-space: nowrap;">状态</th>
|
|
132
136
|
</tr>
|
|
133
137
|
</template>
|
|
134
138
|
<template partial='body'>
|
|
@@ -142,9 +146,21 @@
|
|
|
142
146
|
<td style="text-align: center;">
|
|
143
147
|
<nobr><font>{{row.f_contract_number}}</font></nobr>
|
|
144
148
|
</td>
|
|
149
|
+
<td style="text-align: center;">
|
|
150
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
151
|
+
</td>
|
|
152
|
+
<td style="text-align: center;">
|
|
153
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
154
|
+
</td>
|
|
145
155
|
<td style="text-align: center;">
|
|
146
156
|
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
147
157
|
</td>
|
|
158
|
+
<td style="text-align: center;">
|
|
159
|
+
<nobr><font>{{row.f_apply_nature}}</font></nobr>
|
|
160
|
+
</td>
|
|
161
|
+
<td style="text-align: center;">
|
|
162
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
163
|
+
</td>
|
|
148
164
|
<td style="text-align: center;">
|
|
149
165
|
<nobr><font>{{row.f_charge_number}}</font></nobr>
|
|
150
166
|
</td>
|
|
@@ -198,11 +214,16 @@ export default {
|
|
|
198
214
|
},
|
|
199
215
|
getfield: {
|
|
200
216
|
'f_apply_num': '工程编号',
|
|
201
|
-
'f_entry_name': '项目名称',
|
|
202
217
|
'f_contract_number': '合同编号',
|
|
203
218
|
'f_apply_type': '报建类型',
|
|
219
|
+
'f_apply_nature': '报建性质',
|
|
220
|
+
'f_user_name': '用户名称',
|
|
221
|
+
'f_phone': '用户电话',
|
|
222
|
+
'f_address': '用户地址',
|
|
223
|
+
'f_charge_number': '缴费编码',
|
|
204
224
|
'f_charge_money': '收费金额',
|
|
205
225
|
'f_payment_method': '付款方式',
|
|
226
|
+
'f_payer_number': '流水号',
|
|
206
227
|
'f_charge_collectors': '收费人员',
|
|
207
228
|
'f_charge_date': '收费日期',
|
|
208
229
|
'f_charge_status': '状态'
|
|
@@ -389,6 +389,11 @@
|
|
|
389
389
|
{resolveMsg: null, rejectMsg: '删除失败!!!'}
|
|
390
390
|
)
|
|
391
391
|
|
|
392
|
+
res = await this.$resetpost(
|
|
393
|
+
'rs/entity/t_apply',
|
|
394
|
+
this.show_data
|
|
395
|
+
)
|
|
396
|
+
|
|
392
397
|
this.$dispatch('breakControl', this.show_data)
|
|
393
398
|
},
|
|
394
399
|
async 'onetomanyupdate' (index, rowIndex) {
|
|
@@ -402,11 +407,21 @@
|
|
|
402
407
|
data
|
|
403
408
|
)
|
|
404
409
|
|
|
410
|
+
res = await this.$resetpost(
|
|
411
|
+
'rs/entity/t_apply',
|
|
412
|
+
this.show_data
|
|
413
|
+
)
|
|
414
|
+
|
|
405
415
|
this.$dispatch('breakControl', this.show_data)
|
|
406
416
|
},
|
|
407
417
|
async 'onetomanyadd' (index) {
|
|
408
418
|
let data = {
|
|
409
|
-
f_process_id : this.show_data.f_process_id
|
|
419
|
+
f_process_id : this.show_data.f_process_id,
|
|
420
|
+
f_operator_id: this.$login.f.id,
|
|
421
|
+
f_operator: this.$login.f.name,
|
|
422
|
+
f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
423
|
+
f_orgid: this.$login.f.orgid,
|
|
424
|
+
f_orgname: this.$login.f.orgs
|
|
410
425
|
}
|
|
411
426
|
this.show_data.onetomany[index].fields.forEach(item => {
|
|
412
427
|
data[item.field] = item.value
|
|
@@ -415,6 +430,12 @@
|
|
|
415
430
|
`rs/entity/${this.show_data.onetomany[index].tables[0]}`,
|
|
416
431
|
data
|
|
417
432
|
)
|
|
433
|
+
|
|
434
|
+
res = await this.$resetpost(
|
|
435
|
+
'rs/entity/t_apply',
|
|
436
|
+
this.show_data
|
|
437
|
+
)
|
|
438
|
+
|
|
418
439
|
this.$dispatch('breakControl', this.show_data)
|
|
419
440
|
}
|
|
420
441
|
},
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label class="font_normal_body">组织机构:</label>
|
|
10
|
+
<res-select
|
|
11
|
+
restype='organization'
|
|
12
|
+
:initresid='$parent.$parent.curorgid'
|
|
13
|
+
@res-select="$parent.$parent.getorg"
|
|
14
|
+
is-mul="false"
|
|
15
|
+
></res-select>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="form-group col-sm-3">
|
|
18
|
+
<label class="font_normal_body">工程编号:</label>
|
|
19
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
20
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
21
|
+
condition="f_apply_num = '{}'">
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-3">
|
|
24
|
+
<label class="font_normal_body">施工单位:</label>
|
|
25
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='施工单位' v-model="model.f_construction_unit"
|
|
26
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
27
|
+
condition="f_construction_unit like '%{}%'">
|
|
28
|
+
</div>
|
|
29
|
+
<div class="form-group col-sm-3 button-range">
|
|
30
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
31
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
32
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
33
|
+
:field="$parent.$parent.getfield"
|
|
34
|
+
sqlurl="rs/logic/applyExportfile"
|
|
35
|
+
sql-name="applyGetMaterial"
|
|
36
|
+
template-name='材料明细导出'
|
|
37
|
+
:choose-col="true"></export-excel>
|
|
38
|
+
<div
|
|
39
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
40
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
41
|
+
class="button_spacing"
|
|
42
|
+
style="float: right">
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
47
|
+
<div class="form-group col-sm-3">
|
|
48
|
+
<label class="font_normal_body">客户名称:</label>
|
|
49
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
|
|
50
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
51
|
+
condition="f_user_name = '{}'">
|
|
52
|
+
</div>
|
|
53
|
+
<div class="form-group col-sm-3">
|
|
54
|
+
<label class="font_normal_body">安装项目:</label>
|
|
55
|
+
<v-select
|
|
56
|
+
v-model="$parent.$parent.f_install_project"
|
|
57
|
+
placeholder='安装项目'
|
|
58
|
+
:value.sync="$parent.$parent.f_install_project"
|
|
59
|
+
:options='$parent.$parent.installProjects'
|
|
60
|
+
class="select select_list"
|
|
61
|
+
:value-single="true"
|
|
62
|
+
close-on-select ></v-select>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="form-group col-sm-3">
|
|
65
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
66
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
67
|
+
style="width: 60%!important;"
|
|
68
|
+
v-model="model.startDate"
|
|
69
|
+
:value.sync="model.startDate"
|
|
70
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
71
|
+
:show-reset-button="true"
|
|
72
|
+
condition="f_construction_date >= '{}'">
|
|
73
|
+
</datepicker>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="form-group col-sm-3">
|
|
76
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
77
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
78
|
+
style="width: 60%!important;"
|
|
79
|
+
v-model="model.endDate"
|
|
80
|
+
:value.sync="model.endDate"
|
|
81
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
82
|
+
:show-reset-button="true"
|
|
83
|
+
condition="f_construction_date <= '{}'">
|
|
84
|
+
</datepicker>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</criteria>
|
|
89
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
90
|
+
<template partial='head'>
|
|
91
|
+
<tr>
|
|
92
|
+
<th>序号</th>
|
|
93
|
+
<th>工程编号</th>
|
|
94
|
+
<th>客户名称</th>
|
|
95
|
+
<th>安装项目</th>
|
|
96
|
+
<th>施工单位</th>
|
|
97
|
+
<th>施工时间</th>
|
|
98
|
+
</tr>
|
|
99
|
+
</template>
|
|
100
|
+
<template partial='body'>
|
|
101
|
+
<tr >
|
|
102
|
+
<td style="text-align: center;">
|
|
103
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align: center;">
|
|
106
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align: center;">
|
|
109
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align: center;">
|
|
112
|
+
<nobr><font>{{row.f_install_project}}</font></nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align: center;">
|
|
115
|
+
<nobr><font>{{row.f_construction_unit}}</font></nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;">
|
|
118
|
+
<nobr><font>{{row.f_construction_date}}</font></nobr>
|
|
119
|
+
</td>
|
|
120
|
+
</tr>
|
|
121
|
+
</template>
|
|
122
|
+
</data-grid>
|
|
123
|
+
</criteria-paged>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</template>
|
|
127
|
+
|
|
128
|
+
<script>
|
|
129
|
+
import {PagedList} from 'vue-client'
|
|
130
|
+
import {HttpResetClass} from 'vue-client'
|
|
131
|
+
export default {
|
|
132
|
+
title: '安装项目',
|
|
133
|
+
data () {
|
|
134
|
+
return {
|
|
135
|
+
model: new PagedList('rs/sql/applyGetInstall', 30, {
|
|
136
|
+
data: {
|
|
137
|
+
f_install_project: this.f_install_project
|
|
138
|
+
}
|
|
139
|
+
}),
|
|
140
|
+
f_install_project: null,
|
|
141
|
+
curorgid: [this.$login.f.orgid],
|
|
142
|
+
installProjects: [{label: '全部', value: ''}, ...this.$appdata.getParam('安装项目')],
|
|
143
|
+
criteriaShow: false,
|
|
144
|
+
getfield: {
|
|
145
|
+
'f_apply_num': '工程编号',
|
|
146
|
+
'f_user_name': '客户名称',
|
|
147
|
+
'f_install_project': '安装项目',
|
|
148
|
+
'f_construction_unit': '施工单位',
|
|
149
|
+
'f_construction_date': '施工时间'
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
ready () {
|
|
154
|
+
this.model.f_install_project = null
|
|
155
|
+
// 调用查询
|
|
156
|
+
this.search()
|
|
157
|
+
},
|
|
158
|
+
methods: {
|
|
159
|
+
clear () {
|
|
160
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
161
|
+
this.$refs.cp.$refs.cri.model[key] = ''
|
|
162
|
+
})
|
|
163
|
+
},
|
|
164
|
+
searchCondition (args) {
|
|
165
|
+
args.condition = args.condition + ` and f_orgid = '${this.curorgid[0]}'`
|
|
166
|
+
// if (this.model.model && this.model.model.f_install_project) {
|
|
167
|
+
// this.model.f_install_project = this.model.model.f_install_project
|
|
168
|
+
// }
|
|
169
|
+
this.model.search(args.condition, args.model)
|
|
170
|
+
},
|
|
171
|
+
// 查询
|
|
172
|
+
search () {
|
|
173
|
+
this.$refs.cp.$refs.cri.search()
|
|
174
|
+
},
|
|
175
|
+
getorg (val) {
|
|
176
|
+
if (val.length <= 0) {
|
|
177
|
+
return
|
|
178
|
+
}
|
|
179
|
+
this.curorgid = val
|
|
180
|
+
this.search()
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
computed: {
|
|
184
|
+
getCondition () {
|
|
185
|
+
return {
|
|
186
|
+
condition: this.$refs.cp.$refs.cri.condition
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
</script>
|
|
192
|
+
|
|
193
|
+
<style scoped>
|
|
194
|
+
</style>
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label class="font_normal_body">组织机构:</label>
|
|
10
|
+
<res-select
|
|
11
|
+
restype='organization'
|
|
12
|
+
:initresid='$parent.$parent.curorgid'
|
|
13
|
+
@res-select="$parent.$parent.getorg"
|
|
14
|
+
is-mul="false"
|
|
15
|
+
></res-select>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="form-group col-sm-3">
|
|
18
|
+
<label class="font_normal_body">工程编号:</label>
|
|
19
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
20
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
21
|
+
condition="a.f_apply_num = '{}'">
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-3">
|
|
24
|
+
<label class="font_normal_body">操 作 人:</label>
|
|
25
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
|
|
26
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
27
|
+
condition="ma.f_operator like '%{}%'">
|
|
28
|
+
</div>
|
|
29
|
+
<div class="form-group col-sm-3 button-range">
|
|
30
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
31
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
32
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
33
|
+
:field="$parent.$parent.getfield"
|
|
34
|
+
sqlurl="rs/logic/applyExportfile"
|
|
35
|
+
sql-name="applyGetMaterial"
|
|
36
|
+
template-name='材料明细导出'
|
|
37
|
+
:choose-col="true"></export-excel>
|
|
38
|
+
<div
|
|
39
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
40
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
41
|
+
class="button_spacing"
|
|
42
|
+
style="float: right">
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
47
|
+
<div class="form-group col-sm-3">
|
|
48
|
+
<label class="font_normal_body">客户名称:</label>
|
|
49
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
|
|
50
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
51
|
+
condition="a.f_user_name = '{}'">
|
|
52
|
+
</div>
|
|
53
|
+
<div class="form-group col-sm-3">
|
|
54
|
+
<label class="font_normal_body">材料名称:</label>
|
|
55
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_material_name"
|
|
56
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
57
|
+
condition="ma.f_material_name = '{}'">
|
|
58
|
+
</div>
|
|
59
|
+
<div class="form-group col-sm-3">
|
|
60
|
+
<label class="font_normal_body">材料型号:</label>
|
|
61
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_material_style"
|
|
62
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
63
|
+
condition="ma.f_material_style = '{}'">
|
|
64
|
+
</div>
|
|
65
|
+
<div class="form-group col-sm-3">
|
|
66
|
+
<label class="font_normal_body">材料单位:</label>
|
|
67
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='材料单位' v-model="model.f_material_unit"
|
|
68
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
69
|
+
condition="ma.f_material_unit = '{}'">
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-3">
|
|
72
|
+
<label class="font_normal_body">材料数量:</label>
|
|
73
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
|
|
74
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
75
|
+
condition="ma.f_material_number = '{}'">
|
|
76
|
+
</div>
|
|
77
|
+
<div class="form-group col-sm-3">
|
|
78
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
79
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
80
|
+
style="width: 60%!important;"
|
|
81
|
+
v-model="model.startDate"
|
|
82
|
+
:value.sync="model.startDate"
|
|
83
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
84
|
+
:show-reset-button="true"
|
|
85
|
+
condition="ma.f_operation_date >= '{}'">
|
|
86
|
+
</datepicker>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="form-group col-sm-3">
|
|
89
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
90
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
91
|
+
style="width: 60%!important;"
|
|
92
|
+
v-model="model.endDate"
|
|
93
|
+
:value.sync="model.endDate"
|
|
94
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
95
|
+
:show-reset-button="true"
|
|
96
|
+
condition="ma.f_operation_date <= '{}'">
|
|
97
|
+
</datepicker>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</criteria>
|
|
102
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
103
|
+
<template partial='head'>
|
|
104
|
+
<tr>
|
|
105
|
+
<th>序号</th>
|
|
106
|
+
<th>工程编号</th>
|
|
107
|
+
<th>客户名称</th>
|
|
108
|
+
<th>材料名称</th>
|
|
109
|
+
<th>材料型号</th>
|
|
110
|
+
<th>材料单位</th>
|
|
111
|
+
<th>材料数量</th>
|
|
112
|
+
<th>操作人</th>
|
|
113
|
+
<th>操作时间</th>
|
|
114
|
+
</tr>
|
|
115
|
+
</template>
|
|
116
|
+
<template partial='body'>
|
|
117
|
+
<tr >
|
|
118
|
+
<td style="text-align: center;">
|
|
119
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
120
|
+
</td>
|
|
121
|
+
<td style="text-align: center;">
|
|
122
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td style="text-align: center;">
|
|
125
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td style="text-align: center;">
|
|
128
|
+
<nobr><font>{{row.f_material_name}}</font></nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td style="text-align: center;">
|
|
131
|
+
<nobr><font>{{row.f_material_style}}</font></nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td style="text-align: center;">
|
|
134
|
+
<nobr><font>{{row.f_material_unit}}</font></nobr>
|
|
135
|
+
</td>
|
|
136
|
+
<td style="text-align: center;">
|
|
137
|
+
<nobr><font>{{row.f_material_number}}</font></nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td style="text-align: center;">
|
|
140
|
+
<nobr><font>{{row.f_operator}}</font></nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td style="text-align: center;">
|
|
143
|
+
<nobr><font>{{row.f_operation_date}}</font></nobr>
|
|
144
|
+
</td>
|
|
145
|
+
</tr>
|
|
146
|
+
</template>
|
|
147
|
+
</data-grid>
|
|
148
|
+
</criteria-paged>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
</template>
|
|
152
|
+
|
|
153
|
+
<script>
|
|
154
|
+
import {PagedList} from 'vue-client'
|
|
155
|
+
import {HttpResetClass} from 'vue-client'
|
|
156
|
+
export default {
|
|
157
|
+
title: '材料明细',
|
|
158
|
+
data () {
|
|
159
|
+
return {
|
|
160
|
+
model: new PagedList('rs/sql/applyGetMaterial', 30, null),
|
|
161
|
+
curorgid: [this.$login.f.orgid],
|
|
162
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
163
|
+
paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
|
|
164
|
+
chargeStatus: [
|
|
165
|
+
{label: '全部', value: ''},
|
|
166
|
+
{label: '有效', value: '有效'},
|
|
167
|
+
{label: '作废', value: '作废'},
|
|
168
|
+
{label: '退款', value: '退款'}
|
|
169
|
+
],
|
|
170
|
+
criteriaShow: false,
|
|
171
|
+
chargeAll: {
|
|
172
|
+
count: 0,
|
|
173
|
+
sum: 0
|
|
174
|
+
},
|
|
175
|
+
getfield: {
|
|
176
|
+
'f_apply_num': '工程编号',
|
|
177
|
+
'f_user_name': '客户名称',
|
|
178
|
+
'f_material_name': '材料名称',
|
|
179
|
+
'f_material_style': '材料型号',
|
|
180
|
+
'f_material_unit': '材料单位',
|
|
181
|
+
'f_material_number': '材料数量',
|
|
182
|
+
'f_operator': '操作人',
|
|
183
|
+
'f_operation_date': '操作时间'
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
ready () {
|
|
188
|
+
// 调用查询
|
|
189
|
+
this.search()
|
|
190
|
+
},
|
|
191
|
+
methods: {
|
|
192
|
+
clear () {
|
|
193
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
194
|
+
this.$refs.cp.$refs.cri.model[key] = ''
|
|
195
|
+
})
|
|
196
|
+
},
|
|
197
|
+
searchCondition (args) {
|
|
198
|
+
args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
|
|
199
|
+
this.model.search(args.condition, args.model)
|
|
200
|
+
},
|
|
201
|
+
// 查询
|
|
202
|
+
search () {
|
|
203
|
+
this.$refs.cp.$refs.cri.search()
|
|
204
|
+
},
|
|
205
|
+
getorg (val) {
|
|
206
|
+
if (val.length <= 0) {
|
|
207
|
+
return
|
|
208
|
+
}
|
|
209
|
+
this.curorgid = val
|
|
210
|
+
this.search()
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
computed: {
|
|
214
|
+
getCondition () {
|
|
215
|
+
return {
|
|
216
|
+
condition: this.$refs.cp.$refs.cri.condition
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
</script>
|
|
222
|
+
|
|
223
|
+
<style scoped>
|
|
224
|
+
</style>
|
|
@@ -131,6 +131,8 @@
|
|
|
131
131
|
<th style="white-space: nowrap;">流程状态</th>
|
|
132
132
|
<th style="white-space: nowrap;">收费项目</th>
|
|
133
133
|
<th style="white-space: nowrap;">合同金额</th>
|
|
134
|
+
<th style="white-space: nowrap;">表号</th>
|
|
135
|
+
<th style="white-space: nowrap;">防盗卡号</th>
|
|
134
136
|
<th style="white-space: nowrap;">报建日期</th>
|
|
135
137
|
<th style="white-space: nowrap;">客户编号</th>
|
|
136
138
|
<th style="white-space: nowrap;">操作</th>
|
|
@@ -168,6 +170,12 @@
|
|
|
168
170
|
<td style="text-align: center;">
|
|
169
171
|
<nobr><font>{{row.f_contract_money}}</font></nobr>
|
|
170
172
|
</td>
|
|
173
|
+
<td style="text-align: center;">
|
|
174
|
+
<nobr><font>{{row.f_meternumber}}</font></nobr>
|
|
175
|
+
</td>
|
|
176
|
+
<td style="text-align: center;">
|
|
177
|
+
<nobr><font>{{row.f_card_number}}</font></nobr>
|
|
178
|
+
</td>
|
|
171
179
|
<td style="text-align: center;">
|
|
172
180
|
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
173
181
|
</td>
|
|
@@ -181,8 +189,8 @@
|
|
|
181
189
|
</button>
|
|
182
190
|
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
183
191
|
<li>
|
|
184
|
-
<a href="#" v-if="this.$login.f.rolesnames.indexOf('工程部派工') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1" @click="$parent.$parent.$parent.click(row)">{{row.f_sub_state}}</a>
|
|
185
|
-
<a href="#" v-if="this.$login.f.rolesnames.indexOf('营业厅报装') !== -1" @click="$parent.$parent.$parent.stopApply(row)">异常终止</a>
|
|
192
|
+
<a href="#" v-if="this.$login.f.rolesnames.indexOf('工程部派工') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1 || (this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 && row.f_sub_state === '待点火')" @click="$parent.$parent.$parent.click(row)">{{row.f_sub_state}}</a>
|
|
193
|
+
<a href="#" v-if="this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1" @click="$parent.$parent.$parent.stopApply(row)">异常终止</a>
|
|
186
194
|
</li>
|
|
187
195
|
</ul>
|
|
188
196
|
</dropdown>
|