apply-clients 3.5.5-10 → 3.5.5-101

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.
Files changed (92) hide show
  1. package/build/dev-server.js +5 -9
  2. package/package.json +6 -4
  3. package/src/App.vue +25 -25
  4. package/src/components/QXClient.js +333 -0
  5. package/src/components/SignTools.js +65 -0
  6. package/src/components/android/AppTakePic.vue +182 -182
  7. package/src/components/android/Process/AppChargeList.vue +8 -0
  8. package/src/components/android/Process/AppExplorationUser.vue +1 -2
  9. package/src/components/android/Process/AppServiceControl.vue +1760 -1755
  10. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  11. package/src/components/product/Install/ContractCharge.vue +3 -3
  12. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  13. package/src/components/product/Process/Processes/contractModel.vue +49 -37
  14. package/src/components/product/ServiceView.vue +1028 -1028
  15. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  16. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  17. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
  18. package/src/filiale/fugou/android/AppDevicesManagement.vue +521 -519
  19. package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
  20. package/src/filiale/fugou/android/AppInstallationDetails.vue +542 -541
  21. package/src/filiale/fugou/android/AppServiceControl.vue +1894 -1836
  22. package/src/filiale/fugou/android/AppZhihuanManagement.vue +14 -2
  23. package/src/filiale/fugou/android/printCharge.vue +162 -162
  24. package/src/filiale/fugou/android.js +16 -16
  25. package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
  26. package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -480
  27. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
  28. package/src/filiale/fugou/pc/ExplorationSelect.vue +524 -525
  29. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
  30. package/src/filiale/fugou/pc/ServiceControl.vue +47 -20
  31. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  32. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  33. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -881
  34. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  35. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  36. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  37. package/src/filiale/fugou/pc/devicesManagement.vue +484 -483
  38. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  39. package/src/filiale/fugou/pc.js +3 -1
  40. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  41. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -0
  42. package/src/filiale/gongyi/pc.js +2 -1
  43. package/src/filiale/hongda/pc/addMaterialScience.vue +2 -2
  44. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  45. package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -0
  46. package/src/filiale/jinhuang/android.js +7 -0
  47. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  48. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -0
  49. package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -1925
  50. package/src/filiale/jinhuang/pc/SupervisoryList.vue +459 -0
  51. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  52. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  53. package/src/filiale/jinhuang/pc.js +12 -8
  54. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  55. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  56. package/src/filiale/qianneng/android.js +15 -15
  57. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  58. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +20 -3
  59. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  60. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  61. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  62. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  63. package/src/filiale/qianneng/pc.js +29 -29
  64. package/src/filiale/ruihua/pc/ServiceControl.vue +7 -1
  65. package/src/filiale/shexian/android/AppServiceControl.vue +1763 -1763
  66. package/src/filiale/shexian/android/AppSign.vue +152 -152
  67. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
  68. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +3 -3
  69. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  70. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  71. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +37 -4
  72. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  73. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1879 -1703
  74. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  75. package/src/filiale/yangchunboneng/android.js +2 -1
  76. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  77. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +3 -3
  78. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
  79. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2114 -2112
  80. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  81. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  82. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
  83. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +617 -605
  84. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +687 -683
  85. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  86. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -0
  87. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1057 -1053
  88. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  89. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  90. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  91. package/src/filiale/yangchunboneng/pc.js +6 -1
  92. package/src/main.js +3 -3
@@ -343,24 +343,24 @@
343
343
  </button>
344
344
  </footer>
345
345
  </modal>
346
- <!-- <modal :show.sync="showmaterial" backdrop="false" style="overflow: scroll;height: 100%">-->
347
- <!-- <header slot="modal-header" class="modal-header text-center">-->
348
- <!-- <button type="button" class="close" @click="showmaterial = false"><span>&times;</span></button>-->
349
- <!-- <h4 class="modal-title">材料收费列表</h4>-->
350
- <!-- </header>-->
351
- <!-- <article slot="modal-body">-->
352
- <!-- <charges-list v-if="showmaterial" :selectdata = "selectdata"></charges-list>-->
353
- <!-- </article>-->
354
- <!-- <footer slot="modal-footer"></footer>-->
355
- <!-- </modal>-->
356
- <!--</form>-->
346
+ <modal :show.sync="showmaterial" backdrop="false" style="overflow: scroll;height: 100%">
347
+ <header slot="modal-header" class="modal-header text-center">
348
+ <button type="button" class="close" @click="showmaterial = false"><span>&times;</span></button>
349
+ <h4 class="modal-title">材料收费列表</h4>
350
+ </header>
351
+ <article slot="modal-body">
352
+ <charges-list v-if="showmaterial" :selectdata = "selectdata"></charges-list>
353
+ </article>
354
+ <footer slot="modal-footer"></footer>
355
+ </modal>
356
+ </form>
357
357
  </validator>
358
358
  </div>
359
359
  </template>
360
360
  <script>
361
361
  import Vue from 'vue'
362
362
  import {isEmpty} from "../../../components/Util";
363
- // import chargesList from "telephone-clients/src/filiale/qianneng/android/chargesList";
363
+ import chargesList from "telephone-clients/src/filiale/qianneng/android/chargesList";
364
364
  // Date格式化
365
365
  Date.prototype.Format = function (fmt) {
366
366
  var o = {
@@ -413,7 +413,7 @@ export default {
413
413
 
414
414
  },
415
415
  components: {
416
- // 'charges-list': chargesList
416
+ 'charges-list': chargesList
417
417
  },
418
418
  created () {
419
419
  // 初始化数据
@@ -1,15 +1,15 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
5
- 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
- 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
7
- 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
8
- 'app-sign': (resolve) => { require(['./android/AppSign'], resolve) },
9
- 'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
10
- 'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
11
- 'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
12
- 'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) }
13
-
14
- }
15
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
5
+ 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
+ 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
7
+ 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
8
+ 'app-sign': (resolve) => { require(['./android/AppSign'], resolve) },
9
+ 'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
10
+ 'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
11
+ 'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
12
+ 'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) }
13
+
14
+ }
15
+ exports.specialComp = specialComp
@@ -1,261 +1,261 @@
1
- <template>
2
- <div class="flex-row">
3
- <div style="height: 95%" 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
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_service_id"
11
- v-on:keyup.enter="$parent.$parent.search()"
12
- condition="f_apply_num = '{}'">
13
- </div>
14
- <div class="form-group col-sm-3">
15
- <label class="font_normal_body">操&ensp;作&ensp;人:</label>
16
- <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
17
- v-on:keyup.enter="$parent.$parent.search()"
18
- condition="a.f_operator like '%{}%'">
19
- </div>
20
- <div class="form-group col-sm-3 button-range">
21
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
22
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
23
- <export-excel :data="$parent.$parent.getCondition"
24
- :field="$parent.$parent.getfield"
25
- sqlurl="rs/logic/applyExportfile"
26
- sql-name="applyGettelMaterial"
27
- template-name='报建材料明细导出'
28
- :choose-col="true"></export-excel>
29
- <div style="float: right;" class="button_spacing button_search"
30
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
- @click="$parent.$parent.hidden()"></div>
32
- </div>
33
- </div>
34
- <div class="row" v-show="$parent.$parent.criteriaShow">
35
- <div class="form-group col-sm-3">
36
- <label class="font_normal_body">客户名称:</label>
37
- <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
38
- v-on:keyup.enter="$parent.$parent.search()"
39
- condition="f_user_name like '%{}%'">
40
- </div>
41
- <div class="form-group col-sm-3">
42
- <label class="font_normal_body">客户编号:</label>
43
- <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_userinfo_code"
44
- v-on:keyup.enter="$parent.$parent.search()"
45
- condition="f_userinfo_code like '%{}%'">
46
- </div>
47
- <div class="form-group col-sm-3">
48
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
49
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
50
- v-on:keyup.enter="$parent.$parent.search()"
51
- condition="f_address like '%{}%'">
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_typename"
56
- v-on:keyup.enter="$parent.$parent.search()"
57
- condition="f_typename like '%{}%'">
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_name"
62
- v-on:keyup.enter="$parent.$parent.search()"
63
- condition="f_material_name like '%{}%'">
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_typenumber"
68
- v-on:keyup.enter="$parent.$parent.search()"
69
- condition="f_typenumber like '%{}%'">
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="f_material_number = '{}'">
76
- </div>
77
- <div class="form-group col-sm-3">
78
- <label class="font_normal_body">材料单价:</label>
79
- <input type="text" style="width: 60%" class="input_search" placeholder='材料单价' v-model="model.f_material_price"
80
- v-on:keyup.enter="$parent.$parent.search()"
81
- condition="f_material_price = '{}'">
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label for="startDate" class="font_normal_body">开始时间:</label>
85
- <datepicker id="startDate" placeholder="开始日期"
86
- style="width: 60%!important;"
87
- v-model="model.startDate"
88
- :value.sync="model.startDate"
89
- :format="'yyyy-MM-dd 00:00:00'"
90
- :show-reset-button="true"
91
- condition="f_date >= '{}'">
92
- </datepicker>
93
- </div>
94
- <div class="form-group col-sm-3">
95
- <label for="endDate" class="font_normal_body">结束时间:</label>
96
- <datepicker id="endDate" placeholder="结束日期"
97
- style="width: 60%!important;"
98
- v-model="model.endDate"
99
- :value.sync="model.endDate"
100
- :format="'yyyy-MM-dd 23:59:59'"
101
- :show-reset-button="true"
102
- condition="f_date <= '{}'">
103
- </datepicker>
104
- </div>
105
- <div class="form-group col-sm-3">
106
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
107
- <v-select :value.sync="model.f_department"
108
- v-model="model.f_department"
109
- :options='$parent.$parent.f_departments' placeholder='部门'
110
- close-on-select condition="f_department like '%{}%'"></v-select>
111
- </div>
112
- </div>
113
- </div>
114
- </criteria>
115
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
116
- <template partial='head'>
117
- <tr>
118
- <th>序号</th>
119
- <th>工程编号</th>
120
- <th>客户编号</th>
121
- <th>客户名称</th>
122
- <th>客户电话</th>
123
- <th>地址</th>
124
- <th>用户类型</th>
125
- <th>用气性质</th>
126
- <th>材料分类</th>
127
- <th>材料名称</th>
128
- <th>材料型号</th>
129
- <th>材料数量</th>
130
- <th>材料单价</th>
131
- <th>金额</th>
132
- <th>操作人</th>
133
- <th>部门</th>
134
- <th>操作时间</th>
135
- </tr>
136
- </template>
137
- <template partial='body'>
138
- <tr >
139
- <td style="text-align: center;">
140
- <nobr><font>{{$index+1}}</font></nobr>
141
- </td>
142
- <td style="text-align: center;">
143
- <nobr><font>{{row.f_apply_num}}</font></nobr>
144
- </td>
145
- <td style="text-align: center;">
146
- <nobr><font>{{row.f_userinfo_code}}</font></nobr>
147
- </td>
148
- <td style="text-align: center;">
149
- <nobr><font>{{row.f_user_name}}</font></nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr><font>{{row.f_phone}}</font></nobr>
153
- </td>
154
- <td style="text-align: center;">
155
- <nobr><font>{{row.f_address}}</font></nobr>
156
- </td>
157
- <td style="text-align: center;">
158
- <nobr><font>{{row.f_user_type}}</font></nobr>
159
- </td>
160
- <td style="text-align: center;">
161
- <nobr><font>{{row.f_gasproperties}}</font></nobr>
162
- </td>
163
- <td style="text-align: center;">
164
- <nobr><font>{{row.f_typename}}</font></nobr>
165
- </td>
166
- <td style="text-align: center;">
167
- <nobr><font>{{row.f_material_name}}</font></nobr>
168
- </td>
169
- <td style="text-align: center;">
170
- <nobr><font>{{row.f_typenumber}}</font></nobr>
171
- </td>
172
- <td style="text-align: center;">
173
- <nobr><font>{{row.f_material_number}}</font></nobr>
174
- </td>
175
- <td style="text-align: center;">
176
- <nobr><font>{{row.f_material_price}}</font></nobr>
177
- </td>
178
- <td style="text-align: center;">
179
- <nobr><font>{{row.f_fee}}</font></nobr>
180
- </td>
181
- <td style="text-align: center;">
182
- <nobr><font>{{row.f_operators}}</font></nobr>
183
- </td>
184
- <td style="text-align: center;">
185
- <nobr><font>{{row.f_department}}</font></nobr>
186
- </td>
187
- <td style="text-align: center;">
188
- <nobr><font>{{row.f_date}}</font></nobr>
189
- </td>
190
- </tr>
191
- </template>
192
- </data-grid>
193
- </criteria-paged>
194
- </div>
195
-
196
- </div>
197
- </template>
198
-
199
- <script>
200
- import {PagedList} from 'vue-client'
201
- export default {
202
- title: '材料明细',
203
- data () {
204
- return {
205
- model: new PagedList('rs/sql/applyGettelMaterial', 30, null),
206
- f_departments: [{label: '全部', value: ''}, ...this.$appdata.getParam('部门')],
207
- criteriaShow: false,
208
- getfield: {
209
- 'f_service_id': '工程编号',
210
- 'f_userinfo_code': '客户编号',
211
- 'f_user_name': '客户名称',
212
- 'f_contact_phone': '客户电话',
213
- 'f_address': '地址',
214
- 'f_user_type': '用户类型',
215
- 'f_gasproperties': '用气性质',
216
- 'f_typename': '材料分类',
217
- 'f_material_name': '材料名称',
218
- 'f_typenumber': '材料型号',
219
- 'f_material_number': '材料数量',
220
- 'f_material_price': '材料单价',
221
- 'f_fee': '金额',
222
- 'f_operators': '操作人',
223
- 'f_department': '部门',
224
- 'f_date': '操作时间'
225
- }
226
- }
227
- },
228
- ready () {
229
- // 调用查询
230
- this.search()
231
- },
232
- methods: {
233
- clear () {
234
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
235
- this.$refs.cp.$refs.cri.model[key] = ''
236
- })
237
- },
238
- searchCondition (args) {
239
- args.condition = args.condition + ` and a.f_orgid = '${this.$login.f.orgid}'`
240
- this.model.search(args.condition, args.model)
241
- },
242
- // 查询
243
- search () {
244
- this.$refs.cp.$refs.cri.search()
245
- },
246
- hidden () {
247
- this.criteriaShow = !this.criteriaShow
248
- },
249
- },
250
- computed: {
251
- getCondition () {
252
- return {
253
- condition: this.model.condition
254
- }
255
- }
256
- }
257
- }
258
- </script>
259
-
260
- <style scoped>
261
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" 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
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_service_id"
11
+ v-on:keyup.enter="$parent.$parent.search()"
12
+ condition="f_apply_num = '{}'">
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body">操&ensp;作&ensp;人:</label>
16
+ <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
17
+ v-on:keyup.enter="$parent.$parent.search()"
18
+ condition="toh.f_operator like '%{}%'">
19
+ </div>
20
+ <div class="form-group col-sm-3 button-range">
21
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
22
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
23
+ <export-excel :data="$parent.$parent.getCondition"
24
+ :field="$parent.$parent.getfield"
25
+ sqlurl="rs/logic/applyExportfile"
26
+ sql-name="applyGettelMaterial"
27
+ template-name='报建材料明细导出'
28
+ :choose-col="true"></export-excel>
29
+ <div style="float: right;" class="button_spacing button_search"
30
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
+ @click="$parent.$parent.hidden()"></div>
32
+ </div>
33
+ </div>
34
+ <div class="row" v-show="$parent.$parent.criteriaShow">
35
+ <div class="form-group col-sm-3">
36
+ <label class="font_normal_body">客户名称:</label>
37
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
38
+ v-on:keyup.enter="$parent.$parent.search()"
39
+ condition="f_user_name like '%{}%'">
40
+ </div>
41
+ <div class="form-group col-sm-3">
42
+ <label class="font_normal_body">客户编号:</label>
43
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_userinfo_code"
44
+ v-on:keyup.enter="$parent.$parent.search()"
45
+ condition="f_userinfo_code like '%{}%'">
46
+ </div>
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
49
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="f_address like '%{}%'">
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_typename"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="f_typename like '%{}%'">
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_name"
62
+ v-on:keyup.enter="$parent.$parent.search()"
63
+ condition="f_material_name like '%{}%'">
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_typenumber"
68
+ v-on:keyup.enter="$parent.$parent.search()"
69
+ condition="f_typenumber like '%{}%'">
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="f_material_number = '{}'">
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label class="font_normal_body">材料单价:</label>
79
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料单价' v-model="model.f_material_price"
80
+ v-on:keyup.enter="$parent.$parent.search()"
81
+ condition="f_material_price = '{}'">
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label for="startDate" class="font_normal_body">开始时间:</label>
85
+ <datepicker id="startDate" placeholder="开始日期"
86
+ style="width: 60%!important;"
87
+ v-model="model.startDate"
88
+ :value.sync="model.startDate"
89
+ :format="'yyyy-MM-dd 00:00:00'"
90
+ :show-reset-button="true"
91
+ condition="f_date >= '{}'">
92
+ </datepicker>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label for="endDate" class="font_normal_body">结束时间:</label>
96
+ <datepicker id="endDate" placeholder="结束日期"
97
+ style="width: 60%!important;"
98
+ v-model="model.endDate"
99
+ :value.sync="model.endDate"
100
+ :format="'yyyy-MM-dd 23:59:59'"
101
+ :show-reset-button="true"
102
+ condition="f_date <= '{}'">
103
+ </datepicker>
104
+ </div>
105
+ <div class="form-group col-sm-3">
106
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
107
+ <v-select :value.sync="model.f_department"
108
+ v-model="model.f_department"
109
+ :options='$parent.$parent.f_departments' placeholder='部门'
110
+ close-on-select condition="f_department like '%{}%'"></v-select>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </criteria>
115
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
116
+ <template partial='head'>
117
+ <tr>
118
+ <th>序号</th>
119
+ <th>工程编号</th>
120
+ <th>客户编号</th>
121
+ <th>客户名称</th>
122
+ <th>客户电话</th>
123
+ <th>地址</th>
124
+ <th>用户类型</th>
125
+ <th>用气性质</th>
126
+ <th>材料分类</th>
127
+ <th>材料名称</th>
128
+ <th>材料型号</th>
129
+ <th>材料数量</th>
130
+ <th>材料单价</th>
131
+ <th>金额</th>
132
+ <th>操作人</th>
133
+ <th>部门</th>
134
+ <th>操作时间</th>
135
+ </tr>
136
+ </template>
137
+ <template partial='body'>
138
+ <tr >
139
+ <td style="text-align: center;">
140
+ <nobr><font>{{$index+1}}</font></nobr>
141
+ </td>
142
+ <td style="text-align: center;">
143
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr><font>{{row.f_user_name}}</font></nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr><font>{{row.f_phone}}</font></nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr><font>{{row.f_address}}</font></nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr><font>{{row.f_user_type}}</font></nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr><font>{{row.f_gasproperties}}</font></nobr>
162
+ </td>
163
+ <td style="text-align: center;">
164
+ <nobr><font>{{row.f_typename}}</font></nobr>
165
+ </td>
166
+ <td style="text-align: center;">
167
+ <nobr><font>{{row.f_material_name}}</font></nobr>
168
+ </td>
169
+ <td style="text-align: center;">
170
+ <nobr><font>{{row.f_typenumber}}</font></nobr>
171
+ </td>
172
+ <td style="text-align: center;">
173
+ <nobr><font>{{row.f_material_number}}</font></nobr>
174
+ </td>
175
+ <td style="text-align: center;">
176
+ <nobr><font>{{row.f_material_price}}</font></nobr>
177
+ </td>
178
+ <td style="text-align: center;">
179
+ <nobr><font>{{row.f_fee}}</font></nobr>
180
+ </td>
181
+ <td style="text-align: center;">
182
+ <nobr><font>{{row.f_operators}}</font></nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr><font>{{row.f_department}}</font></nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <nobr><font>{{row.f_date}}</font></nobr>
189
+ </td>
190
+ </tr>
191
+ </template>
192
+ </data-grid>
193
+ </criteria-paged>
194
+ </div>
195
+
196
+ </div>
197
+ </template>
198
+
199
+ <script>
200
+ import {PagedList} from 'vue-client'
201
+ export default {
202
+ title: '材料明细',
203
+ data () {
204
+ return {
205
+ model: new PagedList('rs/sql/applyGettelMaterial', 30, null),
206
+ f_departments: [{label: '全部', value: ''}, ...this.$appdata.getParam('部门')],
207
+ criteriaShow: false,
208
+ getfield: {
209
+ 'f_service_id': '工程编号',
210
+ 'f_userinfo_code': '客户编号',
211
+ 'f_user_name': '客户名称',
212
+ 'f_contact_phone': '客户电话',
213
+ 'f_address': '地址',
214
+ 'f_user_type': '用户类型',
215
+ 'f_gasproperties': '用气性质',
216
+ 'f_typename': '材料分类',
217
+ 'f_material_name': '材料名称',
218
+ 'f_typenumber': '材料型号',
219
+ 'f_material_number': '材料数量',
220
+ 'f_material_price': '材料单价',
221
+ 'f_fee': '金额',
222
+ 'f_operators': '操作人',
223
+ 'f_department': '部门',
224
+ 'f_date': '操作时间'
225
+ }
226
+ }
227
+ },
228
+ ready () {
229
+ // 调用查询
230
+ this.search()
231
+ },
232
+ methods: {
233
+ clear () {
234
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
235
+ this.$refs.cp.$refs.cri.model[key] = ''
236
+ })
237
+ },
238
+ searchCondition (args) {
239
+ args.condition = args.condition + ` and a.f_orgid = '${this.$login.f.orgid}'`
240
+ this.model.search(args.condition, args.model)
241
+ },
242
+ // 查询
243
+ search () {
244
+ this.$refs.cp.$refs.cri.search()
245
+ },
246
+ hidden () {
247
+ this.criteriaShow = !this.criteriaShow
248
+ },
249
+ },
250
+ computed: {
251
+ getCondition () {
252
+ return {
253
+ condition: this.model.condition
254
+ }
255
+ }
256
+ }
257
+ }
258
+ </script>
259
+
260
+ <style scoped>
261
+ </style>