sale-client 3.6.416 → 3.6.418

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.416",
3
+ "version": "3.6.418",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -261,7 +261,7 @@ export default {
261
261
  }, ...this.$appdata.getParam('表具状态')] : [],
262
262
  // 控制单选
263
263
  radio: [],
264
- searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userfiles_id',
264
+ searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userinfo_id',
265
265
  // 选中的页
266
266
  all: [],
267
267
  other: [],
@@ -45,7 +45,7 @@
45
45
  <button class="btn btn-default" @click="$parent.$parent.Fileinput()">反盘导入</button>
46
46
  <export-excel :data="$parent.$parent.getCondition"
47
47
  :field="$parent.$parent.getBankfield" :header="$parent.$parent.other"
48
- sqlurl="rs/logic/exportfile" sql-name="newhandplanQuery" template-name='送盘导出' btn-name="送盘导出"
48
+ sqlurl="rs/logic/saleExport" sql-name="newhandplanQuery" template-name='送盘导出' btn-name="送盘导出"
49
49
  :choose-col="true"></export-excel>
50
50
  <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
51
51
  :field="$parent.$parent.getfield" :header="$parent.$parent.other"
@@ -16,7 +16,7 @@
16
16
  </div>
17
17
 
18
18
  <div style="height: auto;width: 100%">
19
- <file-user-meter-info :meterinfo="data.meterinfo" :f_filialeid="f_filialeid" :metervalid.sync="meterInfo"
19
+ <file-user-meter-info :meterinfo="data.meterinfo" :f_filialeid="f_filialeid" :metervalid.sync="meterInfo" :addressinfo="data.addressinfo"
20
20
  :f_userinfo_id="data.baseinfo.base.f_userinfo_id" v-ref:meter></file-user-meter-info>
21
21
  </div>
22
22
 
@@ -114,7 +114,11 @@ export default {
114
114
  f_bank_name: ''
115
115
  }
116
116
  },
117
- addressinfo: {},
117
+ addressinfo: {
118
+ id: '',
119
+ f_address: '',
120
+ f_address_state: ''
121
+ },
118
122
  fileSaveData:{},
119
123
  meterinfo: [{
120
124
  f_user_type: '',
@@ -124,7 +128,8 @@ export default {
124
128
  devicesinfo: [],
125
129
  address: {
126
130
  id: '',
127
- f_address: ''
131
+ f_address: '',
132
+ f_address_state: ''
128
133
  }
129
134
  },
130
135
  show_userinfodevices: false,
@@ -224,6 +229,9 @@ export default {
224
229
  this.data.meterinfo.forEach((item) => {
225
230
  item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
226
231
  })
232
+ if (this.data.meterinfo[0].f_gas_date != null) {
233
+ this.data.addressinfo.f_address_state = '已通气'
234
+ }
227
235
  this.fileSaveData = this.$FileManageService.fileSaveBefore(this.data)
228
236
  this.$FileManageService.fileSave(this.fileSaveData).then((res) => {
229
237
  this.$parent.resdata = res.data.result[0].f_userinfo_code
@@ -339,6 +347,7 @@ export default {
339
347
  row.f_valve_state = row.f_valve_state ? [row.f_valve_state] : '开阀'
340
348
  row.f_usetype = row.f_usetype ? [row.f_usetype] : '居民灶'
341
349
  row.f_usestate = row.f_usestate ? [row.f_usestate] : '正常'
350
+ row.f_userfiles_address = row.f_userfiles_address && row.f_userfiles_address.length > 0 ? [row.f_userfiles_address] : ''
342
351
  row.f_inputtor = row.f_inputtor ? [row.f_inputtor] : ''
343
352
  row.f_position = row.f_position ? row.f_position : ''
344
353