apply-clients 3.5.4-8 → 3.5.4-80

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 (103) hide show
  1. package/build/dev-server.js +6 -2
  2. package/package.json +2 -2
  3. package/src/App.vue +4 -4
  4. package/src/apply.js +2 -3
  5. package/src/applyAndroid.js +2 -0
  6. package/src/assets//344/270/213/350/275/275.png +0 -0
  7. package/src/components/android/AppCheckTakePic.vue +168 -0
  8. package/src/components/android/Process/AppServiceControl.vue +4 -0
  9. package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
  10. package/src/components/image/dxf.png +0 -0
  11. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -1
  12. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  13. package/src/components/product/MaterialsManage/MaterialsBase.vue +5 -1
  14. package/src/components/product/MaterialsManage/MaterialsManage.vue +2 -2
  15. package/src/components/product/PcZhihuanManagement.vue +160 -0
  16. package/src/components/product/Process/ExplorationSelect.vue +4 -1
  17. package/src/components/product/Process/ExplorationUser.vue +1 -0
  18. package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
  19. package/src/components/product/ServiceView.vue +22 -1
  20. package/src/components/product/Supervisory/SupervisoryControl.vue +1 -0
  21. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
  22. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +823 -0
  23. package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
  24. package/src/filiale/baiyin/android.js +8 -0
  25. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -0
  26. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
  27. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -625
  28. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
  29. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
  30. package/src/filiale/fugou/android/AppServiceControl.vue +38 -5
  31. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
  32. package/src/filiale/fugou/android.js +7 -1
  33. package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
  34. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -0
  35. package/src/filiale/fugou/pc/InstallationDetails.vue +54 -43
  36. package/src/filiale/fugou/pc/ServiceControl.vue +125 -379
  37. package/src/filiale/fugou/pc/ServiceView.vue +941 -0
  38. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -0
  39. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
  40. package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
  41. package/src/filiale/fugou/pc.js +13 -7
  42. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -481
  43. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
  44. package/src/filiale/gongyi/android/AppInstallationDetails.vue +15 -10
  45. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
  46. package/src/filiale/gongyi/android/AppSign.vue +16 -3
  47. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
  48. package/src/filiale/gongyi/android.js +3 -0
  49. package/src/filiale/gongyi/pc/ApplyUpload.vue +31 -39
  50. package/src/filiale/gongyi/pc/PcAddLogs.vue +12 -4
  51. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
  52. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
  53. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +1 -1
  54. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
  55. package/src/filiale/gongyi/pc/addMaterialScience.vue +43 -7
  56. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
  57. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
  58. package/src/filiale/gongyi/pc.js +6 -1
  59. package/src/filiale/hongda/pc/SupervisoryList.vue +13 -0
  60. package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
  61. package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
  62. package/src/filiale/jinhuang/pc.js +7 -0
  63. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
  64. package/src/filiale/qianneng/android/AppExplorationUser.vue +490 -490
  65. package/src/filiale/qianneng/android/AppInstallationDetails.vue +541 -541
  66. package/src/filiale/qianneng/android.js +15 -14
  67. package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
  68. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +704 -704
  69. package/src/filiale/qianneng/pc/Applydetail.vue +378 -383
  70. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  71. package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -587
  72. package/src/filiale/qianneng/pc/ServiceControl.vue +1384 -1384
  73. package/src/filiale/qianneng/pc/printactivatecard.vue +311 -311
  74. package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
  75. package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
  76. package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
  77. package/src/filiale/shexian/android/AppTakePic.vue +15 -55
  78. package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
  79. package/src/filiale/siyangRH/pc/ApplyUpload.vue +324 -324
  80. package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
  81. package/src/filiale/siyangRH/pc.js +1 -0
  82. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -511
  83. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -609
  84. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
  85. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +956 -961
  86. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1648
  87. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
  88. package/src/filiale/yangchunboneng/android/AppUpload.vue +78 -9
  89. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +31 -19
  90. package/src/filiale/yangchunboneng/android.js +1 -1
  91. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +235 -218
  92. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -508
  93. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
  94. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -1871
  95. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
  96. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +69 -14
  97. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
  98. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
  99. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
  100. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
  101. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -960
  102. package/src/filiale/yangchunboneng/pc.js +7 -1
  103. package/src/main.js +1 -1
@@ -1,268 +1,268 @@
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
- <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 like '%{}%'">
22
- </div>
23
- <div class="form-group col-sm-3">
24
- <label class="font_normal_body">操&ensp;作&ensp;人:</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_userinfo_code"
50
- v-on:keyup.enter="$parent.$parent.search()"
51
- condition="a.f_userinfo_code 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_user_name"
56
- v-on:keyup.enter="$parent.$parent.search()"
57
- condition="a.f_user_name like '%{}%'">
58
- </div>
59
- <div class="form-group col-sm-3">
60
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
61
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
62
- v-on:keyup.enter="$parent.$parent.search()"
63
- condition="a.f_address 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_material_name"
68
- v-on:keyup.enter="$parent.$parent.search()"
69
- condition="ma.f_material_name = '{}'">
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_style"
74
- v-on:keyup.enter="$parent.$parent.search()"
75
- condition="ma.f_material_style = '{}'">
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_unit"
80
- v-on:keyup.enter="$parent.$parent.search()"
81
- condition="ma.f_material_unit = '{}'">
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label class="font_normal_body">材料数量:</label>
85
- <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
86
- v-on:keyup.enter="$parent.$parent.search()"
87
- condition="ma.f_material_number = '{}'">
88
- </div>
89
- <div class="form-group col-sm-3">
90
- <label class="font_normal_body">报警器编号:</label>
91
- <input type="text" style="width: 60%" class="input_search" placeholder='报警器编号' v-model="model.f_bjq_sid"
92
- v-on:keyup.enter="$parent.$parent.search()"
93
- condition="ma.f_bjq_sid = '{}'">
94
- </div>
95
- <div class="form-group col-sm-3">
96
- <label for="startDate" class="font_normal_body">开始时间:</label>
97
- <datepicker id="startDate" placeholder="开始日期"
98
- style="width: 60%!important;"
99
- v-model="model.startDate"
100
- :value.sync="model.startDate"
101
- :format="'yyyy-MM-dd 00:00:00'"
102
- :show-reset-button="true"
103
- condition="ma.f_operation_date >= '{}'">
104
- </datepicker>
105
- </div>
106
- <div class="form-group col-sm-3">
107
- <label for="endDate" class="font_normal_body">结束时间:</label>
108
- <datepicker id="endDate" placeholder="结束日期"
109
- style="width: 60%!important;"
110
- v-model="model.endDate"
111
- :value.sync="model.endDate"
112
- :format="'yyyy-MM-dd 23:59:59'"
113
- :show-reset-button="true"
114
- condition="ma.f_operation_date <= '{}'">
115
- </datepicker>
116
- </div>
117
- </div>
118
- </div>
119
- </criteria>
120
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
121
- <template partial='head'>
122
- <tr>
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
- </tr>
135
- </template>
136
- <template partial='body'>
137
- <tr >
138
- <td style="text-align: center;">
139
- <nobr><font>{{$index+1}}</font></nobr>
140
- </td>
141
- <td style="text-align: center;">
142
- <nobr><font>{{row.f_apply_num}}</font></nobr>
143
- </td>
144
- <td style="text-align: center;">
145
- <nobr><font>{{row.f_user_name}}</font></nobr>
146
- </td>
147
- <td style="text-align: center;">
148
- <nobr><font>{{row.f_address}}</font></nobr>
149
- </td>
150
- <td style="text-align: center;">
151
- <nobr><font>{{row.f_material_name}}</font></nobr>
152
- </td>
153
- <td style="text-align: center;">
154
- <nobr><font>{{row.f_material_style}}</font></nobr>
155
- </td>
156
- <td style="text-align: center;">
157
- <nobr><font>{{row.f_material_unit}}</font></nobr>
158
- </td>
159
- <td style="text-align: center;">
160
- <nobr><font>{{row.f_material_number}}</font></nobr>
161
- </td>
162
- <td style="text-align: center;">
163
- <nobr><font>{{row.f_bjq_sid}}</font></nobr>
164
- </td>
165
- <td style="text-align: center;">
166
- <nobr><font>{{row.f_operator}}</font></nobr>
167
- </td>
168
- <td style="text-align: center;">
169
- <nobr><font>{{row.f_operation_date}}</font></nobr>
170
- </td>
171
- </tr>
172
- </template>
173
- </data-grid>
174
-
175
- </criteria-paged>
176
- <p class="bg-info text-center" style="font-size: 20px;height: 5%">
177
- 合计记录共<span style="color: red">{{chargeAll.count}}&ensp;</span>笔,
178
- 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>元
179
- </p>
180
- </div>
181
-
182
- </div>
183
- </template>
184
-
185
- <script>
186
- import {PagedList} from 'vue-client'
187
- import {HttpResetClass} from 'vue-client'
188
- export default {
189
- title: '材料明细',
190
- data () {
191
- return {
192
- model: new PagedList('rs/sql/applyGetMaterial', 30, null),
193
- curorgid: [this.$login.f.orgid],
194
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
195
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
196
- chargeStatus: [
197
- {label: '全部', value: ''},
198
- {label: '有效', value: '有效'},
199
- {label: '作废', value: '作废'},
200
- {label: '退款', value: '退款'}
201
- ],
202
- criteriaShow: true,
203
- chargeAll: {
204
- count: 0,
205
- sum: 0
206
- },
207
- getfield: {
208
- 'f_apply_num': '工程编号',
209
- 'f_user_name': '客户名称',
210
- 'f_address': '地址',
211
- 'f_material_name': '材料名称',
212
- 'f_material_style': '材料型号',
213
- 'f_material_unit': '材料单位',
214
- 'f_material_number': '材料数量',
215
- 'f_operator': '操作人',
216
- 'f_operation_date': '操作时间'
217
- }
218
- }
219
- },
220
- ready () {
221
- // 调用查询
222
- this.search()
223
- },
224
- methods: {
225
- clear () {
226
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
227
- this.$refs.cp.$refs.cri.model[key] = ''
228
- })
229
- },
230
- searchCondition (args) {
231
- args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
232
- this.model.search(args.condition, args.model)
233
- },
234
- // 查询
235
- search () {
236
- this.$refs.cp.$refs.cri.search()
237
- this.getChargeAll()
238
- },
239
- async getChargeAll () {
240
- let http = new HttpResetClass()
241
- let data = {
242
- condition: this.model.condition
243
- }
244
- let res = await http.load('POST', 'rs/sql/getGetMaterial', {data: data}, {resolveMsg: null, rejectMsg: null})
245
- console.log(res.data[0])
246
- console.log('222')
247
- this.chargeAll = res.data[0]
248
- },
249
- getorg (val) {
250
- if (val.length <= 0) {
251
- return
252
- }
253
- this.curorgid = val
254
- this.search()
255
- }
256
- },
257
- computed: {
258
- getCondition () {
259
- return {
260
- condition: this.model.condition
261
- }
262
- }
263
- }
264
- }
265
- </script>
266
-
267
- <style scoped>
268
- </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
+ <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 like '%{}%'">
22
+ </div>
23
+ <div class="form-group col-sm-3">
24
+ <label class="font_normal_body">操&ensp;作&ensp;人:</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_userinfo_code"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="a.f_userinfo_code 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_user_name"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="a.f_user_name like '%{}%'">
58
+ </div>
59
+ <div class="form-group col-sm-3">
60
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
61
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
62
+ v-on:keyup.enter="$parent.$parent.search()"
63
+ condition="a.f_address 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_material_name"
68
+ v-on:keyup.enter="$parent.$parent.search()"
69
+ condition="ma.f_material_name = '{}'">
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_style"
74
+ v-on:keyup.enter="$parent.$parent.search()"
75
+ condition="ma.f_material_style = '{}'">
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_unit"
80
+ v-on:keyup.enter="$parent.$parent.search()"
81
+ condition="ma.f_material_unit = '{}'">
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label class="font_normal_body">材料数量:</label>
85
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
86
+ v-on:keyup.enter="$parent.$parent.search()"
87
+ condition="ma.f_material_number = '{}'">
88
+ </div>
89
+ <div class="form-group col-sm-3">
90
+ <label class="font_normal_body">报警器编号:</label>
91
+ <input type="text" style="width: 60%" class="input_search" placeholder='报警器编号' v-model="model.f_bjq_sid"
92
+ v-on:keyup.enter="$parent.$parent.search()"
93
+ condition="ma.f_bjq_sid = '{}'">
94
+ </div>
95
+ <div class="form-group col-sm-3">
96
+ <label for="startDate" class="font_normal_body">开始时间:</label>
97
+ <datepicker id="startDate" placeholder="开始日期"
98
+ style="width: 60%!important;"
99
+ v-model="model.startDate"
100
+ :value.sync="model.startDate"
101
+ :format="'yyyy-MM-dd 00:00:00'"
102
+ :show-reset-button="true"
103
+ condition="ma.f_operation_date >= '{}'">
104
+ </datepicker>
105
+ </div>
106
+ <div class="form-group col-sm-3">
107
+ <label for="endDate" class="font_normal_body">结束时间:</label>
108
+ <datepicker id="endDate" placeholder="结束日期"
109
+ style="width: 60%!important;"
110
+ v-model="model.endDate"
111
+ :value.sync="model.endDate"
112
+ :format="'yyyy-MM-dd 23:59:59'"
113
+ :show-reset-button="true"
114
+ condition="ma.f_operation_date <= '{}'">
115
+ </datepicker>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </criteria>
120
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
121
+ <template partial='head'>
122
+ <tr>
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
+ </tr>
135
+ </template>
136
+ <template partial='body'>
137
+ <tr >
138
+ <td style="text-align: center;">
139
+ <nobr><font>{{$index+1}}</font></nobr>
140
+ </td>
141
+ <td style="text-align: center;">
142
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
143
+ </td>
144
+ <td style="text-align: center;">
145
+ <nobr><font>{{row.f_user_name}}</font></nobr>
146
+ </td>
147
+ <td style="text-align: center;">
148
+ <nobr><font>{{row.f_address}}</font></nobr>
149
+ </td>
150
+ <td style="text-align: center;">
151
+ <nobr><font>{{row.f_material_name}}</font></nobr>
152
+ </td>
153
+ <td style="text-align: center;">
154
+ <nobr><font>{{row.f_material_style}}</font></nobr>
155
+ </td>
156
+ <td style="text-align: center;">
157
+ <nobr><font>{{row.f_material_unit}}</font></nobr>
158
+ </td>
159
+ <td style="text-align: center;">
160
+ <nobr><font>{{row.f_material_number}}</font></nobr>
161
+ </td>
162
+ <td style="text-align: center;">
163
+ <nobr><font>{{row.f_bjq_sid}}</font></nobr>
164
+ </td>
165
+ <td style="text-align: center;">
166
+ <nobr><font>{{row.f_operator}}</font></nobr>
167
+ </td>
168
+ <td style="text-align: center;">
169
+ <nobr><font>{{row.f_operation_date}}</font></nobr>
170
+ </td>
171
+ </tr>
172
+ </template>
173
+ </data-grid>
174
+
175
+ </criteria-paged>
176
+ <p class="bg-info text-center" style="font-size: 20px;height: 5%">
177
+ 合计记录共<span style="color: red">{{chargeAll.count}}&ensp;</span>笔,
178
+ 合计数量<span style="color: red">&ensp;{{chargeAll.sum}}&ensp;</span>
179
+ </p>
180
+ </div>
181
+
182
+ </div>
183
+ </template>
184
+
185
+ <script>
186
+ import {PagedList} from 'vue-client'
187
+ import {HttpResetClass} from 'vue-client'
188
+ export default {
189
+ title: '材料明细',
190
+ data () {
191
+ return {
192
+ model: new PagedList('rs/sql/applyGetMaterial', 30, null),
193
+ curorgid: [this.$login.f.orgid],
194
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
195
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
196
+ chargeStatus: [
197
+ {label: '全部', value: ''},
198
+ {label: '有效', value: '有效'},
199
+ {label: '作废', value: '作废'},
200
+ {label: '退款', value: '退款'}
201
+ ],
202
+ criteriaShow: true,
203
+ chargeAll: {
204
+ count: 0,
205
+ sum: 0
206
+ },
207
+ getfield: {
208
+ 'f_apply_num': '工程编号',
209
+ 'f_user_name': '客户名称',
210
+ 'f_address': '地址',
211
+ 'f_material_name': '材料名称',
212
+ 'f_material_style': '材料型号',
213
+ 'f_material_unit': '材料单位',
214
+ 'f_material_number': '材料数量',
215
+ 'f_operator': '操作人',
216
+ 'f_operation_date': '操作时间'
217
+ }
218
+ }
219
+ },
220
+ ready () {
221
+ // 调用查询
222
+ this.search()
223
+ },
224
+ methods: {
225
+ clear () {
226
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
227
+ this.$refs.cp.$refs.cri.model[key] = ''
228
+ })
229
+ },
230
+ searchCondition (args) {
231
+ args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
232
+ this.model.search(args.condition, args.model)
233
+ },
234
+ // 查询
235
+ search () {
236
+ this.$refs.cp.$refs.cri.search()
237
+ this.getChargeAll()
238
+ },
239
+ async getChargeAll () {
240
+ let http = new HttpResetClass()
241
+ let data = {
242
+ condition: this.model.condition
243
+ }
244
+ let res = await http.load('POST', 'rs/sql/getGetMaterial', {data: data}, {resolveMsg: null, rejectMsg: null})
245
+ console.log(res.data[0])
246
+ console.log('222')
247
+ this.chargeAll = res.data[0]
248
+ },
249
+ getorg (val) {
250
+ if (val.length <= 0) {
251
+ return
252
+ }
253
+ this.curorgid = val
254
+ this.search()
255
+ }
256
+ },
257
+ computed: {
258
+ getCondition () {
259
+ return {
260
+ condition: this.model.condition
261
+ }
262
+ }
263
+ }
264
+ }
265
+ </script>
266
+
267
+ <style scoped>
268
+ </style>
@@ -28,12 +28,15 @@
28
28
  <input type="text"
29
29
  :disabled="look"
30
30
  v-model="model.unit" style="width:60%"
31
- class="input_search full-with" id="name" placeholder="计量单位">
31
+ class="input_search full-with"
32
+ autocomplete="off"
33
+ id="name" placeholder="计量单位">
32
34
  </div>
33
35
  <div class="col-sm-6">
34
36
  <label style="width: 80px" class="font_normal_body">编码</label>
35
37
  <input type="text"
36
38
  :disabled="look"
39
+ autocomplete="off"
37
40
  v-model="model.code" style="width:60%"
38
41
  class="input_search full-with" id="name" placeholder="物料编码">
39
42
  </div>
@@ -41,6 +44,7 @@
41
44
  <label class="font_normal_body">单价</label>
42
45
  <input type="text"
43
46
  :disabled="look"
47
+ autocomplete="off"
44
48
  v-model="model.price" style="width:60%"
45
49
  class="input_search full-with" id="name" placeholder="物料单价">
46
50
  </div>
@@ -4,7 +4,7 @@
4
4
  @add-res="addRes"
5
5
  class="basic-main" style="width:auto;" v-ref:funlist>
6
6
  </apply-material-display>
7
- <div class="binary-right" style="width: 40%;overflow-x: hidden; overflow-y: scroll;" v-if="row">
7
+ <div class="binary-right" style="width: 40%verflow-x: hidden; overflow-y: scroll;" v-if="row">
8
8
  <apply-materials-base :look='look' :data="row" :title="title"
9
9
  :parent="row.parent_name" @cancel="cancel">
10
10
  </apply-materials-base>
@@ -15,7 +15,7 @@
15
15
  <script>
16
16
 
17
17
  export default {
18
- title: '功能展示',
18
+ title: '物料配置',
19
19
  data () {
20
20
  return {
21
21
  row: null,