sale-client 3.6.78 → 3.6.80

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.
@@ -1,5 +1,5 @@
1
1
  var path = require('path')
2
- const [serverRul, localUrl ] = ['http://121.36.106.17:8400/', 'http://localhost:8080/']
2
+ const [serverRul, localUrl ] = ['http://203.57.101.233:8400/', 'http://203.57.101.233:8400/']
3
3
  var merge = require('webpack-merge')
4
4
  var baseConfig = require('./webpack.dev.conf')
5
5
  var devConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.78",
3
+ "version": "3.6.80",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -430,7 +430,7 @@ export default {
430
430
 
431
431
  // 将oldAddress 置为空,
432
432
  this.oldAddress = {}
433
- this.data.baseinfo.base.f_user_state = this.data.baseinfo.base.f_user_state === '预备' ? ['正常'] : [this.data.baseinfo.base.f_user_state]
433
+ this.data.baseinfo.base.f_user_state = this.data.baseinfo.base.f_user_state === '预备' ? '正常' : this.data.baseinfo.base.f_user_state
434
434
  // this.data.baseinfo.base.f_user_nature = this.data.baseinfo.base.f_user_nature ? [this.data.baseinfo.base.f_user_nature] : '民用'
435
435
  // this.data.baseinfo.base.f_credentials = this.data.baseinfo.base.f_credentials ? [this.data.baseinfo.base.f_credentials] : '身份证'
436
436
  this.data.baseinfo.base.f_cost_type = this.data.baseinfo.base.f_cost_type ? [this.data.baseinfo.base.f_cost_type] : '现金缴费'
@@ -6,6 +6,16 @@
6
6
  <criteria partial='criteria' v-ref:criteria @condition-changed="$parent.selfSearch">
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
+ <div class="form-group col-sm-2">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <res-select
12
+ :initresid='$parent.$parent.curorgid'
13
+ @res-select="$parent.$parent.getorg"
14
+ is-mul="false"
15
+ restype='organization'
16
+ >
17
+ </res-select>
18
+ </div>
9
19
  <div class="form-group col-sm-2" >
10
20
  <label class="font_normal_body">客户编号</label>
11
21
  <input type="text" class="input_search" style="width:60%"
@@ -197,7 +207,7 @@
197
207
  let readySomething = async function (self) {
198
208
  self.$refs.paged.$refs.criteria.model.startDate = self.$login.toStandardDateString()
199
209
  self.$refs.paged.$refs.criteria.model.endDate = self.$login.toStandardDateString()
200
- self.$resetpost('rs/sql/getpriceid', {data: {f_filialeids: self.$login.f.orgid}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
210
+ self.$resetpost('rs/sql/getpriceid', {data: {f_filialeids: self.f_filialeid}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
201
211
  console.log(res.data)
202
212
  let rs = []
203
213
  for (let i = 0; i < res.data.length; i++) {
@@ -220,6 +230,8 @@
220
230
  title: '调价补差',
221
231
  data () {
222
232
  return {
233
+ f_orgid: '',
234
+ f_filialeid: this.$login.f.orgid,
223
235
  pricechange: true,
224
236
  criteriaShow: false,
225
237
  pricers: [{label: '全部', value: '', flage: ''}],
@@ -234,6 +246,7 @@
234
246
  f_old_price:0.0,
235
247
  f_change_price:0.0,
236
248
  show: false,
249
+ curorgid: [this.$login.f.orgid],
237
250
  addSelectParam: ''
238
251
  // joinTable:'',
239
252
  }
@@ -246,6 +259,9 @@
246
259
  })
247
260
  },
248
261
  methods: {
262
+ getorg (val) {
263
+ this.f_filialeid = val[0]
264
+ },
249
265
  hidden () {
250
266
  this.criteriaShow = !this.criteriaShow
251
267
  },
@@ -394,7 +410,7 @@
394
410
  } else {
395
411
  this.pricechange = true
396
412
  }
397
- this.condition = `${args.condition} and u2.f_orgid = '${this.$login.f.orgid}'`
413
+ this.condition = `${args.condition} and u2.f_orgid = '${this.f_filialeid}'`
398
414
  this.model.search(this.condition, args.model)
399
415
  },
400
416
  clear () {
@@ -159,6 +159,15 @@
159
159
  <label class="font_normal_body ">表号长度</label>
160
160
  <input class="input_search" placeholder="表号长度" style="width:60%" type="number" v-model="gasmessage.f_meternumber_len">
161
161
  </div>
162
+ <div class="col-sm-4 form-group" v-if="gasmessage.f_meter_type[0].includes('卡表')">
163
+ <label for="hasCard" class="font_normal_body">动&ensp;态&ensp;库<br/>到&ensp;期&ensp;日</label>
164
+ <datepicker placeholder="动态库到期日" style="width: 60%"
165
+ v-model="gasmessage.f_dynamic_expire"
166
+ :value.sync="gasmessage.f_dynamic_expire"
167
+ :format="'yyyy-MM-dd'">
168
+ </datepicker>
169
+ </div>
170
+
162
171
 
163
172
  <div class="col-sm-12 form-group" style="height: auto !important;">
164
173
  <label class="font_normal_body " style="margin-top:-20px">备&emsp;&emsp;注</label>
@@ -214,7 +223,8 @@ export default {
214
223
  f_is_check: [],
215
224
  f_is_step: [],
216
225
  f_meterverification: '',
217
- f_meternumber_len: ''
226
+ f_meternumber_len: '',
227
+ f_dynamic_expire: ''
218
228
  },
219
229
  modelvalid: false, // 验证型号
220
230
  colletype: false,
@@ -440,7 +440,7 @@ export default {
440
440
 
441
441
  // 将oldAddress 置为空,
442
442
  this.oldAddress = {}
443
- this.data.baseinfo.base.f_user_state = this.data.baseinfo.base.f_user_state === '预备' ? ['正常'] : [this.data.baseinfo.base.f_user_state]
443
+ this.data.baseinfo.base.f_user_state = this.data.baseinfo.base.f_user_state === '预备' ? '正常' : this.data.baseinfo.base.f_user_state
444
444
  // this.data.baseinfo.base.f_user_nature = this.data.baseinfo.base.f_user_nature ? [this.data.baseinfo.base.f_user_nature] : '民用'
445
445
  // this.data.baseinfo.base.f_credentials = this.data.baseinfo.base.f_credentials ? [this.data.baseinfo.base.f_credentials] : '身份证'
446
446
  this.data.baseinfo.base.f_cost_type = this.data.baseinfo.base.f_cost_type ? [this.data.baseinfo.base.f_cost_type] : '现金缴费'
@@ -209,7 +209,7 @@ let FileManageService = {
209
209
  meter.f_adjustable_id = meter.f_adjustable.length > 0 ? meter.f_adjustable[0].id : null
210
210
  meter.f_userfiles_address = meter.f_userfiles_address ? meter.f_userfiles_address : null
211
211
  // 气表状态需要根据表型判断是否需要开通操作 目前物联网表需要做开通操作
212
- meter.f_table_state = result.f_user_state === '预备' ? '待开通' : '正常'
212
+ meter.f_table_state = result.f_user_state === '预备' ? '待开通' : (meter.f_table_state? meter.f_table_state : '正常')
213
213
  if (!meter.f_userfiles_id) {
214
214
  // meter.f_whether_hairpin = !item.gasbrand[0].f_meter_type.includes('机表') ? '未发' : '无卡'
215
215
  // 所有表变成未发
@@ -138,7 +138,7 @@
138
138
  v-el:fcollection
139
139
  @blur="config.calculatePreByCollection && calculatePreByCollection()"
140
140
  @keyup.enter="checkInvoiceMsg((!$v.valid || validateOk || !islegal || clickConfirm))"
141
- v-scale="[model.f_collection, 2]" disabled>
141
+ v-scale="[model.f_collection, 4]" :disabled="!config.calculatePreByCollection">
142
142
  </div>
143
143
  <div class="col-sm-1 form-group" v-show=" row.f_meter_type.includes('卡表')">
144
144
  <give-change :curbalance="curbalance" :collection.sync="model.f_collection" v-ref:givechange></give-change>
package/src/main.js CHANGED
@@ -3,7 +3,7 @@ import all from 'vue-client/src/all'
3
3
  import App from './App'
4
4
  import system from 'system-clients/src/system'
5
5
  import sale from './sale'
6
- import wenxi from './filiale/yuansheng/sale'
6
+ import wenxi from './filiale/jingwei/sale'
7
7
  // import FilialeSale from './filiale/yuansheng/sale'
8
8
  import address from 'address-client/src/address'
9
9
  import ldap from 'ldap-clients/src/ldap'
@@ -210,7 +210,7 @@ let FileManageService = {
210
210
  meter.f_adjustable_id = meter.f_adjustable.length > 0 ? meter.f_adjustable[0].id : null
211
211
  meter.f_userfiles_address = meter.f_userfiles_address ? meter.f_userfiles_address : null
212
212
  // 气表状态需要根据表型判断是否需要开通操作 目前物联网表需要做开通操作
213
- meter.f_table_state = result.f_user_state === '预备' ? '待开通' : '正常'
213
+ meter.f_table_state = result.f_user_state === '预备' ? '待开通' : (meter.f_table_state? meter.f_table_state : '正常')
214
214
  if (!meter.f_userfiles_id) {
215
215
  // meter.f_whether_hairpin = !item.gasbrand[0].f_meter_type.includes('机表') ? '未发' : '无卡'
216
216
  // 所有表变成未发
@@ -237,6 +237,7 @@ let LogicService = {
237
237
  f_priority: model.f_priority,
238
238
  f_support_purchase: model.f_support_purchase,
239
239
  f_issupport_feededuction: model.f_issupport_feededuction,
240
+ f_dynamic_expire: model.f_dynamic_expire,
240
241
  f_hascard: model.f_hascard,
241
242
  f_share_times: model.f_share_times,
242
243
  f_share_open: model.f_share_open,