sale-client 3.6.300 → 3.6.302

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.300",
3
+ "version": "3.6.302",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -28,7 +28,7 @@
28
28
  "yarn": "^1.22.10"
29
29
  },
30
30
  "devDependencies": {
31
- "address-client": "3.2.56",
31
+ "address-client": "3.2.105-yangchun",
32
32
  "axios": "0.15.3",
33
33
  "babel-core": "^6.0.0",
34
34
  "babel-loader": "^6.0.0",
@@ -472,14 +472,17 @@
472
472
  }, {resolveMsg: null, rejectMsg: '获取地址失败!'})
473
473
  let redata = []
474
474
  req.data.forEach((row) => {
475
- redata.push({
476
- label: row.f_residential_area,
477
- value: row.id,
478
- data: row,
479
- id: row.id
480
- })
475
+ if(!row.f_residential_area.includes('L')){
476
+ redata.push({
477
+ label: row.f_residential_area,
478
+ value: row.id,
479
+ data: row,
480
+ id: row.id
481
+ })
482
+ }
481
483
  })
482
484
  this.areaslist = redata
485
+ console.log('watch:areaslist',redata)
483
486
  },
484
487
  // 省/市/区变化
485
488
  async pcdChange (val) {
@@ -96,8 +96,8 @@
96
96
  <tr>
97
97
  <td style="text-align:center" v-show="false">{{row.f_hand_date.substring(0,7)}}</td>
98
98
  <th v-show="false"><nobr >{{row.datas}}</nobr></th>
99
- <td style="text-align:center">{{row.f_input_date}}</td>
100
99
  <td style="text-align:center">{{row.f_hand_date}}</td>
100
+ <td style="text-align:center">{{row.f_input_date}}</td>
101
101
  <td style="text-align:center">{{row.f_last_tablebase}}</td>
102
102
  <td style="text-align:center">{{row.f_tablebase}}</td>
103
103
  <td style="text-align:center">{{row.f_balance}}</td>
@@ -80,7 +80,7 @@ export default {
80
80
  f_charge_type,
81
81
  retry,
82
82
  isTax: is_tax === '不征税' ? 0 : 1,
83
- eticket_id: model.id,
83
+ eticket_id: retry ? model.id : null,
84
84
  invoice_kind: invoice_type,
85
85
  f_buy_openbank: model.f_paper_account,
86
86
  f_buy_phone: model.f_buy_phone,
@@ -304,13 +304,14 @@ export default {
304
304
  },
305
305
  methods: {
306
306
  async Rekp (row) {
307
+ console.log('重开参数' + JSON.stringify(row))
307
308
  this.eticket_show = true
308
309
  row.f_paper_name = row.f_user_name
309
310
  row.f_email = row.f_mail_push
310
311
  row.f_taxpayer_id = row.f_pay_id
311
312
  row.f_address_phone = row.f_buy_address_phone
312
313
  row.f_paper_accoun = row.f_buy_openbank
313
- await this.$refs.eticketbill.openETicket(row.f_sell_id, row, this.row.f_charge_type, this.row.f_paper_type, true)
314
+ await this.$refs.eticketbill.openETicket(row.f_sell_id, row, row.f_charge_type, row.f_invoice_category, true)
314
315
  },
315
316
  search () {
316
317
  this.$refs.paged.$refs.cri.search()
@@ -110,6 +110,54 @@
110
110
  close-on-select condition="f_gasproperties ='{}'">
111
111
  </v-select>
112
112
  </div>
113
+ <div class="col-sm-2">
114
+ <label class="font_normal_body">通气日期</label>
115
+ <datepicker id="f_gas_date" placeholder="开始时间" style="width:60%"
116
+ v-model="model.f_start_date"
117
+ :value.sync="model.f_start_date"
118
+ :format="'yyyy-MM-dd HH:mm:ss'"
119
+ condition="f_gas_date >= '{}' "
120
+ :show-reset-button="true">
121
+ </datepicker>
122
+ </div>
123
+ <div class="col-sm-2">
124
+ <label class="font_normal_body">至&emsp;&emsp;&emsp;</label>
125
+ <datepicker id="f_gas_date" placeholder="结束时间" style="width:60%"
126
+ v-model="model.f_end_date"
127
+ :value.sync="model.f_end_date"
128
+ :format="'yyyy-MM-dd HH:mm:ss'"
129
+ condition="f_gas_date <= '{}' "
130
+ :show-reset-button="true">
131
+ </datepicker>
132
+ </div>
133
+ <div class="col-sm-2">
134
+ <label class="font_normal_body">安装日期</label>
135
+ <datepicker id="f_install_date" placeholder="开始时间" style="width:60%"
136
+ v-model="model.f_install_start"
137
+ :value.sync="model.f_install_start"
138
+ :format="'yyyy-MM-dd HH:mm:ss'"
139
+ condition="f_install_date >= '{}' "
140
+ :show-reset-button="true">
141
+ </datepicker>
142
+ </div>
143
+ <div class="col-sm-2">
144
+ <label class="font_normal_body">至&emsp;&emsp;&emsp;</label>
145
+ <datepicker id="f_gas_date" placeholder="结束时间" style="width:60%"
146
+ v-model="model.f_install_end"
147
+ :value.sync="model.f_install_end"
148
+ :format="'yyyy-MM-dd HH:mm:ss'"
149
+ condition="f_install_date <= '{}' "
150
+ :show-reset-button="true">
151
+ </datepicker>
152
+ </div>
153
+ <div class="col-sm-2 ">
154
+ <label class="font_normal_body">用气地址</label>
155
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
156
+ v-model="model.f_address"
157
+ placeholder='用气地址'
158
+ condition="f_address like '%{}%'"
159
+ >
160
+ </div>
113
161
  </div>
114
162
  </div>
115
163
  </criteria>
@@ -148,7 +196,10 @@
148
196
  <nobr>气表型号</nobr>
149
197
  </th>
150
198
  <th style="text-align:center">
151
- <nobr>安装时间</nobr>
199
+ <nobr>安装日期</nobr>
200
+ </th>
201
+ <th style="text-align:center">
202
+ <nobr>通气日期</nobr>
152
203
  </th>
153
204
  <th style="text-align:center">
154
205
  <nobr>阀门状态</nobr>
@@ -190,6 +241,9 @@
190
241
  <td style="text-align:center">
191
242
  <nobr>{{row.f_meter_style}}</nobr>
192
243
  </td>
244
+ <td style="text-align:center">
245
+ <nobr>{{row.f_install_date}}</nobr>
246
+ </td>
193
247
  <td style="text-align:center">
194
248
  <nobr>{{row.f_gas_date}}</nobr>
195
249
  </td>
@@ -303,7 +357,8 @@ export default {
303
357
  'f_gasproperties': '用气性质',
304
358
  'f_user_name': '客户姓名',
305
359
  'f_address': '用气地址',
306
- 'f_gas_date': '安装时间',
360
+ 'f_gas_date': '通气日期',
361
+ 'f_install_date':'安装日期',
307
362
  'f_meternumber': '表钢号',
308
363
  'f_meter_brand': '气表品牌',
309
364
  'f_user_id': '表编号',
@@ -400,6 +455,7 @@ export default {
400
455
  this.conditionMsg = conditionMsg
401
456
  this.$resetpost('rs/sql/iot_getOpertionList', {data: {condition: this.condition}}, {resolveMsg: null, rejectMsg: null}).then((rat) => {
402
457
  this.user = rat.data
458
+ console.log('user',this.user.length,this.user)
403
459
  this.mapset(rat.data)
404
460
  this.showParame = !this.showParame
405
461
  })
@@ -134,6 +134,11 @@
134
134
  <input type="text" style="width:60%" class="input_search" v-model="model.f_hand_month"
135
135
  condition="f_hand_month >= '{}' " placeholder="机表未抄期数">
136
136
  </div>
137
+ <div class="col-sm-2 form-group">
138
+ <label class="font_normal_body">机表已抄期数</label>
139
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_hand_month2"
140
+ condition="f_hand_month2 >= '{}' " placeholder="机表已抄期数">
141
+ </div>
137
142
  <div class="col-sm-2 form-group">
138
143
  <label class="font_normal_body">物联未报天数</label>
139
144
  <input type="text" style="width:60%" class="input_search" v-model="model.f_webhand_day"
@@ -227,6 +232,9 @@
227
232
  <th>
228
233
  <nobr>机表未抄期数</nobr>
229
234
  </th>
235
+ <th>
236
+ <nobr>机表已抄期数</nobr>
237
+ </th>
230
238
  <th>
231
239
  <nobr>物联未报天数</nobr>
232
240
  </th>
@@ -297,6 +305,9 @@
297
305
  <td style="text-align: center;">
298
306
  <nobr>{{row.f_hand_month}}</nobr>
299
307
  </td>
308
+ <td style="text-align: center;">
309
+ <nobr>{{row.f_hand_month2}}</nobr>
310
+ </td>
300
311
  <td style="text-align: center;">
301
312
  <nobr>{{row.f_webhand_day}}</nobr>
302
313
  </td>
@@ -399,6 +410,7 @@
399
410
  'f_oughtamount': '期间用气量',
400
411
  'f_oughtfee': '期间用气金额',
401
412
  'f_hand_month': '机表未抄期数',
413
+ 'f_hand_month2': '机表已抄期数',
402
414
  'f_webhand_day': '物联未报天数',
403
415
  'f_depname': '部门',
404
416
  'f_orgname': '公司'
@@ -632,8 +644,6 @@
632
644
  dealmsg (val) {
633
645
  this.rowdata = val
634
646
  this.show = true
635
- val.model = this.model.model
636
- this.$dispatch('deal-msg', val)
637
647
  },
638
648
  close () {
639
649
  this.printshow = false
@@ -1,5 +1,8 @@
1
1
  <template>
2
-
2
+ <div class="binary">
3
+ <div class="basic-main" >
4
+ <div class="flex" style="flex: 1;">
5
+ <div style="flex: 1.2">
3
6
  <criteria-paged :model="model" v-ref:paged>
4
7
  <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
5
8
  <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
@@ -150,17 +153,21 @@
150
153
  </template>
151
154
  </data-grid>
152
155
  </criteria-paged>
153
- <modal :show.sync="arrshow" width="570px" title="文件导入" v-ref:modal large backdrop="false">
154
- <article slot="modal-body" class="modal-body">
155
- <file-upload class="my-file-uploader col-sm-9" name="useraddressUploadFile" action="rs/file/uploadFile"
156
- tagname="确定" multiple v-ref:file></file-upload>
157
- <button class="button_clear btn-gn" style="margin-top: 10px;background-color: #6aa6e2;"
158
- @click="downloadFiles()">模板下载
159
- </button>
160
- </article>
161
- <footer slot="modal-footer" class="modal-footer">
162
- </footer>
163
- </modal>
156
+ </div>
157
+ </div>
158
+ </div>
159
+ </div>
160
+ <modal :show.sync="arrshow" width="570px" title="文件导入" v-ref:modal large backdrop="false">
161
+ <article slot="modal-body" class="modal-body">
162
+ <file-upload class="my-file-uploader col-sm-9" name="useraddressUploadFile" action="rs/file/uploadFile"
163
+ tagname="确定" multiple v-ref:file></file-upload>
164
+ <button class="button_clear btn-gn" style="margin-top: 10px;background-color: #6aa6e2;"
165
+ @click="downloadFiles()">模板下载
166
+ </button>
167
+ </article>
168
+ <footer slot="modal-footer" class="modal-footer">
169
+ </footer>
170
+ </modal>
164
171
  </template>
165
172
 
166
173
  <script>