apply-clients 5.0.35-99 → 5.0.35-ezhou-2

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 (43) hide show
  1. package/dist.7z +0 -0
  2. package/package.json +111 -111
  3. package/src/apply.js +1 -13
  4. package/src/components/app_apply/ApplyToDoList.vue +2586 -76
  5. package/src/components/app_apply/PlaceControler.vue +0 -12
  6. package/src/components/app_apply/ServiceControl.vue +348 -687
  7. package/src/components/app_apply/ezhou/ServiceView.vue +57 -139
  8. package/src/components/product/Common/ApplyValidateBill.vue +6 -13
  9. package/src/components/product/Common/PrintBill.vue +6 -7
  10. package/src/components/product/Function/InstallInfoSelect.vue +2 -3
  11. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -37
  12. package/src/components/product/Function/functions/BuyerMessage.vue +1 -1
  13. package/src/components/product/Function/functions/InstallFee.vue +22 -103
  14. package/src/components/product/Function/functions/InstallFeeInfo.vue +1 -6
  15. package/src/components/product/Process/ExplorationSelect.vue +678 -653
  16. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +907 -907
  17. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +39 -126
  18. package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +1 -1
  19. package/src/components/product/Process/Processes/Service/ServiceControl.vue +1495 -1880
  20. package/src/components/product/ServiceView.vue +5 -15
  21. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +10 -56
  22. package/src/components/product/Supervisory/SupervisoryList.vue +12 -76
  23. package/src/components/product/stopInfo/ApplyStopInfo.vue +1 -2
  24. package/src/ezhouAndroid.js +0 -4
  25. package/src/plugins/commonService.js +1 -1
  26. package/yarn-error.log +8796 -9048
  27. package/src/components/app_apply/Gongcheng.vue +0 -3631
  28. package/src/components/app_apply/OneToMany.vue +0 -194
  29. package/src/components/image/doc.jpg +0 -0
  30. package/src/components/image/dwg.png +0 -0
  31. package/src/components/image/dxf.png +0 -0
  32. package/src/components/image/excel.jpg +0 -0
  33. package/src/components/image/pdf.jpg +0 -0
  34. package/src/components/product/EngineeringManagement/EngineerUpload.vue +0 -304
  35. package/src/components/product/EngineeringManagement/EngineeringManagement.vue +0 -137
  36. package/src/components/product/EngineeringManagement/EngineeringSelect.vue +0 -586
  37. package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +0 -281
  38. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +0 -132
  39. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +0 -340
  40. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +0 -490
  41. package/src/components/product/Function/functions/ApplyUpload.vue +0 -556
  42. package/src/components/product/applyReport/ApplyReport.vue +0 -205
  43. package/src/components/product/applyReport/PrintApplyReport.vue +0 -116
@@ -103,25 +103,6 @@
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>
125
106
 
126
107
  <div class="form-group">
127
108
  <button class="btn btn-primary" @click="search(),$parent.$parent.showpager()">
@@ -149,14 +130,14 @@
149
130
  <th><nobr>总应缴金额</nobr></th>
150
131
  <th><nobr>已交金额</nobr></th>
151
132
  <th><nobr>未交金额</nobr></th>
152
- <th><nobr>操作</nobr></th>
133
+ <!-- <th><nobr>发票冲正</nobr></th>-->
153
134
  </tr>
154
135
  </template>
155
136
  <template partial='body'>
156
137
  <td style="text-align: center;">{{$index+1}}</td>
157
138
  <td style="text-align: center;">{{row.f_charge_money}}</td>
158
- <td style="text-align: center;">{{row.f_user_name}}</td>
159
- <td style="text-align: center;">{{row.f_address}}</td>
139
+ <td style="text-align: center;">{{row.f_charge_user}}</td>
140
+ <td style="text-align: center;">{{row.f_charge_address}}</td>
160
141
  <!-- <td style="text-align: center;">{{// row.f_charge_item}}</td>-->
161
142
  <td style="text-align: center;">{{row.f_charge_collectors}}</td>
162
143
  <td style="text-align: center;">{{row.f_charging_status}}</td>
@@ -170,9 +151,7 @@
170
151
  <td style="text-align: center;">{{row.f_total_cost}}</td>
171
152
  <td style="text-align: center;">{{row.app_f_cumulative_money}}</td>
172
153
  <td style="text-align: center;">{{row.f_unaccounts_money}}</td>
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>
154
+ <!-- <td style="text-align: center;">{{row.f_is_correct}}</td>-->
176
155
  </template>
177
156
  </data-grid>
178
157
  </criteria-paged>
@@ -180,45 +159,19 @@
180
159
  <div class="flex" style="height: 10%">
181
160
  <div novalidate class="form-inline auto" partial>
182
161
  <p class="bg-info text-center" style="padding: 8px;font-size: 20px">合计收费记录共
183
- <span style="color: red">{{modeluse.rows.length}}</span>笔,
184
- 收款金额合计<span style="color: red">{{price.rows[0].f_charge_money}}</span>元,
185
- <!--合计应缴总金额<span style="color: red">{{price.rows[0].f_total_cost}}</span>元,
186
- 已缴<span style="color: red">{{price.rows[0].f_cumulative_money}}</span>元,未缴<span style="color: red">{{price.rows[0].f_unaccounts_money}}</span>元-->
162
+ <span style="color: red">{{modeluse.rows.length}}</span>笔,合计金额<span style="color: red">{{price.rows[0].f_charge_money}}</span>元
187
163
  </p>
188
164
  </div>
189
165
  </div>
190
166
  </div>
191
- <!--修改弹出框-->
192
- <modal :show.sync="updateControl" v-ref:modal backdrop="false">
193
- <header slot="modal-header" class="modal-header">
194
- <button type="button" class="close" @click="closeUpdate()"><span>&times;</span></button>
195
- <h4 class="modal-title">修改</h4>
196
- </header>
197
- <article slot="modal-body" class="modal-body" >
198
- <div class="from-group" style="width: 100%">
199
- <label style="width: 15%;float: left">票据类型</label>
200
- <v-select :value.sync="selectItem.f_bill_style" v-model="selectItem.f_bill_style"
201
- :options='billstyle' placeholder='请选择' style="width: 80%;float: left"
202
- close-on-select >
203
- </v-select>
204
- </div>
205
- </article>
206
-
207
167
 
208
- <footer slot="modal-footer" class="modal-footer">
209
- <div class="from-group" style="width: 100%;float: left">
210
- <button v-show="updateControl" type="button" class="btn btn-default" @click='closeUpdate'>取消</button>
211
- <button v-show="updateControl" type="button" class="btn btn-success" @click='confirm'>确认</button>
212
- </div>
213
- </footer>
214
- </modal>
215
168
  </div>
216
169
  </template>
217
170
  <script>
218
171
  import * as Util from '../../../../Util'
219
172
 
220
173
  import { PagedList } from 'vue-client'
221
- import {HttpResetClass} from 'vue-client'
174
+
222
175
  Date.prototype.Format = function (fmt) {
223
176
  var o = {
224
177
  "M+": this.getMonth() + 1, //月份
@@ -243,99 +196,57 @@
243
196
  filialeNameStr: null,
244
197
  filialeCodeStr: this.$login.f.f_orgids,
245
198
  userid: this.$login.f.id,
246
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
199
+ source:`tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
247
200
  // f_operate_start_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
248
201
  // f_operate_end_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
249
- model: new PagedList('rs/sql/getApplyCharge', 30, {orderitem: '`id`'}),
250
- modeluse: new PagedList('rs/sql/getApplyCharge', 999999, {orderitem: '`id`'}),
251
- price: new PagedList('rs/sql/getChargeAll', 999999, {orderitem: '`f_charge_money`'}),
252
- human: [],
253
- filiale: [],
254
- method: this.$appdata.getParam('付款方式'),
255
- usertype:[
256
- {label: '民用', value: '民用'},
257
- {label: '非民用', value: '非民用'}
258
- ],
259
- worktype:[
260
- {label: '新报装', value: '新报装'},
261
- {label: '改管', value: '改管'}
262
- ],
263
- correct: [
202
+ model: new PagedList('rs/sql/getApplyCharge', 30, { orderitem: '`id`'}),
203
+ modeluse: new PagedList('rs/sql/getApplyCharge', 999999, { orderitem: '`id`'}),
204
+ price: new PagedList('rs/sql/getChargeAll', 999999, { orderitem: '`f_charge_money`'}),
205
+ human:[],
206
+ filiale:[],
207
+ method:[],
208
+ correct:[
264
209
  {label: '是', value: '是'},
265
- {label: '否', value: '否'}
210
+ {label:'否', value: '否'}
266
211
  ],
267
- state: [
212
+ state:[
268
213
  {label: '有效', value: '有效'},
269
- {label: '无效', value: '无效'}
270
- ],
271
- selectItem: {},
272
- billstyle: this.$appdata.getParam('发票类型'),
273
- updateControl: false,
274
- billID: 0
214
+ {label:'无效', value: '无效'}
215
+ ]
275
216
  }
276
217
  },
277
218
  ready () {
278
- this.$refs.paged.$refs.criteria.model.f_operate_start_date = Util.toStandardDateString() + ' 00:00:00'
279
- this.$refs.paged.$refs.criteria.model.f_operate_end_date = Util.toStandardDateString() + ' 23:59:59'
219
+ this.$refs.cp.$refs.cri.model.f_operate_start_date = Util.toStandardDateString() + ' 00:00:00'
220
+ this.$refs.cp.$refs.cri.model.f_operate_end_date = Util.toStandardDateString() + ' 23:59:59'
280
221
  this.search()
281
222
  this.gethuman()
282
223
  },
283
224
  methods: {
284
- clear () {
285
- this.$refs.paged.$refs.criteria.model = {}
225
+ clear(){
226
+ this.$refs.cp.$refs.cri.model = {}
286
227
  },
287
- getRes (obj) {
228
+ getRes(obj) {
288
229
  this.filialeNameStr = obj.res
289
230
  this.filialeCodeStr = obj.resids
290
231
  console.log(this.filialeNameStr)
291
232
  console.log(this.filialeCodeStr)
292
233
  },
293
- showpager () {
234
+ showpager() {
294
235
  // this.$refs.cp.pager = true
295
236
  this.$dispatch('hiddenbtn')
296
237
  },
297
- search () {
298
- let condition = "1=1 and r.f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
299
- // debugger
300
- // let condition = args.condition
301
- debugger
238
+ search () {
239
+ let condition = "1=1 and r.f_filiale like '%"+this.$login.f.f_fengongsi+"%'"
302
240
  this.model.search(condition)
303
241
  this.modeluse.search(condition)
304
- let condition1 = condition
305
- this.price.search(condition1)
306
- },
307
- update_way (row) {
308
- console.log('进入修改方法')
309
- this.selectItem = {}
310
- this.billID = row.id
311
- this.updateControl = true
312
- },
313
- closeUpdate () {
314
- this.updateControl = false
315
- },
316
- confirm () {
317
- let data = {
318
- f_bill_style: this.selectItem.f_bill_style[0],
319
- id: this.billID
320
- }
321
- console.log('数据:' + JSON.stringify(this.selectItem))
322
- this.$resetpost('rs/entity/t_charge_record', data).then((res) => {
323
- console.log('返回值:' + JSON.stringify(res.data))
324
- if (res.data.id > 0) {
325
- // this.$showMessage('修改成功!')
326
- this.closeUpdate()
327
- this.search()
328
- }
329
- })
242
+ this.price.search(condition)
330
243
  },
331
- selfSearch (args) {
332
- args.condition = args.condition + ` and a.f_filialeids like '%${this.filialeCodeStr}%'`
333
- console.log('condition:', args.condition)
244
+
245
+ selfSearch(args) {
246
+ args.condition = args.condition + ` and tbd.f_orgstr like '%${this.filialeCodeStr}%'`
334
247
  this.model.search(args.condition, args.model)
335
- this.modeluse.search(args.condition, args.model)
336
- this.price.search(args.condition, args.model)
337
248
  },
338
- cleaner () {
249
+ cleaner() {
339
250
  Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
340
251
  this.$refs.paged.$refs.criteria.model[key] = ''
341
252
  })
@@ -345,19 +256,19 @@
345
256
  this.modeluse.search(this.$refs.paged.$refs.criteria.condition)
346
257
  this.price.search(this.$refs.paged.$refs.criteria.condition)
347
258
  },
348
- gethuman () {
259
+ gethuman(){
349
260
  console.log('获取人员')
350
261
  this.$resetpost('rs/logic/getChargeList', {data: {condition: `1=1`}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
351
262
  // this.params.rows.splice(index, 1)
352
- console.log('获取成功', res)
263
+ console.log('获取成功',res)
353
264
  let house = []
354
- for (let row of res.data.human) {
355
- house.push({label: row.f_charge_collectors, value: row.f_charge_collectors})
265
+ for (let row of res.data.human){
266
+ house.push({label: row.f_charge_collectors,value: row.f_charge_collectors})
356
267
  }
357
268
  this.human = house
358
269
  let house2 = []
359
270
  for (let row of res.data.f){
360
- house2.push({label: row.r.f_filiale,value: row.r.f_filiale})
271
+ house2.push({label: row.f_filiale,value: row.f_filiale})
361
272
  }
362
273
  this.filiale = house2
363
274
  let house3 = []
@@ -366,7 +277,9 @@
366
277
  }
367
278
  this.method = house3
368
279
  })
369
- }
280
+
281
+ },
282
+
370
283
  },
371
284
  computed: {
372
285
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  <validator name='v'>
10
10
  <form class="form-horizontal select-overspread">
11
- <div class="row" style="display: flex;justify-content: center;" id='normal-bill2' >
11
+ <div class="row" style="display: flex;justify-content: center;" id='normal-bill' >
12
12
  <div class="form-group col-sm-6">
13
13
  <label class=" col-sm-2 control-label">发票代码:</label>
14
14
  <input type="text" class="form-control" v-model="model.f_bill_code" style="width:60%"