sale-client 3.4.193 → 3.4.196

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 compiler = webpack(config)
10
10
 
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
- var bendi = 'http://127.0.0.1:8080',bendi1 = 'http://121.36.106.17:8400/'
13
+ var bendi = 'http://192.168.50.4:8400',bendi1 = 'http://121.36.106.17:8400/'
14
14
  // 公司测试服务
15
15
  var fuwu = 'http://192.168.50.4:8400'
16
16
  // var fuwu = 'http://121.36.106.17:8400/'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.193",
3
+ "version": "3.4.196",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -260,6 +260,16 @@
260
260
  :value.sync="row.f_price_ratio"
261
261
  v-validate:meternumber='{required: true }' placeholder='比率'>
262
262
  </div>
263
+ <div class="col-sm-4 form-group" >
264
+ <label for="f_factory_date" class="font_normal_body">&ensp;出厂日期</label>
265
+ <datepicker style="width:60%" id="f_factory_date" placeholder="出厂日期" width='100%'
266
+ v-model="row.f_factory_date"
267
+ :value.sync="row.f_factory_date"
268
+ class="datepicker"
269
+ :format="'yyyy-MM-dd'"
270
+ :show-reset-button="true">
271
+ </datepicker>
272
+ </div>
263
273
  <div class="col-sm-4 form-group" >
264
274
  <label for="f_scrap_date" class="font_normal_body">&ensp;报废日期</label>
265
275
  <datepicker style="width:60%" id="ScrapDate" placeholder="报废日期" width='100%'
@@ -639,7 +639,8 @@ export default {
639
639
  f_position: row.f_position,
640
640
  f_install_date: row.f_install_date,
641
641
  f_inputtor: row.f_inputtor,
642
- f_hand_month: row.f_hand_month
642
+ f_hand_month: row.f_hand_month,
643
+ f_usetype: ''
643
644
  }
644
645
  Object.assign(this.data.meterinfo[0], this.data.meterinfo[0], temp)
645
646
  console.log('====1.=====', temp, row)
@@ -42,15 +42,12 @@
42
42
  </div>
43
43
  </template>
44
44
  <script>
45
- import ChargeList from './ChargeList'
46
45
  import ChargeOper from './ChargeOper'
47
46
  import {HttpResetClass} from 'vue-client'
48
47
 
49
48
  export default {
50
49
  title: '收费(综合)',
51
- components: {
52
- ChargeList, ChargeOper
53
- },
50
+ components: { ChargeOper },
54
51
  data () {
55
52
  return {
56
53
  sustainMoney: null,
@@ -140,6 +140,14 @@
140
140
  <label class="font_normal_body_new">写卡次数</label>
141
141
  <input class="input-underline" style="width:45%" :value="row.f_times" readonly>
142
142
  </div>
143
+ <div class="col-sm-4">
144
+ <label class="font_normal_body_new">抄表册名</label>
145
+ <input class="input-underline" style="width:45%" :value="'['+row.f_book_code + '] '+ (row.f_book_name ? row.f_book_name:'')" readonly>
146
+ </div>
147
+ <div class="col-sm-4">
148
+ <label class="font_normal_body_new">抄表册册序号</label>
149
+ <input class="input-underline" style="width:45%" :value="row.f_meter_book_sort" readonly>
150
+ </div>
143
151
  </div>
144
152
  <div class="auto" style="float: right;">
145
153
  <button class="button_clear " @click="cancelmain()" >返回</button>
@@ -86,6 +86,17 @@
86
86
  style="width: 60%" v-model="model.f_hand_end_date">
87
87
  </datepicker>
88
88
  </div>
89
+ <div :class="[$v.f_period.required ? 'has-error' : 'has-success']" class="col-sm-6 form-group">
90
+ <input class="input_search" style="width:60%" type="text" v-model="model.f_period" v-show="false"
91
+ v-validate:f_period='{required: true }'>
92
+ <label class="font_normal_body">表&emsp;册&emsp;状&emsp;态&emsp;</label>
93
+ <v-select :value.sync="model.f_book_state" v-model='model.f_book_state'
94
+ style="width:55%"
95
+ :value-single="true"
96
+ :options='bookstates' placeholder='表册状态'
97
+ close-on-select
98
+ v-el:cc></v-select>
99
+ </div>
89
100
  </div>
90
101
 
91
102
 
@@ -220,6 +231,9 @@
220
231
  }
221
232
  },
222
233
  computed: {
234
+ bookstates () {
235
+ return this.$appdata.getParam('抄表册状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表册状态')] : [{label: '全部', value: ''}, {label: '有效', value: '有效'},{label: '无效', value: '无效'}]
236
+ },
223
237
  dateEdit () {
224
238
  return this.model.f_hand_end_date && this.model.f_hand_begin_date && this.model.f_hand_end_date <= this.model.f_hand_begin_date
225
239
  }
@@ -39,6 +39,10 @@
39
39
  <label class = "col-sm-5 " >&emsp;备用电话</label>
40
40
  <span class = "col-sm-7">{{data?data.f_rent_phone:dafault.f_rent_phone}}</span>
41
41
  </div>
42
+ <div class="row">
43
+ <label class = "col-sm-5 " >&emsp;用户状态</label>
44
+ <span class = "col-sm-7">{{data?data.f_user_state:dafault.f_user_state}}</span>
45
+ </div>
42
46
  <div class="row">
43
47
  <label class = "col-sm-5 " >&emsp;备注信息</label>
44
48
  <span class = "col-sm-7">{{data?data.f_comments:dafault.f_comments}}</span>
@@ -118,7 +122,8 @@
118
122
  f_input_date: '****年**月**日',
119
123
  f_hand_date: '****年**月**日',
120
124
  f_rent_phone: '************',
121
- f_comments: '**'
125
+ f_comments: '**',
126
+ f_user_state: '****'
122
127
  },
123
128
  model: null,
124
129
  showselectncuserinfo:false,
@@ -125,6 +125,14 @@
125
125
  <label class = "col-sm-5 " >左&ensp;右&ensp;表</label>
126
126
  <span class = "col-sm-7">{{data?data.f_aroundmeter:dafault.f_hand_date}}</span>
127
127
  </div>
128
+ <div class="row">
129
+ <label class = "col-sm-5 " >抄表册名</label>
130
+ <span class = "col-sm-7">{{data?'['+data.f_book_code + '] '+ (data.f_book_name ? data.f_book_name:''):dafault.f_book_name}}</span>
131
+ </div>
132
+ <div class="row">
133
+ <label class = "col-sm-5 " >抄表册册序号</label>
134
+ <span class = "col-sm-7">{{data?data.f_meter_book_sort:dafault.f_meter_book_sort}}</span>
135
+ </div>
128
136
  <div class="row">
129
137
  <label class = "col-sm-5 " >安装位置</label>
130
138
  <span class = "col-sm-7">{{data?data.f_position:dafault.f_position}}</span>
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <div class="basic-main" style="height: 98%">
3
+ <div class="flex">
3
4
  <criteria-paged :model="model" v-ref:paged>
4
5
  <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
6
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
@@ -126,22 +127,43 @@
126
127
  <span v-if="row.msg === '对账成功'">正常</span>
127
128
  </td>
128
129
  </template>
129
- <template partial='foot'>
130
- <td style="text-align: center;">合计</td>
131
- <td style="text-align: center;"></td>
132
- <td style="text-align: center;"></td>
133
- <td style="text-align: center;"></td>
134
- <td style="text-align: center;"></td>
135
- <td style="text-align: center;">{{model.sums.f_collection.toFixed(2)}}</td>
136
- <td style="text-align: center;">{{model.sums.f_total_charge.toFixed(2)}}</td>
137
- <td style="text-align: center;"></td>
138
- <td style="text-align: center;"></td>
139
- <td style="text-align: center;"></td>
140
- <td style="text-align: center;"></td>
141
- <td style="text-align: center;"></td>
142
- </template>
130
+ <!--<template partial='foot'>-->
131
+ <!--<td style="text-align: center;">合计</td>-->
132
+ <!--<td style="text-align: center;"></td>-->
133
+ <!--<td style="text-align: center;"></td>-->
134
+ <!--<td style="text-align: center;"></td>-->
135
+ <!--<td style="text-align: center;"></td>-->
136
+ <!--<td style="text-align: center;">{{model.sums.f_collection.toFixed(2)}}</td>-->
137
+ <!--<td style="text-align: center;">{{model.sums.f_total_charge.toFixed(2)}}</td>-->
138
+ <!--<td style="text-align: center;"></td>-->
139
+ <!--<td style="text-align: center;"></td>-->
140
+ <!--<td style="text-align: center;"></td>-->
141
+ <!--<td style="text-align: center;"></td>-->
142
+ <!--<td style="text-align: center;"></td>-->
143
+ <!--</template>-->
143
144
  </data-grid>
144
145
  </criteria-paged>
146
+ <table class="table-hover">
147
+ <tr style="position: relative" class="table-bordered">
148
+ <td
149
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
150
+ 汇总信息
151
+ </td>
152
+ <td
153
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
154
+ 燃气方金额汇总:&emsp;{{model.sums.f_collection.toFixed(2)}}
155
+ </td>
156
+ <td
157
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
158
+ 银行金额汇总:&emsp;{{model.sums.f_total_charge.toFixed(2)}}
159
+ </td>
160
+ <td
161
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
162
+ 差额汇总:&emsp;{{((model.sums.f_total_charge -0) - (model.sums.f_collection.toFixed(2) -0)).toFixed(2)}}
163
+ </td>
164
+ </tr>
165
+ </table>
166
+ </div>
145
167
  </div>
146
168
  </template>
147
169
  <script>
@@ -42,6 +42,11 @@
42
42
  <input type="text" class="input_search" style="width: 60%" v-model="model.f_state"
43
43
  condition="f_state = '{}'" placeholder='状态'>
44
44
  </div>
45
+ <div class="col-sm-2 form-group">
46
+ <label class="font_normal_body">支付流水号</label>
47
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_serial_id"
48
+ condition="f_serial_id = '{}'" placeholder='支付流水号'>
49
+ </div>
45
50
  <div
46
51
  :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
47
52
  class="form-group">
@@ -61,6 +66,13 @@
61
66
  <div class="span" style="float:right;">
62
67
  <import-excel template-name="其他收费导入模板" logic-name="otherImport" import-json="othercharge.json" ></import-excel>
63
68
  <button class="button_search" @click="search()">查 询</button>
69
+ <export-excel v-if="$parent.$parent.authArr.includes('其他收费导出权限')"
70
+ :data="{condition: $parent.$parent.excelCondition}"
71
+ :field="$parent.$parent.fields"
72
+ sqlurl="rs/logic/saleExport" sql-name="querylists"
73
+ template-name='其他收费导出'
74
+ :choose-col="true">
75
+ </export-excel>
64
76
  <!--<div
65
77
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
66
78
  @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>-->
@@ -78,6 +90,7 @@
78
90
  <th><nobr>客户地址</nobr></th>
79
91
  <th><nobr>缴费类型</nobr></th>
80
92
  <th><nobr>缴费金额</nobr></th>
93
+ <th><nobr>支付流水号</nobr></th>
81
94
  <th><nobr>收据类型</nobr></th>
82
95
  <th><nobr>收费时间</nobr></th>
83
96
  <th><nobr>操作人</nobr></th>
@@ -90,6 +103,7 @@
90
103
  <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
91
104
  <td style="text-align: center;"><nobr>{{row.f_payment}}</nobr></td>
92
105
  <td style="text-align: center;"><nobr>{{row.f_collection}}</nobr></td>
106
+ <td style="text-align: center;"><nobr>{{row.f_serial_id}}</nobr></td>
93
107
  <td style="text-align: center;"><nobr>{{row.f_bill_style}}</nobr></td>
94
108
  <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
95
109
  <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
@@ -117,7 +131,19 @@ const myMap = new Map()
117
131
  da: {
118
132
  rows: []
119
133
  },
120
-
134
+ fields: {
135
+ 'f_userinfo_code': '用户编号',
136
+ 'f_user_name': '用户姓名',
137
+ 'f_user_phone': '用户电话',
138
+ 'f_address': '用户地址',
139
+ 'f_payment': '缴费类型',
140
+ 'f_collection': '缴费金额',
141
+ 'f_serial_id': '支付流水号',
142
+ 'f_bill_style': '收据类型',
143
+ 'f_operate_date': '收费时间',
144
+ 'f_operator': '操作人'
145
+ },
146
+ excelCondition: '',
121
147
  priceSplit: false,
122
148
  criteriaShow: false
123
149
  // imgshow:false,
@@ -151,6 +177,7 @@ const myMap = new Map()
151
177
  args.condition = `${args.condition} and f_orgid in ${this.f_orgid}`
152
178
  }
153
179
  console.log('查询。。。')
180
+ this.excelCondition = args.condition
154
181
  this.model.search(args.condition, args.model)
155
182
  }
156
183
  },
@@ -34,7 +34,7 @@
34
34
  <!-- </div>-->
35
35
  <div class="col-sm-4">
36
36
  <label class="font_normal_body">缴费金额</label>
37
- <input type="text" v-model="total" disabled=disabled style="width: 60%" class="input_search">
37
+ <input type="text" v-model="model.f_collection" disabled=disabled style="width: 60%" class="input_search">
38
38
  </div>
39
39
  <div class="col-sm-4">
40
40
  <label class="font_normal_body">收费时间</label>
@@ -56,6 +56,10 @@
56
56
  close-on-select></v-select>
57
57
  <!-- @click="selectoperator"-->
58
58
  </div>
59
+ <div class="col-sm-4 form-group">
60
+ <label class="font_normal_body" >支付流水号</label>
61
+ <input type="text" v-model="model.f_serial_id" style="width: 60%" class="input_search">
62
+ </div>
59
63
  <div class="col-sm-12 form-group">
60
64
  <label class="font_normal_body">备&emsp;&emsp;注</label>
61
65
  <input type="text" v-model="model.f_comments" style="width: 60%" class="input_search">
@@ -168,12 +172,14 @@
168
172
  recordList2: [],
169
173
  // 其他记录
170
174
  fileNameSet: {
171
- payment: '缴费类型',
172
- bill_style: '收据类型',
173
- collection: '缴费金额',
174
- operate_date: '缴费时间',
175
+ f_payment: '缴费类型',
176
+ f_bill_style: '收据类型',
177
+ f_collection: '缴费金额',
178
+ f_serial_id: '支付流水号',
179
+ f_operate_date: '缴费时间',
180
+ f_comments: '备注',
175
181
  name: '用户姓名',
176
- operator: '操作人'
182
+ f_operator: '操作人'
177
183
  },
178
184
  // 其他记录明细
179
185
  fileNameSet2: {
@@ -314,7 +320,7 @@
314
320
  modifitime: Util.toStandardTimeString(),
315
321
  fieldname: item,
316
322
  state: '有效',
317
- othercharge_id:this.model.oid,
323
+ othercharge_id:this.model.id,
318
324
  operator: this.$login.f.name != '' ? this.$login.f.name : '',
319
325
  f_operator : this.$login.f.name,
320
326
  f_operatorid : this.$login.f.id,
@@ -328,7 +334,7 @@
328
334
  console.log(car2)
329
335
  }
330
336
  }
331
- let condition = this.model.oid
337
+ let condition = this.model.id
332
338
  await this.$resetpost('rs/logic/operationRecord', {data: {recordlist3: this.recordList3, condition: condition}}, {
333
339
  resolveMsg: '修改成功',
334
340
  rejectMsg: '未通过,修改出错!!!'
@@ -339,18 +345,19 @@
339
345
  },
340
346
  // 修改其他记录
341
347
  async save () {
342
- // let condition = " f_collection='" + this.model.collection + "' , f_unitprice='"+ this.model.collection+"' where f_othercharge_id= '"+this.model.oid+"'"
343
- this.model.collection = this.total
348
+ // let condition = " f_collection='" + this.model.collection + "' , f_unitprice='"+ this.model.collection+"' where f_othercharge_id= '"+this.model.id+"'"
349
+ this.model.f_collection = this.total
344
350
  let param={
345
351
  f_user_name:this.model.f_user_name,
346
352
  f_comments:this.model.f_comments,
347
353
  f_payment:this.model.f_payment,
348
354
  f_collection:this.model.f_collection,
349
355
  f_bill_style:this.model.f_bill_style,
356
+ f_serial_id:this.model.f_serial_id?this.model.f_serial_id:'',
350
357
  f_operate_date:this.model.f_operate_date,
351
358
  f_operator:this.model.f_operator,
352
- f_operatorid:this.model.f_operatorid?this.model.operatorid:'',
353
- id:this.model.oid
359
+ f_operatorid:this.model.f_operatorid?this.model.f_operatorid:'',
360
+ id:this.model.id
354
361
  }
355
362
  await this.$resetpost('rs/logic/saveotherrecord',{data:param}, {
356
363
  resolveMsg: '修改成功',
@@ -329,7 +329,7 @@ import {HttpResetClass} from 'vue-client'
329
329
  self.getaddress()
330
330
  }
331
331
  export default {
332
- title: '物联综合操作',
332
+ title: '批量开关阀',
333
333
  name: 'WebMeterBatchOperationValve',
334
334
  data () {
335
335
  return {
@@ -502,14 +502,14 @@ export default {
502
502
  },
503
503
  async confirm () {
504
504
  let msg = ''
505
- if (this.row.f_meter_type.includes('机表')) {
505
+ if (this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) {
506
506
  if ((parseInt(this.model.f_using_base_old) > parseInt(this.row.f_meter_base))) {
507
- msg = '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录'
507
+ msg = (this.row.f_meter_type === '机表' ? '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录' : '该用户表底数大于上次抄表底数,请确定是否进行结算')
508
508
  } else if (this.row.f_capacity && this.row.f_capacity > 0 && (parseInt(this.model.f_using_base_old) < parseInt(this.row.f_meter_base))) {
509
509
  msg = '该用户表底数大于上次抄表底数,且已超越最大量程,请确定是否继续生成欠费记录'
510
510
  }
511
511
  }
512
- if (this.row.f_meter_type.includes('机表') && msg) {
512
+ if ((this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) && msg) {
513
513
  this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
514
514
  if (res === 'confirm') {
515
515
  let data = {
@@ -525,6 +525,7 @@ export default {
525
525
  f_serial_number: this.model.f_serial_number,
526
526
  f_meterbase: this.model.f_using_base_old,
527
527
  f_meter_brand: this.row.f_meter_brand,
528
+ f_meter_classify: this.row.f_meter_type,
528
529
  f_price_id: this.row.f_price_id
529
530
  }
530
531
  this.$resetpost('rs/logic/changeMeterHand', {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
@@ -664,14 +665,14 @@ export default {
664
665
  this.Iotjisuan()
665
666
  }
666
667
  let msg = ''
667
- if (this.row.f_meter_type.includes('机表')) {
668
+ if (this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) {
668
669
  if ((parseInt(this.model.f_using_base_old) > parseInt(this.row.f_meter_base))) {
669
- msg = '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录'
670
+ msg = (this.row.f_meter_type === '机表' ? '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录' : '该用户表底数大于上次抄表底数,请确定是否进行结算')
670
671
  } else if (this.row.f_capacity && this.row.f_capacity > 0 && (parseInt(this.model.f_using_base_old) < parseInt(this.row.f_meter_base))) {
671
672
  msg = '该用户表底数大于上次抄表底数,且已超越最大量程,请确定是否继续生成欠费记录'
672
673
  }
673
674
  }
674
- if (this.row.f_meter_type.includes('机表') && msg) {
675
+ if ((this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) && msg) {
675
676
  this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
676
677
  if (res === 'confirm') {
677
678
  let data = {
@@ -687,11 +688,16 @@ export default {
687
688
  f_serial_number: this.model.f_serial_number,
688
689
  f_meterbase: this.model.f_using_base_old,
689
690
  f_meter_brand: this.row.f_meter_brand,
691
+ f_meter_classify: this.row.f_meter_type,
690
692
  f_price_id: this.row.f_price_id
691
693
  }
692
694
  this.$resetpost('rs/logic/changeMeterHand', {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
693
695
  console.log('成功')
694
- this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
696
+ if (this.row.f_meter_type.includes('物联网表')) {
697
+ this.$dispatch('refresh')
698
+ } else {
699
+ this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
700
+ }
695
701
  })
696
702
  }
697
703
  })
@@ -236,15 +236,13 @@
236
236
  condition="f_usetype = '{}'" placeholder='使用类型'
237
237
  v-model='model.f_usetype'></v-select>
238
238
  </div>
239
- <div
240
- :class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
241
- class="form-group">
242
- <label class="font_normal_body">用户等级</label>
243
- <v-select :options='$parent.$parent.userlevel' :search='true'
244
- :value.sync="model.userlevel"
239
+ <div class="col-sm-2 form-group">
240
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
241
+ <v-select :value.sync="model.f_book_name" v-model="model.f_book_name"
242
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
243
+ style="width:60%"
245
244
  close-on-select
246
- condition="f_user_level = '{}'" placeholder='用户等级'
247
- v-model='model.userlevel'></v-select>
245
+ condition="f_meter_book_num = '{}'"></v-select>
248
246
  </div>
249
247
  <div
250
248
  :class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
@@ -338,8 +336,8 @@
338
336
  <th v-if="!$parent.$parent.$parent.createFile">
339
337
  <nobr>状态</nobr>
340
338
  </th>
341
- <th v-if="!$parent.$parent.$parent.createFile">
342
- <nobr>用户等级</nobr>
339
+ <th >
340
+ <nobr>抄表册</nobr>
343
341
  </th>
344
342
  <th>
345
343
  <nobr>入户证号</nobr>
@@ -373,7 +371,7 @@
373
371
  <td style="text-align: center;">{{row.f_whether_hairpin}}</td>
374
372
  <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_userfiles_address}}</td>
375
373
  <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_user_state}}</td>
376
- <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_user_level}}</td>
374
+ <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_book_name}}</td>
377
375
  <td style="text-align: center;">{{row.f_enter_number}}</td>
378
376
  <td style="text-align: center;">
379
377
  <button type="button" name="button" class="button_search-2 button_spacing width-60"
@@ -473,8 +471,8 @@ let loadParamGem = async function (self) {
473
471
  self.headers.username = Vue.$login.f.name
474
472
  self.headers.username = Vue.$login.guid()
475
473
  await self.$LoadParams.loadParam(self.f_filialeid)
476
- // await self.$LoadParams.loadMeterBook(self.f_filialeid)
477
- // await self.search()
474
+ await self.$LoadParams.loadMeterBook(self.f_filialeid)
475
+ self.loadMeterBooks()
478
476
  self.initAdjustables()
479
477
  }
480
478
 
@@ -510,6 +508,7 @@ let loadParamGem = async function (self) {
510
508
  return {
511
509
  iswork: false,
512
510
  isShowDetailInfo: false,
511
+ meterbooks:[{label: '全部',value: ''}], //抄表册
513
512
  config: {
514
513
  createType: ['address', 'area'], // 建档方式: address-地址建档 area-小区建档
515
514
  hasLimit: true
@@ -608,6 +607,9 @@ let loadParamGem = async function (self) {
608
607
  }
609
608
  },
610
609
  methods: {
610
+ loadMeterBooks () {
611
+ this.meterbooks = [...this.meterbooks, ...this.$GetSaleParam.getMeterBooks()]
612
+ },
611
613
  getRes (obj) {
612
614
  console.log("-----------------")
613
615
  this.orgcondition = obj
@@ -263,6 +263,16 @@
263
263
  :value.sync="row.f_price_ratio"
264
264
  v-validate:meternumber='{required: true }' placeholder='比率'>
265
265
  </div>
266
+ <div class="col-sm-4 form-group" >
267
+ <label for="f_factory_date" class="font_normal_body">&ensp;出厂日期</label>
268
+ <datepicker style="width:60%" id="f_factory_date" placeholder="出厂日期" width='100%'
269
+ v-model="row.f_factory_date"
270
+ :value.sync="row.f_factory_date"
271
+ class="datepicker"
272
+ :format="'yyyy-MM-dd'"
273
+ :show-reset-button="true">
274
+ </datepicker>
275
+ </div>
266
276
  <div class="col-sm-4 form-group" >
267
277
  <label for="f_scrap_date" class="font_normal_body">&ensp;报废日期</label>
268
278
  <datepicker style="width:60%" id="ScrapDate" placeholder="报废日期" width='100%'
@@ -100,14 +100,15 @@
100
100
 
101
101
 
102
102
  <div class="row" style="margin-top:10px;">
103
- <div class="col-sm-4">
103
+ <div class="col-sm-4" :class="[$v.payment.required ? 'has-error' : 'has-success']">
104
104
  <label for="f_paytype" class="font_normal_body" title="参数名称:付款方式">收款方式</label>
105
105
  <v-select id="f_payment"
106
106
  v-model="f_payment"
107
107
  placeholder='请选择'
108
108
  :value.sync="model.f_payment"
109
109
  :options='paytype'
110
- close-on-select clear-button>
110
+ close-on-select clear-button
111
+ v-validate:payment='{required: true }'>
111
112
  </v-select>
112
113
  </div>
113
114
  <div class="col-sm-4">