sale-client 3.7.44 → 3.7.45-ly

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.7.44",
3
+ "version": "3.7.45-ly",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  v-next-el="{id: 'meterbase'}" :disabled="!jurisdiction.includes('档案信息查询修改') || (jurisdiction.includes('表箱号') == false && controlledArray.includes('表箱号') == true)">
16
16
  </div>
17
17
  <div class="col-sm-4 form-group">
18
- <label for="f_meter_base" class="font_normal_body">&ensp;表&ensp;读&ensp;数 {{jurisdiction.includes('表读数')}} </label>
18
+ <label for="f_meter_base" class="font_normal_body">&ensp;表&ensp;读&ensp;数</label>
19
19
  <input type="number" class="input_search" style="width:60%" v-model="row.f_meter_base" placeholder='表底数'
20
20
  :disabled="!jurisdiction.includes('档案信息查询修改') || (jurisdiction.includes('表读数') == false && controlledArray.includes('表读数') == true)" :readonly="!row.f_userfiles_id">
21
21
  </div>
@@ -353,12 +353,11 @@ let meterBookGen = function *(self) {
353
353
  meterbookoptions: [], // 抄表册选项
354
354
  opteratormetrbook: false, // 抄表册操作
355
355
  oldrow: [],
356
- controlledArray: this.$appdata.getParam('档案信息受控配置'),
356
+ controlledArray: this.$appdata.getParam('档案信息受控配置').map(item => item.value),
357
357
  }
358
358
  },
359
359
  props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id'],
360
360
  ready () {
361
- console.log('这是参数',this.$appdata.getParam('档案信息受控配置'))
362
361
  console.log('看看meter里面的数据', this.meter, this.row)
363
362
  this.row = Object.assign(this.row, this.meter, {})
364
363
  this.oldrow = this.row
@@ -254,7 +254,7 @@
254
254
  readCardFlag: true,
255
255
 
256
256
  isSelect: false,
257
- controlledArray: this.$appdata.getParam('档案信息受控配置'),
257
+ controlledArray: this.$appdata.getParam('档案信息受控配置').map(item => item.value),
258
258
  }
259
259
  },
260
260
  ready () {
@@ -21,8 +21,8 @@ let GetSaleParam = {
21
21
  inputtors: [],
22
22
  async initinputtor () {
23
23
  let res = await Vue.resetpost('rs/sql/sale_getAlluserRes?pageNo=1&pageSize=999999', {data: {
24
- condition: ' 1=1'
25
- }}, {resolveMsg: null, rejectMsg: '获取用户出错!!!'})
24
+ condition: ' 1=1'
25
+ }}, {resolveMsg: null, rejectMsg: '获取用户出错!!!'})
26
26
  console.log('resdata:', res.data)
27
27
  if (res.data) {
28
28
  GetSaleParam.inputtors = res.data
@@ -115,7 +115,7 @@ let GetSaleParam = {
115
115
  getPriceByOrgNoLow (filialeid) {
116
116
  let result = []
117
117
  GetSaleParam.prices.forEach((item) => {
118
- if (item.f_state === '有效' && filialeid == item.f_filialeid && item.f_islow_income != 0) {
118
+ if (item.f_state === '有效' && filialeid == item.f_filialeid && (item.f_islow_income == null || item.f_islow_income == 0)) {
119
119
  let value = {
120
120
  label: item.f_price_name,
121
121
  value: item
@@ -247,7 +247,7 @@ let GetSaleParam = {
247
247
  if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&
248
248
  object.f_gasproperties === item.f_gasproperties &&
249
249
  object.f_price_type === item.f_price_type &&
250
- object.filter == item.f_filialeid && item.f_islow_income != 0) {
250
+ object.filter == item.f_filialeid && (item.f_islow_income == null || item.f_islow_income == 0)) {
251
251
  let value = {
252
252
  label: item.f_price_name,
253
253
  value: item
@@ -257,7 +257,7 @@ let GetSaleParam = {
257
257
  })
258
258
  } else {
259
259
  GetSaleParam.prices.forEach((item) => {
260
- if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type && item.f_islow_income != 0) {
260
+ if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type && (item.f_islow_income == null || item.f_islow_income == 0)) {
261
261
  let value = {
262
262
  label: item.f_price_name,
263
263
  value: item