sale-client 3.6.230 → 3.6.232

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.230",
3
+ "version": "3.6.232",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -32,7 +32,8 @@
32
32
  :multiple="param.multiple ? param.multiple : false"
33
33
  v-model="row[param.title]"
34
34
  :options='param.params'
35
- :close-on-select="param.multiple ? param.multiple == true ? false : true :true"
35
+ :value-single="param.multiple ? param.multiple == 'true' ? false : true : true"
36
+ :close-on-select="param.multiple ? param.multiple == 'true' ? false : true :true"
36
37
  >
37
38
  </v-select>
38
39
  </div>
@@ -135,14 +136,14 @@ export default {
135
136
  this.$showMessage(`${yzStr}表单项格式错误,请悬浮到表单标签右侧的图标,按照悬浮文字提供的格式来填写表单项!!!`, ['confirm'])
136
137
  return
137
138
  }
138
- let meterInitParam = JSON.stringify(this.row, function (key, value) {
139
- if (Array.isArray(value) && value.length === 1) {
140
- // 对于长度为1的数组,转换为字符串
141
- return value[0].toString()
142
- }
143
- return value
144
- })
145
- this.$dispatch('init-param-confirm', meterInitParam)
139
+ // let meterInitParam = JSON.stringify(this.row, function (key, value) {
140
+ // if (Array.isArray(value) && value.length === 1) {
141
+ // // 对于长度为1的数组,转换为字符串
142
+ // return value[0].toString()
143
+ // }
144
+ // return value
145
+ // })
146
+ this.$dispatch('init-param-confirm', JSON.stringify(this.row))
146
147
  },
147
148
  cancel () {
148
149
  this.$dispatch('init-param-cancel')
@@ -432,6 +432,9 @@
432
432
  <th>
433
433
  <nobr>公司</nobr>
434
434
  </th>
435
+ <th>
436
+ <nobr>备注</nobr>
437
+ </th>
435
438
  <th><nobr>附件</nobr></th>
436
439
  </tr>
437
440
  </template>
@@ -586,6 +589,9 @@
586
589
  <td style="text-align: center;">
587
590
  <nobr>{{row.f_orgname}}</nobr>
588
591
  </td>
592
+ <td style="text-align: center;">
593
+ <nobr>{{row.f_comments}}</nobr>
594
+ </td>
589
595
  <td style="text-align: center;"><nobr>
590
596
  <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
591
597
  <button v-if="row.f_notified_path" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.imgShow(row.f_notified_path)">图像识别</button>
@@ -829,7 +835,8 @@
829
835
  'f_paper_account': '开户行及账号',
830
836
  'f_bank_name': '银行名称',
831
837
  'f_oughtfee': '欠费金额',
832
- 'f_balance': '上期余额'},
838
+ 'f_balance': '上期余额',
839
+ 'f_comments': '备注'},
833
840
  batchmoneyShow: false,
834
841
  prices: [],
835
842
  bgl: [{label: '全部', value: ''}, {label: '有', value: '1'}, {label: '无', value: '0'}],
@@ -523,7 +523,7 @@
523
523
  orgCondtionStr: '',
524
524
  priceSplit: false,
525
525
  criteriaShow: false,
526
- model: new PagedList('rs/sql/getDownPlan', 30, {orderitem: this.orderDefault ? '"' + this.orderDefault + ' "' : `'f_userinfo_code desc'`}),
526
+ model: new PagedList('rs/sql/getDownPlan', 30, {orderitem: this.orderDefault ? '"' + this.orderDefault + ' "' : `'f_userinfo_id desc'`}),
527
527
  config: {
528
528
 
529
529
  // 导出列要和查询列相同
@@ -584,7 +584,7 @@
584
584
  msg: '',
585
585
  condition: '',
586
586
  headers: {'username': Vue.$login.f.name, 'blodid': Vue.$login.guid()},
587
- orderDefault: 'f_userinfo_code',
587
+ orderDefault: 'f_userinfo_id',
588
588
  orderFields: {
589
589
  f_userinfo_id: 'no'
590
590
  },
@@ -354,6 +354,9 @@
354
354
  <th>
355
355
  <nobr>下发人员</nobr>
356
356
  </th>
357
+ <th>
358
+ <nobr>备注</nobr>
359
+ </th>
357
360
  <th>
358
361
  <nobr>操作</nobr>
359
362
  </th>
@@ -454,6 +457,7 @@
454
457
  <td>{{row.f_inputtor}}</td>
455
458
  <td>{{row.f_input_person}}</td>
456
459
  <td>{{row.f_operator}}</td>
460
+ <td>{{row.f_comments}}</td>
457
461
  <td style="text-align: center;"><nobr>
458
462
  <!-- 已抄表,还没审核-->
459
463
  <button type="button" name="button" class="button_search button_spacing width-60"
@@ -851,7 +855,8 @@
851
855
  'f_meter_style': '气表型号',
852
856
  'f_accounts_state': '下账标识',
853
857
  'f_user_phone': '客户电话',
854
- 'f_adjustable_id': '表箱号'
858
+ 'f_adjustable_id': '表箱号',
859
+ 'f_comments': '备注'
855
860
  },
856
861
  examine: true,
857
862
  customCal: false
@@ -259,6 +259,13 @@
259
259
  close-on-select
260
260
  v-model='model.f_newaroundmeter'></v-select>
261
261
  </div>
262
+ <div class="col-sm-4 form-group" :class="[$v.f_newaroundmeter.required ? 'has-error' : '']">
263
+ <label class="font_normal_body">换表原因</label>
264
+ <v-select :value.sync="model.f_changetables_reason" :options='changetablesreason' placeholder='换表原因'
265
+ :value-single="true"
266
+ close-on-select
267
+ v-model='model.f_changetables_reason'></v-select>
268
+ </div>
262
269
  <div class="row auto">
263
270
  <div class="col-sm-12"
264
271
  v-if="!commitflag"
@@ -276,10 +283,6 @@
276
283
  ></textarea>
277
284
  </div>
278
285
  </div>
279
- <div class="col-sm-12" >
280
- <label class="font_normal_body ">换表原因</label>
281
- <textarea class="input_textarea" rows="3" style="width:87%;" v-model="model.f_changetables_reason"></textarea>
282
- </div>
283
286
  <div style="text-align:right;height:auto;">
284
287
  <button class="button_search" v-show="config.approve == true ? applyButtonShow : false" type="button" @click="apply()"
285
288
  :disabled="(!meterinfo && !(model.f_type.includes('清零') || model.f_type.includes('换卡控流量计'))) || !$v.valid"
@@ -525,6 +528,9 @@ export default {
525
528
  aroundmeters () {
526
529
  return this.$appdata.getParam('左右表')
527
530
  },
531
+ changetablesreason () {
532
+ return this.$appdata.getParam('换表原因')
533
+ },
528
534
  flowmeterbrands () {
529
535
  let gasbrand = this.$GetSaleParam.getGasbrand()
530
536
  let flowmeterbrands = []
@@ -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()" >
20
+ @keyup.enter="$parent.$parent.clean()" condition="f_user_name like '%{}%'">
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, {f_user_name: 'this.model.f_user_name', orderitem: '"' + this.orderitem + ' DESC"'}),
600
+ model: new PagedList('rs/sql/sale_getUser', 30, { orderitem: '"' + this.orderitem + ' DESC"'}),
601
601
  isPager: true,
602
602
  rows: null,
603
603
  cardInfo: '',
@@ -750,6 +750,11 @@
750
750
  if (this.f_orgid) {
751
751
  args.condition = `u.f_filialeid in ${this.f_orgid} and ${args.condition}`
752
752
  }
753
+ if (this.$refs.paged.$refs.cri.model.f_user_name && this.$refs.paged.$refs.cri.model.f_user_name.length > 0) {
754
+ this.model.params.f_user_name = this.$refs.paged.$refs.cri.model.f_user_name
755
+ } else {
756
+ this.model.params.f_user_name = ''
757
+ }
753
758
  this.excelCondition = args.condition
754
759
  args.condition = `${args.condition}`
755
760
  if (this.defbtn === '发卡售气') {
@@ -308,6 +308,9 @@
308
308
  <th>
309
309
  <nobr>抄表员</nobr>
310
310
  </th>
311
+ <th>
312
+ <nobr>备注</nobr>
313
+ </th>
311
314
  <th><nobr>附件</nobr></th>
312
315
  <!-- <th><nobr>附件</nobr></th>-->
313
316
  <!-- f_oughtfee-->
@@ -361,6 +364,7 @@
361
364
  <td> <nobr>{{row.f_meter_book_sort}} </nobr></td>
362
365
  <td>{{row.f_adjustable_name}}</td>
363
366
  <td>{{row.f_inputtor}}</td>
367
+ <td>{{row.f_comments}}</td>
364
368
  <td style="text-align: center;"><nobr>
365
369
  <img-self :src="row.f_handplan_image" v-if="row.f_handplan_image" :width="50" :height="50"></img-self>
366
370
 
@@ -465,7 +469,8 @@
465
469
  'f_book_name': '抄表册',
466
470
  'f_meter_book_sort': '表册顺序',
467
471
  'f_adjustable_name': '调压箱名称',
468
- 'f_inputtor': '抄表员'
472
+ 'f_inputtor': '抄表员',
473
+ 'f_comments': '备注'
469
474
  },
470
475
  auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
471
476
  auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],