sale-client 3.6.212 → 3.6.213

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.
@@ -10,7 +10,7 @@ var devConfig = {
10
10
  historyApiFallback: true,
11
11
  host: '127.0.0.1',
12
12
  port: 8089,
13
- open: false,
13
+ open: true,
14
14
  stats: {
15
15
  colors: false, // 配置控制台输出彩色日志
16
16
  chunks: false, // 不输出构建 chunk 信息
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.212",
3
+ "version": "3.6.213",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -334,7 +334,21 @@
334
334
 
335
335
 
336
336
  <td style="text-align: center;">{{row.f_actualtablebase}}</td>
337
- <td style="text-align: center;">{{row.f_total_gas-(row.f_tablebase-row.f_initial_base)}}</td>
337
+ <td style="text-align: center;">
338
+ <div class="form-group" style="margin-bottom:0px;"
339
+ v-if="row.f_meter_state === '未抄表' && $parent.$parent.$parent.shengyu == 'false'">
340
+ <input type="text" class="form-control" v-model="row.f_shengyu_gas"
341
+ v-next-el="{id: $index+1}" :id="$index" style="width: 100px;padding: 6px;"
342
+ :disabled="row.state === '开始'"
343
+ >
344
+ </div>
345
+ <div v-if="row.f_meter_state !== '未抄表' && $parent.$parent.$parent.shengyu == 'false'">
346
+ <span >{{row.f_shengyu_gas}}</span>
347
+ </div>
348
+ <div v-if="row.f_meter_state !== '未抄表' && $parent.$parent.$parent.shengyu == 'true'">
349
+ <span >{{row.f_total_gas-(row.f_tablebase-row.f_initial_base)}}</span>
350
+ </div>
351
+ </td>
338
352
  <td style="text-align: center;">{{row.f_meter_state}}</td>
339
353
  <td style="text-align: center;">
340
354
 
@@ -465,6 +479,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
465
479
  dep: [],
466
480
  user: []
467
481
  },
482
+ shengyu: this.$appdata.getSingleValue('在线抄表计算剩余气量') ? this.$appdata.getSingleValue('在线抄表计算剩余气量') : 'true',
468
483
  orgCondtionStr: ''
469
484
  }
470
485
  },
@@ -614,7 +629,10 @@ import {HttpResetClass, PagedList} from 'vue-client'
614
629
  console.log('================================判断前:', row.f_hand_date)
615
630
  row.f_user_id = row.f_user_id + ''
616
631
  // 余气量=累购-(本期指数-表初始指数)
617
- row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(2)
632
+ if (this.shengyu == 'true') {
633
+ console.log('走的这里。。。。。。')
634
+ row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(2)
635
+ }
618
636
  console.log('录入完毕。。', row)
619
637
  this.$resetpost('rs/logic/cardhands', row, {resolveMsg: null, rejectMsg: '录入数据出错!!!'}).then((res) => {
620
638
  console.log('返回数据', res)
@@ -263,6 +263,9 @@
263
263
  <th>
264
264
  <nobr>附件查看</nobr>
265
265
  </th>
266
+ <th>
267
+ <nobr>签章图片</nobr>
268
+ </th>
266
269
  <th>
267
270
  <nobr>实际用量</nobr>
268
271
  </th>
@@ -351,9 +354,24 @@
351
354
  <img-self :src="row.f_handplan_image" v-if="row.f_handplan_image" :width="100" :height="100"></img-self>
352
355
  <img-self :src="`rs/image/file/${row.f_notified_path}`" v-if="row.f_notified_path" :width="100" :height="100"></img-self>
353
356
  </td>
357
+ <td style="text-align:center">
358
+ <img-self :src="row.f_sign_path" v-if="row.f_sign_path.indexOf('http:') > -1" :width="100" :height="100"></img-self>
359
+ <img-self :src="`rs/image/file/${row.f_sign_path}`" v-else :width="100" :height="100"></img-self>
360
+ </td>
354
361
 
355
362
  <td style="text-align: center;">{{ row.f_actualtablebase }}</td>
356
- <td style="text-align: center;">{{ row.f_shengyu_gas }}</td>
363
+ <td style="text-align: center;">
364
+ <div class="form-group" style="margin-bottom:0px;"
365
+ v-if="row.f_meter_state === '未抄表' ">
366
+ <input type="text" class="form-control" v-model="row.f_shengyu_gas"
367
+ v-next-el="{id: $index+1}" :id="$index" style="width: 100px;padding: 6px;"
368
+ :disabled="row.state === '开始'"
369
+ >
370
+ </div>
371
+ <div v-else>
372
+ <span >{{ row.f_shengyu_gas }}</span>
373
+ </div>
374
+ </td>
357
375
  <td style="text-align: center;">{{ row.f_meter_state }}</td>
358
376
  <td style="text-align: center;">
359
377
 
@@ -483,6 +501,8 @@ export default {
483
501
  'f_last_tablebase': '上期底数',
484
502
  'f_tablebase': '本期底数',
485
503
  'f_actualtablebase': '实际用量',
504
+ 'f_img_path': '附件查看',
505
+ 'f_sign_img': '签章图片',
486
506
  'f_meter_state': '状态'
487
507
  },
488
508
  meterbrands: [{label: '全部', value: ''}],
@@ -642,7 +662,6 @@ export default {
642
662
  row.f_total_gas = row.total_gas
643
663
  row.f_total_fee = row.total_fee
644
664
  // 余气量=累购-(本期指数-表初始指数)
645
- row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(3)
646
665
  console.log('录入完毕。。', row)
647
666
  this.$resetpost('rs/logic/cardCommonEnter', row, {resolveMsg: null, rejectMsg: '录入数据出错!!!'}).then((res) => {
648
667
  console.log('返回数据', res)
@@ -240,10 +240,11 @@
240
240
  </div>
241
241
  <div class="col-sm-4 form-group" :class="[$v.f_newaroundmeter.required ? 'has-error' : '']">
242
242
  <label class="font_normal_body">新表表向</label>
243
+ <input type="text" v-show="false" v-model="$refs.f_newaroundmeter.selectedItems" v-validate:f_newaroundmeter='{required: true }'>
243
244
  <v-select :value.sync="model.f_newaroundmeter" :options='aroundmeters' placeholder='新表表向'
244
245
  :value-single="true"
245
246
  close-on-select
246
- v-model='model.f_newaroundmeter'></v-select>
247
+ v-model='model.f_newaroundmeter' v-ref:f_newaroundmeter></v-select>
247
248
  </div>
248
249
  </div>
249
250
  <div class="row auto" >
@@ -439,6 +440,9 @@ export default {
439
440
  }
440
441
  },
441
442
  computed: {
443
+ aroundmeters () {
444
+ return this.$appdata.getParam('左右表')
445
+ },
442
446
  flowmeterbrands () {
443
447
  let gasbrand = this.$GetSaleParam.getGasbrand()
444
448
  let flowmeterbrands = []
@@ -40,7 +40,7 @@
40
40
  <button class="button_search button_spacing" @click="$parent.$parent.search()">查询</button>
41
41
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
42
42
  <export-excel
43
- :data="{condition: $parent.$parent.excelCondition}"
43
+ :data="{condition: $parent.$parent.excelCondition,orderitem: $parent.$parent.orderDefault}"
44
44
  :field="$parent.$parent.fields"
45
45
  sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="getAuditMachineHand"
46
46
  template-name='抄表审核导出'
@@ -463,6 +463,7 @@
463
463
  'f_hand_date': '下发日期',
464
464
  'f_input_date': '抄表录入日期',
465
465
  'f_book_name': '抄表册',
466
+ 'f_meter_book_sort': '表册顺序',
466
467
  'f_adjustable_name': '调压箱名称',
467
468
  'f_inputtor': '抄表员'
468
469
  },
@@ -650,6 +651,7 @@
650
651
  this.model.paramSource.orderitem = `'${this.orderDefault}'`
651
652
  } else {
652
653
  this.model.paramSource.orderitem = `'${field} ${rule}'`
654
+ this.orderDefault = `${field} ${rule}`
653
655
  }
654
656
  this.search()
655
657
  },
package/src/main.js CHANGED
@@ -3,7 +3,7 @@ import all from 'vue-client/src/all'
3
3
  import App from './App'
4
4
  import system from 'system-clients/src/system'
5
5
  import sale from './sale'
6
- import FilialeSale from './filiale/tongchuan/sale'
6
+ import FilialeSale from './filiale/wenxi/sale'
7
7
  import address from 'address-client/src/address'
8
8
  import ldap from 'ldap-clients/src/ldap'
9
9
  import VueClipboard from 'vue-clipboard2'