sale-client 3.6.160 → 3.6.161
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/build/dev-server.js +1 -1
- package/package.json +1 -1
- package/src/components/charge/ChargeManage.vue +4 -0
- package/src/components/charge/ChargeOper.vue +12 -0
- package/src/components/charge/business/IOTMeterCenter.vue +0 -2
- package/src/components/common/userinfo_detail/ic_detail/PriceChangeQueryUser.vue +2 -0
- package/src/components/revenue/comprehen/StairPrice/GasPriceUser.vue +10 -3
- package/src/filiale/yuncheng/ChangeMeter.vue +5 -4
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [ serverRul, localUrl ] = ['http://
|
|
2
|
+
const [ serverRul, localUrl ] = ['http://140.249.18.101:8400/', 'http://140.249.18.101:8400/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -225,6 +225,7 @@ export default {
|
|
|
225
225
|
'row' (val) {
|
|
226
226
|
|
|
227
227
|
},
|
|
228
|
+
|
|
228
229
|
'success' (name, row, res) {
|
|
229
230
|
this.setsustainMoney()
|
|
230
231
|
// name === '发卡售气' ? this.$refs.list.toNext(this.index) : null
|
|
@@ -265,6 +266,9 @@ export default {
|
|
|
265
266
|
'resflushrowdata' () {
|
|
266
267
|
this.toBusiness(this.row)
|
|
267
268
|
},
|
|
269
|
+
'resflushdata' (data) {
|
|
270
|
+
this.toBusiness(data)
|
|
271
|
+
},
|
|
268
272
|
'refreshrow' (val) {
|
|
269
273
|
console.log(val)
|
|
270
274
|
this.row = val
|
|
@@ -227,6 +227,18 @@ export default {
|
|
|
227
227
|
// 发生换表成功
|
|
228
228
|
getNewmetermsg(this, row)
|
|
229
229
|
},
|
|
230
|
+
'toroute' (buttonObj, data) {
|
|
231
|
+
console.log('指定按钮。。', buttonObj)
|
|
232
|
+
this.$resetpost('rs/sql/sale_getUser', {
|
|
233
|
+
data: {condition: `i.f_userinfo_code='${data.f_userinfo_code}' and u.f_filialeid = '${data.f_filialeid}'`, orderitem: `f_userinfo_id Desc`}
|
|
234
|
+
}, {resolveMsg: null, rejectMsg: '获取用户信息失败'}).then((res)=>{
|
|
235
|
+
if (buttonObj) {
|
|
236
|
+
this.$dispatch('resflushdata', res.data[0])
|
|
237
|
+
this.styleChange(buttonObj.name)
|
|
238
|
+
this.$refs.route.init(buttonObj.value, {row: res.data[0]})
|
|
239
|
+
}
|
|
240
|
+
})
|
|
241
|
+
},
|
|
230
242
|
'button-specifies'(buttonObj, data) {
|
|
231
243
|
console.log('指定按钮。。', buttonObj)
|
|
232
244
|
// buttonObj 格式: {name:'机表收费', value: 'machine-meter-center'}
|
|
@@ -657,7 +657,6 @@
|
|
|
657
657
|
// 校验发票信息
|
|
658
658
|
checkInvoiceMsg (flag) {
|
|
659
659
|
if (flag) return
|
|
660
|
-
if (this.config.quickSale) {
|
|
661
660
|
// 校验是否超出最大透支余额
|
|
662
661
|
if (this.model.f_payment == '系统余额透支') {
|
|
663
662
|
const maxOverdraftBalance = -(((this.$appdata.getSingleValue('最大透支余额') - 0) || 1000) - 0)
|
|
@@ -684,7 +683,6 @@
|
|
|
684
683
|
this.confirm()
|
|
685
684
|
}
|
|
686
685
|
|
|
687
|
-
}
|
|
688
686
|
},
|
|
689
687
|
eticket_toggle () {
|
|
690
688
|
this.eticket_show = false
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
<th><nobr>生效时间</nobr></th>
|
|
46
46
|
<th><nobr>操作时间</nobr></th>
|
|
47
47
|
<th><nobr>操作人</nobr></th>
|
|
48
|
+
<th><nobr>变更原因</nobr></th>
|
|
48
49
|
</tr>
|
|
49
50
|
</template>
|
|
50
51
|
<template partial='body' partial='list' v-ref:grid>
|
|
@@ -58,6 +59,7 @@
|
|
|
58
59
|
<td style="text-align:center"><nobr>{{row.f_perform_date}}</nobr></td>
|
|
59
60
|
<td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
60
61
|
<td style="text-align:center"><nobr>{{row.f_operator}}</nobr></td>
|
|
62
|
+
<td style="text-align:center"><nobr>{{row.f_change_reason}}</nobr></td>
|
|
61
63
|
</tr>
|
|
62
64
|
</template>
|
|
63
65
|
<template partial='foot'></template>
|
|
@@ -197,7 +197,12 @@
|
|
|
197
197
|
</div>
|
|
198
198
|
|
|
199
199
|
</div>
|
|
200
|
-
|
|
200
|
+
<div class="row" style="margin-top: 2%">
|
|
201
|
+
<div class="col-sm-12 flex-row" v-if="newinfo.f_comments==='其他原因'">
|
|
202
|
+
<label class="control-label">其他原因</label>
|
|
203
|
+
<input type="text" class="input_search" style="width:80%" v-model="newinfo.f_other_comments" placeholder='其他原因' >
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
201
206
|
</div>
|
|
202
207
|
</form>
|
|
203
208
|
</div>
|
|
@@ -236,6 +241,7 @@
|
|
|
236
241
|
f_gasproperties: '',
|
|
237
242
|
pricetype: '',
|
|
238
243
|
pricename: '',
|
|
244
|
+
f_other_comments: '',
|
|
239
245
|
f_comments: ''
|
|
240
246
|
},
|
|
241
247
|
oldinfo: {
|
|
@@ -312,6 +318,7 @@
|
|
|
312
318
|
})
|
|
313
319
|
},
|
|
314
320
|
async modifyUser () {
|
|
321
|
+
|
|
315
322
|
let rowdata = this.$refs.paged.$refs.grid.getRowData()
|
|
316
323
|
if (rowdata.length === 0) {
|
|
317
324
|
// 提示
|
|
@@ -340,7 +347,7 @@
|
|
|
340
347
|
f_perform_date: this.newinfo.pricename[0].f_perform_date,
|
|
341
348
|
f_stairprice_id: this.newinfo.pricename[0].id,
|
|
342
349
|
// 修改原因
|
|
343
|
-
f_comments: this.newinfo.f_comments,
|
|
350
|
+
f_comments: this.newinfo.f_other_comments ? this.newinfo.f_other_comments:this.newinfo.f_comments,
|
|
344
351
|
// 操作人组织机构信息
|
|
345
352
|
f_operator: this.$login.f.name,
|
|
346
353
|
f_operatorid: this.$login.f.id,
|
|
@@ -379,7 +386,7 @@
|
|
|
379
386
|
},
|
|
380
387
|
userTypeChange () {
|
|
381
388
|
this.gasproperties = []
|
|
382
|
-
if (this.newinfo.f_user_type.length === 1) {
|
|
389
|
+
if (this.newinfo.f_user_type && this.newinfo.f_user_type.length === 1) {
|
|
383
390
|
this.gasproperties = this.$appdata.getParam(this.newinfo.f_user_type[0])
|
|
384
391
|
}
|
|
385
392
|
},
|
|
@@ -864,11 +864,12 @@ export default {
|
|
|
864
864
|
}
|
|
865
865
|
this.$resetpost(url, {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
|
|
866
866
|
console.log('成功')
|
|
867
|
+
// this.$dispatch('resflushrowdata')
|
|
867
868
|
if (this.row.f_meter_type.includes('物联网表')) {
|
|
868
|
-
this.$dispatch('
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
|
|
869
|
+
this.$dispatch('toroute', {name: '物联网表收费', value: 'iot-meter-center'}, this.row)
|
|
870
|
+
}
|
|
871
|
+
if (this.row.f_meter_type.includes('机表')) {
|
|
872
|
+
this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
|
|
872
873
|
}
|
|
873
874
|
})
|
|
874
875
|
}
|