sale-client 3.4.112 → 3.4.113
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 → 4.4}/fileChanges/last-build.bin +0 -0
- package/.gradle/{6.1.1 → 4.4}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/build/dev-server.js +3 -3
- package/{.gradle/5.2.1/gc.properties → npm} +0 -0
- package/package.json +1 -1
- package/src/components/FilesManage/MeterinfoTest.vue +904 -905
- package/src/components/FilesManage/TemplateManage.vue +167 -167
- package/src/components/FilesManage/UserGeneralInfoTest.vue +642 -640
- package/src/components/charge/business/CardChangeFill.vue +612 -612
- package/src/components/charge/business/CardMeterCenter.vue +899 -899
- package/src/components/charge/business/FilesComplete.vue +253 -253
- package/src/components/charge/business/refund/IOTRefund.vue +236 -236
- package/src/components/charge/business/refund/RefundManage.vue +28 -28
- package/src/components/charge/gasloss/gasLossOperate.vue +357 -357
- package/src/components/chargeNew/thirdSurplus.vue +2 -0
- package/src/components/revenue/Common/MeterMessage.vue +184 -184
- package/src/components/revenue/HandManager/MeterBookManage.vue +153 -153
- package/src/components/revenue/base/leftview/MixPriceInfo.vue +60 -60
- package/src/components/revenue/base/leftview/Mulitinfo.vue +74 -74
- package/src/components/revenue/base/leftview/SafeCheck.vue +311 -311
- package/src/components/revenue/base/leftview/Stairinfo.vue +156 -156
- package/src/components/revenue/base/leftview/meterinfodetail.vue +195 -195
- package/src/components/revenue/base/rightview/CardList.vue +477 -477
- package/src/components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage.vue +93 -93
- package/src/components/revenue/comprehen/ComprehenOperation/MeterEnable/EnableManage.vue +184 -184
- package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +5 -1
- package/src/components/revenue/comprehen/ComprehenOperation/removeTable.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +638 -638
- package/src/components/revenue/comprehen/Maintenance/revenue/StockListmain.vue +7 -7
- package/src/components/revenue/comprehen/Message/MessageList.vue +587 -587
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackList.vue +1 -1
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListManage.vue +1 -1
- package/src/components/revenue/comprehen/StairPrice/GasPriceList.vue +303 -303
- package/src/components/revenue/comprehen/replacement/replacementHandInfoRecord.vue +155 -155
- package/src/components/revenue/comprehen/wechatpay/WeChat.vue +62 -62
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +8 -4
- package/src/filiale/alashan/PrintBill.vue +116 -116
- package/src/filiale/jingwei/CardHand.vue +742 -742
- package/src/filiale/macheng/FilesManageNew/FileUserFiles.vue +743 -0
- package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +371 -371
- package/src/filiale/macheng/FilesManageNew/UserGeneralInfoTest.vue +596 -596
- package/src/filiale/macheng/UserEssentialInfoTest.vue +368 -366
- package/src/filiale/meihekou/MeterinfoTest.vue +0 -1
- package/src/filiale/meihekou/PrintBill.vue +140 -140
- package/src/filiale/meihekou/ReissueBill.vue +322 -322
- package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +0 -1
- package/src/filiale/qianneng/GasPriceList.vue +330 -330
- package/src/filiale/qianneng/HandManager.vue +1838 -1838
- package/src/filiale/qianneng/OtherChargeNew.vue +6 -2
- package/src/filiale/qianneng/sale.js +30 -32
- package/src/filiale/qingtongxia/UserGeneralInfoTest.vue +538 -533
- package/src/filiale/rongcheng/FilesManageNew/UserGeneralInfoTest.vue +608 -608
- package/src/filiale/rongchuang/OtherGas.vue +329 -329
- package/src/filiale/tongchuan/CardList.vue +482 -482
- package/src/filiale/tongchuan/MeterinfoTest.vue +892 -892
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/AutomaticPurse.vue +298 -298
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/CardHandRecord.vue +267 -267
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +240 -240
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChangeRecord.vue +235 -235
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +372 -372
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/DeveiceRecord.vue +251 -251
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/FillCardQueryUser.vue +209 -209
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/HandQueryUser.vue +365 -365
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +252 -252
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/OtherChargeQueryUser.vue +250 -250
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/RecordQueryUser.vue +249 -249
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/TransferQueryUser.vue +222 -222
- package/src/filiale/tongchuan/sale.js +107 -107
- package/src/filiale/zhongsheng/rightview/CardList.vue +492 -492
- package/src/filiale/zhongsheng/wechatpay/WeChatPayDetail.vue +469 -469
- package/src/main.js +1 -1
- package/src/plugins/CardService.js +1798 -1798
- package/src/plugins/ChangeMeterService.js +756 -756
- package/src/plugins/FileManageService.js +366 -366
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/6.1.1/gc.properties +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
|
@@ -167,7 +167,6 @@
|
|
|
167
167
|
<div class="col-sm-4 form-group" v-show="opteratormetrbook" >
|
|
168
168
|
<label for="f_position" class="font_normal_body" > 抄 表 册</label>
|
|
169
169
|
<v-select :value.sync="row.f_meter_book_num" v-model="row.f_meter_book_num"
|
|
170
|
-
:value-single="true"
|
|
171
170
|
:options='meterbookoptions' placeholder='抄表册'
|
|
172
171
|
close-on-select></v-select>
|
|
173
172
|
</div>
|
|
@@ -1,140 +1,140 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto form-horizontal" >
|
|
3
|
-
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
4
|
-
<header slot="modal-header" class="modal-header">
|
|
5
|
-
<h3 style="color:black" class="modal-title">收费发票</h3>
|
|
6
|
-
</header>
|
|
7
|
-
<article slot="modal-body" class="modal-body">
|
|
8
|
-
<!-- <div v-if="bill.data">-->
|
|
9
|
-
<!-- {{{bill.data}}}-->
|
|
10
|
-
<!-- </div>-->
|
|
11
|
-
<validator name='v'>
|
|
12
|
-
<form class="form-horizontal select-overspread">
|
|
13
|
-
<div class="row" style="display: flex;justify-content: center;" id='normal-bill' v-if="bill.data">
|
|
14
|
-
{{{bill.data}}}
|
|
15
|
-
</div>
|
|
16
|
-
</form>
|
|
17
|
-
</validator>
|
|
18
|
-
</article>
|
|
19
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
20
|
-
<div v-if="billConfig.hasBillManage">
|
|
21
|
-
<div class="col-sm-2" >
|
|
22
|
-
<span><strong>发票号:{{model.f_using_number}}</strong></span>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
26
|
-
<report-print id='normal-bill' top='5mm' left='5mm' width='90%' height='80%' :notrepeat="true" :showbtn="false" v-ref:reportprint></report-print>
|
|
27
|
-
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
|
|
28
|
-
</footer>
|
|
29
|
-
</modal>
|
|
30
|
-
</div>
|
|
31
|
-
</template>
|
|
32
|
-
<script>
|
|
33
|
-
import { DataModel, HttpResetClass } from 'vue-client'
|
|
34
|
-
|
|
35
|
-
let getBillData = async function (self, val) {
|
|
36
|
-
console.log('temp:', self)
|
|
37
|
-
let temp = {
|
|
38
|
-
reprint: "'正常'",
|
|
39
|
-
condition: self.data.id
|
|
40
|
-
}
|
|
41
|
-
if (self.data.fillgasid) {
|
|
42
|
-
temp.fillgasid = `"${self.data.fillgasid}"`
|
|
43
|
-
}
|
|
44
|
-
if (self.data.f_meter_type == '气量卡表') {
|
|
45
|
-
let http = new HttpResetClass()
|
|
46
|
-
let param = {
|
|
47
|
-
model: {f_userfiles_id: self.data.f_userfiles_id},
|
|
48
|
-
isGasValue: 0,
|
|
49
|
-
value: 0
|
|
50
|
-
}
|
|
51
|
-
let a = await http.load('POST', 'rs/logic/commonCal', {data: param}, {resolveMsg: null, rejectMsg: '获取阶梯使用情况出错'})
|
|
52
|
-
let value = a.data
|
|
53
|
-
let jt = a.data.chargeprice.length
|
|
54
|
-
if (jt > 1) {
|
|
55
|
-
value.f_hasuse1 = (value.sumamount >= value.f_stair1ceiling ? value.f_stair1ceiling : value.sumamount).toFixed(4)
|
|
56
|
-
value.f_hasuse2 = (value.sumamount >= value.f_stair2ceiling ? value.f_stair2ceiling - value.f_stair1ceiling : value.sumamount - value.f_stair1ceiling).toFixed(4)
|
|
57
|
-
value.f_hasuse3 = (value.sumamount >= value.f_stair3ceiling ? value.f_stair3ceiling - value.f_stair2ceiling : value.sumamount - value.f_stair2ceiling).toFixed(4)
|
|
58
|
-
if (value.f_hasuse2 < 0) value.f_hasuse2 = 0
|
|
59
|
-
if (value.f_hasuse3 < 0) value.f_hasuse3 = 0
|
|
60
|
-
} else {
|
|
61
|
-
let parm1 = {
|
|
62
|
-
items: 'f_pregas',
|
|
63
|
-
tablename: 't_sellinggas',
|
|
64
|
-
condition: `id=${self.data.id}`
|
|
65
|
-
}
|
|
66
|
-
let b = await http.load('POST', 'rs/sql/querySingleTable', {data: parm1}, {resolveMsg: null, rejectMsg: '获取同价使用情况出错'})
|
|
67
|
-
value.f_hasuse1 = b.data[0].f_pregas
|
|
68
|
-
value.f_hasuse2 = 0
|
|
69
|
-
value.f_hasuse3 = 0
|
|
70
|
-
value.f_stair1price = value.chargeprice[0].f_price
|
|
71
|
-
value.f_stair2price = 0
|
|
72
|
-
value.f_stair3price = 0
|
|
73
|
-
}
|
|
74
|
-
temp = Object.assign(temp, value)
|
|
75
|
-
}
|
|
76
|
-
console.log('self.billData.url:', self.billData.url)
|
|
77
|
-
self.bill = new DataModel(self.billData.url, temp)
|
|
78
|
-
await self.bill.search(self.data.id)
|
|
79
|
-
// 获取发票号
|
|
80
|
-
self.model.f_using_number = self.billData.bill.number
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export default {
|
|
84
|
-
title: '收费发票',
|
|
85
|
-
data () {
|
|
86
|
-
return {
|
|
87
|
-
model: {
|
|
88
|
-
f_using_number: null
|
|
89
|
-
},
|
|
90
|
-
bill: {},
|
|
91
|
-
messShow: false
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
props: ['show', 'data', 'billData', 'billConfig'],
|
|
95
|
-
ready () {
|
|
96
|
-
console.log('打票', this.billConfig, this.billData)
|
|
97
|
-
},
|
|
98
|
-
methods: {
|
|
99
|
-
cancel () {
|
|
100
|
-
this.$dispatch('toggle')
|
|
101
|
-
},
|
|
102
|
-
|
|
103
|
-
async print () {
|
|
104
|
-
// 更新系统发票
|
|
105
|
-
try {
|
|
106
|
-
if (this.billConfig.hasBillManage) {
|
|
107
|
-
if (this.data.f_bill_type != '清算单') { await this.$CommonService.openPaperBill(this.data.id, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常') }
|
|
108
|
-
} else {
|
|
109
|
-
await this.$resetpost('rs/logic/sale_billReprint', {data: this.data}, {resolveMsg: null, rejectMsg: '票据补打出错!!'})
|
|
110
|
-
}
|
|
111
|
-
this.$refs.reportprint.print()
|
|
112
|
-
} catch (error) {
|
|
113
|
-
this.$dispatch('refresh')
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
watch: {
|
|
118
|
-
'show' (val) {
|
|
119
|
-
if (val) {
|
|
120
|
-
getBillData(this, val).then(() => {
|
|
121
|
-
this.$emit('ready')
|
|
122
|
-
}).catch((error) => {
|
|
123
|
-
this.$emit('error', error)
|
|
124
|
-
})
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
events: {
|
|
129
|
-
'print' () {
|
|
130
|
-
// 对票据明细进行更新或插入操作
|
|
131
|
-
this.$dispatch('printok', '发票打印', this.data)
|
|
132
|
-
},
|
|
133
|
-
'print-error' () {
|
|
134
|
-
this.$dispatch('error', '发票打印', this.data, null)
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
</script>
|
|
139
|
-
<style >
|
|
140
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto form-horizontal" >
|
|
3
|
+
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
4
|
+
<header slot="modal-header" class="modal-header">
|
|
5
|
+
<h3 style="color:black" class="modal-title">收费发票</h3>
|
|
6
|
+
</header>
|
|
7
|
+
<article slot="modal-body" class="modal-body">
|
|
8
|
+
<!-- <div v-if="bill.data">-->
|
|
9
|
+
<!-- {{{bill.data}}}-->
|
|
10
|
+
<!-- </div>-->
|
|
11
|
+
<validator name='v'>
|
|
12
|
+
<form class="form-horizontal select-overspread">
|
|
13
|
+
<div class="row" style="display: flex;justify-content: center;" id='normal-bill' v-if="bill.data">
|
|
14
|
+
{{{bill.data}}}
|
|
15
|
+
</div>
|
|
16
|
+
</form>
|
|
17
|
+
</validator>
|
|
18
|
+
</article>
|
|
19
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
20
|
+
<div v-if="billConfig.hasBillManage">
|
|
21
|
+
<div class="col-sm-2" >
|
|
22
|
+
<span><strong>发票号:{{model.f_using_number}}</strong></span>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
26
|
+
<report-print id='normal-bill' top='5mm' left='5mm' width='90%' height='80%' :notrepeat="true" :showbtn="false" v-ref:reportprint></report-print>
|
|
27
|
+
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
|
|
28
|
+
</footer>
|
|
29
|
+
</modal>
|
|
30
|
+
</div>
|
|
31
|
+
</template>
|
|
32
|
+
<script>
|
|
33
|
+
import { DataModel, HttpResetClass } from 'vue-client'
|
|
34
|
+
|
|
35
|
+
let getBillData = async function (self, val) {
|
|
36
|
+
console.log('temp:', self)
|
|
37
|
+
let temp = {
|
|
38
|
+
reprint: "'正常'",
|
|
39
|
+
condition: self.data.id
|
|
40
|
+
}
|
|
41
|
+
if (self.data.fillgasid) {
|
|
42
|
+
temp.fillgasid = `"${self.data.fillgasid}"`
|
|
43
|
+
}
|
|
44
|
+
if (self.data.f_meter_type == '气量卡表') {
|
|
45
|
+
let http = new HttpResetClass()
|
|
46
|
+
let param = {
|
|
47
|
+
model: {f_userfiles_id: self.data.f_userfiles_id},
|
|
48
|
+
isGasValue: 0,
|
|
49
|
+
value: 0
|
|
50
|
+
}
|
|
51
|
+
let a = await http.load('POST', 'rs/logic/commonCal', {data: param}, {resolveMsg: null, rejectMsg: '获取阶梯使用情况出错'})
|
|
52
|
+
let value = a.data
|
|
53
|
+
let jt = a.data.chargeprice.length
|
|
54
|
+
if (jt > 1) {
|
|
55
|
+
value.f_hasuse1 = (value.sumamount >= value.f_stair1ceiling ? value.f_stair1ceiling : value.sumamount).toFixed(4)
|
|
56
|
+
value.f_hasuse2 = (value.sumamount >= value.f_stair2ceiling ? value.f_stair2ceiling - value.f_stair1ceiling : value.sumamount - value.f_stair1ceiling).toFixed(4)
|
|
57
|
+
value.f_hasuse3 = (value.sumamount >= value.f_stair3ceiling ? value.f_stair3ceiling - value.f_stair2ceiling : value.sumamount - value.f_stair2ceiling).toFixed(4)
|
|
58
|
+
if (value.f_hasuse2 < 0) value.f_hasuse2 = 0
|
|
59
|
+
if (value.f_hasuse3 < 0) value.f_hasuse3 = 0
|
|
60
|
+
} else {
|
|
61
|
+
let parm1 = {
|
|
62
|
+
items: 'f_pregas',
|
|
63
|
+
tablename: 't_sellinggas',
|
|
64
|
+
condition: `id=${self.data.id}`
|
|
65
|
+
}
|
|
66
|
+
let b = await http.load('POST', 'rs/sql/querySingleTable', {data: parm1}, {resolveMsg: null, rejectMsg: '获取同价使用情况出错'})
|
|
67
|
+
value.f_hasuse1 = b.data[0].f_pregas
|
|
68
|
+
value.f_hasuse2 = 0
|
|
69
|
+
value.f_hasuse3 = 0
|
|
70
|
+
value.f_stair1price = value.chargeprice[0].f_price
|
|
71
|
+
value.f_stair2price = 0
|
|
72
|
+
value.f_stair3price = 0
|
|
73
|
+
}
|
|
74
|
+
temp = Object.assign(temp, value)
|
|
75
|
+
}
|
|
76
|
+
console.log('self.billData.url:', self.billData.url)
|
|
77
|
+
self.bill = new DataModel(self.billData.url, temp)
|
|
78
|
+
await self.bill.search(self.data.id)
|
|
79
|
+
// 获取发票号
|
|
80
|
+
self.model.f_using_number = self.billData.bill.number
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export default {
|
|
84
|
+
title: '收费发票',
|
|
85
|
+
data () {
|
|
86
|
+
return {
|
|
87
|
+
model: {
|
|
88
|
+
f_using_number: null
|
|
89
|
+
},
|
|
90
|
+
bill: {},
|
|
91
|
+
messShow: false
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
props: ['show', 'data', 'billData', 'billConfig'],
|
|
95
|
+
ready () {
|
|
96
|
+
console.log('打票', this.billConfig, this.billData)
|
|
97
|
+
},
|
|
98
|
+
methods: {
|
|
99
|
+
cancel () {
|
|
100
|
+
this.$dispatch('toggle')
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
async print () {
|
|
104
|
+
// 更新系统发票
|
|
105
|
+
try {
|
|
106
|
+
if (this.billConfig.hasBillManage) {
|
|
107
|
+
if (this.data.f_bill_type != '清算单') { await this.$CommonService.openPaperBill(this.data.id, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常') }
|
|
108
|
+
} else {
|
|
109
|
+
await this.$resetpost('rs/logic/sale_billReprint', {data: this.data}, {resolveMsg: null, rejectMsg: '票据补打出错!!'})
|
|
110
|
+
}
|
|
111
|
+
this.$refs.reportprint.print()
|
|
112
|
+
} catch (error) {
|
|
113
|
+
this.$dispatch('refresh')
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
watch: {
|
|
118
|
+
'show' (val) {
|
|
119
|
+
if (val) {
|
|
120
|
+
getBillData(this, val).then(() => {
|
|
121
|
+
this.$emit('ready')
|
|
122
|
+
}).catch((error) => {
|
|
123
|
+
this.$emit('error', error)
|
|
124
|
+
})
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
events: {
|
|
129
|
+
'print' () {
|
|
130
|
+
// 对票据明细进行更新或插入操作
|
|
131
|
+
this.$dispatch('printok', '发票打印', this.data)
|
|
132
|
+
},
|
|
133
|
+
'print-error' () {
|
|
134
|
+
this.$dispatch('error', '发票打印', this.data, null)
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
</script>
|
|
139
|
+
<style >
|
|
140
|
+
</style>
|