sale-client 3.6.260-test → 3.6.261-test

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.260-test",
3
+ "version": "3.6.261-test",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -163,9 +163,9 @@
163
163
  <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
164
164
  v-model="model.f_serial_number" placeholder="业务单号">
165
165
  </div>
166
- <div class="col-sm-4" v-if="model.f_payment == '银行转账'" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
166
+ <div class="col-sm-4" v-if="model.f_payment == '银行转账'" >
167
167
  <label for="f_serial_number" class=" font_normal_body">银行流水</label>
168
- <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
168
+ <input class="input_search" style="width:60%" type="text"
169
169
  v-model="model.f_serial_number" placeholder="银行流水">
170
170
  </div>
171
171
 
@@ -160,7 +160,7 @@
160
160
  class="button_search" type="button" @click="clearBarrier">清除障碍</button>
161
161
  <button v-if="row.f_meter_type.includes('物联网表')"
162
162
  class="button_search" type="button" @click="openUser">开户</button>
163
- <button v-if="row.f_meter_type.includes('物联网表')"
163
+ <button v-if="row.f_meter_type.includes('物联网表') && valveLimit"
164
164
  class="button_search" type="button" @click="valvecontrol">开关阀</button>
165
165
  <button v-if="row.f_meter_type.includes('物联网表')"
166
166
  class="button_search" type="button" @click="zdfk">开关自动阀控</button>
@@ -68,6 +68,10 @@
68
68
  @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
69
69
  </div>
70
70
 
71
+ <export-excel :data="$parent.$parent.getCondition"
72
+ :field="$parent.$parent.getfield"
73
+ sqlurl="rs/logic/saleExport" sql-name="getIotHand" template-name='泰鹏抄表导出'
74
+ :choose-col="true"></export-excel>
71
75
  <div class="row" v-show="$parent.$parent.criteriaShow">
72
76
 
73
77
 
@@ -255,7 +259,20 @@ export default {
255
259
  orderFields: {
256
260
  f_userinfo_id: 'no'
257
261
  },
258
- getfield: {},
262
+ getfield: {
263
+ 'f_userinfo_code': '客户编号',
264
+ 'f_user_name': '客户姓名',
265
+ 'f_address': '客户地址',
266
+ 'f_user_phone': '用户电话',
267
+ 'f_idnumber': '身份证号',
268
+ 'f_card_id': '卡号',
269
+ 'f_meternumber': '表号',
270
+ 'f_table_state': '表具状态',
271
+ 'f_meter_base': '上期底数',
272
+ 'f_tablebase': '本期底数',
273
+ 'f_last_input_date': '最近一次抄表时间',
274
+ 'f_inputtor': '抄表员'
275
+ },
259
276
  outlet: '',
260
277
  filiale: '',
261
278
  condition2: '',
@@ -291,7 +291,8 @@ export default {
291
291
  confirm () {
292
292
  this.eticket_msg = false
293
293
  this.eticket_show = true
294
- this.$refs.eticketbill.openETicket(this.row.id, this.row, '机表结算')
294
+ console.log('>>> 机表结算开票')
295
+ this.$refs.eticketbill.openETicket(this.row.id, this.row, this.invoice_show_gas, this.invoice_is_pax, '机表结算')
295
296
  },
296
297
  selfSearch (args) {
297
298
  this.selecteds = []
@@ -56,6 +56,7 @@ export default {
56
56
  await this.$resetpost('rs/entity/t_eticket', model, {resolveMsg: null, rejectMsg: '保存发票记录失败'})
57
57
  },
58
58
  async openETicket (sellId, row, show_gas, is_pax, type, invoice_kind = '电子发票', retry = false) {
59
+ console.log('>>> 看看 openETicket 的参数是什么', sellId, row, show_gas, is_pax, type, invoice_kind, retry)
59
60
  try {
60
61
  let model = {
61
62
  id: sellId,
@@ -130,6 +130,8 @@ export default function () {
130
130
  // 抄表列表
131
131
  Vue.component('hand-list', (resolve) => { require(['./handList'], resolve) })
132
132
  Vue.component('e-ticket-open-hand', (resolve) => { require(['./EticketOpenJBPage.vue'], resolve) })
133
+ // 电子发票管理
134
+ Vue.component('e-ticket-manage-query-v4', (resolve) => { require(['./EticketManage'], resolve) })
133
135
  // 物联网表结算
134
136
  Vue.component('e-ticket-open-iot-query-v4', (resolve) => { require(['./bill/EticketOpenPage'], resolve) })
135
137
  // 卡表结算