sale-client 3.6.228 → 3.6.229

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.228",
3
+ "version": "3.6.229",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -371,7 +371,7 @@
371
371
  let readyGen = async function (self) {
372
372
  await self.$MagLoadParams.loadParam()
373
373
  self.initQueryParam()
374
- await self.$getConfig(self, 'HandManager')
374
+ await self.$getConfig(self, 'manageGetNewMeterBrandAndModel')
375
375
  console.log('表具管理config', self.config)
376
376
  self.getfield = self.config.excelHeaders
377
377
  // self.reflash()
@@ -378,7 +378,7 @@
378
378
  let readyGen = async function (self) {
379
379
  await self.$MagLoadParams.loadParam()
380
380
  self.initQueryParam()
381
- await self.$getConfig(self, 'HandManager')
381
+ await self.$getConfig(self, 'manageGetNewMeterBrandAndModel')
382
382
  console.log('表具管理config', self.config)
383
383
  self.getfield = self.config.excelHeaders
384
384
  // self.reflash()
@@ -17,7 +17,7 @@
17
17
  <div class="form-group col-sm-3">
18
18
  <label class="font_normal_body">客户名称</label>
19
19
  <input type="text" class="input_search" style="width:60%" v-model="model.f_user_name" placeholder='客户名称'
20
- @keyup.enter="$parent.$parent.clean()" condition="f_user_name like '%{}%'">
20
+ @keyup.enter="$parent.$parent.clean()" >
21
21
  </div>
22
22
  <!--<div class="row" >-->
23
23
  <div v-show="$parent.$parent.criteriaShow">
@@ -597,7 +597,7 @@
597
597
  curorgid: [this.$login.f.orgid],
598
598
  f_orgid: '',
599
599
  showCardError2: false,
600
- model: new PagedList('rs/sql/sale_getUser', 30, {orderitem: '"' + this.orderitem + ' DESC"'}),
600
+ model: new PagedList('rs/sql/sale_getUser', 30, {f_user_name: 'this.model.f_user_name', orderitem: '"' + this.orderitem + ' DESC"'}),
601
601
  isPager: true,
602
602
  rows: null,
603
603
  cardInfo: '',
@@ -348,6 +348,9 @@
348
348
  <th>
349
349
  <nobr>调压箱名称</nobr>
350
350
  </th>
351
+ <th>
352
+ <nobr>是否单户抄表</nobr>
353
+ </th>
351
354
  <th>
352
355
  <nobr>抄表员</nobr>
353
356
  </th>
@@ -448,6 +451,7 @@
448
451
  </td>
449
452
  <td>{{ row.f_book_name }}</td>
450
453
  <td>{{ row.f_adjustable_name }}</td>
454
+ <td>{{ row.f_isone == '是' ? '是': '否' }}</td>
451
455
  <td>{{ row.f_inputtor }}</td>
452
456
  <td style="text-align: center;">
453
457
  <nobr>
@@ -1049,6 +1053,7 @@ export default {
1049
1053
  f_meter_brand: this.danhu.info.f_meter_brand,
1050
1054
  f_hand_id: res2.data[0].id,
1051
1055
  f_tablebase: this.danhu.f_tablebase,
1056
+ f_isone: '是',
1052
1057
  f_userinfo_id: this.danhu.info.f_userinfo_id
1053
1058
  }
1054
1059
  this.$resetpost('rs/logic/sale_commonEnter', {data: handParam}, {
@@ -372,7 +372,7 @@
372
372
  let readyGen = async function (self) {
373
373
  await self.$MagLoadParams.loadParam()
374
374
  self.initQueryParam()
375
- await self.$getConfig(self, 'HandManager')
375
+ await self.$getConfig(self, 'manageGetNewMeterBrandAndModel')
376
376
  console.log('表具管理config', self.config)
377
377
  self.getfield = self.config.excelHeaders
378
378
  // self.reflash()
@@ -207,11 +207,16 @@
207
207
  </th>
208
208
  <th>
209
209
  <nobr>
210
- <data-order field="f_address" name="基本信息"
211
- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
210
+ 用户姓名
212
211
  </nobr>
213
212
  </th>
214
213
  <!-- <th>-->
214
+ <!-- <nobr>-->
215
+ <!-- <data-order field="f_address" name="基本信息"-->
216
+ <!-- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>-->
217
+ <!-- </nobr>-->
218
+ <!-- </th>-->
219
+ <!-- <th>-->
215
220
  <!-- <nobr>用户等级</nobr>-->
216
221
  <!-- </th>-->
217
222
  <th>
@@ -290,7 +295,8 @@
290
295
  <template partial='body'>
291
296
  <td style="text-align: center;">{{$index+1}}</td>
292
297
  <td style="text-align: center;">{{row.f_userinfo_code}}</td>
293
- <td style="text-align: center;">{{row.f_user_name}}&nbsp;&nbsp;{{row.f_gasproperties}}&nbsp;&nbsp;{{row.f_user_phone}}&nbsp;&nbsp;{{row.f_address}}</td>
298
+ <td style="text-align: center;">{{row.f_user_name}}</td>
299
+ <!-- <td style="text-align: center;">{{row.f_gasproperties}}&nbsp;&nbsp;{{row.f_user_phone}}&nbsp;&nbsp;{{row.f_address}}</td>-->
294
300
  <!-- <td>{{row.f_user_level}}</td>-->
295
301
  <td style="text-align: center;">{{row.f_residential_area}}</td>
296
302
  <td style="text-align: center;">{{row.f_meternumber}}</td>
@@ -354,7 +360,19 @@
354
360
 
355
361
 
356
362
  <td style="text-align: center;">{{row.f_actualtablebase}}</td>
357
- <td style="text-align: center;">{{row.f_total_gas-(row.f_tablebase-row.f_initial_base)}}</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
+ @blur="$parent.$parent.$parent.enter(row)"
370
+ >
371
+ </div>
372
+ <div v-else>
373
+ <span >{{ row.f_shengyu_gas }}</span>
374
+ </div>
375
+ </td>
358
376
  <td style="text-align: center;">
359
377
  <div class="form-group" style="margin-bottom:0px;"
360
378
  v-if="row.f_meter_state === '未抄表' ">
@@ -553,7 +571,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
553
571
  cardCentalData: '',
554
572
  getfield: {
555
573
  'f_userinfo_code': '户编号',
556
- 'f_user_name': '基本信息',
574
+ 'f_user_name': '用户姓名',
557
575
  'f_meternumber': '表号',
558
576
  'f_inputtor': '抄表员',
559
577
  'f_total_fee': '总购金额',
@@ -692,7 +710,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
692
710
  enter (row) {
693
711
  if (!row.f_result_state || !row.f_valve_switch || !row.f_controller_power ||
694
712
  !row.f_flowmeter_capacity || !row.f_temperature || !row.f_pressure ||
695
- !row.f_instantaneous_flow || !row.f_hand_date || !row.f_tablebase) {
713
+ !row.f_instantaneous_flow || !row.f_hand_date || !row.f_tablebase | !row.f_shengyu_gas) {
696
714
  return
697
715
  }
698
716
  if (!row.f_tablebase || ((row.f_tablebase - 0) - (row.f_last_tablebase - 0)).toFixed(2) < 0) {
@@ -738,7 +756,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
738
756
  console.log('================================判断前:', row.f_hand_date)
739
757
  row.f_user_id = row.f_user_id + ''
740
758
  // 余气量=累购-(本期指数-表初始指数)
741
- row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(2)
759
+ // row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(2)
742
760
  console.log('录入完毕。。', row)
743
761
  this.$resetpost('rs/logic/cardhands', row, {resolveMsg: null, rejectMsg: '录入数据出错!!!'}).then((res) => {
744
762
  console.log('返回数据', res)