manage-client 4.0.76 → 4.0.77
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 +4 -4
- package/package.json +1 -1
- package/src/components/SellReport/yangchun/YcGasSummaryes.vue +177 -0
- package/src/filiale/jinbin/exportConfig.js +1110 -0
- package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +1372 -0
- package/src/filiale/jinbin/sale.js +7 -0
- package/src/reportManage.js +5 -0
package/build/dev-server.js
CHANGED
|
@@ -11,17 +11,17 @@ var compiler = webpack(config)
|
|
|
11
11
|
// Define HTTP proxies to your custom API backend
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
13
|
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
-
var shaoguan = 'http://
|
|
15
|
-
var qtx = 'http://
|
|
14
|
+
var shaoguan = 'http://192.168.50.67:31567/'
|
|
15
|
+
var qtx = 'http://192.168.50.67:31567/'
|
|
16
16
|
// var bendi = 'http://220.194.141.253:8600/'
|
|
17
17
|
// var bendi = 'http://203.57.101.233:9001'
|
|
18
18
|
// var bendi = 'http://172.168.1.11:9001/'
|
|
19
19
|
// var bendi = 'http://203.57.101.233:9001/'
|
|
20
20
|
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
21
|
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var bendi = 'http://
|
|
22
|
+
var bendi = 'http://192.168.50.67:31567/'
|
|
23
23
|
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
-
var wode = 'http://
|
|
24
|
+
var wode = 'http://192.168.50.67:31567/'
|
|
25
25
|
// 192.168.
|
|
26
26
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
27
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
package/package.json
CHANGED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="span" style = "float:right;">
|
|
30
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
31
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
32
|
+
<report-excel id='gasprice'></report-excel>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</criteria>
|
|
36
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
37
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
38
|
+
<thead>
|
|
39
|
+
<tr>
|
|
40
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
41
|
+
<h3 style="text-align: center">天然气气量销售报表</h3>
|
|
42
|
+
</th>
|
|
43
|
+
</tr>
|
|
44
|
+
<tr>
|
|
45
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
46
|
+
开始时间:{{model.model.startDate}}
|
|
47
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
48
|
+
打印时间:{{$parent.printTime}}
|
|
49
|
+
</th>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
53
|
+
<div>
|
|
54
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
55
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
56
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
|
|
57
|
+
</div>
|
|
58
|
+
</th>
|
|
59
|
+
</tr>
|
|
60
|
+
</thead>
|
|
61
|
+
<tr>
|
|
62
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
63
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
64
|
+
</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tfoot>
|
|
67
|
+
<tr style="text-align: left">
|
|
68
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
69
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
70
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
71
|
+
</tr>
|
|
72
|
+
</tfoot>
|
|
73
|
+
</table>
|
|
74
|
+
{{{ $parent.reportStr}}}
|
|
75
|
+
</div>
|
|
76
|
+
</criteria-paged>
|
|
77
|
+
</div>
|
|
78
|
+
</template>
|
|
79
|
+
|
|
80
|
+
<script>
|
|
81
|
+
import { DataModel } from 'vue-client'
|
|
82
|
+
import co from 'co'
|
|
83
|
+
|
|
84
|
+
export default {
|
|
85
|
+
title: '天然气气量销售报表',
|
|
86
|
+
props: ['data'],
|
|
87
|
+
data () {
|
|
88
|
+
return {
|
|
89
|
+
printTime: this.$login.toStandardTimeString(),
|
|
90
|
+
depresid: [],
|
|
91
|
+
userresid: [],
|
|
92
|
+
f_orgid: this.$login.f.orgid,
|
|
93
|
+
f_depid: this.$login.f.depids,
|
|
94
|
+
operatorid: [],
|
|
95
|
+
depid: [],
|
|
96
|
+
orgname: '',
|
|
97
|
+
depname: '',
|
|
98
|
+
criteriaShow: false,
|
|
99
|
+
operatorname: '',
|
|
100
|
+
orgCondtionStr: '1=1',
|
|
101
|
+
f_user_type: '',
|
|
102
|
+
f_state:['有效'],
|
|
103
|
+
model: new DataModel('api/af-revenue/report/yc_sellhand_gas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
104
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
105
|
+
reportStr: null,
|
|
106
|
+
resshow:['company','department','operator'],
|
|
107
|
+
spans: 0,
|
|
108
|
+
initres: {
|
|
109
|
+
org: [this.$login.f.orgid],
|
|
110
|
+
dep: [],
|
|
111
|
+
user: []
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
ready () {
|
|
116
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
117
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
118
|
+
console.log(this.$login.f)
|
|
119
|
+
},
|
|
120
|
+
methods: {
|
|
121
|
+
searchData () {
|
|
122
|
+
this.$refs.paged.$refs.criteria.search()
|
|
123
|
+
},
|
|
124
|
+
selfSearch (args) {
|
|
125
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
126
|
+
let orgcondition = '1=1'
|
|
127
|
+
let orgstr = this.orgCondtionStr
|
|
128
|
+
orgcondition = orgcondition + orgstr
|
|
129
|
+
if (this.f_user_type && this.f_user_type[0]) {
|
|
130
|
+
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
131
|
+
}
|
|
132
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
133
|
+
this.$refs.paged.search(args)
|
|
134
|
+
},
|
|
135
|
+
|
|
136
|
+
hidden() {
|
|
137
|
+
this.criteriaShow = !this.criteriaShow
|
|
138
|
+
},
|
|
139
|
+
getRes (condition, obj) {
|
|
140
|
+
this.orgCondtionStr = condition
|
|
141
|
+
this.orgname = obj.orgnames[0]
|
|
142
|
+
this.depname = obj.depnames[0]
|
|
143
|
+
console.log(obj,"========")
|
|
144
|
+
this.operatorname = obj.operatornames[0]
|
|
145
|
+
},
|
|
146
|
+
getdep (obj, val) {
|
|
147
|
+
this.depname = val[0]
|
|
148
|
+
this.userresid = obj
|
|
149
|
+
this.f_depid = obj
|
|
150
|
+
},
|
|
151
|
+
getuser ( obj, val) {
|
|
152
|
+
this.operatorname = val[0]
|
|
153
|
+
this.f_operatorid = obj
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
watch: {
|
|
157
|
+
'model.data' (val) {
|
|
158
|
+
let len=0
|
|
159
|
+
let a=val.split('</tr>')
|
|
160
|
+
for(let i=0;i<a.length;i++){
|
|
161
|
+
if(a[i].split('</td>').length-1>len){
|
|
162
|
+
len=a[i].split('</td>').length-1
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
this.spans = len
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
computed: {
|
|
169
|
+
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
</script>
|
|
173
|
+
<style scoped>
|
|
174
|
+
.noborder{
|
|
175
|
+
border: none;
|
|
176
|
+
}
|
|
177
|
+
</style>
|