sale-client 3.6.197 → 3.6.198

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.197",
3
+ "version": "3.6.198",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -389,7 +389,7 @@ let asyncMachineMeterCenter = async function (self) {
389
389
  },
390
390
  // 校验发票信息
391
391
  checkInvoiceMsg () {
392
- if (this.printInvoiceType.indexOf(this.model.f_print[0]) !== -1) {
392
+ if (this.printInvoiceType.indexOf(this.data.f_print[0]) !== -1) {
393
393
  if (!this.row.f_taxpayer_id && this.config.taxforidnumber) {
394
394
  this.row.f_taxpayer_id = this.row.f_idnumber
395
395
  }
@@ -191,11 +191,12 @@
191
191
  close-on-select v-ref:type>
192
192
  </v-select>
193
193
  </div>
194
- <div class="col-sm-4 form-group" :class="[$m.name.required ? 'has-error' : '']">
194
+ <div class="col-sm-4 form-group" :class="[$v.price_name.required ? 'has-error' : '']">
195
195
  <label class="font_normal_body">气价名称</label>
196
+ <input type="text" v-show="false" v-model="$refs.price_name.selectedItems" v-validate:price_name='{required: true }'>
196
197
  <v-select :value.sync="newinfo.pricename" v-model="newinfo.pricename"
197
198
  placeholder='气价名称' :options="getPricenames()"
198
- close-on-select :disabled='newinfo.pricetype.length === 0 ' v-ref:name></v-select>
199
+ close-on-select :disabled='newinfo.pricetype.length === 0 ' v-ref:price_name></v-select>
199
200
  </div>
200
201
  <div class="col-sm-4 form-group">
201
202
  <label class="font_normal_body">新抄表册</label>