sale-client 4.1.97 → 4.1.99-ronghao
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/package.json +1 -1
- package/src/filiale/meihekou/icTable.vue +233 -0
- package/src/filiale/meihekou/sale.js +2 -0
- package/src/filiale/ronghao/HandplanQuery.vue +13 -14
- package/src/filiale/ronghao/uploadFilesHistory.vue +27 -1
- package/src/filiale/yuncheng/IndustryCommerceHand.vue +79 -2
- package/src/filiale/yuncheng/IndustryCommerceHandManager.vue +4 -1
- package/src/filiale/yuncheng/industryDown.vue +1118 -0
- package/src/filiale/yuncheng/sale.js +2 -0
- 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 +0 -2
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
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://
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://218.93.226.210:31467/', 'http://218.93.226.210:31467/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="span">
|
|
4
|
+
<validator name='v'>
|
|
5
|
+
<form novalidate class="form-horizontal">
|
|
6
|
+
<div class="row" v-if="isGas">
|
|
7
|
+
<div class="col-sm-4" :class="[$v.f_pregas.dctest ? 'has-error' : 'has-success']">
|
|
8
|
+
<label class="font_normal_body">赠气</label>
|
|
9
|
+
<input class="input_search" style="width:60%" type="number" @blur="pregas"
|
|
10
|
+
v-validate:f_pregas='{ dctest: [0, ">=" ]}' v-model="model.f_pregas" placeholder="赠气量" v-ref:f_pregas>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-sm-4 form-group">
|
|
14
|
+
<label class="font_normal_body" title="参数值:计入/不计入,计入:更新档案结余及累购,不计入:只保存记录不对档案进行操作">计入累购</label>
|
|
15
|
+
<input v-show="false" v-model="model.f_add_gas" v-validate:f_operat_type='{required: true}'>
|
|
16
|
+
<v-select :value.sync="model.f_add_gas" value-single
|
|
17
|
+
:options='addGas' placeholder='请选择'
|
|
18
|
+
|
|
19
|
+
selected="是否计入累购"
|
|
20
|
+
style="width:60%"
|
|
21
|
+
close-on-select></v-select>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="row" v-if="!isGas">
|
|
24
|
+
<div class="col-sm-4">
|
|
25
|
+
<label for="f_preamount" class=" font_normal_body">金额:</label>
|
|
26
|
+
<input class="input_search" style="width:60%" type="number" min = "0.01" v-model="model.f_preamount" placeholder="金额">
|
|
27
|
+
</div>
|
|
28
|
+
<!-- <div class="col-sm-4">-->
|
|
29
|
+
<!-- <label for="f_add_gas" class="font_normal_body">是否入累计:</label>-->
|
|
30
|
+
<!-- <v-select v-model="model.f_add_gas"-->
|
|
31
|
+
<!-- placeholder='请选择'-->
|
|
32
|
+
<!-- :value.sync="model.f_add_gas"-->
|
|
33
|
+
<!-- :options='addGas'-->
|
|
34
|
+
<!-- close-on-select clear-button>-->
|
|
35
|
+
<!-- </v-select>-->
|
|
36
|
+
<!-- </div>-->
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row" style="margin-top:10px;">
|
|
39
|
+
<label for="f_reason" class=" font_normal_body">备  注</label>
|
|
40
|
+
<input class="input_search" style="width:55%" rows="1" v-model="model.f_reason" placeholder="备注">
|
|
41
|
+
</div>
|
|
42
|
+
</form>
|
|
43
|
+
<div style="text-align:right;margin-top: 2%">
|
|
44
|
+
|
|
45
|
+
<button class="button_search" @click="confirm()" :disabled='!$v.valid' >确认</button>
|
|
46
|
+
<button class="button_clear" @click="clean()" >取消</button>
|
|
47
|
+
</div>
|
|
48
|
+
</validator>
|
|
49
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<upload :blodid="row.f_userinfo_id" :businessid="randomBusinessId" isremark="true" fusetype="赠气"></upload>
|
|
53
|
+
</template>
|
|
54
|
+
<script>
|
|
55
|
+
let otherGasGen = async function (self) {
|
|
56
|
+
let data = self.getSell()
|
|
57
|
+
data.f_total_gas = data.f_add_gas === '计入' ? (self.row.f_total_gas - 0) + (self.model.f_pregas - 0) : (self.row.f_total_gas - 0)
|
|
58
|
+
data.f_total_fee = data.f_add_gas === '计入' ? (self.row.f_total_fee - 0) + (self.model.f_preamount - 0) : (self.row.f_total_fee - 0)
|
|
59
|
+
if (self.isGas) {
|
|
60
|
+
data.f_pregas = self.model.f_pregas
|
|
61
|
+
} else {
|
|
62
|
+
data.f_preamount = self.model.f_preamount
|
|
63
|
+
}
|
|
64
|
+
data.f_userfiles_id = {
|
|
65
|
+
f_userfiles_id: self.row.f_userfiles_id,
|
|
66
|
+
f_userinfo_id: self.row.f_userinfo_id,
|
|
67
|
+
f_user_id: self.row.f_user_id,
|
|
68
|
+
version: self.row.version,
|
|
69
|
+
f_times: self.row.cardInfo.Times + 1,
|
|
70
|
+
f_total_gas: data.f_add_gas === '计入' ? (self.row.f_total_gas - 0) + (self.model.f_pregas - 0) : (self.row.f_total_gas - 0),
|
|
71
|
+
f_total_fee: data.f_add_gas === '计入' ? (self.row.f_total_fee - 0) + (self.model.f_preamount - 0) : (self.row.f_total_fee - 0),
|
|
72
|
+
f_balance_gas: 0,
|
|
73
|
+
f_balance_amount: 0
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
// 保存表类型
|
|
79
|
+
data.f_meter_type = self.row.f_meter_type
|
|
80
|
+
data.f_times = self.row.cardInfo.Times + 1
|
|
81
|
+
|
|
82
|
+
await self.$resetpost('api/af-revenue/logic/fedWithgaIc', data, {resolveMsg: null, rejectMsg: '补气报错!!!'})
|
|
83
|
+
}
|
|
84
|
+
let asyncIcTable = async function (self) {
|
|
85
|
+
await self.$getConfig(self, 'icTable')
|
|
86
|
+
console.log('卡表赠气赠费config', self.config)
|
|
87
|
+
this.model.f_add_gas = self.config.f_add_gas
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export default {
|
|
91
|
+
title: '卡表赠气赠费',
|
|
92
|
+
data () {
|
|
93
|
+
return {
|
|
94
|
+
isGas: false,
|
|
95
|
+
acceptprint: false,
|
|
96
|
+
acceptUrl: '',
|
|
97
|
+
printData: {
|
|
98
|
+
reason: '',
|
|
99
|
+
fillgas: '',
|
|
100
|
+
fillamount: ''
|
|
101
|
+
},
|
|
102
|
+
randomBusinessId: '',
|
|
103
|
+
resid: [], // 存放新增的f_files表中id
|
|
104
|
+
model: {
|
|
105
|
+
f_pregas: 0,
|
|
106
|
+
f_preamount: 1,
|
|
107
|
+
f_reason: '',
|
|
108
|
+
f_add_gas: '计入'
|
|
109
|
+
},
|
|
110
|
+
config: {
|
|
111
|
+
hasPrint: false,
|
|
112
|
+
f_add_gas: '计入'
|
|
113
|
+
},
|
|
114
|
+
billData: {
|
|
115
|
+
url: 'api/af-revenue/report/icGiftGas',
|
|
116
|
+
operator: this.$login.f.name,
|
|
117
|
+
billnumber: ''
|
|
118
|
+
},
|
|
119
|
+
print: false
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
props: ['row', 'cardData'],
|
|
123
|
+
ready () {
|
|
124
|
+
this.isGas = this.row.f_meter_type = false
|
|
125
|
+
this.row.cardInfo = this.cardData
|
|
126
|
+
console.log('卡信息', this.row.cardInfo)
|
|
127
|
+
this.getRandomId()
|
|
128
|
+
asyncIcTable(this)
|
|
129
|
+
if (this.isGas) {
|
|
130
|
+
this.billData.url = 'api/af-revenue/report/icGiftGas'
|
|
131
|
+
} else {
|
|
132
|
+
this.billData.url = 'api/af-revenue/report/icGiftFee'
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
events: {
|
|
136
|
+
// 删除Resid数组元素
|
|
137
|
+
'delResid' (val) {
|
|
138
|
+
this.resid.$remove({id: val, f_biobid: ''})
|
|
139
|
+
// this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
|
|
140
|
+
},
|
|
141
|
+
// 增加Resid数组元素
|
|
142
|
+
'resid' (val) {
|
|
143
|
+
this.resid.push({id: val, f_biobid: ''})
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
methods: {
|
|
147
|
+
getRandomId () {
|
|
148
|
+
this.randomBusinessId = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
149
|
+
let res = Math.random() * 16 | 0
|
|
150
|
+
let v = c == 'x' ? res : (res & 0x3 | 0x8)
|
|
151
|
+
return v.toString(16)
|
|
152
|
+
})
|
|
153
|
+
},
|
|
154
|
+
confirm () {
|
|
155
|
+
otherGasGen(this).then((res) => {
|
|
156
|
+
let param1 = []
|
|
157
|
+
for (let row of this.resid) {
|
|
158
|
+
param1.push({id: row.id})
|
|
159
|
+
}
|
|
160
|
+
let data = {
|
|
161
|
+
param: param1,
|
|
162
|
+
f_blobid: res
|
|
163
|
+
}
|
|
164
|
+
this.$resetpost('api/af-revenue/logic/updatefiles', data)
|
|
165
|
+
|
|
166
|
+
if (this.config.hasPrint) {
|
|
167
|
+
this.row.id = res
|
|
168
|
+
this.row.f_bill_type = this.isGas ? '卡表赠气' : '卡表赠费'
|
|
169
|
+
this.row.f_bill_style = '普通收据'
|
|
170
|
+
this.print = true
|
|
171
|
+
} else {
|
|
172
|
+
this.$dispatch('success')
|
|
173
|
+
}
|
|
174
|
+
})
|
|
175
|
+
},
|
|
176
|
+
pregas () {
|
|
177
|
+
// 对气量进行验证
|
|
178
|
+
if ((this.row.f_topup_ceil - 0) > 0 && (this.model.f_pregas - 0) > (this.row.f_topup_ceil - 0)) {
|
|
179
|
+
this.$showAlert(`您输入的气量不能大于该表的充值上限: ${this.row.f_topup_ceil}`, 'warning', 5000)
|
|
180
|
+
this.model.f_pregas = null
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
getSell () {
|
|
184
|
+
return {
|
|
185
|
+
f_balance: this.row.f_balance,
|
|
186
|
+
f_curbalance: this.row.f_balance,
|
|
187
|
+
f_card_id: this.row.f_card_id,
|
|
188
|
+
f_comments: this.model.f_reason,
|
|
189
|
+
f_type: this.model.f_pregas != 0 ? '卡表赠气' : '卡表赠费',
|
|
190
|
+
f_user_id: this.row.f_user_id,
|
|
191
|
+
f_userfiles_id: this.row.f_userfiles_id,
|
|
192
|
+
f_add_gas: this.model.f_add_gas,
|
|
193
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
194
|
+
f_user_name: this.row.f_user_name,
|
|
195
|
+
f_user_type: this.row.f_user_type,
|
|
196
|
+
f_gasproperties: this.row.f_gasproperties,
|
|
197
|
+
f_address: this.row.f_address,
|
|
198
|
+
f_meter_brand: this.row.f_meter_brand,
|
|
199
|
+
f_operat_type: '其他补气',
|
|
200
|
+
f_describe: `${this.$login.f.name}对客户${this.row.f_user_name}进行${this.model.f_pregas != 0 ? '卡表赠气' : '卡表赠费'}操作`,
|
|
201
|
+
f_state: '有效',
|
|
202
|
+
f_operator: this.$login.f.name,
|
|
203
|
+
f_operatorid: this.$login.f.id,
|
|
204
|
+
f_orgid: this.$login.f.orgid,
|
|
205
|
+
f_orgname: this.$login.f.orgs,
|
|
206
|
+
f_depid: this.$login.f.depids,
|
|
207
|
+
f_depname: this.$login.f.deps,
|
|
208
|
+
f_zoneid: this.$login.f.zoneid,
|
|
209
|
+
f_zones: this.$login.f.zones
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
close () {
|
|
213
|
+
this.print = false
|
|
214
|
+
this.clean()
|
|
215
|
+
},
|
|
216
|
+
clean () {
|
|
217
|
+
this.$info('取消操作')
|
|
218
|
+
this.$dispatch('cancelclean', this.row)
|
|
219
|
+
},
|
|
220
|
+
printok () {
|
|
221
|
+
this.$dispatch('success')
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
computed: {
|
|
225
|
+
addGas () {
|
|
226
|
+
return [{label: '计入', value: '计入'}, {label: '不计入', value: '不计入'}]
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
</script>
|
|
231
|
+
|
|
232
|
+
<style>
|
|
233
|
+
</style>
|
|
@@ -65,4 +65,6 @@ export default function () {
|
|
|
65
65
|
Vue.component('machine-hand', (resolve) => { require(['./machineHand'], resolve) })
|
|
66
66
|
Vue.component('charge-oper', (resolve) => { require(['./ChargeOper'], resolve) })
|
|
67
67
|
Vue.component('meterTable', (resolve) => { require(['./meterTable'], resolve) })
|
|
68
|
+
// 卡表赠气
|
|
69
|
+
Vue.component('icTable', (resolve) => { require(['./icTable'], resolve) })
|
|
68
70
|
}
|
|
@@ -642,17 +642,16 @@
|
|
|
642
642
|
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
643
643
|
汇总信息
|
|
644
644
|
</td>
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
<td
|
|
655
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
645
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
646
|
+
用气量合计: {{sumsmodel.f_oughtamount}}
|
|
647
|
+
</td>
|
|
648
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
649
|
+
气费合计: {{sumsmodel.f_oughtfee}}
|
|
650
|
+
</td>
|
|
651
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
652
|
+
已交金额合计: {{sumsmodel.f_debt_money}}
|
|
653
|
+
</td>
|
|
654
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
656
655
|
欠费金额合计: {{ sumsmodel.f_actual_arrears }}
|
|
657
656
|
</td>
|
|
658
657
|
<!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
|
|
@@ -777,9 +776,9 @@ export default {
|
|
|
777
776
|
footer: [],
|
|
778
777
|
data: {},
|
|
779
778
|
model: new PagedList('api/af-revenue/sql/salehandplanQuery', 20, {}, {
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
779
|
+
f_oughtamount: 0,
|
|
780
|
+
f_oughtfee: 0,
|
|
781
|
+
f_debt_money: 0,
|
|
783
782
|
f_actual_arrears: 0
|
|
784
783
|
// f_stair1amount: 0,
|
|
785
784
|
// f_stair1fee: 0,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
<div class="showtext">分类: <span>{{file.fusetype}}</span></div>
|
|
52
52
|
<div class="showtext">文件说明: {{file.fremarks}}</div>
|
|
53
53
|
<div class="flex-row showtext">
|
|
54
|
-
<
|
|
54
|
+
<button class="btn btn-link" @click.stop="imgShow(file.f_downloadURL)">预览</button>
|
|
55
55
|
|
|
56
56
|
<a v-show="isDelete == '1'" @click="delet($index,file)">删除</a>
|
|
57
57
|
</div>
|
|
@@ -64,6 +64,19 @@
|
|
|
64
64
|
</div>
|
|
65
65
|
</div>
|
|
66
66
|
</div>
|
|
67
|
+
<modal :show.sync="imgshow" v-ref:modal backdrop="true" coverstyle="modalContentRight">
|
|
68
|
+
<header slot="modal-header" class="modal-header">
|
|
69
|
+
预览
|
|
70
|
+
</header>
|
|
71
|
+
<article slot="modal-body" class="modal-body">
|
|
72
|
+
<div class="from-group">
|
|
73
|
+
<img-self-sale-plus :src="imgfilename" :list="imgfilename" :width="750" :height="750"></img-self-sale-plus>
|
|
74
|
+
</div>
|
|
75
|
+
</article>
|
|
76
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
77
|
+
<button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
|
|
78
|
+
</footer>
|
|
79
|
+
</modal>
|
|
67
80
|
</template>
|
|
68
81
|
<script>
|
|
69
82
|
import {HttpResetClass} from 'vue-client'
|
|
@@ -78,6 +91,8 @@ export default {
|
|
|
78
91
|
|
|
79
92
|
upload_date: '',
|
|
80
93
|
fusetype: [],
|
|
94
|
+
imgfilename: '',
|
|
95
|
+
imgshow: false,
|
|
81
96
|
files: [],
|
|
82
97
|
fusetypes: [],
|
|
83
98
|
isDelete: '0', // 删除按钮,可以进行控制(权限等)
|
|
@@ -111,6 +126,14 @@ export default {
|
|
|
111
126
|
this.selfSearch()
|
|
112
127
|
})
|
|
113
128
|
},
|
|
129
|
+
imgShow (val) {
|
|
130
|
+
// this.imgfilename = `api/af-revenue/file/image/` + val
|
|
131
|
+
this.imgfilename = val
|
|
132
|
+
this.imgshow = true
|
|
133
|
+
},
|
|
134
|
+
imgclose () {
|
|
135
|
+
this.imgshow = false
|
|
136
|
+
},
|
|
114
137
|
getFiles () {
|
|
115
138
|
this.files = []
|
|
116
139
|
this.userinfo_id = this.row.f_userinfo_id
|
|
@@ -185,4 +208,7 @@ export default {
|
|
|
185
208
|
.showtext{
|
|
186
209
|
height:20px;
|
|
187
210
|
}
|
|
211
|
+
.modalContentRight {
|
|
212
|
+
float:right;
|
|
213
|
+
}
|
|
188
214
|
</style>
|
|
@@ -148,6 +148,34 @@
|
|
|
148
148
|
condition="f_oughtamount <= {} " placeholder="">
|
|
149
149
|
</div>
|
|
150
150
|
</div>
|
|
151
|
+
<div class="col-sm-2 form-group">
|
|
152
|
+
<label class="font_normal_body">气表品牌</label>
|
|
153
|
+
<v-select :value.sync="model.f_meter_brand" v-model="model.f_meter_brand"
|
|
154
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择' condition="f_meter_brand = '{}'"
|
|
155
|
+
close-on-select></v-select>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="col-sm-2 form-group">
|
|
158
|
+
<label class="font_normal_body">气表型号</label>
|
|
159
|
+
<v-select :value.sync="model.f_meter_style" v-model="model.f_meter_style"
|
|
160
|
+
:options='$parent.$parent.meterstyle[model.f_meter_brand]' placeholder='请选择'
|
|
161
|
+
condition="f_meter_style = '{}'" close-on-select></v-select>
|
|
162
|
+
</div>
|
|
163
|
+
<div class="col-sm-2 form-group">
|
|
164
|
+
<label class="font_normal_body">防盗卡号</label>
|
|
165
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_defendcard"
|
|
166
|
+
condition="f_defendcard = '{}'" placeholder='防盗卡号'>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="col-sm-2 form-group" style="white-space: nowrap">
|
|
169
|
+
<label class="font_normal_body">累购气量</label>
|
|
170
|
+
<div class="row">
|
|
171
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.totalgasmin"
|
|
172
|
+
condition="f_total_gas >= {} " placeholder="">
|
|
173
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
174
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.totalgasmax"
|
|
175
|
+
condition="f_total_gas <= {} " placeholder="">
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
151
179
|
<res-select-group :initres="$parent.$parent.initres"
|
|
152
180
|
@re-res="$parent.$parent.getRes"
|
|
153
181
|
:show-component="['company']"
|
|
@@ -219,6 +247,18 @@
|
|
|
219
247
|
<th>
|
|
220
248
|
<nobr>下发人员</nobr>
|
|
221
249
|
</th>
|
|
250
|
+
<th>
|
|
251
|
+
<nobr>气表品牌</nobr>
|
|
252
|
+
</th>
|
|
253
|
+
<th>
|
|
254
|
+
<nobr>气表型号</nobr>
|
|
255
|
+
</th>
|
|
256
|
+
<th>
|
|
257
|
+
<nobr>防盗卡号</nobr>
|
|
258
|
+
</th>
|
|
259
|
+
<th>
|
|
260
|
+
<nobr>累购气量</nobr>
|
|
261
|
+
</th>
|
|
222
262
|
<th>
|
|
223
263
|
<nobr>审核状态</nobr>
|
|
224
264
|
</th>
|
|
@@ -292,6 +332,10 @@
|
|
|
292
332
|
<td style="text-align: center;">{{ row.f_inputtor }}</td>
|
|
293
333
|
<td style="text-align: center;">{{ row.f_input_person }}</td>
|
|
294
334
|
<td style="text-align: center;">{{ row.f_operator }}</td>
|
|
335
|
+
<td style="text-align: center;">{{ row.f_meter_brand }}</td>
|
|
336
|
+
<td style="text-align: center;">{{ row.f_meter_style }}</td>
|
|
337
|
+
<td style="text-align: center;">{{ row.f_defendcard }}</td>
|
|
338
|
+
<td style="text-align: center;">{{ row.f_total_gas }}</td>
|
|
295
339
|
<td style="text-align: center;">{{ row.f_audit_state }}</td>
|
|
296
340
|
<td style="text-align: center;">{{ row.f_audit_person }}</td>
|
|
297
341
|
<td style="text-align: center;">{{ row.f_audit_date }}</td>
|
|
@@ -386,7 +430,10 @@
|
|
|
386
430
|
<script>
|
|
387
431
|
import {PagedList, HttpResetClass} from 'vue-client'
|
|
388
432
|
import Vue from 'vue'
|
|
389
|
-
|
|
433
|
+
let readySomething = async function (self) {
|
|
434
|
+
await self.$LoadParams.loadParam()
|
|
435
|
+
self.initParams()
|
|
436
|
+
}
|
|
390
437
|
let readyGen = async function (self) {
|
|
391
438
|
self.getfield = self.config.excelHeaders
|
|
392
439
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
@@ -405,6 +452,9 @@ export default {
|
|
|
405
452
|
},
|
|
406
453
|
f_audit_state: [{label: '全部', value: ''}, {label: '审核通过', value: `= '审核通过'`}, {label: '审核不通过', value: `= '审核不通过'`}],
|
|
407
454
|
sumsmodel: [],
|
|
455
|
+
meterbrands: [],
|
|
456
|
+
// 气表型号
|
|
457
|
+
meterstyle: {},
|
|
408
458
|
orgCondtionStr: '',
|
|
409
459
|
deletestate: false,
|
|
410
460
|
criteriaShow: false,
|
|
@@ -431,13 +481,16 @@ export default {
|
|
|
431
481
|
'f_oughtamount': '应交气量',
|
|
432
482
|
'f_input_person': '录入人员',
|
|
433
483
|
'f_meter_classify': '气表分类',
|
|
484
|
+
'f_meter_brand': '气表品牌',
|
|
434
485
|
'f_meter_style': '气表型号',
|
|
435
486
|
'f_user_phone': '客户电话',
|
|
436
487
|
'f_comments': '备注',
|
|
437
488
|
'f_audit_state': '审核状态',
|
|
438
489
|
'f_audit_person': '审核人员',
|
|
439
490
|
'f_audit_date': '审核时间',
|
|
440
|
-
'f_examinereason': '审核未通过原因'
|
|
491
|
+
'f_examinereason': '审核未通过原因',
|
|
492
|
+
'f_defendcard': '防盗卡号',
|
|
493
|
+
'f_total_gas': '累购气量'
|
|
441
494
|
},
|
|
442
495
|
examine: true,
|
|
443
496
|
customCal: false
|
|
@@ -515,6 +568,11 @@ export default {
|
|
|
515
568
|
}
|
|
516
569
|
},
|
|
517
570
|
ready () {
|
|
571
|
+
readySomething(this).then(() => {
|
|
572
|
+
this.$emit('ready')
|
|
573
|
+
}).catch((error) => {
|
|
574
|
+
this.$emit('error', error)
|
|
575
|
+
})
|
|
518
576
|
this.getaddress()
|
|
519
577
|
readyGen(this)
|
|
520
578
|
},
|
|
@@ -523,6 +581,25 @@ export default {
|
|
|
523
581
|
document.getElementById(this.inputid).focus()
|
|
524
582
|
},
|
|
525
583
|
methods: {
|
|
584
|
+
initParams() {
|
|
585
|
+
// 初始化气表品牌
|
|
586
|
+
let brandArr = []
|
|
587
|
+
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
588
|
+
let temp = {}
|
|
589
|
+
temp.label = item.label
|
|
590
|
+
temp.value = item.value.f_meter_brand
|
|
591
|
+
brandArr.push(temp)
|
|
592
|
+
// 取出对应气表型号
|
|
593
|
+
let styleArr = []
|
|
594
|
+
for (let row of item.value.gasmodel) {
|
|
595
|
+
styleArr.push({label: row.label, value: row.value.f_meter_style})
|
|
596
|
+
}
|
|
597
|
+
this.meterstyle[temp.value] = styleArr
|
|
598
|
+
})
|
|
599
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
600
|
+
//初始化气表价格
|
|
601
|
+
this.prices = this.$GetSaleParam.getPrices();
|
|
602
|
+
},
|
|
526
603
|
tableBaseBlur () {
|
|
527
604
|
if (this.danhu.f_new_tablebase) {
|
|
528
605
|
this.f_current_usage = (this.danhu.f_new_tablebase -0) - (this.danhu.info.f_last_tablebase -0)
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<tab-button v-ref:list>
|
|
3
|
+
<tabs header="计划下发" v-if="permission('计划下发')">
|
|
4
|
+
<industry-down v-if="show.includes('计划下发')"></industry-down>
|
|
5
|
+
</tabs>
|
|
3
6
|
<tabs header="工商业抄表" v-if="permission('工商业抄表')">
|
|
4
7
|
<industry-commerce-hand v-if="show.includes('工商业抄表')"></industry-commerce-hand>
|
|
5
8
|
</tabs>
|
|
@@ -26,7 +29,7 @@
|
|
|
26
29
|
showupload: false,
|
|
27
30
|
// searchNumber:'',
|
|
28
31
|
rowData: {},
|
|
29
|
-
show: ['
|
|
32
|
+
show: ['计划下发']
|
|
30
33
|
}
|
|
31
34
|
},
|
|
32
35
|
components: {Tabs, TabButton},
|