sale-client 3.6.520 → 3.6.521

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.520",
3
+ "version": "3.6.521",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/.npmignore ADDED
@@ -0,0 +1 @@
1
+
@@ -338,7 +338,7 @@
338
338
  <v-select :options='$parent.$parent.devicetypes' :search='true'
339
339
  :value.sync="model.f_devices_type"
340
340
  close-on-select
341
- condition="f_devices_type = '{}'" placeholder='用气设备'
341
+ condition="f_devices_type like '%{}%'" placeholder='用气设备'
342
342
  v-model='model.f_devices_type'>
343
343
  </v-select>
344
344
  </div>
@@ -67,8 +67,8 @@ import {HttpResetClass} from 'vue-client'
67
67
  .then((res) => {
68
68
  this.service = res.data[0]
69
69
  console.log('99889', this.service)
70
- // self.getrepair()
71
- this.$goto('new-repair-paper', {curActivity: this.service.serviceacitivity[1]})
70
+ const repairActivity = this.service.serviceacitivity.find(item => item.f_workorder_type === '报修单')
71
+ this.$goto('new-repair-paper', {curActivity: repairActivity || this.service.serviceacitivity[1]})
72
72
  })
73
73
  },
74
74
  async getServiceRepair () {