sale-client 3.4.202 → 3.4.203
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/build/webpack.prod.conf.js +1 -1
- package/package.json +3 -3
- package/src/components/FilesManageNew/FileAddressList.vue +10 -13
- package/src/components/FilesManageNew/FileAddressManage.vue +8 -20
- package/src/components/FilesManageNew/MeterinfoTest.vue +5 -2
- package/src/components/FilesManageNew/UserEssentialInfoTest.vue +5 -2
- package/src/components/FilesManageNew/UserGeneralInfoTest.vue +2 -2
- package/src/components/FilesManageNew/UserMeterInfoTest.vue +1 -1
- package/src/components/revenue/concentrator/ncArchivesList.vue +1 -1
- package/src/components/revenue/concentrator/ncUserfilesList2.vue +1 -1
- package/src/components/revenue/concentrator/ncarchivesmanage.vue +1 -1
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -1
- package/src/components/webMeter/approvalHandleList.vue +1 -1
- package/src/filiale/rizhao/UserEssentialInfoTest.vue +2 -1
- package/src/filiale/tongchuan/ChargeManage.vue +1 -5
- package/src/filiale/tongchuan/base/otherinfo.vue +1 -4
- package/src/filiale/tongchuan/sale.js +7 -0
- package/src/filiale/wuhai/ChargeRecordQuery.vue +98 -0
- package/src/filiale/wuhai/sale.js +3 -1
- package/src/main.js +18 -23
- package/src/plugins/FileManageService.js +1 -2
package/build/dev-server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sale-client",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.203",
|
|
4
4
|
"description": "收费模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dev": "node build/dev-server.js",
|
|
9
9
|
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
10
10
|
"unit": "karma start test/unit/karma.conf.js",
|
|
11
|
-
"build": "rimraf
|
|
11
|
+
"build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
12
12
|
"e2e": "node test/e2e/runner.js",
|
|
13
13
|
"release": "bash build/release.sh"
|
|
14
14
|
},
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"style-loader": "^0.20.3",
|
|
89
89
|
"system-clients": "3.2.0-2",
|
|
90
90
|
"url-loader": "^0.5.7",
|
|
91
|
-
"vue-client": "1.24.
|
|
91
|
+
"vue-client": "1.24.52",
|
|
92
92
|
"vue-clipboard2": "0.3.1",
|
|
93
93
|
"vue-hot-reload-api": "^1.2.0",
|
|
94
94
|
"vue-html-loader": "^1.0.0",
|
|
@@ -75,15 +75,12 @@
|
|
|
75
75
|
},
|
|
76
76
|
title: '地址列表',
|
|
77
77
|
props: {
|
|
78
|
-
|
|
78
|
+
f_filialeid: {
|
|
79
79
|
type: String
|
|
80
|
-
},
|
|
81
|
-
company: {
|
|
82
|
-
type: String,
|
|
83
|
-
default: ''
|
|
84
80
|
}
|
|
85
81
|
},
|
|
86
82
|
ready () {
|
|
83
|
+
console.log('f_filialeid8888:',this.f_filialeid)
|
|
87
84
|
this.search()
|
|
88
85
|
},
|
|
89
86
|
methods: {
|
|
@@ -92,7 +89,7 @@
|
|
|
92
89
|
},
|
|
93
90
|
// 添加方法
|
|
94
91
|
add (val) {
|
|
95
|
-
if (this.
|
|
92
|
+
if (this.f_filialeid) {
|
|
96
93
|
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
97
94
|
this.$dispatch('add', val)
|
|
98
95
|
} else {
|
|
@@ -114,10 +111,10 @@
|
|
|
114
111
|
},
|
|
115
112
|
|
|
116
113
|
selfSearch (args) {
|
|
117
|
-
if (!this.
|
|
114
|
+
if (!this.f_filialeid) {
|
|
118
115
|
this.getorg([this.$login.f.orgid])
|
|
119
116
|
}
|
|
120
|
-
args.condition = `${args.condition} and a.f_userinfo_id is null and a.f_filialeid = '${this.
|
|
117
|
+
args.condition = `${args.condition} and a.f_userinfo_id is null and a.f_filialeid = '${this.f_filialeid}'`
|
|
121
118
|
this.model.search(args.condition, args.model)
|
|
122
119
|
},
|
|
123
120
|
|
|
@@ -127,14 +124,14 @@
|
|
|
127
124
|
},
|
|
128
125
|
getorg (val) {
|
|
129
126
|
this.f_orgid = this.$login.convertToIn(val)
|
|
130
|
-
this.
|
|
127
|
+
this.f_filialeid = val[0]
|
|
131
128
|
}
|
|
132
129
|
},
|
|
133
130
|
watch: {
|
|
134
|
-
'company' (val) {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
131
|
+
// 'company' (val) {
|
|
132
|
+
// this.f_orgid = val
|
|
133
|
+
// this.f_filialeids = val
|
|
134
|
+
// }
|
|
138
135
|
}
|
|
139
136
|
|
|
140
137
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
3
|
<div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}" v-show="isSelect">
|
|
4
|
-
<file-address-list-new @select-changed="selected" v-ref:addresslist :style="style"
|
|
4
|
+
<file-address-list-new @select-changed="selected" v-ref:addresslist :style="style"
|
|
5
|
+
:select=select :f_filialeid="f_filialeid"></file-address-list-new>
|
|
5
6
|
</div>
|
|
6
7
|
<div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}">
|
|
7
8
|
<div class="flex">
|
|
8
|
-
<user-address :f_filialeids
|
|
9
|
+
<user-address :f_filialeids="f_filialeid" :usertype="isSpecial" :isedit="isSelect" :row="row" v-ref:fileuseraddress></user-address>
|
|
9
10
|
|
|
10
11
|
<file-user-address-change-new v-if="addressId" :address_id="addressId"></file-user-address-change-new>
|
|
11
12
|
</div>
|
|
@@ -18,10 +19,12 @@
|
|
|
18
19
|
title: '地址管理',
|
|
19
20
|
components: {
|
|
20
21
|
},
|
|
22
|
+
props: ['isSelect', 'fileinfo', 'f_filialeid', 'showselectaddress'],
|
|
21
23
|
data () {
|
|
22
24
|
return {
|
|
23
25
|
// 分公司id串
|
|
24
|
-
f_filialeids: this.$login.f.orgid,
|
|
26
|
+
// f_filialeids: this.$login.f.orgid,
|
|
27
|
+
f_filialeid: '',
|
|
25
28
|
area: [],
|
|
26
29
|
street: [],
|
|
27
30
|
residential: [],
|
|
@@ -31,23 +34,8 @@
|
|
|
31
34
|
isSpecial: false
|
|
32
35
|
}
|
|
33
36
|
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: false
|
|
38
|
-
},
|
|
39
|
-
fileinfo: {
|
|
40
|
-
type: Object,
|
|
41
|
-
default: {}
|
|
42
|
-
},
|
|
43
|
-
company: {
|
|
44
|
-
type: String,
|
|
45
|
-
default: ''
|
|
46
|
-
},
|
|
47
|
-
showselectaddress: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
default: false
|
|
50
|
-
}
|
|
37
|
+
ready () {
|
|
38
|
+
|
|
51
39
|
},
|
|
52
40
|
watch: {
|
|
53
41
|
'showselectaddress' (val) {
|
|
@@ -284,10 +284,13 @@ import Vue from 'vue'
|
|
|
284
284
|
let meterBookGen = function * (self) {
|
|
285
285
|
if (self.$login.r.find(value => value == '抄表册建档')) {
|
|
286
286
|
self.opteratormetrbook = true
|
|
287
|
-
|
|
287
|
+
}
|
|
288
|
+
if(!self.f_filialeid){
|
|
289
|
+
self.f_filialeid = self.$login.f.orgid
|
|
290
|
+
}
|
|
288
291
|
let temp = {
|
|
289
292
|
tablename: 't_meter_book',
|
|
290
|
-
condition: `f_book_state='有效' and f_filiale_id='${self
|
|
293
|
+
condition: `f_book_state='有效' and f_filiale_id='${self.f_filialeid}'`
|
|
291
294
|
}
|
|
292
295
|
let http = new HttpResetClass()
|
|
293
296
|
let meterbooks = yield http.load('POST', 'rs/sql/saleSingleTable', {data: temp},
|
|
@@ -193,7 +193,9 @@
|
|
|
193
193
|
<modal v-if="showselectaddress" :show.sync="showselectaddress" width="80%" title="地址信息" v-ref:modal large backdrop="false">
|
|
194
194
|
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
195
195
|
<file-address-manage-new :is-select="isSelect" :fileinfo="addressinfo"
|
|
196
|
-
@address-valid="doNothing" :showselectaddress.sync="showselectaddress"
|
|
196
|
+
@address-valid="doNothing" :showselectaddress.sync="showselectaddress"
|
|
197
|
+
:f_filialeid="f_filialeid"
|
|
198
|
+
v-ref:fileaddress ></file-address-manage-new>
|
|
197
199
|
</article>
|
|
198
200
|
<footer slot="modal-footer" class="modal-footer">
|
|
199
201
|
</footer>
|
|
@@ -220,7 +222,7 @@
|
|
|
220
222
|
|
|
221
223
|
export default {
|
|
222
224
|
title: '基本信息',
|
|
223
|
-
props: ['baseinfo', 'addressinfo', 'isedit'],
|
|
225
|
+
props: ['baseinfo', 'addressinfo', 'isedit', 'f_filialeid'],
|
|
224
226
|
data () {
|
|
225
227
|
return {
|
|
226
228
|
showselectaddress: false,
|
|
@@ -247,6 +249,7 @@
|
|
|
247
249
|
}
|
|
248
250
|
},
|
|
249
251
|
ready () {
|
|
252
|
+
console.log('f_filialeid222,,,', this.f_filialeid)
|
|
250
253
|
getEditUserState(this)
|
|
251
254
|
this.$resetValidation()
|
|
252
255
|
// this.highMeterPlugin = new HighMeter(this,this.readIDCardCallback)
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<button class="button_search" style="width: max-content" @click="uploadPictures()">拍照</button>
|
|
10
10
|
</div>
|
|
11
11
|
<file-user-essential-info-new :baseinfo="data.baseinfo" :addressinfo="data.addressinfo" @valid="essentialInfo = true"
|
|
12
|
-
|
|
12
|
+
:f_filialeid="f_filialeid" @invalid="essentialInfo = false" v-ref:useressential :isedit="isedit"></file-user-essential-info-new>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div style="height: auto;width: 100%">
|
|
@@ -179,6 +179,7 @@ export default {
|
|
|
179
179
|
async ready () {
|
|
180
180
|
this.blodid = '临时id' + Date.now()
|
|
181
181
|
console.log('ready,,,', this.row)
|
|
182
|
+
console.log('f_filialeid111,,,', this.f_filialeid)
|
|
182
183
|
try {
|
|
183
184
|
await this.$getConfig(this, 'FilesDetail')
|
|
184
185
|
} catch (error) {
|
|
@@ -305,7 +306,6 @@ export default {
|
|
|
305
306
|
if (this.row) {
|
|
306
307
|
this.data.baseinfo.base.version = this.row.version
|
|
307
308
|
}
|
|
308
|
-
console.log('档案保存之前,。。。', this.data)
|
|
309
309
|
this.$FileManageService.fileSave(this.$FileManageService.fileSaveBefore(this.data)).then((res) => {
|
|
310
310
|
this.savePrintSheet(res.data.result[0])
|
|
311
311
|
this.$dispatch('success')
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<span class="glyphicon glyphicon-plus"></span>
|
|
17
17
|
<!--<img :src="imgmeter" alt="图片加载失败" class="img-rounded" style="width: 50px;margin:10px;">-->
|
|
18
18
|
</div>
|
|
19
|
-
<file-user-device-info-new :devicesinfo.sync="devicesinfo" :show_devices.sync="show_devices"
|
|
19
|
+
<file-user-device-info-new :devicesinfo.sync="devicesinfo" :show_devices.sync="show_devices" :f_filialeid="f_filialeid"
|
|
20
20
|
:userinfoid='data.baseinfo.base.f_userinfo_id'></file-user-device-info-new>
|
|
21
21
|
</div>
|
|
22
22
|
</template>
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<nobr>{{row.f_price_name}}</nobr>
|
|
151
151
|
</td>
|
|
152
152
|
<td style="text-align: center;">
|
|
153
|
-
<nobr>{{row.
|
|
153
|
+
<nobr>{{row.networkstate ? '已组网' : '未组网'}}</nobr>
|
|
154
154
|
</td>
|
|
155
155
|
<td style="text-align: center;">
|
|
156
156
|
<nobr>{{row.f_meter_brand}}</nobr>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
<modal v-if="addmeterinfoshow" :show.sync="addmeterinfoshow" width="80%" title="表具信息" v-ref:modal large backdrop="false">
|
|
14
14
|
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
15
|
-
<archives-userfiles-manage :is-select="isSelect" :fileinfo="allarearow" :f_filialeid="f_filialeids"
|
|
15
|
+
<archives-userfiles-manage :is-select="isSelect" :fileinfo="allarearow" :f_filialeid.sync="f_filialeids"
|
|
16
16
|
@address-valid="doNothing" v-ref:userfilesadd ></archives-userfiles-manage>
|
|
17
17
|
<!-- <concentrator-userfiles-list :is-select="isSelect" :meterinfo="meterinfo" :fileinfo="areamodel" :f_filialeid.sync="f_filialeids" :usertype="areamodel.f_user_type"-->
|
|
18
18
|
<!-- @address-valid="doNothing" v-ref:userfilesadd ></concentrator-userfiles-list>-->
|
|
@@ -190,6 +190,7 @@
|
|
|
190
190
|
<modal v-if="showselectaddress" :show.sync="showselectaddress" width="80%" title="地址信息" v-ref:modal large backdrop="false">
|
|
191
191
|
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
192
192
|
<file-address-manage-new :is-select="isSelect" :fileinfo="addressinfo"
|
|
193
|
+
:f_filialeid="f_filialeid"
|
|
193
194
|
@address-valid="doNothing" :showselectaddress.sync="showselectaddress" v-ref:fileaddress ></file-address-manage-new>
|
|
194
195
|
</article>
|
|
195
196
|
<footer slot="modal-footer" class="modal-footer">
|
|
@@ -217,7 +218,7 @@
|
|
|
217
218
|
|
|
218
219
|
export default {
|
|
219
220
|
title: '基本信息',
|
|
220
|
-
props: ['baseinfo', 'addressinfo', 'isedit'],
|
|
221
|
+
props: ['baseinfo', 'addressinfo', 'isedit', 'f_filialeid'],
|
|
221
222
|
data () {
|
|
222
223
|
return {
|
|
223
224
|
showselectaddress: false,
|
|
@@ -38,15 +38,11 @@
|
|
|
38
38
|
</div>
|
|
39
39
|
</template>
|
|
40
40
|
<script>
|
|
41
|
-
|
|
42
|
-
import ChargeOper from './ChargeOper'
|
|
41
|
+
|
|
43
42
|
import {HttpResetClass} from 'vue-client'
|
|
44
43
|
|
|
45
44
|
export default {
|
|
46
45
|
title: '收费综合',
|
|
47
|
-
components: {
|
|
48
|
-
ChargeList, ChargeOper
|
|
49
|
-
},
|
|
50
46
|
data () {
|
|
51
47
|
return {
|
|
52
48
|
// 页面开关
|
|
@@ -14,9 +14,6 @@
|
|
|
14
14
|
*客户相关信息
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import MixPriceInfo from './MixPriceInfo'
|
|
18
|
-
import SafeCheck from './SafeCheck'
|
|
19
|
-
import ServiceRepair from './ServiceRepair'
|
|
20
17
|
export default {
|
|
21
18
|
title: '客户相关信息',
|
|
22
19
|
data () {
|
|
@@ -24,7 +21,7 @@ export default {
|
|
|
24
21
|
name: ''
|
|
25
22
|
}
|
|
26
23
|
},
|
|
27
|
-
|
|
24
|
+
|
|
28
25
|
props: {
|
|
29
26
|
data: {
|
|
30
27
|
type: Object
|
|
@@ -6,6 +6,9 @@ let specialComp = {
|
|
|
6
6
|
// 档案信息
|
|
7
7
|
'file-user-files': (resolve) => { require(['./FileUserFiles'], resolve) },
|
|
8
8
|
'charge-manage': (resolve) => { require(['./ChargeManage'], resolve) },
|
|
9
|
+
'charge-list': (resolve) => { require(['./ChargeList'], resolve) },
|
|
10
|
+
'charge-oper': (resolve) => { require(['./ChargeOper'], resolve) },
|
|
11
|
+
// 导入IC卡相关查询界面
|
|
9
12
|
'high-meter-idcard': (resolve) => { require(['./HighMeterIdCard'], resolve) },
|
|
10
13
|
'high-meter': (resolve) => { require(['./HighMeter'], resolve) },
|
|
11
14
|
'meter-charge-record-query': (resolve) => { require(['./ChargeRecordQuery'], resolve) },
|
|
@@ -81,6 +84,10 @@ let specialComp = {
|
|
|
81
84
|
|
|
82
85
|
// 当前选择用户的其他信息
|
|
83
86
|
'otherinfo': (resolve) => { require(['./base/otherinfo'], resolve) },
|
|
87
|
+
// 客户相关信息
|
|
88
|
+
'mix-price-info': (resolve) => { require(['./base/MixPriceInfo'], resolve) },
|
|
89
|
+
'safe-check': (resolve) => { require(['./base/SafeCheck'], resolve) },
|
|
90
|
+
'service-repair': (resolve) => { require(['./base/ServiceRepair'], resolve) },
|
|
84
91
|
|
|
85
92
|
'record-cancel': (resolve) => { require(['./base/RecordCancel'], resolve) },
|
|
86
93
|
'card-meter-charge-cancel': (resolve) => { require(['./CardMeterChargeCancel'], resolve) },
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="height:100%">
|
|
3
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
|
|
4
|
+
<template partial='head' >
|
|
5
|
+
<tr>
|
|
6
|
+
<th><nobr>序号</nobr></th>
|
|
7
|
+
|
|
8
|
+
<th><nobr>气量</nobr></th>
|
|
9
|
+
<th><nobr>应交</nobr></th>
|
|
10
|
+
<th><nobr>付款方式</nobr></th>
|
|
11
|
+
<th><nobr>上期结余</nobr></th>
|
|
12
|
+
<th><nobr>收款</nobr></th>
|
|
13
|
+
<th><nobr>本期结余</nobr></th>
|
|
14
|
+
<th><nobr>操作类型</nobr></th>
|
|
15
|
+
<th><nobr>操作时间 </nobr></th>
|
|
16
|
+
<th><nobr>操作员 </nobr></th>
|
|
17
|
+
<th><nobr>备注</nobr></th>
|
|
18
|
+
</tr>
|
|
19
|
+
</template>
|
|
20
|
+
<template partial='body' >
|
|
21
|
+
<tr >
|
|
22
|
+
<td style="text-align:center;white-space:nowrap;">{{$index+1}}</td>
|
|
23
|
+
|
|
24
|
+
<td style="text-align:center;white-space:nowrap;">{{row.gas.toFixed(2)}}</td>
|
|
25
|
+
<td style="text-align:center;white-space:nowrap;">{{row.fee}}</td>
|
|
26
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_payment}}</td>
|
|
27
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
|
|
28
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_collection}}</td>
|
|
29
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_curbalance}}</td>
|
|
30
|
+
<td style="text-align:center;white-space:nowrap;">{{row.type}}</td>
|
|
31
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_operate_date}}</td>
|
|
32
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_operator}}</td>
|
|
33
|
+
<td style="text-align:left;white-space:nowrap;">{{row.note}}{{row.f_write_card}}</td>
|
|
34
|
+
</tr>
|
|
35
|
+
</template>
|
|
36
|
+
</data-grid>
|
|
37
|
+
<modal :show.sync="cardCental" v-ref:modal backdrop="false">
|
|
38
|
+
<header slot="modal-header" class="modal-header">
|
|
39
|
+
<h4 class="modal-title">温馨提示</h4>
|
|
40
|
+
</header>
|
|
41
|
+
<article slot="modal-body" class="modal-body">
|
|
42
|
+
<div class="form-group">
|
|
43
|
+
<p> 当日此用户已经进行过一次购气,若卡上无气,请先进行补卡(未过表),之后掉气补气即可</p>
|
|
44
|
+
</div>
|
|
45
|
+
</article>
|
|
46
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
47
|
+
<button type="button" class="btn btn-success" @click='cancel()'>确认
|
|
48
|
+
</button>
|
|
49
|
+
</footer>
|
|
50
|
+
</modal>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script>
|
|
55
|
+
import {HttpResetClass} from 'vue-client'
|
|
56
|
+
|
|
57
|
+
export default {
|
|
58
|
+
title: '操作查询',
|
|
59
|
+
data () {
|
|
60
|
+
return {
|
|
61
|
+
model: {rows: []},
|
|
62
|
+
cardCental:false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
props: ['searchdata'],
|
|
66
|
+
ready () {
|
|
67
|
+
this.getsalerecord()
|
|
68
|
+
},
|
|
69
|
+
methods: {
|
|
70
|
+
cancel(){
|
|
71
|
+
this.cardCental = false;
|
|
72
|
+
},
|
|
73
|
+
async getsalerecord () {
|
|
74
|
+
let http = new HttpResetClass()
|
|
75
|
+
// this.condition = `1=1 and f_user_id = '${this.searchdata.f_user_id}'`
|
|
76
|
+
this.condition = `1=1 and f_userfiles_id = '${this.searchdata.f_userfiles_id}'`
|
|
77
|
+
let record = await http.load('POST', 'rs/sql/sale_RecordQuery', {data: {condition: this.condition}}, {
|
|
78
|
+
rejectMsg: '流水查询出错!!',
|
|
79
|
+
resolveMsg: null
|
|
80
|
+
})
|
|
81
|
+
this.model.rows = record.data
|
|
82
|
+
if(this.model.rows.length>0 && ( this.model.rows[0].type== '发卡售气' || this.model.rows[0].type== '卡表收费' ) ){
|
|
83
|
+
let checkdata = this.model.rows[0].operate_date.substr(0,10)
|
|
84
|
+
let nowdate = new Date();
|
|
85
|
+
let pdate = nowdate.getFullYear()+'-'+(nowdate.getMonth()<10? '0'+nowdate.getMonth()+1 : nowdate.getMonth()+1) +'-'+(nowdate.getDate()<10? '0'+nowdate.getDate() : nowdate.getDate());
|
|
86
|
+
if(new Date(checkdata).getTime() == new Date(pdate).getTime()){
|
|
87
|
+
this.cardCental = true;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
watch: {
|
|
93
|
+
'searchdata' () {
|
|
94
|
+
this.getsalerecord()
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
</script>
|
|
@@ -16,6 +16,8 @@ let specialComp = {
|
|
|
16
16
|
// 其他收费xin
|
|
17
17
|
'other-charge-new': (resolve) => { require(['./OtherChargeNew'], resolve) },
|
|
18
18
|
// 过户
|
|
19
|
-
'transfer-manage': (resolve) => { require(['./TransferManage'], resolve) }
|
|
19
|
+
'transfer-manage': (resolve) => { require(['./TransferManage'], resolve) },
|
|
20
|
+
// 收费页面的流水查询
|
|
21
|
+
'meter-charge-record-query': (resolve) => { require(['./ChargeRecordQuery'], resolve) },
|
|
20
22
|
}
|
|
21
23
|
exports.specialComp = specialComp
|
package/src/main.js
CHANGED
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Vue.use(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
new Vue({
|
|
21
|
-
el: 'body',
|
|
22
|
-
components: { App }
|
|
23
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import sale from './sale'
|
|
4
|
+
import { address } from 'address-client'
|
|
5
|
+
import { ldap } from 'ldap-clients'
|
|
6
|
+
import VueClipboard from 'vue-clipboard2'
|
|
7
|
+
Vue.use(VueClipboard)
|
|
8
|
+
Vue.config.silent = true
|
|
9
|
+
// 新打包写法
|
|
10
|
+
Vue.use(sale, {filiale: null})
|
|
11
|
+
address()
|
|
12
|
+
ldap()
|
|
13
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
14
|
+
|
|
15
|
+
new Vue({
|
|
16
|
+
el: 'body',
|
|
17
|
+
components: { App }
|
|
18
|
+
})
|
|
@@ -55,7 +55,7 @@ let FileManageService = {
|
|
|
55
55
|
result.infobank.f_bank_name = bank.f_bank_name.length > 0 ? bank.f_bank_name[0] : ''
|
|
56
56
|
}
|
|
57
57
|
// 获取分公司id (通过ids拆分)
|
|
58
|
-
|
|
58
|
+
result.f_filialeid = data.f_filialeid
|
|
59
59
|
if (result.f_userinfo_id === null) {
|
|
60
60
|
result.f_createfile_person = Vue.$login.f.name
|
|
61
61
|
result.f_createfile_date = Vue.$login.toStandardTimeString()
|
|
@@ -344,7 +344,6 @@ let FileManageService = {
|
|
|
344
344
|
return {userinfo: result, address: address, limit_gas: data.limit_gas, hasnumber: data.hasnumber, inputcode: data.inputcode}
|
|
345
345
|
},
|
|
346
346
|
fileSave (data) {
|
|
347
|
-
console.log(data)
|
|
348
347
|
return Vue.resetpost('rs/logic/filemanage_fileSave', {data: data})
|
|
349
348
|
},
|
|
350
349
|
batchOperate (model, type) {
|