sale-client 3.6.479 → 3.6.481
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/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/.gradle/file-system.probe +0 -0
- package/build/dev-server.js +4 -0
- package/package.json +1 -1
- package/src/components/charge/business/OtherCharge.vue +1 -1
- package/src/components/common/ImgSelfSalePlus.vue +221 -0
- package/src/components/revenue/Common/PaymentCode.vue +5 -0
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPayment.vue +51 -0
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentConstrast.vue +289 -0
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -0
- package/src/filiale/bayan/FileUserFiles.vue +2 -2
- package/src/filiale/bayan/SecuritycheckInfo.vue +129 -0
- package/src/filiale/bayan/UserInfoDetailManageNew.vue +14 -1
- package/src/filiale/bayan/hiddenDanger.vue +155 -0
- package/src/filiale/ganquan/components/UserFiles/UserGeneralInfoTest.vue +0 -1
- package/src/filiale/gehua/handAccount/handAccount.vue +369 -0
- package/src/filiale/gehua/handAccount/handAccountManage.vue +101 -0
- package/src/filiale/gehua/handAccount/handAccountQuery.vue +102 -0
- package/src/filiale/gehua/handAccount/handAccountQueryList.vue +207 -0
- package/src/filiale/gehua/handAccount/handAccountQueryPrint.vue +268 -0
- package/src/filiale/gehua/handAccount/handList.vue +429 -0
- package/src/filiale/gehua/sale.js +7 -0
- package/src/filiale/ningjin/UserBaseInfoNew.vue +1 -1
- package/src/filiale/ningjin/WatchCollection.vue +1 -1
- package/src/filiale/qianneng/OtherChargeNew.vue +17 -1
- package/src/filiale/qianneng/PaymentCode.vue +167 -0
- package/src/filiale/qianneng/sale.js +2 -0
- package/src/filiale/tongchuan/bill/EticketPrint.vue +0 -1
- package/src/filiale/yangchun/EticketV4/EticketOpenPage.vue +3 -3
- package/src/filiale/yuncheng/machineHandAudit.vue +1 -1
- package/src/main.js +1 -1
- package/src/plugins/LogicService.js +45 -4
- package/src/sale.js +14 -0
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Wed Jan 22 10:06:39 CST 2025
|
|
2
2
|
gradle.version=5.2.1
|
|
Binary file
|
package/build/dev-server.js
CHANGED
package/package.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
|
-
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="row" :money="model.f_collection"></payment-code>
|
|
132
|
+
<payment-code v-ref:paymentcode :payment="model.f_payment" type ="其他收费" :row="row" :money="model.f_collection"></payment-code>
|
|
133
133
|
</div>
|
|
134
134
|
<upload :blodid="blodid" v-if="config.showupload" isremark="true" fusetype="其他收费"></upload>
|
|
135
135
|
</template>
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<img :src="src" :alt="alt" @click.stop="open()" :width="width" :height="height" title="点击查看图片"
|
|
4
|
+
:id="'vc-imgself-img-'+attach">
|
|
5
|
+
<div class="full-img" v-show="show" @contextmenu.prevent.stop="clearStyle">
|
|
6
|
+
<img :src="src2" alt="" class="img-state" :alt="alt || ''" @mousewheel="bigimg(this)" id="image" draggable="false"
|
|
7
|
+
@mousedown.prevent="dropImage" style="position:fixed">
|
|
8
|
+
<div class="btns row">
|
|
9
|
+
<button type="button" name="button" class="btn btn-primary" @click.stop="leftRevolve()">向左旋转</button>
|
|
10
|
+
<button type="button" name="button" class="btn btn-primary" @click.stop="rightRevolve()">向右旋转</button>
|
|
11
|
+
<button type="button" name="button" class="btn btn-primary" @click.stop="close()">关闭</button>
|
|
12
|
+
<button type="button" name="button" class="btn btn-primary" @click.stop="previousPage()">上一页</button>
|
|
13
|
+
<button type="button" name="button" class="btn btn-primary" @click.stop="nextPage()">下一页</button>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
import $ from 'jquery'
|
|
21
|
+
|
|
22
|
+
export default {
|
|
23
|
+
props: {
|
|
24
|
+
src: {
|
|
25
|
+
type: String
|
|
26
|
+
},
|
|
27
|
+
width: {
|
|
28
|
+
default: 60
|
|
29
|
+
},
|
|
30
|
+
height: {
|
|
31
|
+
default: 60
|
|
32
|
+
},
|
|
33
|
+
alt: {
|
|
34
|
+
default: '图片加载失败'
|
|
35
|
+
},
|
|
36
|
+
attach: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: 'name'
|
|
39
|
+
},
|
|
40
|
+
list: {
|
|
41
|
+
type: Array,
|
|
42
|
+
default: []
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
data() {
|
|
46
|
+
return {
|
|
47
|
+
show: false,
|
|
48
|
+
deg: 0,
|
|
49
|
+
odiv: null,
|
|
50
|
+
powerw: 1.0,
|
|
51
|
+
container:null,
|
|
52
|
+
positionX: null,
|
|
53
|
+
positionY: null,
|
|
54
|
+
powerh: 1.0,
|
|
55
|
+
src2:""
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
ready(){
|
|
59
|
+
console.log('什么时候进来的')
|
|
60
|
+
const elementsToMount = document.getElementsByClassName("full-img");
|
|
61
|
+
this.container = document.createElement('div');
|
|
62
|
+
this.container.style.height = '0px'
|
|
63
|
+
// 将要挂载的元素放入新创建的 div中
|
|
64
|
+
for (let i = 0; i < elementsToMount.length; i++) {
|
|
65
|
+
this.container.appendChild(elementsToMount[i]);
|
|
66
|
+
}
|
|
67
|
+
// 将新创建的 div 挂载到 body 上
|
|
68
|
+
document.body.appendChild(this.container);
|
|
69
|
+
this.src2=this.src
|
|
70
|
+
},
|
|
71
|
+
beforeDestroy(){
|
|
72
|
+
// 销毁挂载的
|
|
73
|
+
if (this.container && this.container.parentNode) {
|
|
74
|
+
this.container.parentNode.removeChild(this.container);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
methods: {
|
|
78
|
+
nextPage() {
|
|
79
|
+
console.log(this.list)
|
|
80
|
+
this.src2 = this.list
|
|
81
|
+
// //当前图片,是最后一张图片
|
|
82
|
+
// if (this.src2=== this.list[this.list.length - 1].f_overall_path) {
|
|
83
|
+
// this.src2= this.list[0].f_overall_path
|
|
84
|
+
// } else {
|
|
85
|
+
// for (let i = 0; i < this.list.length; i++) {
|
|
86
|
+
// if (this.src2=== this.list[i].f_overall_path) {
|
|
87
|
+
// this.src2= this.list[i + 1].f_overall_path
|
|
88
|
+
// break
|
|
89
|
+
// }
|
|
90
|
+
// }
|
|
91
|
+
// }
|
|
92
|
+
|
|
93
|
+
},
|
|
94
|
+
previousPage() {
|
|
95
|
+
console.log(this.list)
|
|
96
|
+
this.src2 = this.list
|
|
97
|
+
// //当前图片,是第一张图片
|
|
98
|
+
// if (this.src2 === this.list[0].f_overall_path) {
|
|
99
|
+
// this.src2= this.list[this.list.length - 1].f_overall_path
|
|
100
|
+
// } else {
|
|
101
|
+
// for (let i = 0; i < this.list.length; i++) {
|
|
102
|
+
// if (this.src2=== this.list[i].f_overall_path) {
|
|
103
|
+
// this.src2= this.list[i - 1].f_overall_path
|
|
104
|
+
// break
|
|
105
|
+
// }
|
|
106
|
+
// }
|
|
107
|
+
// }
|
|
108
|
+
},
|
|
109
|
+
clearStyle(e){
|
|
110
|
+
if (e === null) {
|
|
111
|
+
return
|
|
112
|
+
}
|
|
113
|
+
this.odiv = document.getElementById('image')
|
|
114
|
+
this.odiv.style.left = 500 + 'px';
|
|
115
|
+
this.odiv.style.top = -150 + 'px';
|
|
116
|
+
},
|
|
117
|
+
bigimg() {
|
|
118
|
+
if (event.wheelDelta > 0) {
|
|
119
|
+
this.powerh = this.powerh * 1.15
|
|
120
|
+
this.powerw = 1.15 * this.powerw
|
|
121
|
+
} else {
|
|
122
|
+
this.powerh = this.powerh * 0.85
|
|
123
|
+
this.powerw = 0.85 * this.powerw
|
|
124
|
+
}
|
|
125
|
+
this.imgState()
|
|
126
|
+
},
|
|
127
|
+
dropImage(e) {
|
|
128
|
+
if (e === null) {
|
|
129
|
+
return
|
|
130
|
+
}
|
|
131
|
+
this.odiv = e.target;
|
|
132
|
+
let disX = e.clientX - this.odiv.offsetLeft;
|
|
133
|
+
let disY = e.clientY - this.odiv.offsetTop;
|
|
134
|
+
document.onmousemove = (e) => {
|
|
135
|
+
let left = e.clientX - disX;
|
|
136
|
+
let top = e.clientY - disY;
|
|
137
|
+
this.positionX = top;
|
|
138
|
+
this.positionY = left;
|
|
139
|
+
this.odiv.style.left = left + 'px';
|
|
140
|
+
this.odiv.style.top = top + 'px';
|
|
141
|
+
};
|
|
142
|
+
document.onmouseup = (e) => {
|
|
143
|
+
document.onmousemove = null;
|
|
144
|
+
document.onmouseup = null;
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
open() {
|
|
148
|
+
this.deg = 0
|
|
149
|
+
this.powerw = 0.7
|
|
150
|
+
this.powerh = 0.8
|
|
151
|
+
$('.full-img').css({
|
|
152
|
+
'transform': 'rotate(' + this.deg + 'deg) scale(' + this.powerh + ' ,' + this.powerw + ')'
|
|
153
|
+
})
|
|
154
|
+
$('.container').css({
|
|
155
|
+
'opacity': '1'
|
|
156
|
+
})
|
|
157
|
+
this.show = true
|
|
158
|
+
},
|
|
159
|
+
close() {
|
|
160
|
+
this.show = false
|
|
161
|
+
},
|
|
162
|
+
leftRevolve() {
|
|
163
|
+
//tag
|
|
164
|
+
this.deg -= 90
|
|
165
|
+
this.imgState()
|
|
166
|
+
},
|
|
167
|
+
rightRevolve() {
|
|
168
|
+
//tag
|
|
169
|
+
this.deg += 90
|
|
170
|
+
this.imgState()
|
|
171
|
+
},
|
|
172
|
+
imgState() {
|
|
173
|
+
$('.img-state').css({
|
|
174
|
+
'transform': 'rotate(' + this.deg + 'deg) scale(' + this.powerh + ' ,' + this.powerw + ')'
|
|
175
|
+
})
|
|
176
|
+
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
watch:{
|
|
180
|
+
'src'(val){
|
|
181
|
+
if(val){
|
|
182
|
+
this.src2 = val
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
</script>
|
|
188
|
+
<style media="screen" scoped>
|
|
189
|
+
.full-img {
|
|
190
|
+
position: fixed;
|
|
191
|
+
width: 100%;
|
|
192
|
+
/*height: 1000px;*/
|
|
193
|
+
overflow: hidden;
|
|
194
|
+
top: 0;
|
|
195
|
+
bottom: 0;
|
|
196
|
+
left: 0;
|
|
197
|
+
right: 0;
|
|
198
|
+
z-index: 1070;
|
|
199
|
+
opacity: 1;
|
|
200
|
+
background: rgba(0, 0, 0, 0.8);
|
|
201
|
+
display: flex;
|
|
202
|
+
flex-direction: column;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
align-items: center;
|
|
205
|
+
color: #fff;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.btns {
|
|
209
|
+
position: fixed;
|
|
210
|
+
bottom: 100px;
|
|
211
|
+
height: auto;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.btns button {
|
|
215
|
+
margin-right: 20px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.img-state {
|
|
219
|
+
|
|
220
|
+
}
|
|
221
|
+
</style>
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
props: {
|
|
26
26
|
// 付款方式
|
|
27
27
|
payment: {},
|
|
28
|
+
// 业务类型
|
|
29
|
+
type: {},
|
|
28
30
|
// 用户信息
|
|
29
31
|
row: {},
|
|
30
32
|
// 付款金额
|
|
@@ -77,6 +79,9 @@
|
|
|
77
79
|
this.paymentCodeShow = false
|
|
78
80
|
let data = {
|
|
79
81
|
f_userinfo_id: this.row ? this.row.f_userinfo_id : null,
|
|
82
|
+
type:this.type?this.type:'燃气费',
|
|
83
|
+
f_operatorid:this.$login.f.id,
|
|
84
|
+
f_operator:this.$login.f.name,
|
|
80
85
|
f_user_id: this.row ? this.row.f_user_id : null,
|
|
81
86
|
f_userfiles_id: this.row ? this.row.f_userfiles_id : null,
|
|
82
87
|
money: this.money,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<tab-button v-ref:list>
|
|
3
|
+
<tabs header="聚合支付对账汇总">
|
|
4
|
+
<qr-payment-constrast @deal-msg="dealMsg"></qr-payment-constrast>
|
|
5
|
+
</tabs>
|
|
6
|
+
<tabs header="聚合支付对账明细">
|
|
7
|
+
<qr-payment-details @deal-msg="dealMsg"></qr-payment-details>
|
|
8
|
+
</tabs>
|
|
9
|
+
</tab-button>
|
|
10
|
+
</template>
|
|
11
|
+
<script>
|
|
12
|
+
import TabButton from './../../../comprehen/common/TabButton.vue'
|
|
13
|
+
import Tabs from './../../../comprehen/common/Tabs.vue'
|
|
14
|
+
import QrPayment from './QrPaymentDetailed.vue'
|
|
15
|
+
import QrPaymentConstrast from './QrPaymentConstrast.vue'
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
title: '聚合支付对账',
|
|
19
|
+
data () {
|
|
20
|
+
return {// 页面开关
|
|
21
|
+
f_start_date: '',
|
|
22
|
+
f_end_date: '',
|
|
23
|
+
listpage: true,
|
|
24
|
+
width: {
|
|
25
|
+
left: '100%',
|
|
26
|
+
right: '0%'
|
|
27
|
+
},
|
|
28
|
+
// searchNumber:'',
|
|
29
|
+
rowData: {},
|
|
30
|
+
show: [true]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
components: {QrPaymentConstrast, Tabs, TabButton, QrPayment},
|
|
34
|
+
ready () {
|
|
35
|
+
console.log(this.$refs.list)
|
|
36
|
+
console.log('聚合支付对账')
|
|
37
|
+
},
|
|
38
|
+
methods: {
|
|
39
|
+
cancel (obj) {
|
|
40
|
+
this.listpage = true
|
|
41
|
+
},
|
|
42
|
+
dealMsg (obj) {
|
|
43
|
+
this.rowData = obj
|
|
44
|
+
this.listpage = false
|
|
45
|
+
console.log(obj.model)
|
|
46
|
+
this.f_start_date = obj.model.startDate
|
|
47
|
+
this.f_end_date = obj.model.endDate
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
</script>
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 98%">
|
|
3
|
+
<div class="flex">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-sm-2 form-group">
|
|
9
|
+
<label class="font_normal_body">组织机构</label>
|
|
10
|
+
<res-select :initresid='$parent.$parent.curorgid'
|
|
11
|
+
@res-select="$parent.$parent.getorg"
|
|
12
|
+
class="select select_list"
|
|
13
|
+
restype='organization'
|
|
14
|
+
style="width: 60%">
|
|
15
|
+
</res-select>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group">
|
|
18
|
+
<label class="font_normal_body">付款方式</label>
|
|
19
|
+
<v-select
|
|
20
|
+
v-model="model.payment"
|
|
21
|
+
placeholder='付款方式'
|
|
22
|
+
condition="f_payment = '{}'"
|
|
23
|
+
:value.sync="model.payment"
|
|
24
|
+
:options='$parent.$parent.payment'
|
|
25
|
+
close-on-select></v-select>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body">银行名称</label>
|
|
29
|
+
<v-select
|
|
30
|
+
v-model="model.bankName"
|
|
31
|
+
placeholder='支付类型'
|
|
32
|
+
condition="f_bank_type = '{}'"
|
|
33
|
+
:value.sync="model.bankName"
|
|
34
|
+
:options='$parent.$parent.bankName'
|
|
35
|
+
close-on-select></v-select>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="col-sm-2 form-group">
|
|
38
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
39
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
40
|
+
v-model="model.startDate" style="width: 60%"
|
|
41
|
+
:value.sync="model.startDate"
|
|
42
|
+
:disabled-days-of-Week="[]"
|
|
43
|
+
:format="'yyyy-MM-dd'"
|
|
44
|
+
:show-reset-button="reset">
|
|
45
|
+
</datepicker>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="col-sm-2 form-group">
|
|
48
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
49
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
50
|
+
v-model="model.endDate" style="width: 60%"
|
|
51
|
+
:value.sync="model.endDate"
|
|
52
|
+
:disabled-days-of-Week="[]"
|
|
53
|
+
:format="'yyyy-MM-dd'"
|
|
54
|
+
:show-reset-button="reset">
|
|
55
|
+
</datepicker>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="span" style="float:right;">
|
|
58
|
+
<button class="button_search button_spacing width-60" @click="search()" v-el:cx>查询</button>
|
|
59
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
60
|
+
:field="$parent.$parent.getfield"
|
|
61
|
+
:footer="$parent.$parent.footer"
|
|
62
|
+
:header="$parent.$parent.other"
|
|
63
|
+
sqlurl="rs/logic/wechatExport" sql-name="QrPaySummary"
|
|
64
|
+
template-name='聚合支付对账汇总查询导出' :choose-col="true"></export-excel>
|
|
65
|
+
<div
|
|
66
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
67
|
+
@click="$parent.$parent.hidden()"
|
|
68
|
+
class="button_spacing"
|
|
69
|
+
style="float: right">
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</criteria>
|
|
75
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
76
|
+
<template partial='head'>
|
|
77
|
+
<tr>
|
|
78
|
+
<th>序号</th>
|
|
79
|
+
<th>分公司名称</th>
|
|
80
|
+
<th>银行金额</th>
|
|
81
|
+
<th>收费记录金额</th>
|
|
82
|
+
<th>差额</th>
|
|
83
|
+
<th style="white-space: nowrap;">交易日期</th>
|
|
84
|
+
</tr>
|
|
85
|
+
</template>
|
|
86
|
+
<template partial='body'>
|
|
87
|
+
<td style="text-align: center;">
|
|
88
|
+
<nobr>{{$index+1}}</nobr>
|
|
89
|
+
</td>
|
|
90
|
+
<td style="text-align: center;">
|
|
91
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
92
|
+
</td>
|
|
93
|
+
<td style="text-align: center;">
|
|
94
|
+
<nobr>{{row.f_total_fee}}</nobr>
|
|
95
|
+
</td>
|
|
96
|
+
<td style="text-align: center;">
|
|
97
|
+
<nobr>{{row.f_collection}}</nobr>
|
|
98
|
+
</td>
|
|
99
|
+
<td style="text-align: center;">
|
|
100
|
+
<nobr>{{((row.f_total_fee-0) - (row.f_collection-0)).toFixed(2)}}</nobr>
|
|
101
|
+
</td>
|
|
102
|
+
<td style="text-align: center;">
|
|
103
|
+
<nobr>{{row.f_time_end}}</nobr>
|
|
104
|
+
</td>
|
|
105
|
+
</template>
|
|
106
|
+
</data-grid>
|
|
107
|
+
</criteria-paged>
|
|
108
|
+
<table class="table-hover">
|
|
109
|
+
<tr style="position: relative" class="table-bordered">
|
|
110
|
+
<td
|
|
111
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
112
|
+
汇总信息
|
|
113
|
+
</td>
|
|
114
|
+
<td
|
|
115
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
116
|
+
银行金额汇总: {{sumsmodel.f_total_fee}}
|
|
117
|
+
</td>
|
|
118
|
+
<td
|
|
119
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
120
|
+
收费金额汇总: {{sumsmodel.f_collection}}
|
|
121
|
+
</td>
|
|
122
|
+
<td
|
|
123
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
124
|
+
差额汇总: {{((sumsmodel.f_total_fee -0) - (sumsmodel.f_collection -0)).toFixed(2)}}
|
|
125
|
+
</td>
|
|
126
|
+
</tr>
|
|
127
|
+
</table>
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
</template>
|
|
131
|
+
<script>
|
|
132
|
+
import {PagedList} from 'vue-client'
|
|
133
|
+
|
|
134
|
+
let readyGen = async function (self) {
|
|
135
|
+
self.getfield = self.config.excelHeaders
|
|
136
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
137
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
138
|
+
|
|
139
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export default {
|
|
143
|
+
title: '聚合支付对账',
|
|
144
|
+
data () {
|
|
145
|
+
return {
|
|
146
|
+
model: new PagedList('rs/sql/QrPaySummary', 20,
|
|
147
|
+
{}, {f_collection: '', f_total_fee: ''}),
|
|
148
|
+
config: {
|
|
149
|
+
// 导出列要和查询列相同
|
|
150
|
+
excelHeaders: {
|
|
151
|
+
'f_orgname': '分公司名称',
|
|
152
|
+
'f_total_fee': '银行金额',
|
|
153
|
+
'f_collection': '收费记录金额',
|
|
154
|
+
'f_time_end': '交易日期'
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
criteriaShow: false,
|
|
158
|
+
getfield: {},
|
|
159
|
+
condition2: '',
|
|
160
|
+
depresid: [],
|
|
161
|
+
userresid: [],
|
|
162
|
+
f_orgid: this.$login.f.orgid,
|
|
163
|
+
f_depid: this.$login.f.depids,
|
|
164
|
+
f_operatorid: this.$login.f.id,
|
|
165
|
+
operatorid: [],
|
|
166
|
+
depid: [],
|
|
167
|
+
orgname: '',
|
|
168
|
+
|
|
169
|
+
other: [],
|
|
170
|
+
footer: [],
|
|
171
|
+
// 合计数据
|
|
172
|
+
sumsmodel: {},
|
|
173
|
+
msg: [],
|
|
174
|
+
// 公司下拉
|
|
175
|
+
curorgid: [this.$login.f.orgid]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
props: [],
|
|
179
|
+
ready () {
|
|
180
|
+
readyGen(this)
|
|
181
|
+
},
|
|
182
|
+
methods: {
|
|
183
|
+
hidden () {
|
|
184
|
+
this.criteriaShow = !this.criteriaShow
|
|
185
|
+
},
|
|
186
|
+
getRes (obj) {
|
|
187
|
+
this.orgname = obj.res[0]
|
|
188
|
+
this.depresid = obj.resids
|
|
189
|
+
this.f_orgid = obj.resids
|
|
190
|
+
console.log('-----------------obj', obj)
|
|
191
|
+
},
|
|
192
|
+
getdep (obj, val) {
|
|
193
|
+
this.depname = val[0]
|
|
194
|
+
this.userresid = obj
|
|
195
|
+
this.f_depid = obj
|
|
196
|
+
},
|
|
197
|
+
getuser (obj, val) {
|
|
198
|
+
this.operatorname = val[0]
|
|
199
|
+
this.f_operatorid = obj
|
|
200
|
+
},
|
|
201
|
+
dealmsg (val) {
|
|
202
|
+
val.model = this.model.model
|
|
203
|
+
this.$dispatch('deal-msg', val)
|
|
204
|
+
},
|
|
205
|
+
getotherfooter () {
|
|
206
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
207
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
208
|
+
this.other = []
|
|
209
|
+
this.footer = []
|
|
210
|
+
// let exportdata = this.getCondition;
|
|
211
|
+
let otherInData = []
|
|
212
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
213
|
+
let footerData = [], exportfield = this.getfield
|
|
214
|
+
footerData.push('合计')
|
|
215
|
+
let self = this
|
|
216
|
+
for (var field in self.sumsmodel) {
|
|
217
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
|
|
218
|
+
}
|
|
219
|
+
this.footer.push(footerData)
|
|
220
|
+
this.other.push(otherInData)
|
|
221
|
+
},
|
|
222
|
+
getorg (val) {
|
|
223
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
224
|
+
this.depresid = val
|
|
225
|
+
this.f_filialeid = val[0]
|
|
226
|
+
console.log('yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy', val)
|
|
227
|
+
},
|
|
228
|
+
search () {
|
|
229
|
+
this.$refs.paged.$refs.cri.search()
|
|
230
|
+
},
|
|
231
|
+
selfSearch (args) {
|
|
232
|
+
if (!this.f_orgid) {
|
|
233
|
+
this.getorg([this.$login.f.orgid])
|
|
234
|
+
}
|
|
235
|
+
console.log('查询。。。', this.f_orgid)
|
|
236
|
+
if (this.f_orgid) {
|
|
237
|
+
args.condition = `${args.condition} and f_orgid in ${this.f_orgid}`
|
|
238
|
+
// this.model.params.orgid = this.f_orgid
|
|
239
|
+
}
|
|
240
|
+
this.model.params.startDate = this.$refs.paged.$refs.cri.model.startDate
|
|
241
|
+
this.model.params.endDate = this.$refs.paged.$refs.cri.model.endDate
|
|
242
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
243
|
+
this.condition2 = args.condition
|
|
244
|
+
this.model.search(args.condition, args.model)
|
|
245
|
+
},
|
|
246
|
+
modify (row) {
|
|
247
|
+
console.log('返回数据1', row)
|
|
248
|
+
this.$showMessage('确认重置微信支付状态么?', ['confirm', 'cancel']).then((res) => {
|
|
249
|
+
if (res === 'confirm') {
|
|
250
|
+
let data = {
|
|
251
|
+
f_transaction_id: row.f_transaction_id
|
|
252
|
+
}
|
|
253
|
+
this.$resetpost('rs/logic/weChatMeter', data, {resolveMsg: null, rejectMsg: '重置出错!!!'}).then((res) => {
|
|
254
|
+
console.log('返回数据3', res)
|
|
255
|
+
this.$refs.paged.$refs.cri.search()
|
|
256
|
+
this.$showAlert(`重置成功!`, 'success', 4000)
|
|
257
|
+
// this.search()
|
|
258
|
+
}).catch((error) => {
|
|
259
|
+
console.log('重置异常', res)
|
|
260
|
+
})
|
|
261
|
+
}
|
|
262
|
+
})
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
computed: {
|
|
266
|
+
getCondition () {
|
|
267
|
+
return {
|
|
268
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
269
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
270
|
+
condition: this.condition2
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
bankName () {
|
|
274
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('聚合支付银行名称')]
|
|
275
|
+
},
|
|
276
|
+
payment () {
|
|
277
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('聚合支付付款方式')]
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
watch: {
|
|
281
|
+
sumsmodel: {
|
|
282
|
+
handler: function (val) {
|
|
283
|
+
this.getotherfooter()
|
|
284
|
+
},
|
|
285
|
+
deep: true
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
</script>
|