sale-client 4.3.56 → 4.3.58
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/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileChanges/last-build.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +25 -19
- package/package.json +1 -1
- package/src/filiale/dexin/cardsHand.vue +4 -0
- package/src/filiale/jinhong/machineHand.vue +27 -4
- package/src/main.js +1 -1
- package/src/plugins/ChangeMeterService.js +14 -13
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/build/dev-server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var checkVersion = require('./versionCheck.js')
|
|
3
3
|
checkVersion()
|
|
4
|
-
const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://127.0.0.1:9026/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -25,28 +25,34 @@ var devConfig = {
|
|
|
25
25
|
// },
|
|
26
26
|
// target: localUrl
|
|
27
27
|
// },
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
28
|
+
'/api/af-revenue/logic': {
|
|
29
|
+
pathRewrite: {
|
|
30
|
+
'/api/af-revenue/logic': '/logic'
|
|
31
|
+
},
|
|
32
|
+
target: localUrl
|
|
33
|
+
},
|
|
34
|
+
'/api/af-revenue/file': {
|
|
35
|
+
pathRewrite: {
|
|
36
|
+
'/api/af-revenue/file': '/file'
|
|
37
|
+
},
|
|
38
|
+
target: localUrl
|
|
39
|
+
},
|
|
40
|
+
'/api/af-revenue/handPlanAudit': {
|
|
41
|
+
pathRewrite: {
|
|
42
|
+
'/api/af-revenue/handPlanAudit': '/handPlanAudit'
|
|
43
|
+
},
|
|
44
|
+
target: localUrl
|
|
45
|
+
},
|
|
40
46
|
// '/weixin2/rs':{
|
|
41
47
|
//
|
|
42
48
|
// target: 'http://410663id1ia4.vicp.fun'
|
|
43
49
|
// },
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
'/api/af-revenue/sql': {
|
|
51
|
+
pathRewrite: {
|
|
52
|
+
'/api/af-revenue/sql': '/sql'
|
|
53
|
+
},
|
|
54
|
+
target: localUrl
|
|
55
|
+
},
|
|
50
56
|
'/rs/pay': {
|
|
51
57
|
target: 'http://localhost:8080'
|
|
52
58
|
},
|
package/package.json
CHANGED
|
@@ -198,6 +198,9 @@
|
|
|
198
198
|
<th>
|
|
199
199
|
<nobr>序号</nobr>
|
|
200
200
|
</th>
|
|
201
|
+
<th>
|
|
202
|
+
<nobr>抄表单编号</nobr>
|
|
203
|
+
</th>
|
|
201
204
|
<!-- <th>户编号</th>-->
|
|
202
205
|
<!-- <th>基本信息</th>-->
|
|
203
206
|
<th>
|
|
@@ -288,6 +291,7 @@
|
|
|
288
291
|
</template>
|
|
289
292
|
<template partial='body'>
|
|
290
293
|
<td style="text-align: center;">{{ $index + 1 }}</td>
|
|
294
|
+
<td style="text-align: center;">{{ row.id }}</td>
|
|
291
295
|
<td style="text-align: center;">{{ row.f_userinfo_code }}</td>
|
|
292
296
|
<td style="text-align: center;">
|
|
293
297
|
{{ row.f_user_name }} {{ row.f_gasproperties }} {{
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
</div>
|
|
703
703
|
<div class="col-sm-4 form-group">
|
|
704
704
|
<label class="font_normal_body">阶梯二金额</label>
|
|
705
|
-
<p class="form-control" style="width:60%" disabled>{{ row.f_stair_money2 = stairMoney(row.f_stair_price2, row.f_stair_gas2) }}</p>
|
|
705
|
+
<p class="form-control" style="width:60%" disabled> {{ row.f_stair_money2 = stairMoney(row.f_stair_price2, row.f_stair_gas2) }}</p>
|
|
706
706
|
</div>
|
|
707
707
|
<div class="col-sm-4 form-group" >
|
|
708
708
|
<label class="font_normal_body">阶梯三单价</label>
|
|
@@ -721,11 +721,11 @@
|
|
|
721
721
|
</div>
|
|
722
722
|
<div class="col-sm-4 form-group">
|
|
723
723
|
<label class="font_normal_body">总用气量</label>
|
|
724
|
-
<p class="form-control" style="width:60%" disabled>{{
|
|
724
|
+
<p class="form-control" style="width:60%" disabled>{{ stairTotalGas}}</p>
|
|
725
725
|
</div>
|
|
726
726
|
<div class="col-sm-4 form-group">
|
|
727
727
|
<label class="font_normal_body">总用气金额</label>
|
|
728
|
-
<p class="form-control" style="width:60%" disabled>{{
|
|
728
|
+
<p class="form-control" style="width:60%" disabled>{{ stairTotalAmount }}</p>
|
|
729
729
|
</div>
|
|
730
730
|
<p style="color: red">注意: 自定义气量总量必须等于本次抄表用气量, 本次抄表总量: {{row.f_oughtamount}}</p>
|
|
731
731
|
</div>
|
|
@@ -964,7 +964,10 @@
|
|
|
964
964
|
},
|
|
965
965
|
methods: {
|
|
966
966
|
stairMoney (price, gas) {
|
|
967
|
-
|
|
967
|
+
// 转换为数字,处理 undefined 和 null
|
|
968
|
+
const p = Number(price) || 0
|
|
969
|
+
const g = Number(gas) || 0
|
|
970
|
+
return (p * g).toFixed(3) - 0
|
|
968
971
|
},
|
|
969
972
|
async customPricingConfirm () {
|
|
970
973
|
let sumGas = (this.row.f_stair_gas1 - 0) + (this.row.f_stair_gas2 - 0) + (this.row.f_stair_gas3 - 0)
|
|
@@ -1914,6 +1917,26 @@
|
|
|
1914
1917
|
danhutitle () {
|
|
1915
1918
|
return '单户抄表 当前计划年月:' + this.downModel.downDate
|
|
1916
1919
|
},
|
|
1920
|
+
// 总用气量
|
|
1921
|
+
stairTotalGas() {
|
|
1922
|
+
if (this.row && this.row.f_price_type === '阶梯气价') {
|
|
1923
|
+
const gas1 = Number(this.row.f_stair_gas1) || 0
|
|
1924
|
+
const gas2 = Number(this.row.f_stair_gas2) || 0
|
|
1925
|
+
const gas3 = Number(this.row.f_stair_gas3) || 0
|
|
1926
|
+
return (gas1 + gas2 + gas3).toFixed(3)
|
|
1927
|
+
}
|
|
1928
|
+
return 0
|
|
1929
|
+
},
|
|
1930
|
+
// 阶梯气价总金额
|
|
1931
|
+
stairTotalAmount() {
|
|
1932
|
+
if (this.row && this.row.f_price_type === '阶梯气价') {
|
|
1933
|
+
const money1 = this.stairMoney(this.row.f_stair_price1, this.row.f_stair_gas1)
|
|
1934
|
+
const money2 = this.stairMoney(this.row.f_stair_price2, this.row.f_stair_gas2)
|
|
1935
|
+
const money3 = this.stairMoney(this.row.f_stair_price3, this.row.f_stair_gas3)
|
|
1936
|
+
return (money1 + money2 + money3).toFixed(3)
|
|
1937
|
+
}
|
|
1938
|
+
return 0
|
|
1939
|
+
},
|
|
1917
1940
|
getCondition () {
|
|
1918
1941
|
// return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
1919
1942
|
return {
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/dexin/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|
|
@@ -141,7 +141,7 @@ let onlyChangeNewMeterGen = function * (model, data) {
|
|
|
141
141
|
cssqrq: '', // 上次售气日期,格式为YYYYMMDD
|
|
142
142
|
// sxrq: model.f_startdate, // 生效日期,价格管理中取
|
|
143
143
|
meterid: model.metermessage.f_meternumber, // 表号
|
|
144
|
-
dqdm:
|
|
144
|
+
dqdm: data.f_area_code, // 精益工业地区代码
|
|
145
145
|
klx: data.f_coding // 购气金额
|
|
146
146
|
}
|
|
147
147
|
params = Object.assign({}, Vue.CommonService.writeCardParams(cardParams), params)
|
|
@@ -399,12 +399,10 @@ let AddGasGen = function * (model, row) {
|
|
|
399
399
|
f_comments: model.f_reason,
|
|
400
400
|
f_type: model.f_type[0],
|
|
401
401
|
f_userinfo_id: row.f_userinfo_id,
|
|
402
|
-
f_user_id: row.f_user_id,
|
|
403
402
|
f_user_name: row.f_user_name,
|
|
404
403
|
f_operat_type: '换表补气',
|
|
405
404
|
f_describe: `${Vue.$login.f.name}对客户${row.f_user_name}进行换表补气操作`,
|
|
406
405
|
f_state: '有效',
|
|
407
|
-
|
|
408
406
|
f_operator: Vue.$login.f.name,
|
|
409
407
|
f_operatorid: Vue.$login.f.id,
|
|
410
408
|
f_orgid: Vue.$login.f.orgid,
|
|
@@ -413,7 +411,6 @@ let AddGasGen = function * (model, row) {
|
|
|
413
411
|
f_depname: Vue.$login.f.deps,
|
|
414
412
|
f_zoneid: Vue.$login.f.zoneid,
|
|
415
413
|
f_zones: Vue.$login.f.zones,
|
|
416
|
-
|
|
417
414
|
f_user_id: {
|
|
418
415
|
f_user_id: row.f_user_id,
|
|
419
416
|
f_remanent_gas: model.f_theremain_fillgas,
|
|
@@ -630,8 +627,8 @@ let ChangeMeterService = {
|
|
|
630
627
|
f_pregas: model.f_pregas,
|
|
631
628
|
f_totalcost: model.f_totalcost,
|
|
632
629
|
f_add_gas: model.f_add_gas,
|
|
633
|
-
f_total_gas: model.addtotal[0]==='是'?(row.f_total_gas - 0) + (model.f_pregas - 0):(row.f_total_gas - 0),
|
|
634
|
-
f_total_fee: model.addtotal[0]==='是'?(row.f_total_fee - 0) + (model.f_preamount - 0):(row.f_total_fee - 0),
|
|
630
|
+
f_total_gas: model.addtotal[0] === '是' ? (row.f_total_gas - 0) + (model.f_pregas - 0) : (row.f_total_gas - 0),
|
|
631
|
+
f_total_fee: model.addtotal[0] === '是' ? (row.f_total_fee - 0) + (model.f_preamount - 0) : (row.f_total_fee - 0),
|
|
635
632
|
f_payment: model.f_payment.toString(),
|
|
636
633
|
f_bill_style: model.f_print.toString(),
|
|
637
634
|
f_comments: model.f_comments,
|
|
@@ -693,8 +690,10 @@ let ChangeMeterService = {
|
|
|
693
690
|
f_user_id: row.f_user_id,
|
|
694
691
|
f_userfiles_id: row.f_userfiles_id,
|
|
695
692
|
version: row.version,
|
|
696
|
-
f_total_gas:model.addtotal[0]==='是'? (model.f_pregas - 0) + (row.f_total_gas - 0):(row.f_total_gas - 0),
|
|
697
|
-
f_total_fee: model.addtotal[0]==='是'?(model.f_preamount - 0) + (row.f_total_fee - 0):(row.f_total_fee - 0)
|
|
693
|
+
f_total_gas: model.addtotal[0] === '是' ? (model.f_pregas - 0) + (row.f_total_gas - 0) : (row.f_total_gas - 0),
|
|
694
|
+
f_total_fee: model.addtotal[0] === '是' ? (model.f_preamount - 0) + (row.f_total_fee - 0) : (row.f_total_fee - 0),
|
|
695
|
+
f_write_totalgas: model.addtotal[0] === '是' ? (model.f_preamount - 0) + (row.f_write_totalgas - 0) : (row.f_write_totalgas - 0),
|
|
696
|
+
f_write_totalfee: model.addtotal[0] === '是' ? (model.f_preamount - 0) + (row.f_write_totalfee - 0) : (row.f_write_totalfee - 0)
|
|
698
697
|
// f_meter_base: (model.f_pregas - 0) + (row.f_total_gas - 0),
|
|
699
698
|
}
|
|
700
699
|
}
|
|
@@ -709,8 +708,10 @@ let ChangeMeterService = {
|
|
|
709
708
|
f_user_id: row.f_user_id,
|
|
710
709
|
f_userfiles_id: row.f_userfiles_id,
|
|
711
710
|
version: row.version,
|
|
712
|
-
f_total_gas: model.addtotal[0]==='是'? (model.f_pregas - 0) + (row.f_total_gas - 0):(row.f_total_gas - 0),
|
|
713
|
-
f_total_fee: model.addtotal[0]==='是'? (model.f_preamount - 0) + (row.f_total_fee - 0):(row.f_total_fee - 0)
|
|
711
|
+
f_total_gas: model.addtotal[0] === '是' ? (model.f_pregas - 0) + (row.f_total_gas - 0) : (row.f_total_gas - 0),
|
|
712
|
+
f_total_fee: model.addtotal[0] === '是' ? (model.f_preamount - 0) + (row.f_total_fee - 0) : (row.f_total_fee - 0),
|
|
713
|
+
f_write_totalgas: model.addtotal[0] === '是' ? (model.f_preamount - 0) + (row.f_write_totalgas - 0) : (row.f_write_totalgas - 0),
|
|
714
|
+
f_write_totalfee: model.addtotal[0] === '是' ? (model.f_preamount - 0) + (row.f_write_totalfee - 0) : (row.f_write_totalfee - 0)
|
|
714
715
|
// f_meter_base: (model.f_pregas - 0) + (row.f_total_gas - 0),
|
|
715
716
|
}
|
|
716
717
|
}
|
|
@@ -727,8 +728,8 @@ let ChangeMeterService = {
|
|
|
727
728
|
f_user_id: model.f_user_id,
|
|
728
729
|
f_userfiles_id: row.f_userfiles_id,
|
|
729
730
|
f_meter_base: row.f_meter_base + (model.f_pregas - 0),
|
|
730
|
-
f_total_gas: model.addtotal[0]==='是'?(row.f_total_gas - 0) + (model.f_pregas - 0):(row.f_total_gas - 0),
|
|
731
|
-
f_total_fee: model.addtotal[0]==='是'?(row.f_total_fee - 0) + (model.f_preamount - 0):(row.f_total_fee - 0),
|
|
731
|
+
f_total_gas: model.addtotal[0] === '是' ? (row.f_total_gas - 0) + (model.f_pregas - 0) : (row.f_total_gas - 0),
|
|
732
|
+
f_total_fee: model.addtotal[0] === '是' ? (row.f_total_fee - 0) + (model.f_preamount - 0) : (row.f_total_fee - 0),
|
|
732
733
|
f_balance_gas: parseFloat(row.f_balance_gas) + parseFloat(model.f_pregas),
|
|
733
734
|
// f_meter_base: parseFloat(model.f_pregas) + parseFloat(row.f_meter_base),
|
|
734
735
|
version: row.version
|
|
@@ -745,7 +746,7 @@ let ChangeMeterService = {
|
|
|
745
746
|
f_userfiles_id: row.f_userfiles_id,
|
|
746
747
|
f_user_id: model.f_user_id,
|
|
747
748
|
f_meter_base: row.f_meter_base + (model.f_pregas - 0),
|
|
748
|
-
f_total_fee: model.addtotal[0]==='是'?(row.f_total_fee - 0) + (model.f_preamount - 0):(row.f_total_fee - 0),
|
|
749
|
+
f_total_fee: model.addtotal[0] === '是' ? (row.f_total_fee - 0) + (model.f_preamount - 0) : (row.f_total_fee - 0),
|
|
749
750
|
// f_meter_base: parseFloat(model.f_pregas) + parseFloat(row.f_meter_base),
|
|
750
751
|
version: row.version
|
|
751
752
|
}
|