sale-client 3.6.278 → 3.6.279

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.278",
3
+ "version": "3.6.279",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -302,6 +302,7 @@
302
302
  </div>
303
303
  </div>
304
304
  </criteria>
305
+
305
306
  <data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'>
306
307
  <template partial='head'>
307
308
  <tr>
@@ -344,6 +345,12 @@
344
345
  <th>
345
346
  <nobr>气表品牌</nobr>
346
347
  </th>
348
+ <th>
349
+ <nobr>阀控状态</nobr>
350
+ </th>
351
+ <th>
352
+ <nobr>阀门状态</nobr>
353
+ </th>
347
354
  <th>
348
355
  <nobr>发卡状态</nobr>
349
356
  </th>
@@ -385,6 +392,8 @@
385
392
  <td style="text-align: center;">{{row.f_gasproperties}}</td>
386
393
  <td style="text-align: center;">{{row.f_meter_classify}}</td>
387
394
  <td style="text-align: center;">{{row.f_meter_brand}}</td>
395
+ <td style="text-align: center;">{{row.f_network_valve}}</td>
396
+ <td style="text-align: center;">{{row.f_valvestate}}</td>
388
397
  <td style="text-align: center;">{{row.f_whether_hairpin}}</td>
389
398
  <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_userfiles_address}}</td>
390
399
  <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_user_state}}</td>
@@ -207,7 +207,7 @@ export default {
207
207
  title: '发票管理',
208
208
  data () {
209
209
  return {
210
- model: new PagedList('rs/sql/open_eticket_JBquery', 20,
210
+ model: new PagedList('rs/sql/open_eticket_JBquery', 1000,
211
211
  {}),
212
212
  criteriaShow: false,
213
213
  getfield: {},
@@ -305,9 +305,6 @@ export default {
305
305
  if (!this.row.f_address_phone) {
306
306
  this.row.f_address_phone = this.row.f_address + ' ' + this.row.f_user_phone
307
307
  }
308
- if(!this.row.f_email){
309
- this.row.f_email = this.row.f_email
310
- }
311
308
  this.eticket_msg = true
312
309
  },
313
310
  confirm () {
@@ -328,6 +325,8 @@ export default {
328
325
  },
329
326
  addOrRemove (is) {
330
327
  this.selecteds = []
328
+ this.summary.gas = 0
329
+ this.summary.money = 0
331
330
  if (!is) { // 添加本页所有数据到ids中
332
331
  this.model.rows.forEach((row) => {
333
332
  this.selecteds.push(row)
@@ -341,6 +340,11 @@ export default {
341
340
  })
342
341
  this.selectAll = false
343
342
  }
343
+ this.summary.count = this.selecteds.length
344
+ this.selecteds.forEach(item => {
345
+ this.summary.gas += item.f_oughtamount
346
+ this.summary.money += item.f_oughtfee
347
+ })
344
348
  },
345
349
  checkbox (val, event) {
346
350
  // this.selecteds = []