sale-client 3.6.71 → 3.6.73
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/business/ShowCardSellGas.vue +1 -1
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +1 -1
- package/src/components/revenue/HandManager/PriceAdjustmentWebmeter.vue +40 -30
- package/src/components/revenue/comprehen/gasbrand/AddGasBrand.vue +11 -1
- package/src/filiale/gehua/MeterinfoTest.vue +15 -9
- package/src/filiale/macheng/ic_detail/HandQueryUser.vue +1 -1
- package/src/filiale/macheng/ic_detail/WebHandQueryUser.vue +1 -1
- package/src/filiale/rizhao/ChargeList.vue +2 -0
- package/src/filiale/rizhao/ShowCardSellGas.vue +1 -1
- package/src/filiale/yuansheng/sale.js +0 -2
- package/src/main.js +1 -1
- package/src/plugins/LogicService.js +1 -0
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [localUrl, serverRul] = ['
|
|
2
|
+
const [localUrl, serverRul] = ['http://kf.yidagas.com:8400/', 'http://kf.yidagas.com:8400/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="row"
|
|
266
266
|
:money="model.f_after_discount"></payment-code>
|
|
267
267
|
</div>
|
|
268
|
-
<upload v-if="config.showupload" :blodid="
|
|
268
|
+
<upload v-if="config.showupload" :blodid="row.f_userinfo_id" isremark="true" fusetype="发卡售气"></upload>
|
|
269
269
|
</template>
|
|
270
270
|
<script>
|
|
271
271
|
/**
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<saletab header="流量计参数查看" v-if="permission('流量计参数查看')">
|
|
79
79
|
<meter-param :row="row" v-if="show == '流量计参数查看'" @deal-msg="dealMsg"></meter-param>
|
|
80
80
|
</saletab>
|
|
81
|
-
<saletab header="表使用量图表">
|
|
81
|
+
<saletab header="表使用量图表" v-if="permission('流量计参数查看')">
|
|
82
82
|
<table-usage-chart :row="row" v-if="show == '表使用量图表'" @deal-msg="dealMsg"></table-usage-chart>
|
|
83
83
|
</saletab>
|
|
84
84
|
<saletab header="用户设备查询" v-if="permission('用户设备查看')">
|
|
@@ -110,9 +110,9 @@
|
|
|
110
110
|
<th><nobr>开始抄表时间</nobr></th>
|
|
111
111
|
<th><nobr>结束抄表时间</nobr></th>
|
|
112
112
|
<th><nobr>气价名称</nobr></th>
|
|
113
|
-
<th><nobr>系统气价</nobr></th
|
|
114
|
-
<th><nobr>输入气价</nobr></th
|
|
115
|
-
<th><nobr
|
|
113
|
+
<!-- <th><nobr>系统气价</nobr></th>-->
|
|
114
|
+
<!-- <th><nobr>输入气价</nobr></th>-->
|
|
115
|
+
<th><nobr>补差单价</nobr></th>
|
|
116
116
|
<th><nobr>上期底数</nobr></th>
|
|
117
117
|
<th><nobr>本期底数</nobr></th>
|
|
118
118
|
<th><nobr>补差气量</nobr></th>
|
|
@@ -132,30 +132,37 @@
|
|
|
132
132
|
<th style="text-align: center;"><nobr>{{row.f_end_date}}</nobr></th>
|
|
133
133
|
<th style="text-align: center;">{{row.f_price_name}}</th>
|
|
134
134
|
<!-- <th style="text-align: center;">{{row.f_address}}</th>-->
|
|
135
|
+
<!-- <th style="text-align: center;">-->
|
|
136
|
+
<!-- <div class="form-group" style="margin-bottom:0px;"-->
|
|
137
|
+
<!-- v-if="!row.f_new_price>0">-->
|
|
138
|
+
<!-- <input type="text" class="form-control" v-model="row.oldprice"-->
|
|
139
|
+
<!-- v-next-el="{id: $index+1}" :id="$index" style="width: 100px;padding: 6px;" :disabled="row.state === '开始'">-->
|
|
140
|
+
<!-- </div>-->
|
|
141
|
+
<!-- <div v-else>{{row.f_old_price}}</div>-->
|
|
142
|
+
<!-- </th>-->
|
|
143
|
+
<!-- <th style="text-align: center;">-->
|
|
144
|
+
<!-- <div class="form-group" style="margin-bottom:0px;"-->
|
|
145
|
+
<!-- v-if="!row.f_new_price>0">-->
|
|
146
|
+
<!-- <input type="text" class="form-control" v-model="row.newprice" @blur="$parent.$parent.$parent.enter(row)"-->
|
|
147
|
+
<!-- v-next-el="{id: $index+1}" :id="$index" style="width: 100px;padding: 6px;" :disabled="row.state === '开始'">-->
|
|
148
|
+
<!-- </div>-->
|
|
149
|
+
<!-- <div v-else>{{row.f_new_price}}</div>-->
|
|
150
|
+
<!-- </th>-->
|
|
135
151
|
<th style="text-align: center;">
|
|
136
|
-
<div class="form-group" style="margin-bottom:0px;"
|
|
137
|
-
|
|
138
|
-
<input type="text" class="form-control" v-model="row.oldprice"
|
|
152
|
+
<div class="form-group" style="margin-bottom:0px;" v-if="!row.f_surplus_id">
|
|
153
|
+
<input type="number" class="form-control" v-model="row.f_change_price" @blur="$parent.$parent.$parent.enter(row)"
|
|
139
154
|
v-next-el="{id: $index+1}" :id="$index" style="width: 100px;padding: 6px;" :disabled="row.state === '开始'">
|
|
140
155
|
</div>
|
|
141
|
-
<div v-else>{{row.
|
|
156
|
+
<div v-else>{{row.f_change_price}}</div>
|
|
142
157
|
</th>
|
|
143
|
-
<th style="text-align: center;">
|
|
144
|
-
<div class="form-group" style="margin-bottom:0px;"
|
|
145
|
-
v-if="!row.f_new_price>0">
|
|
146
|
-
<input type="text" class="form-control" v-model="row.newprice" @blur="$parent.$parent.$parent.enter(row)"
|
|
147
|
-
v-next-el="{id: $index+1}" :id="$index" style="width: 100px;padding: 6px;" :disabled="row.state === '开始'">
|
|
148
|
-
</div>
|
|
149
|
-
<div v-else>{{row.f_new_price}}</div>
|
|
150
|
-
</th>
|
|
151
|
-
<th style="text-align: center;">{{row.f_change_price}}</th>
|
|
158
|
+
<!-- <th style="text-align: center;">{{row.f_change_price}}</th>-->
|
|
152
159
|
<th style="text-align: center;">{{row.f_last_tablebase}}</th>
|
|
153
160
|
<th style="text-align: center;">{{row.f_tablebase}}</th>
|
|
154
161
|
<th style="text-align: center;">{{row.pregas}}</th>
|
|
155
162
|
<th style="text-align: center;">{{row.f_surplus_fee}}</th>
|
|
156
163
|
<th style="text-align: center;">{{row.f_source}}</th>
|
|
157
164
|
<th style="text-align: center;">
|
|
158
|
-
<button type="button" name="button" class="btn btn-link" v-if="row.
|
|
165
|
+
<button type="button" name="button" class="btn btn-link" v-if="row.f_surplus_id"
|
|
159
166
|
@click.stop="$parent.$parent.$parent.delectHand(row) && row.states === 1">冲正
|
|
160
167
|
</button>
|
|
161
168
|
</th>
|
|
@@ -168,12 +175,8 @@
|
|
|
168
175
|
</header>
|
|
169
176
|
<article slot="modal-body" class="modal-body">
|
|
170
177
|
<div class="form-group">
|
|
171
|
-
<p
|
|
172
|
-
<input type="text" class="form-control" v-model="
|
|
173
|
-
</div>
|
|
174
|
-
<div class="form-group">
|
|
175
|
-
<p>新单价:</p>
|
|
176
|
-
<input type="text" class="form-control" v-model="f_new_price" >
|
|
178
|
+
<p>补差单价:</p>
|
|
179
|
+
<input type="text" class="form-control" v-model="f_change_price" >
|
|
177
180
|
</div>
|
|
178
181
|
</article>
|
|
179
182
|
<footer slot="modal-footer" class="modal-footer">
|
|
@@ -229,6 +232,7 @@
|
|
|
229
232
|
model: new PagedList('rs/sql/get_WebUserCharge', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate', price_states: 'this.model.price_states[0]', addSelectParam: 'this.model.addSelectParam'}),
|
|
230
233
|
f_new_price: 0.0,
|
|
231
234
|
f_old_price:0.0,
|
|
235
|
+
f_change_price:0.0,
|
|
232
236
|
show: false,
|
|
233
237
|
addSelectParam: ''
|
|
234
238
|
// joinTable:'',
|
|
@@ -282,7 +286,7 @@
|
|
|
282
286
|
row.f_orgname = this.$login.f.orgs
|
|
283
287
|
row.f_depid = this.$login.f.depids
|
|
284
288
|
row.f_depname = this.$login.f.deps
|
|
285
|
-
this.$resetpost('rs/logic/
|
|
289
|
+
this.$resetpost('rs/logic/priceAdjustmentOffsetWebmeter', {data: row}).then(() => {
|
|
286
290
|
// this.$dispatch('refresh', '正在处理', row)
|
|
287
291
|
this.selfSearch(this.model)
|
|
288
292
|
})
|
|
@@ -307,14 +311,17 @@
|
|
|
307
311
|
})
|
|
308
312
|
},
|
|
309
313
|
async enter (row) {
|
|
310
|
-
if(row.
|
|
311
|
-
|
|
314
|
+
if(row.f_change_price){
|
|
315
|
+
let money = parseFloat(row.pregas * row.f_change_price)
|
|
316
|
+
let message = `是否确认对此记录进行调价补差${money}元`
|
|
317
|
+
this.$showMessage(message, ['confirm', 'cancel']).then((res) => {
|
|
312
318
|
if (res === 'confirm') {
|
|
313
319
|
let http2 = new HttpResetClass()
|
|
314
320
|
let param = {
|
|
315
321
|
f_state: '有效',
|
|
316
|
-
f_old_price:
|
|
317
|
-
f_new_price:
|
|
322
|
+
f_old_price:null,
|
|
323
|
+
f_new_price: null,
|
|
324
|
+
f_change_price:row.f_change_price,
|
|
318
325
|
f_operator: this.$login.f.name,
|
|
319
326
|
f_operatorid: this.$login.f.id,
|
|
320
327
|
f_orgid: this.$login.f.orgid,
|
|
@@ -329,6 +336,8 @@
|
|
|
329
336
|
this.selfSearch(this.model)
|
|
330
337
|
})
|
|
331
338
|
|
|
339
|
+
}else{
|
|
340
|
+
// row.f_change_price = null
|
|
332
341
|
}
|
|
333
342
|
})
|
|
334
343
|
|
|
@@ -345,8 +354,9 @@
|
|
|
345
354
|
console.log(detail.data)
|
|
346
355
|
let param = {
|
|
347
356
|
f_state: '有效',
|
|
348
|
-
f_old_price:
|
|
349
|
-
f_new_price:
|
|
357
|
+
f_old_price:null,
|
|
358
|
+
f_new_price: null,
|
|
359
|
+
f_change_price:this.f_change_price,
|
|
350
360
|
f_operator: this.$login.f.name,
|
|
351
361
|
f_operatorid: this.$login.f.id,
|
|
352
362
|
f_orgid: this.$login.f.orgid,
|
|
@@ -104,13 +104,21 @@
|
|
|
104
104
|
|
|
105
105
|
</div>
|
|
106
106
|
<div class="col-sm-4 form-group" v-if="gasmessage.f_meter_type[0].includes('卡表')||gasmessage.f_meter_type[0].includes('物联网表')">
|
|
107
|
-
<label for="hasCard" class="font_normal_body"
|
|
107
|
+
<label for="hasCard" class="font_normal_body">是否累购</label>
|
|
108
108
|
<v-select :value.sync="gasmessage.f_support_purchase"
|
|
109
109
|
:value-single="true"
|
|
110
110
|
v-model="gasmessage.f_support_purchase"
|
|
111
111
|
:options='isdecimal' placeholder='是否支持累购'
|
|
112
112
|
close-on-select style="width: 60%"></v-select>
|
|
113
113
|
</div>
|
|
114
|
+
<div class="col-sm-4 form-group" v-if="gasmessage.f_meter_type[0].includes('物联网表')">
|
|
115
|
+
<label for="hasCard" class="font_normal_body">是否扣费</label>
|
|
116
|
+
<v-select :value.sync="gasmessage.f_issupport_feededuction"
|
|
117
|
+
:value-single="true"
|
|
118
|
+
v-model="gasmessage.f_issupport_feededuction"
|
|
119
|
+
:options='isdecimal' placeholder='是否支持扣费'
|
|
120
|
+
close-on-select style="width: 60%"></v-select>
|
|
121
|
+
</div>
|
|
114
122
|
<div v-if="gasmessage.f_meter_type[0].includes('卡表') || gasmessage.f_hascard[0]==='是'" class="row">
|
|
115
123
|
<div class="col-sm-4 form-group" :class="[$v.f_cardnumber.required ? 'has-error' : 'has-success']">
|
|
116
124
|
<label for="f_card_password" class="font_normal_body"> 卡号 </label>
|
|
@@ -199,6 +207,7 @@ export default {
|
|
|
199
207
|
f_hascard: '',
|
|
200
208
|
f_support_bluetooth: '',
|
|
201
209
|
f_support_purchase: '',
|
|
210
|
+
f_issupport_feededuction: '',
|
|
202
211
|
f_share_times: '',
|
|
203
212
|
f_share_open: '',
|
|
204
213
|
f_priority: 100,
|
|
@@ -391,6 +400,7 @@ export default {
|
|
|
391
400
|
f_hascard: '',
|
|
392
401
|
f_support_bluetooth: '',
|
|
393
402
|
f_support_purchase: '',
|
|
403
|
+
f_issupport_feededuction: '',
|
|
394
404
|
f_police_gas: '',
|
|
395
405
|
f_overdr_lines: '',
|
|
396
406
|
f_share_times: '',
|
|
@@ -42,16 +42,21 @@
|
|
|
42
42
|
<label for="gasbrand" class="font_normal_body">气表品牌</label>
|
|
43
43
|
<input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.brand.selectedItems"
|
|
44
44
|
v-validate:brand='{required: true }'>
|
|
45
|
+
<!-- <v-select :value.sync="row.gasbrand" :options='meterbrands' placeholder='气表品牌' close-on-select
|
|
46
|
+
search @change='brandChange' v-model='row.gasbrand' :disabled="!((row.f_meter_classify.indexOf('卡表') !== -1&&row.f_user_state === '预备') || (row.f_meter_classify.indexOf('卡表') !== -1&&row.f_whether_hairpin === '未发'))" v-ref:brand></v-select>-->
|
|
45
47
|
<v-select :value.sync="row.gasbrand" :options='meterbrands' placeholder='气表品牌' close-on-select
|
|
46
|
-
search @change='brandChange' v-model='row.gasbrand' :disabled="!((row.
|
|
48
|
+
search @change='brandChange' v-model='row.gasbrand' :disabled="!((row.f_user_state === '预备' ||user_State === '预备') || (user_State === undefined || user_State === ''))" v-ref:brand></v-select>
|
|
47
49
|
</div>
|
|
48
50
|
<div class="col-sm-4 form-group" :class="[$m.model.required ? 'has-error' : '']">
|
|
49
51
|
<label for="gasmodel" class="font_normal_body">气表型号</label>
|
|
50
52
|
<input type="text" v-show="false" v-model="$refs.model.selectedItems"
|
|
51
53
|
v-validate:model='{required: true }'>
|
|
54
|
+
<!-- <v-select :value.sync="row.gasmodel" :options='row.gasbrand[0].gasmodel' placeholder='气表型号'-->
|
|
55
|
+
<!-- close-on-select-->
|
|
56
|
+
<!-- v-model='row.gasmodel' :disabled="!(row.gasbrand.length !== 0 && ((row.f_meter_classify.indexOf('卡表') !== -1&&row.f_user_state === '预备') || (row.f_meter_classify.indexOf('卡表') !== -1&&row.f_whether_hairpin === '未发')))" v-ref:model></v-select>-->
|
|
52
57
|
<v-select :value.sync="row.gasmodel" :options='row.gasbrand[0].gasmodel' placeholder='气表型号'
|
|
53
58
|
close-on-select
|
|
54
|
-
v-model='row.gasmodel'
|
|
59
|
+
v-model='row.gasmodel' :disabled="!(row.gasbrand.length !== 0 && ((row.f_user_state === '预备' || user_State === '预备') || (user_State === undefined || user_State === '')))" v-ref:model></v-select>
|
|
55
60
|
</div>
|
|
56
61
|
<div class="col-sm-4 form-group">
|
|
57
62
|
<label for="f_meter_base" class="font_normal_body"> 累购气量</label>
|
|
@@ -564,18 +569,19 @@
|
|
|
564
569
|
overdueset:[],
|
|
565
570
|
isiot: true,
|
|
566
571
|
templng: '', // 临时经度
|
|
567
|
-
templat: '' // 临时纬度
|
|
572
|
+
templat: '', // 临时纬度
|
|
573
|
+
user_State: ''
|
|
568
574
|
}
|
|
569
575
|
},
|
|
570
576
|
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
|
|
571
577
|
async ready () {
|
|
572
|
-
|
|
578
|
+
this.user_State = this.curuser.f_user_state
|
|
573
579
|
this.row = Object.assign(this.row, this.meter, {f_use_limit : this.$appdata.getSingleValue('报废年限')})
|
|
574
|
-
if(this.row.f_meter_classify){
|
|
575
|
-
if(this.row.f_meter_classify==='物联网表'){
|
|
576
|
-
this.isiot=true
|
|
577
|
-
}else{
|
|
578
|
-
this.isiot=false
|
|
580
|
+
if (this.row.f_meter_classify) {
|
|
581
|
+
if (this.row.f_meter_classify === '物联网表') {
|
|
582
|
+
this.isiot = true
|
|
583
|
+
} else {
|
|
584
|
+
this.isiot = false
|
|
579
585
|
}
|
|
580
586
|
}
|
|
581
587
|
this.oldrow = this.row
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<th v-show="false"><nobr>抄表月份</nobr></th>
|
|
79
79
|
<th v-show="false"><nobr>用气周期</nobr></th>
|
|
80
80
|
<th><nobr>上传日期</nobr></th>
|
|
81
|
-
<th><nobr
|
|
81
|
+
<th><nobr>录入日期</nobr></th>
|
|
82
82
|
<th><nobr>上期底数</nobr></th>
|
|
83
83
|
<th><nobr>本期底数</nobr></th>
|
|
84
84
|
<th><nobr>上期余额</nobr></th>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<th v-show="false"><nobr>抄表月份</nobr></th>
|
|
72
72
|
<th v-show="false"><nobr>用气周期</nobr></th>
|
|
73
73
|
<th><nobr>上传日期</nobr></th>
|
|
74
|
-
<th><nobr
|
|
74
|
+
<th><nobr>录入日期</nobr></th>
|
|
75
75
|
<th><nobr>上期底数</nobr></th>
|
|
76
76
|
<th><nobr>本期底数</nobr></th>
|
|
77
77
|
<th><nobr>上期余额</nobr></th>
|
|
@@ -441,6 +441,7 @@
|
|
|
441
441
|
self.model.rows = getUser.data
|
|
442
442
|
self.$dispatch('dblclick', getUser.data[0], 0, self.cardInfo) // 这里的0是角标位置(暂无用)
|
|
443
443
|
} else if (getUser.data.length > 1) {
|
|
444
|
+
getUser.data = getUser.data.filter((res)=> {return res.f_filialeid===self.$login.f.orgid})
|
|
444
445
|
if (self.model.rows.length == 1) {
|
|
445
446
|
// 处理读卡时需要卡密码的问题:此时已经查出一户数据来,验证此数据的卡号和读出的卡号是否一致,一致则不用去查询
|
|
446
447
|
let hasMatchingData = false
|
|
@@ -628,6 +629,7 @@
|
|
|
628
629
|
self.model.rows = getUser.data
|
|
629
630
|
self.$dispatch('dblclick', getUser.data[0], 0, self.cardInfo) // 这里的0是角标位置(暂无用)
|
|
630
631
|
} else if (getUser.data.length > 1) {
|
|
632
|
+
getUser.data = getUser.data.filter((res)=> {return res.f_filialeid===self.$login.f.orgid})
|
|
631
633
|
if (self.model.rows.length == 1) {
|
|
632
634
|
// 处理读卡时需要卡密码的问题:此时已经查出一户数据来,验证此数据的卡号和读出的卡号是否一致,一致则不用去查询
|
|
633
635
|
let hasMatchingData = false
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="row"
|
|
265
265
|
:money="model.f_after_discount"></payment-code>
|
|
266
266
|
</div>
|
|
267
|
-
<upload v-if="config.showupload" isremark="true" fusetype="发卡售气"></upload>
|
|
267
|
+
<upload v-if="config.showupload" :blodid="row.f_userinfo_id" isremark="true" fusetype="发卡售气"></upload>
|
|
268
268
|
</template>
|
|
269
269
|
<script>
|
|
270
270
|
/**
|
|
@@ -26,6 +26,4 @@ export default function () {
|
|
|
26
26
|
Vue.component('iot-refund', (resolve) => { require(['./IOTRefund'], resolve) })
|
|
27
27
|
// 物联网赠气
|
|
28
28
|
Vue.component('iotTable', (resolve) => { require(['./iotTable'], resolve) })
|
|
29
|
-
// 卡表赠气
|
|
30
|
-
Vue.component('icTable', (resolve) => { require(['./icTable'], resolve) })
|
|
31
29
|
}
|
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/
|
|
6
|
+
import wenxi from './filiale/rizhao/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'
|
|
@@ -236,6 +236,7 @@ let LogicService = {
|
|
|
236
236
|
f_is_step: model.f_is_step,
|
|
237
237
|
f_priority: model.f_priority,
|
|
238
238
|
f_support_purchase: model.f_support_purchase,
|
|
239
|
+
f_issupport_feededuction: model.f_issupport_feededuction,
|
|
239
240
|
f_hascard: model.f_hascard,
|
|
240
241
|
f_share_times: model.f_share_times,
|
|
241
242
|
f_share_open: model.f_share_open,
|