sale-client 3.6.264-test → 3.6.266-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.264-test",
3
+ "version": "3.6.266-test",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -131,15 +131,16 @@
131
131
  :options='is_pax' clear-button>
132
132
  </v-select>
133
133
  </div>
134
- <div class="col-sm-6 form-group form-input-group">
135
- <label for="f_print" class="font_normal_body">打印格式</label>
136
- <v-select id="print"
137
- v-model="f_print"
134
+ <div class="col-sm-6 form-group form-input-group" :class="[!invoice_type ? 'has-error' : '']">
135
+ <label class="control-label">发票种类:</label>
136
+ <v-select v-model="invoice_type"
138
137
  placeholder='请选择'
139
- :multiple="false"
140
- :value.sync="row.f_print"
141
- :options='printstyle'
142
- close-on-select clear-button v-ref:printstyle>
138
+ :value.sync="invoice_type"
139
+ close-on-select
140
+ :width="60"
141
+ :value-single="true"
142
+ :search="false"
143
+ :options='invoice_types' clear-button>
143
144
  </v-select>
144
145
  </div>
145
146
  <div class="col-sm-12 form-group form-input-group">
@@ -158,14 +159,14 @@
158
159
  v-model="row.f_address_phone" placeholder="开票地址">
159
160
  </div>
160
161
  <div class="col-sm-12 form-group form-input-group">
161
- <label class="control-label">邮箱推送:</label>
162
+ <label class="control-label">手机推送:</label>
162
163
  <input class="form-control col-sm-2"
163
- v-model="row.f_email" placeholder="邮箱推送">
164
+ v-model="row.f_buy_phone" placeholder="手机号码">
164
165
  </div>
165
166
  <div class="col-sm-12 form-group form-input-group">
166
- <label class="control-label">备注:</label>
167
+ <label class="control-label">邮箱推送:</label>
167
168
  <input class="form-control col-sm-2"
168
- v-model="row.f_remarks" placeholder="备注">
169
+ v-model="row.f_email" placeholder="邮箱推送">
169
170
  </div>
170
171
  </div>
171
172
  </div>
@@ -200,6 +201,8 @@
200
201
  invoice_is_pax: '征税',
201
202
  is_pax: [{label: '征税', value: '征税'}, {label: '不征税', value: '不征税'}],
202
203
  selecteds: [],
204
+ invoice_types: this.$appdata.getParam('发票种类'),
205
+ invoice_type: '',
203
206
  eticket_show: false,
204
207
  eticket_msg: false,
205
208
  invoice_show_gas: '否',
@@ -287,7 +290,7 @@
287
290
  this.eticket_msg = false
288
291
  this.disabled = false
289
292
  this.eticket_show = true
290
- this.$refs.eticketbill.openETicket([this.row.id], this.row, '是', this.invoice_is_pax, '结算收费')
293
+ this.$refs.eticketbill.openETicket([this.row], this.row, this.row.f_type, this.invoice_is_pax, this.invoice_type)
291
294
  },
292
295
  eticket_toggle () {
293
296
  this.eticket_show = false