sale-client 3.5.121 → 3.5.122

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/.babelrc CHANGED
@@ -1,5 +1,5 @@
1
- {
2
- "presets": ["es2015", "stage-2"],
3
- "plugins": ["transform-runtime"],
4
- "comments": false
5
- }
1
+ {
2
+ "presets": ["es2015", "stage-2"],
3
+ "plugins": ["transform-runtime"],
4
+ "comments": false
5
+ }
File without changes
@@ -0,0 +1,2 @@
1
+ #Fri Apr 02 10:09:16 CST 2021
2
+ gradle.version=3.5.1
@@ -10,10 +10,10 @@ var compiler = webpack(config)
10
10
 
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
- var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
13
+ var bendi = 'http://127.0.0.1:8080', bendi1 = 'http://121.36.106.17:8400/'
14
14
  // 公司测试服务
15
- // var fuwu = 'http://192.168.50.4:8400'
16
- var fuwu = 'http://121.36.106.17:8400'
15
+ var fuwu = 'http://192.168.50.4:8400'
16
+ // var fuwu = 'http://39.99.85.14:8400'
17
17
  // var fuwu = 'http://121.36.106.17:8400/'
18
18
  // 铜川正式
19
19
  // var fuwu = 'http://61.134.55.234:9999/'
@@ -132,7 +132,7 @@ var proxyTable = {
132
132
  '/rs': {
133
133
  // target: 'http://192.168.30.63:8081/'
134
134
  // target: 'http://121.36.106.17:8400/'
135
- target: fuwu
135
+ target: bendi
136
136
  }
137
137
  }
138
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.121",
3
+ "version": "3.5.122",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -254,7 +254,14 @@ export default {
254
254
  }
255
255
  }
256
256
  for (let row of this.owe.rows) {
257
- param.chargeUser.push({f_userinfo_id: row.f_userinfo_id, f_collection: row.f_oughtfee_all})
257
+ param.chargeUser.push({
258
+ f_userinfo_id: row.f_userinfo_id,
259
+ f_collection: row.f_oughtfee_all,
260
+ f_oughtfee: row.f_oughtfee,
261
+ f_oughtamount: row.f_oughtamount,
262
+ min_handplan_id: row.min_handplan_id,
263
+ max_handplan_id: row.max_handplan_id
264
+ })
258
265
  }
259
266
  if (this.civill) {
260
267
  param = Object.assign(this.civill, param)
@@ -158,6 +158,34 @@ export default {
158
158
  return
159
159
  }
160
160
  this.saveobj()
161
+ } else {
162
+ //物联网表拆表
163
+ this.$showMessage(`将生成抄表记录,是否确认`, ['confirm', 'cancel']).then((res) => {
164
+ if (res === 'confirm') {
165
+ let data = {
166
+ downDate: this.$login.toStandardTimeString(),
167
+ startDate: this.$login.toStandardDateString(),
168
+ endDate: this.$login.toStandardDateString(),
169
+ condition: `f_userfiles_id = '${this.row.f_userfiles_id}'`,
170
+ f_operator: this.$login.f.name,
171
+ f_operatorid: this.$login.f.id,
172
+ f_meternumber: this.row.f_meternumber,
173
+ f_userinfo_id: this.row.f_userinfo_id,
174
+ f_userfiles_id: this.row.f_userfiles_id,
175
+ f_meterbase: this.model.f_using_base_old,
176
+ f_meter_brand: this.row.f_meter_brand,
177
+ f_price_id: this.row.f_price_id
178
+ }
179
+ //划价
180
+ this.$resetpost('rs/logic/changeMeterHand', {data: data}, {resolveMsg: null,rejectMsg:null }).then((res) => {
181
+ console.log('划价成功')
182
+ //保存拆表记录
183
+ this.saveobj()
184
+ })
185
+ } else {
186
+ //取消
187
+ }
188
+ })
161
189
  }
162
190
  },
163
191
  async saveobj () {