sale-client 3.6.43 → 3.6.44

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.43",
3
+ "version": "3.6.44",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -108,7 +108,7 @@
108
108
  </div>
109
109
  <modal :show.sync="eticket_msg" v-ref:modal large backdrop="false" :width="900">
110
110
  <header slot="modal-header" class="modal-header">
111
- <button type="button" class="close" @click="closeEticket"><span>&times;</span></button>
111
+ <button type="button" class="close" @click="eticket_msg = false"><span>&times;</span></button>
112
112
  <h4 class="modal-title">发票信息</h4>
113
113
  </header>
114
114
  <article slot="modal-body" class="modal-body">
@@ -126,7 +126,6 @@
126
126
  :value.sync="invoice_is_pax"
127
127
  close-on-select
128
128
  :width="60"
129
- :disabled="disabled"
130
129
  :value-single="true"
131
130
  :search="false"
132
131
  :options='is_pax' clear-button>
@@ -137,7 +136,7 @@
137
136
  <input class="form-control col-sm-2"
138
137
  v-model="row.f_paper_account" placeholder="购方开户行及账号">
139
138
  </div>
140
- <div class="col-sm-12 form-group form-input-group" :class="[!row.f_taxpayer_id ? 'has-error' : '']">
139
+ <div class="col-sm-12 form-group form-input-group" >
141
140
  <label class="control-label">纳税人识别号:</label>
142
141
  <input class="form-control col-sm-2"
143
142
  v-model="row.f_taxpayer_id" placeholder="纳税人识别号">
@@ -147,12 +146,17 @@
147
146
  <input class="form-control col-sm-2"
148
147
  v-model="row.f_address_phone" placeholder="开票地址">
149
148
  </div>
149
+ <div class="col-sm-12 form-group form-input-group">
150
+ <label class="control-label">邮箱推送:</label>
151
+ <input class="form-control col-sm-2"
152
+ v-model="row.f_email" placeholder="邮箱推送">
153
+ </div>
150
154
  </div>
151
155
  </div>
152
156
  </article>
153
157
  <footer slot="modal-footer" class="modal-footer">
154
158
  <button type="button" class="btn button_search"
155
- :disabled="!(row.f_taxpayer_id&&row.f_paper_name&&row.f_address_phone)"
159
+ :disabled="!(row.f_paper_name&&row.f_address_phone)"
156
160
  @click='confirm'>确认收费
157
161
  </button>
158
162
  </footer>
@@ -204,6 +208,7 @@
204
208
  }, {resolveMsg: null, rejectMsg: '获取地址失败!'})
205
209
  this.row = _row.data[0]
206
210
  this.row.id = row.id
211
+ this.row.f_type = row.f_type
207
212
  this.invoice_show_gas = this.row.f_collection_type == '按气量' ? '是' : '否'
208
213
  if (!this.row.f_taxpayer_id) {
209
214
  this.row.f_taxpayer_id = this.row.f_idnumber
@@ -264,10 +269,7 @@
264
269
  this.eticket_msg = false
265
270
  this.disabled = false
266
271
  this.eticket_show = true
267
- if (this.selecteds.map(item => item.f_type).toString() == '其他收费' || this.selecteds.map(item => item.f_type).toString() == '卡表收费' || this.selecteds.map(item => item.f_type).toString() == '发卡售气') {
268
- this.invoice_show_gas = '是'
269
- }
270
- this.$refs.eticketbill.openETicket(this.selecteds.map(item => item.id), this.row, this.invoice_show_gas, this.invoice_is_pax, this.selecteds.map(item => item.f_type).toString())
272
+ this.$refs.eticketbill.openETicket(this.row.id, this.row, this.row.f_type)
271
273
  },
272
274
  eticket_toggle () {
273
275
  this.eticket_show = false
@@ -9,7 +9,7 @@
9
9
  <tabs header="卡表结算">
10
10
  <e-ticket-open-card-query-v4></e-ticket-open-card-query-v4>
11
11
  </tabs>
12
- <tabs header="抄表结算">
12
+ <tabs header="机表抄表结算">
13
13
  <e-ticket-open-hand-query-v4></e-ticket-open-hand-query-v4>
14
14
  </tabs>
15
15
  <tabs header="自定义开票">
@@ -32,7 +32,7 @@
32
32
  <label class="font_normal_body">&nbsp;开始时间</label>
33
33
  <datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_start_date"
34
34
  class="datepicker"
35
- condition="f_hand_date >= '{} 00:00:00'"
35
+ condition="f_input_date >= '{} 00:00:00'"
36
36
  placeholder="起始时间"
37
37
  style="width:60%"
38
38
  v-model="model.f_start_date"
@@ -42,7 +42,7 @@
42
42
  <label class="font_normal_body">结束时间</label>
43
43
  <datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_end_date"
44
44
  class="datepicker"
45
- condition="f_hand_date <= '{} 23:59:59'"
45
+ condition="f_input_date <= '{} 23:59:59'"
46
46
  placeholder="结束时间"
47
47
  style="width:60%"
48
48
  v-model="model.f_end_date"
@@ -162,7 +162,7 @@
162
162
  import {HttpResetClass, PagedList} from 'vue-client'
163
163
  import * as Util from '../../../../../Util'
164
164
  let asyncReadyGen = async function (self) {
165
- self.$refs.paged.$refs.cri.model.f_start_date = Util.toStandardDateString().substr(0, 5) + '01-01'
165
+ self.$refs.paged.$refs.cri.model.f_start_date = Util.toStandardDateString()
166
166
  self.$refs.paged.$refs.cri.model.f_end_date = Util.toStandardDateString()
167
167
  await self.search()
168
168
  }
@@ -17,7 +17,7 @@ export default function () {
17
17
 
18
18
  // 机表抄表
19
19
  Vue.component('high-meter', (resolve) => { require(['./HighMeterCard'], resolve) })
20
- Vue.component('upload-idcard', (resolve) => {require(['./UploadIdCard'], resolve) })
20
+ Vue.component('upload-idcard', (resolve) => { require(['./UploadIdCard'], resolve) })
21
21
  // 换表
22
22
  Vue.component('change-meter', (resolve) => { require(['./revenue/newchangemeter/ChangeMeter'], resolve) })
23
23
  // 清零