sale-client 3.4.190 → 3.4.191

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.190",
3
+ "version": "3.4.191",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -205,10 +205,10 @@ import Vue from 'vue'
205
205
  let loadParamGem = async function (self) {
206
206
  await self.$LoadParams.loadParam()
207
207
  self.getfield = self.config.excelHeaders
208
- self.$refs.paged.$refs.cri.model.f_meter_classify = ['机表']
208
+ // self.$refs.paged.$refs.cri.model.f_meter_classify = ['机表']
209
209
  self.$refs.paged.$refs.cri.model.f_book_name = ['is null']
210
210
  await self.initAdjustables()
211
- await self.search()
211
+ // await self.search()
212
212
  }
213
213
  export default {
214
214
  name: 'MbpeopleList',
@@ -0,0 +1,215 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="span" style="overflow-y: auto;">
4
+ <validator name='v'>
5
+ <form novalidate class="form-horizontal">
6
+ <div class="row" style="margin-top:10px;">
7
+ <div class="col-sm-4">
8
+ <label for="f_newuser_name" id="label" class="font_normal_body">转入方编号</label>
9
+ <input class="input_search" style="width:60%" type="text" title="转入方编号" v-model="model.in_userinfo_code"
10
+ readonly placeholder="用户姓名">
11
+ </div>
12
+ <div class="col-sm-4">
13
+ <label for="f_newuser_name" id="label" class="font_normal_body">转入方姓名</label>
14
+ <input class="input_search" style="width:60%" type="text" title="转入方姓名" v-model="model.in_user_name"
15
+ readonly placeholder="用户姓名">
16
+ </div>
17
+ </div>
18
+ <div class="row" style="margin-top:10px;">
19
+ <div class="col-sm-4" title="回车搜索传出方信息" :class="[$v.out_userinfo_code.required ? 'has-error' : 'has-success']">
20
+ <label for="f_newuser_name" id="label" class="font_normal_body">转出方编号</label>
21
+ <input class="input_search" style="width:60%" type="text" title="回车搜索传出方信息" v-model="model.out_userinfo_code"
22
+ v-validate:out_userinfo_code='{required: true }' @keydown.enter="searchByCode" placeholder="转出方编号,按下回车进行查询">
23
+ </div>
24
+ <div class="col-sm-4" :class="[$v.out_user_name.required ? 'has-error' : 'has-success']">
25
+ <label for="f_newuser_name" id="label" class="font_normal_body">转出方姓名</label>
26
+ <input class="input_search" style="width:60%" type="text" title="转出方姓名" v-model="model.out_user_name"
27
+ v-validate:out_user_name='{required: true }' readonly placeholder="转出方姓名">
28
+ </div>
29
+ </div>
30
+ <div class="row" style="margin-top:10px;">
31
+ <div class="col-sm-12" :class="[$v.f_comments.required ? 'has-error' : 'has-success']">
32
+ <label id="label" for="f_comments" class="font_normal_body">&nbsp;备&emsp;&emsp;注</label>
33
+ <input class="input_search" style="width:87%" v-model="model.f_comments"
34
+ v-validate:f_comments='{required: true }'
35
+ placeholder="备注"/>
36
+ </div>
37
+ </div>
38
+ </form>
39
+ <div style="text-align:right;height:auto;">
40
+ <button class="button_search" @click="notarize = true" :disabled='!$v.valid'>
41
+ 确认
42
+ </button>
43
+ <button class="button_clear" @click="clear()">
44
+ 取消
45
+ </button>
46
+ </div>
47
+ </validator>
48
+ </div>
49
+ <upload :blodid="blodid" v-if="config.showupload" isremark="true" fusetype="用户记录转移管理"></upload>
50
+ <modal v-if="notarize" :show.sync="notarize" width="40%" title="信息确认" v-ref:modal large backdrop="false">
51
+ <article slot="modal-body" class="modal-body" style="text-align: center">
52
+ <strong>此操作具有一定的风险性,需要您再次确认转出方用户信息,请输入传出方用户编号</strong>
53
+ <div class="row">
54
+ <div class="col-sm-6 col-sm-offset-3">
55
+ <label for="f_newuser_name" id="label" class="font_normal_body">再次确认用户编号</label>
56
+ <input class="input_search" style="width:60%" type="text" title="用户编号" v-model="notarize_userinfo_code"
57
+ placeholder="用户编号">
58
+ </div>
59
+ </div>
60
+ </article>
61
+ <footer slot="modal-footer" class="modal-footer">
62
+ <button class="button_search" @click="confirm()" :disabled='!notarize_userinfo_code'>
63
+ 确认
64
+ </button>
65
+ <button class="button_clear" @click="notarize = false">
66
+ 取消
67
+ </button>
68
+ </footer>
69
+ </modal>
70
+ </div>
71
+ </template>
72
+ <script>
73
+
74
+ import {HttpResetClass} from 'vue-client'
75
+
76
+ let asyncTransferManage = async function (self) {
77
+ // await self.$getConfig(self, 'TransferRecord')
78
+ }
79
+
80
+ export default {
81
+ title: '过户管理',
82
+ props: ['row'],
83
+ data () {
84
+ return {
85
+ // 附件上传必须
86
+ blodid: '',
87
+ notarize: false,
88
+ notarize_userinfo_code: '',
89
+ config: {
90
+ showupload: false,
91
+ tableNames: [
92
+ {
93
+ table: 't_sellinggas',
94
+ name: '收费记录',
95
+ checked: true,
96
+ disabled: true
97
+ }, {
98
+ table: 't_chargeprice',
99
+ name: '划价记录',
100
+ checked: true,
101
+ disabled: true
102
+ }]
103
+ },
104
+ model: {
105
+ table_name: [],
106
+ in_userinfo_id: '',
107
+ in_userfiles_id: '',
108
+ in_userinfo_code: '',
109
+ in_user_id: '',
110
+ out_userinfo_id: '',
111
+ out_userfiles_id: '',
112
+ out_user_id: '',
113
+ out_userinfo_code: '',
114
+ in_user_name: '',
115
+ out_user_name: '',
116
+ f_orgid: '',
117
+ f_orgname: '',
118
+ f_depid: '',
119
+ f_depname: '',
120
+ f_operatorid: '',
121
+ f_operator: '',
122
+ f_comments: ''
123
+ }
124
+ }
125
+ },
126
+ ready () {
127
+ this.blodid = this.row.f_userinfo_id
128
+ Object.assign(this.model, {
129
+ in_userinfo_id: this.row.f_userinfo_id,
130
+ in_userinfo_code: this.row.f_userinfo_code,
131
+ in_userfiles_id: this.row.f_userfiles_id,
132
+ in_user_id: this.row.f_user_id,
133
+ in_user_name: this.row.f_user_name,
134
+ f_operator: this.$login.f.name,
135
+ f_operatorid: this.$login.f.id,
136
+ f_orgid: this.$login.f.orgid,
137
+ f_orgname: this.$login.f.orgs,
138
+ f_depid: this.$login.f.depids,
139
+ f_depname: this.$login.f.deps
140
+ })
141
+ asyncTransferManage(this)
142
+ },
143
+ methods: {
144
+ confirm () {
145
+ // 首先验证用户
146
+ new HttpResetClass().load('post', 'rs/sql/sale_getUser',
147
+ {
148
+ data: {
149
+ condition: `f_userinfo_code = '${this.notarize_userinfo_code}'`,
150
+ orderitem: ` f_userinfo_code Desc`
151
+ }
152
+ },
153
+ {resolveMsg: null, rejectMsg: '查找用户出错'}).then(
154
+ res => {
155
+ if (res.data.length === 0) {
156
+ this.$showAlert('验证信息有误,请重新输入用户编号进行查询并谨慎核对!!!', 'warning', 2000)
157
+ } else if (this.model.out_user_id !== res.data[0].f_user_id || this.model.out_userinfo_id !== res.data[0].f_userinfo_id || this.model.out_userfiles_id !== res.data[0].f_userfiles_id) {
158
+ this.$showAlert('验证信息有误,请重新输入用户编号进行查询并谨慎核对!!!', 'warning', 2000)
159
+ this.model.out_user_name = undefined
160
+ } else {
161
+ this.model.table_name = this.config.tableNames.map(item => item.table)
162
+ new HttpResetClass().load('post', 'rs/logic/transferRecords',
163
+ this.model,
164
+ {resolveMsg: null, rejectMsg: '查找用户出错'}).then(
165
+ res => {
166
+ this.$showAlert('操作成功', 'success', 2000)
167
+ this.clear()
168
+ }
169
+ )
170
+ }
171
+ }
172
+ )
173
+ },
174
+ clear () {
175
+ this.$dispatch('refresh')
176
+ },
177
+ searchByCode () {
178
+ if (this.model.in_userinfo_code === this.model.out_userinfo_code) {
179
+ this.$showAlert('转出方转入方信息不能一致,请谨慎核对!!!', 'warning', 2000)
180
+ return
181
+ }
182
+ new HttpResetClass().load('post', 'rs/sql/sale_getUser',
183
+ {
184
+ data: {
185
+ condition: `f_userinfo_code = '${this.model.out_userinfo_code}'`,
186
+ orderitem: ` f_userinfo_code Desc`
187
+ }
188
+ },
189
+ {resolveMsg: null, rejectMsg: '查找用户出错'}).then(
190
+ res => {
191
+ if (res.data.length > 0) {
192
+ Object.assign(this.model, {
193
+ out_userinfo_code: res.data[0].f_userinfo_code,
194
+ out_user_id: res.data[0].f_user_id,
195
+ out_userinfo_id: res.data[0].f_userinfo_id,
196
+ out_userfiles_id: res.data[0].f_userfiles_id,
197
+ out_user_name: res.data[0].f_user_name
198
+ })
199
+ } else {
200
+ this.$showAlert('查无用户信息,请谨慎核对!!!', 'warning', 2000)
201
+ this.model.out_user_name = undefined
202
+ }
203
+ }
204
+ )
205
+ }
206
+ },
207
+ events: {}
208
+ }
209
+ </script>
210
+
211
+ <style scoped>
212
+ #label {
213
+ margin-top: 5px;
214
+ }
215
+ </style>
@@ -0,0 +1,25 @@
1
+ <template>
2
+ <div class="auto">
3
+ <fee-deduction v-if="row.f_meter_type === '物联网表'" :data="row"></fee-deduction>
4
+ <fee-machine v-if="row.f_meter_type === '机表'" :data="row"></fee-machine>
5
+ </div>
6
+ </template>
7
+ <script>
8
+ import feeDeduction from './feeDeduction'
9
+ import feeMachine from './feeMachine'
10
+ export default {
11
+ title: '补费扣费',
12
+ components: {
13
+ feeDeduction,
14
+ feeMachine
15
+ },
16
+ data () {
17
+ return {
18
+ }
19
+ },
20
+ props: ['row'],
21
+ ready () {
22
+
23
+ }
24
+ }
25
+ </script>
@@ -0,0 +1,162 @@
1
+ <template>
2
+ <div class="auto">
3
+ <validator name='v'>
4
+ <form novalidate class="form-horizontal">
5
+ <div class="row">
6
+ <div class="col-sm-4 form-group">
7
+ <label class="font_normal_body" title="参数值:计入/不计入,计入:更新档案结余及累购,不计入:只保存记录不对档案进行操作">计入累购</label>
8
+ <input v-show="false" v-model="model.f_add_gas" v-validate:f_operat_type='{required: true}'>
9
+ <v-select :value.sync="model.f_add_gas" value-single
10
+ :options='addGas' placeholder='请选择'
11
+ disabled
12
+ selected="是否计入累购"
13
+ style="width:60%"
14
+ close-on-select></v-select>
15
+ </div>
16
+
17
+ <div class="col-sm-4 form-group">
18
+ <label class="font_normal_body">操&nbsp;&nbsp;作</label>
19
+ <input v-show="false" v-model="model.f_operat_type"
20
+ v-validate:f_operat_type='{required: true}'>
21
+ <v-select v-if="this.data.f_collection_type==='按金额'" :value.sync="model.f_operat_type"
22
+ :options='operator_type' placeholder='请选择'
23
+ selected="补费"
24
+ style="width:60%"
25
+ close-on-select></v-select>
26
+ <v-select v-if="this.data.f_collection_type==='按气量'" :value.sync="model.f_operat_type"
27
+ :options='operator_type2' placeholder='请选择'
28
+ selected="补气"
29
+ style="width:60%"
30
+ close-on-select></v-select>
31
+ </div>
32
+ <div class="col-sm-4 form-group">
33
+ <div v-if="this.data.f_collection_type==='按金额'"
34
+ :class="[$v.f_preamount.required || $v.f_preamount.dctest ? 'has-error' : 'has-success']">
35
+ <label class="font_normal_body">&nbsp;金额&nbsp;</label>
36
+ <input class="input_search" type="number" v-model="model.f_preamount"
37
+ v-validate:f_preamount='{required: true, dctest: [0, ">" ]}' placeholder="金额">
38
+ </div>
39
+ <div v-if="this.data.f_collection_type==='按气量'"
40
+ :class="[$v.f_pregas.required || $v.f_pregas.dctest ? 'has-error' : 'has-success']">
41
+ <label class="font_normal_body">&nbsp;气量&nbsp;</label>
42
+ <input class="input_search" type="number" v-model="model.f_pregas"
43
+ v-validate:f_pregas='{required: true, dctest: [0, ">" ]}' placeholder="气量">
44
+ </div>
45
+ </div>
46
+ </div>
47
+
48
+ <div class="row">
49
+ <div class="col-sm-12">
50
+ <label for="f_paper_account" class="font_normal_body ">备&nbsp;&nbsp;注</label>
51
+ <input class="input_search" style="width:87%" rows="1" v-model="model.f_comments"></input>
52
+ </div>
53
+ </div>
54
+ </form>
55
+ <div style="text-align:right;">
56
+ <button class="btn button_search btn-gn" @click="confirm()" :disabled='!$v.valid'>确认</button>
57
+ <button class="btn button_clear btn-gn" @click="clean()">取消</button>
58
+ </div>
59
+ </validator>
60
+ <!--<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>-->
61
+ <!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
62
+ <!--<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="clean" @printok="printok" :data='printModel' v-ref:printbill></print-bill>-->
63
+ </div>
64
+ <upload :blodid="data.f_userinfo_id" v-if="true" isremark="true" fusetype="补费扣费"></upload>
65
+ </template>
66
+
67
+
68
+ <script>
69
+ import Vue from 'vue'
70
+ let asyncfeeDeduction = async function (self) {
71
+ await self.$getConfig(self, 'feeDeduction')
72
+ console.log('物联网补费扣费config', self.config)
73
+ if(self.config.addgas){
74
+ self.model.f_add_gas = '计入'
75
+ } else {
76
+ self.model.f_add_gas = '计入'
77
+ }
78
+ }
79
+ export default {
80
+ title: '物联网表补费扣费',
81
+ data () {
82
+ return {
83
+ blodid: '',
84
+ showupload: false,
85
+ config: {
86
+ addgas: false
87
+ },
88
+ addGas: [{label: '计入', value: '计入'}, {label: '不计入', value: '不计入'}],
89
+ operator_type: [{label: '补费', value: '物联网补费'}, {label: '扣费', value: '物联网扣费'}],
90
+ operator_type2: [{label: '补气', value: '物联网补气'}, {label: '扣气', value: '物联网扣气'}],
91
+ model: {
92
+ f_operat_type: '',
93
+ f_pregas: 0,
94
+ f_preamount: 0,
95
+
96
+ f_comments: ''
97
+ }
98
+
99
+ }
100
+ },
101
+ props: ['data'],
102
+ ready () {
103
+ // this.blodid = this.row.f_userinfo_id
104
+ if (this.data.f_collection_type === '按气量') {
105
+ this.model.f_operat_type = ['物联网补费']
106
+ } else {
107
+ this.model.f_operat_type = ['物联网补费']
108
+ }
109
+ asyncfeeDeduction(this)
110
+ },
111
+ methods: {
112
+ async confirm () {
113
+ let param = {
114
+ fillgas: {
115
+ f_add_gas: this.model.f_add_gas,
116
+ f_userinfo_id: this.data.f_userinfo_id,
117
+ f_user_id: this.data.f_user_id,
118
+ f_userfiles_id: this.data.f_userfiles_id,
119
+ f_user_name: this.data.f_user_name,
120
+ f_user_type: this.data.f_user_type,
121
+ f_gasproperties: this.data.f_gasproperties,
122
+ f_meter_type: this.data.f_meter_type,
123
+ f_pregas: this.model.f_pregas,
124
+ f_address: this.data.f_address,
125
+ f_meter_brand: this.data.f_meter_brand,
126
+ f_preamount: this.model.f_preamount,
127
+ f_type: this.model.f_operat_type[0],
128
+ // f_preamount_state: '有效',
129
+ f_comments: this.model.f_comments,
130
+ f_billing: this.data.f_billing,
131
+ f_operator: Vue.$login.f.name,
132
+ f_operatorid: Vue.$login.f.id,
133
+ f_orgid: Vue.$login.f.orgid,
134
+ f_orgname: Vue.$login.f.orgs,
135
+ f_depid: Vue.$login.f.depids,
136
+ f_depname: Vue.$login.f.deps,
137
+ f_card_id: this.data.f_card_id,
138
+ f_balance: this.data.f_balance_amount,
139
+ f_operat_type: this.model.f_operat_type[0],
140
+ f_describe: `${this.$login.f.name}对用户${this.data.f_user_name}进行${this.model.f_operat_type}操作`,
141
+ f_state: '有效'
142
+ // f_table_state:'有效'
143
+ }
144
+ }
145
+ console.log(param)
146
+ this.$resetpost('rs/logic/feededuction', {data: param}, {warnMsg: `确定要对用户${this.data.f_user_name}进行${this.model.f_operat_type}吗?`, resolveMsg: `${this.model.f_operat_type}成功!!`, rejectMsg: `${this.model.f_operat_type}失败!!请重试!!`}).then((res) => {
147
+ this.clean()
148
+ })
149
+ },
150
+ clean () {
151
+ this.$dispatch('refresh')
152
+ }
153
+ // printok () {
154
+ // this.$dispatch('success')
155
+ // },
156
+ // validateBill (val) {
157
+ // this.validateOk = !val.isOk
158
+ // this.billData.bill = val.bill
159
+ // }
160
+ }
161
+ }
162
+ </script>
@@ -0,0 +1,138 @@
1
+ <template>
2
+ <div class="auto">
3
+ <validator name='v'>
4
+ <form novalidate class="form-horizontal">
5
+ <div class="row">
6
+ <div class="col-sm-4 form-group">
7
+ <label class="font_normal_body">&nbsp;操作&nbsp;</label>
8
+ <input v-show="false" v-model="model.f_operat_type"
9
+ v-validate:f_operat_type='{required: true}'>
10
+ <v-select :value.sync="model.f_operat_type"
11
+ :options='operator_type' placeholder='请选择'
12
+ selected="补费"
13
+ style="width:60%"
14
+ close-on-select></v-select>
15
+ <!--<v-select v-if="this.data.f_collection_type==='按气量'" :value.sync="model.f_operat_type"-->
16
+ <!--:options='operator_type2' placeholder='请选择'-->
17
+ <!--selected="补气"-->
18
+ <!--style="width:60%"-->
19
+ <!--close-on-select></v-select>-->
20
+ </div>
21
+ <div class="col-sm-4 form-group"></div>
22
+
23
+ <div class="col-sm-4 form-group"
24
+ :class="[$v.f_preamount.required || $v.f_preamount.dctest ? 'has-error' : 'has-success']">
25
+ <label class="font_normal_body">&nbsp;金额&nbsp;</label>
26
+ <input class="input_search" type="number" v-model="model.f_preamount" style="width:60%"
27
+ v-validate:f_preamount='{required: true, dctest: [0, ">" ]}' placeholder="金额">
28
+ </div>
29
+ <!--<div v-if="this.data.f_collection_type==='按气量'" class="col-sm-4 form-group"-->
30
+ <!--:class="[$v.f_pregas.required || $v.f_pregas.dctest ? 'has-error' : 'has-success']">-->
31
+ <!--<label class="font_normal_body">&nbsp;气量&nbsp;</label>-->
32
+ <!--<input class="input_search" type="number" v-model="model.f_pregas" style="width:60%"-->
33
+ <!--v-validate:f_pregas='{required: true, dctest: [0, ">" ]}' placeholder="气量">-->
34
+ <!--</div>-->
35
+
36
+ </div>
37
+
38
+ <div class="row">
39
+ <div class="col-sm-12">
40
+ <label for="f_paper_account" class="font_normal_body ">&nbsp;备注&nbsp;</label>
41
+ <input class="input_search" style="width:87%" rows="1" v-model="model.f_comments"></input>
42
+ </div>
43
+ </div>
44
+ </form>
45
+ <div style="text-align:right;">
46
+ <button class="btn button_search btn-gn" @click="confirm()" :disabled='!$v.valid'>确认</button>
47
+ <button class="btn button_clear btn-gn" @click="clean()">取消</button>
48
+ </div>
49
+ </validator>
50
+ <!--<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>-->
51
+ <!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
52
+ <!--<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="clean" @printok="printok" :data='printModel' v-ref:printbill></print-bill>-->
53
+ </div>
54
+ <upload :blodid="data.f_userinfo_id" v-if="true" isremark="true" fusetype="补费扣费"></upload>
55
+ </template>
56
+
57
+
58
+ <script>
59
+ import Vue from 'vue'
60
+
61
+ export default {
62
+ title: '机表补费扣费',
63
+ data () {
64
+ return {
65
+ blodid: '',
66
+ showupload: false,
67
+ operator_type: [{label: '补费', value: '机表补费'}, {label: '扣费', value: '机表扣费'}],
68
+ // operator_type2:[{label:'补气',value:'机表补费'},{label:'扣气',value:'机表扣费'}],
69
+ model: {
70
+ f_operat_type: '',
71
+ f_pregas: 0,
72
+ f_preamount: 0,
73
+
74
+ f_comments: ''
75
+ }
76
+
77
+ }
78
+ },
79
+ props: ['data'],
80
+ ready () {
81
+ // this.blodid = this.row.f_userinfo_id
82
+ // if(this.data.f_collection_type==='按气量'){
83
+ this.model.f_operat_type = ['机表补费']
84
+ // }else{
85
+ // this.model.f_operat_type=['物联网补费']
86
+ // }
87
+ },
88
+ methods: {
89
+ async confirm () {
90
+ let param = {
91
+ fillgas: {
92
+ f_userinfo_id: this.data.f_userinfo_id,
93
+ f_user_id: this.data.f_user_id,
94
+ f_userfiles_id: this.data.f_userfiles_id,
95
+ f_user_name: this.data.f_user_name,
96
+ f_user_type: this.data.f_user_type,
97
+ f_gasproperties: this.data.f_gasproperties,
98
+ f_meter_type: this.data.f_meter_type,
99
+ f_pregas: this.model.f_pregas,
100
+ f_address: this.data.f_address,
101
+ f_meter_brand: this.data.f_meter_brand,
102
+ f_preamount: this.model.f_preamount,
103
+ f_type: this.model.f_operat_type[0],
104
+ // f_preamount_state: '有效',
105
+ f_comments: this.model.f_comments,
106
+ f_billing: this.data.f_billing,
107
+ f_operator: Vue.$login.f.name,
108
+ f_operatorid: Vue.$login.f.id,
109
+ f_orgid: Vue.$login.f.orgid,
110
+ f_orgname: Vue.$login.f.orgs,
111
+ f_depid: Vue.$login.f.depids,
112
+ f_depname: Vue.$login.f.deps,
113
+ f_card_id: this.data.f_card_id,
114
+ f_balance: this.data.f_balance_amount,
115
+ f_operat_type: this.model.f_operat_type[0],
116
+ f_describe: `${this.$login.f.name}对用户${this.data.f_user_name}进行${this.model.f_operat_type}操作`,
117
+ f_state: '有效'
118
+ // f_table_state:'有效'
119
+ }
120
+ }
121
+ console.log(param)
122
+ this.$resetpost('rs/logic/feemachine', {data: param}, {warnMsg: `确定要对用户${this.data.f_user_name}进行${this.model.f_operat_type}吗?`, resolveMsg: `${this.model.f_operat_type}成功!!`, rejectMsg: `${this.model.f_operat_type}失败!!请重试!!`}).then((res) => {
123
+ this.clean()
124
+ })
125
+ },
126
+ clean () {
127
+ this.$dispatch('refresh')
128
+ }
129
+ // printok () {
130
+ // this.$dispatch('success')
131
+ // },
132
+ // validateBill (val) {
133
+ // this.validateOk = !val.isOk
134
+ // this.billData.bill = val.bill
135
+ // }
136
+ }
137
+ }
138
+ </script>
@@ -33,6 +33,8 @@ let specialComp = {
33
33
  // 售气收费 --弹出框
34
34
  'charge-modal': (resolve) => { require(['./ChargeModal'], resolve) },
35
35
  // 使用该抄表册的用户信息(使用户数)
36
- 'meterbook-user':(resolve) => { require(['./MeterBookUser'], resolve) }
36
+ 'meterbook-user':(resolve) => { require(['./MeterBookUser'], resolve) },
37
+ // 补费扣费
38
+ 'deduction-manage': (resolve) => { require(['./deductionManage'], resolve) }
37
39
  }
38
40
  exports.specialComp = specialComp
package/src/sale.js CHANGED
@@ -191,6 +191,8 @@ export default function (filiale) {
191
191
  Vue.component('machine-card-bill', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ReplaceCard/MachineCardBill'], resolve) })
192
192
  // 过户
193
193
  Vue.component('transfer-manage', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferManage'], resolve) })
194
+ // 过户
195
+ Vue.component('transfer-records', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferRecords'], resolve) })
194
196
  // 表具停用
195
197
  Vue.component('disable-manage', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage'], resolve) })
196
198
  // 表具启用