sale-client 4.0.57-preview → 4.0.58-preview

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": "4.0.57-preview",
3
+ "version": "4.0.58-preview",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1,21 +1,23 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from 'vue'
3
-
4
- export default function () {
5
- // 特殊用户
6
- Vue.component('basic-living-list', (resolve) => { require(['./BasicLivingList'], resolve) })
7
- // 表具停用
8
- Vue.component('disable-manage', (resolve) => { require(['./DisableManage'], resolve) })
9
- // 用户综合信息
10
- Vue.component('file-user-general-info', (resolve) => { require(['./UserGeneralInfoTest'], resolve) })
11
- // 发票信息公共
12
- Vue.component('eticket-modal', (resolve) => { require(['./EticketModal'], resolve) })
13
- // 补卡管理
14
- Vue.component('replace-card-manage', (resolve) => { require(['./ReplaceCardManage'], resolve) })
15
- // 发卡售气
16
- Vue.component('show-card-sell-gas', (resolve) => { require(['./ShowCardSellGas'], resolve) })
17
- // 特殊用户
18
- Vue.component('special-user-manage', (resolve) => { require(['./SpecialUserManage'], resolve) })
19
- // 黑名单
20
- Vue.component('black-list-list', (resolve) => { require(['./BlackListList'], resolve) })
21
- }
1
+ // 分公司特殊组件页面注册
2
+ import Vue from 'vue'
3
+
4
+ export default function () {
5
+ // 特殊用户
6
+ Vue.component('basic-living-list', (resolve) => { require(['./BasicLivingList'], resolve) })
7
+ // 表具停用
8
+ Vue.component('disable-manage', (resolve) => { require(['./DisableManage'], resolve) })
9
+ // 用户综合信息
10
+ Vue.component('file-user-general-info', (resolve) => { require(['./UserGeneralInfoTest'], resolve) })
11
+ // 发票信息公共
12
+ Vue.component('eticket-modal', (resolve) => { require(['./EticketModal'], resolve) })
13
+ // 补卡管理
14
+ Vue.component('replace-card-manage', (resolve) => { require(['./ReplaceCardManage'], resolve) })
15
+ // 发卡售气
16
+ Vue.component('show-card-sell-gas', (resolve) => { require(['./ShowCardSellGas'], resolve) })
17
+ // 特殊用户
18
+ Vue.component('special-user-manage', (resolve) => { require(['./SpecialUserManage'], resolve) })
19
+ // 黑名单
20
+ Vue.component('black-list-list', (resolve) => { require(['./BlackListList'], resolve) })
21
+ // 当前选择用户的用户基本信息
22
+ Vue.component('sale-userinfo', (resolve) => { require(['./Userinfo'], resolve) })
23
+ }
@@ -1,275 +0,0 @@
1
- <template>
2
- <div @keyup.enter="search" class="flex-auto" style="flex:1;">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
5
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
6
- <div class="row">
7
- <res-select-group :style="$parent.$parent.style" :show-component="['company']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getorg" v-ref:sel></res-select-group>
8
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}">
9
- <label class="font_normal_body">用户编号</label>
10
- <input class="input_search" condition="f_userinfo_code like '%{}%'" placeholder="用户编号" style="width:60%"
11
- style="width: 90px"
12
- type="text" v-model="model.ename"
13
- />
14
- </div>
15
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}"
16
- v-if="!$parent.$parent.$parent.isdetail">
17
- <label class="font_normal_body">用户姓名</label>
18
- <input class="input_search" condition="f_user_name = '{}'" placeholder="用户姓名" style="width:60%" style="width: 90px"
19
- type="text" v-model="model.name"
20
- />
21
- </div>
22
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}"
23
- v-if="!$parent.$parent.downshow && !$parent.$parent.$parent.isdetail">
24
- <label class="font_normal_body">电&emsp;&emsp;话</label>
25
- <input :size="model.f_user_phone ? model.f_user_phone.length : 2" class="input_search" condition="f_user_phone = '{}'" placeholder='电话' style="width:60%"
26
- type="text"
27
- v-model="model.f_user_phone">
28
- </div>
29
- <div class="form-group col-sm-3 button-range" style="padding-right: 10px">
30
- <import-excel v-if="$parent.$parent.blackImport === '黑名单导入'" template-name="黑名单用户导入模板" logic-name="BlackListImport" import-json="blacklist.json"></import-excel>
31
- <button @click="$parent.$parent.search()" class="button_search button_spacing" style="width:80px;margin-left:30px;" v-el:cx>查询</button>
32
- <button @click="$parent.$parent.add()" class="button_export button_spacing" style="width: max-content;"
33
- v-el:cx>新增异常用户
34
- </button>
35
- <export-excel
36
- :data="$parent.$parent.getCondition"
37
- :field="$parent.$parent.getfield"
38
- sqlurl="api/af-revenue/logic/saleExport" progress="saleGetExportProgress" sql-name="sale_getBlackList" template-name='黑名单导出'
39
- :choose-col="true">
40
- </export-excel>
41
- <div
42
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
- @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
44
- </div>
45
- </div>
46
- <div class="row" v-if="$parent.$parent.criteriaShow">
47
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}"
48
- v-if="$parent.$parent.$parent.isdetail">
49
- <label class="font_normal_body">用户姓名</label>
50
- <input class="input_search" condition="f_user_name = '{}'" placeholder="用户姓名" style="width:60%" style="width: 90px"
51
- type="text" v-model="model.name"
52
- />
53
- </div>
54
-
55
-
56
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}"
57
- v-if="!$parent.$parent.downshow&&!$parent.$parent.$parent.isdetail">
58
- <label class="font_normal_body">表&emsp;&emsp;号</label>
59
- <input :size="model.f_meternumber ? model.f_meternumber.length * 2 : 4" class="input_search" condition="f_meternumber = '{}'" placeholder='表号' style="width:60%"
60
- type="text"
61
- v-model="model.f_meternumber">
62
- </div>
63
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}"
64
- v-if="!$parent.$parent.downshow&&!$parent.$parent.$parent.isdetail">
65
- <label class="font_normal_body">卡&emsp;&emsp;号</label>
66
- <input :size="model.f_card_id ? model.f_card_id.length * 2 : 4" class="input_search" condition="f_card_id = '{}'" placeholder='卡号' style="width:60%"
67
- type="text"
68
- v-model="model.f_card_id">
69
- </div>
70
-
71
-
72
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}"
73
- v-if="!$parent.$parent.downshow&&!$parent.$parent.$parent.isdetail">
74
- <label class="font_normal_body">地&emsp;&emsp;址</label>
75
- <input :size="model.f_address ? model.f_address.length * 2 : 4" class="input_search" condition="f_address like '%{}%'" placeholder='用户地址' style="width:60%"
76
- type="text"
77
- v-model="model.f_address">
78
- </div>
79
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}"
80
- v-if="!(!$parent.$parent.downshow && !$parent.$parent.$parent.isdetail)">
81
- <label class="font_normal_body">电&emsp;&emsp;话</label>
82
- <input :size="model.f_user_phone ? model.f_user_phone.length : 2" class="input_search" condition="f_user_phone = '{}'" placeholder='电话' style="width:60%"
83
- type="text"
84
- v-model="model.f_user_phone">
85
- </div>
86
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}"
87
- v-if="!(!$parent.$parent.downshow&&!$parent.$parent.$parent.isdetail)">
88
- <label class="font_normal_body">地&emsp;&emsp;址</label>
89
- <input :size="model.f_address ? model.f_address.length * 2 : 4" class="input_search" condition="f_address like '%{}%'" placeholder='用户地址' style="width:60%"
90
- type="text"
91
- v-model="model.f_address">
92
- </div>
93
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}">
94
- <label class="font_normal_body">安检日期</label>
95
- <datepicker placeholder="开始日期"
96
- style="width:60%"
97
- class="datepicker"
98
- v-model="model.f_last_check_date"
99
- :value.sync="model.f_last_check_date"
100
- :format="'yyyy-MM-dd'"
101
- condition="f_last_check_date >= '{} 00:00:00'"
102
- ></datepicker>
103
- </div>
104
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}">
105
- <label class="font_normal_body">限购日期</label>
106
- <datepicker placeholder="开始日期"
107
- style="width:60%"
108
- class="datepicker"
109
- v-model="model.f_parameter_value"
110
- :value.sync="model.f_parameter_value"
111
- :format="'yyyy-MM-dd'"
112
- condition="f_parameter_value >= '{} 00:00:00'"
113
- ></datepicker>
114
- </div>
115
- <div class="form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}">
116
- <label class="font_normal_body">操&nbsp;作&nbsp;人</label>
117
- <input :size="model.f_operator ? model.f_operator.length * 2 : 4" class="input_search" condition="f_operator like '%{}%'" placeholder='操作人' style="width:60%"
118
- type="text"
119
- v-model="model.f_operator">
120
- </div>
121
- </div>
122
-
123
- </div>
124
- </criteria>
125
- <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
126
- <template partial='head'>
127
- <tr>
128
- <th style="text-align: center; ">序号</th>
129
- <th style="text-align: center;">用户编号</th>
130
- <th style="text-align: center;">姓名</th>
131
- <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>表号</th>
132
- <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>卡号</th>
133
- <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>电话</th>
134
- <th style="text-align: center;">地址</th>
135
- <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>安检日期</th>
136
- <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>限购日期</th>
137
- <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>操作人</th>
138
- <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>限购原因</th>
139
- </tr>
140
- </template>
141
- <template partial='body'>
142
-
143
- <td style="text-align: center;">{{$index+1}}</td>
144
- <td style="text-align: center;">{{row.f_userinfo_code}}</td>
145
- <td style="text-align: center;">{{row.f_user_name}}</td>
146
- <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_meternumber}}</td>
147
- <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_card_id}}</td>
148
- <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_user_phone}}</td>
149
- <td style="text-align: center;">{{row.f_address}}</td>
150
- <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_last_check_date}}</td>
151
- <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_parameter_value}}</td>
152
- <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_operator}}</td>
153
- <td style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>{{row.f_comments}}</td>
154
- </template>
155
- <template partial='foot'></template>
156
- </data-grid>
157
- </criteria-paged>
158
- </div>
159
- </template>
160
-
161
- <script>
162
- import {PagedList} from 'vue-client'
163
- import Vue from 'vue'
164
-
165
- export default {
166
- data () {
167
- return {
168
- initres: {
169
- org: [this.$login.f.orgid],
170
- dep: [],
171
- user: []
172
- },
173
- criteriaShow: false,
174
- blackImport: '',
175
- model: new PagedList('api/af-revenue/sql/sale_getBlackList', 20),
176
- // 公司下拉
177
- curorgid: [this.$login.f.orgid],
178
- f_orgid: '',
179
- getfield: {
180
- 'f_userinfo_code': '用户编号',
181
- 'f_user_name': '姓名',
182
- 'f_meternumber': '表号',
183
- 'f_card_id': '卡号',
184
- 'f_user_phone': '电话',
185
- 'f_address': '地址',
186
- 'f_last_check_date': '安检日期',
187
- 'f_parameter_value': '限购日期',
188
- 'f_comments': '限购原因'
189
- }
190
- }
191
- },
192
- props: {
193
- style: {
194
- type: String,
195
- default: 'form-group col-sm-2'
196
- },
197
- row: {},
198
- ispartial: false
199
- },
200
- ready () {
201
- this.getAuthority()
202
- this.search()
203
- },
204
- methods: {
205
- getAuthority () {
206
- if (this.$login.r.find(value => value == '黑名单导入')) {
207
- this.blackImport = '黑名单导入'
208
- }
209
- },
210
- async getRes (condition, obj) {
211
- console.log('condition =', condition)
212
- console.log('obj =', obj)
213
-
214
- // //更新抄表册
215
- // this.meterbooks = [{label: '全部',value: ''}];
216
- // if(this.lastorgstr != condition){
217
- // this.tempfalg = true;
218
- // this.lastorgstr = condition;
219
- // }
220
- // if(this.tempfalg && condition != null && condition!='' && condition.indexOf("(")>-1){
221
- // this.tempfalg = false;
222
- // let a = condition.substring(condition.indexOf("(")+2)
223
- // }
224
- // this.orgCondtionStr = condition
225
- },
226
- hidden () {
227
- this.criteriaShow = !this.criteriaShow
228
- },
229
- search () {
230
- this.$refs.paged.$refs.cri.search()
231
- this.$dispatch('search')
232
- },
233
- getorg (val) {
234
- this.f_orgid = val
235
- },
236
- selfSearch (args) {
237
- if (!this.f_orgid) {
238
- this.getorg('and f_orgid in' + '(\'' + [this.$login.f.orgid] + '\')')
239
- }
240
- console.log('查询。。。', this.f_orgid)
241
- if (this.f_orgid) {
242
- // args.condition = `${args.condition} and s.f_filialeid in ${this.f_orgid}`
243
- args.condition = `${args.condition} ${this.f_orgid} `
244
- }
245
-
246
- this.model.search(args.condition, args.model)
247
- },
248
- add () {
249
- if (!this.$login.r.find(value => value == '新增黑名单')) {
250
- this.$showMessage('你没有新增黑名单的权限,请联系管理员!')
251
- return
252
- }
253
- this.style = 'col-sm-3'
254
- this.$dispatch('add')
255
- },
256
- dblclick (val) {
257
- console.log(val)
258
- this.$emit('dblclick', val)
259
- }
260
-
261
- },
262
- watch: {
263
- 'model.rows.length' (val) {
264
- if (val === 1) {
265
- this.$refs.paged.$refs.grid.select(this.model.rows[0])
266
- }
267
- }
268
- },
269
- computed: {
270
- getCondition () {
271
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.f_orgid}
272
- }
273
- }
274
- }
275
- </script>
@@ -1,120 +0,0 @@
1
- <template>
2
- <div class="auto">
3
- <validator name='v'>
4
- <form class="form-horizontal">
5
- <div class="row">
6
- <div class="col-sm-4 form-group">
7
- <label for="f_reason" class="font_normal_body">停用原因</label>
8
- <v-select v-model="model.f_reason"
9
- placeholder='停用原因'
10
- :value.sync="model.f_reason"
11
- :options='reason'
12
- v-ref:reason
13
- close-on-select ></v-select>
14
- </div>
15
- <div class="col-sm-4 form-group">
16
- <input type="checkbox" class="large-checkbox" id="f_valveState" v-model="valveStateChecked">
17
- <label for="f_operator" class="font-size-large">立即关阀</label>
18
- </div>
19
- </div>
20
- <div class="row" style="margin-top:1px;">
21
- <div class="col-sm-8 form-group">
22
- <label for="f_reason" class="font_normal_body">备&emsp;&emsp;注</label>
23
- <input class="input_search" style="width:80%" v-model="model.f_othereason" placeholder="备注"/>
24
- </div>
25
- </div>
26
- </form>
27
- <div style="text-align:right;">
28
- <button class="button_search button_spacing" @click="confirm()" :disabled='!$v.valid'>确认</button>
29
- <button class="button_clear" @click="clean()" >取消</button>
30
- </div>
31
- </validator>
32
- </div>
33
- <upload :blodid="blodid" v-if="false" isremark="true" fusetype="表具停用"></upload>
34
- </template>
35
- <script>
36
- /**
37
- *综合业务
38
- 表具停用组件
39
- */
40
- export default {
41
- title: '表具停用',
42
- props: ['row'],
43
- data () {
44
- return {
45
- valveStateChecked: false,
46
- blodid: '',
47
- showupload: true,
48
- model: {},
49
- reason: this.$appdata.getParam('停用原因')
50
- }
51
- },
52
- ready () {
53
- this.blodid = this.row.f_userinfo_id
54
- },
55
- methods: {
56
- async confirm () {
57
- await this.$LogicService.meterDisable(this.model, this.row)
58
- let array = [{
59
- f_user_id: this.row.f_user_id,
60
- f_userfiles_id: this.row.f_userfiles_id,
61
- f_alias: this.row.f_alias,
62
- f_userinfo_id: this.row.f_userinfo_id,
63
- f_orgname: this.$login.f.orgs,
64
- f_orgid: this.$login.f.orgid,
65
- f_meternumber: this.row.f_meternumber
66
- }]
67
- if (this.row.f_meter_type === '物联网表' && this.valveStateChecked) {
68
- let data1 = {
69
- f_apply_type: '阀门控制',
70
- userid: array,
71
- nowDate: new Date(),
72
- f_apply_value: '关阀',
73
- f_apply_beizhu: '表具停用自动关阀',
74
- f_apply_operator: this.$login.f.name
75
- }
76
- // 根据复选框的状态添加条件
77
- if (this.valveStateChecked) {
78
- data1.f_valveState = 1
79
- }
80
- let data2 = {
81
- userid: array,
82
- instructtype: '阀门控制',
83
- isOpen: '关阀',
84
- instructTitle: '手动关阀',
85
- reasonInfo: '表具停用自动关阀',
86
- f_instruct_state: '待发送',
87
- inputtor: this.$login.f.name
88
- }
89
- await this.$resetpost('api/af-revenue/logic/iot_instructUpdateAndDelect',
90
- {
91
- data: {
92
- data1: data1,
93
- data2: data2
94
- }
95
- })
96
- }
97
- this.$dispatch('success')
98
- },
99
- clean () {
100
- this.$dispatch('refresh')
101
- }
102
- }
103
- }
104
- </script>
105
-
106
- <style>
107
- .large-checkbox {
108
- width: 20px;
109
- height: 20px;
110
- transform: scale(1.4);
111
- margin-right: 14px;
112
- margin-top: 15px;
113
- }
114
-
115
- .font-size-large {
116
- padding-top: 10px;
117
- padding-left: 10px;
118
- font-size: 16px;
119
- }
120
- </style>
@@ -1,95 +0,0 @@
1
- <template>
2
- <div class="auto form-horizontal">
3
- <modal :show.sync="show" v-ref:modal large backdrop="false" :width="900">
4
- <header slot="modal-header" class="modal-header">
5
- <button type="button" class="close" @click="closeShow"><span>&times;</span></button>
6
- <h4 class="modal-title">发票信息</h4>
7
- </header>
8
- <article slot="modal-body" class="modal-body">
9
- <div class="auto select-overspread form-horizontal">
10
- <div class="row auto">
11
- <div class="col-sm-12 form-group " :class="[!row.f_paper_name ? 'has-error' : '']">
12
- <label class="control-label col-sm-3">开票名称:</label>
13
- <input class="form-control " :disabled="true"
14
- v-model="row.f_paper_name" placeholder="开票名称">
15
- </div>
16
- <div class="col-sm-12 form-group " :class="[ row.invoice_is_pax.length < 1 ? 'has-error' : '']">
17
- <label class="control-label col-sm-3">是否征税:</label>
18
- <v-select v-model="row.invoice_is_pax"
19
- placeholder='请选择'
20
- :value.sync="row.invoice_is_pax"
21
- close-on-select
22
- :width="60"
23
- :value-single="true"
24
- :search="false"
25
- :options='is_pax' clear-button>
26
- </v-select>
27
- </div>
28
- <div class="col-sm-12 form-group ">
29
- <label class="control-label col-sm-3">开户行及账号:</label>
30
- <input class="form-control col-sm-2" :disabled="true"
31
- v-model="row.f_paper_account" placeholder="购方开户行及账号">
32
- </div>
33
- <div class="col-sm-12 form-group "
34
- :class="[ (row.f_taxpayer_id.length < 16 || row.f_taxpayer_id.length > 18) && row.f_paper_type === '数电专票' ? 'has-error' : '']">
35
- <label class="control-label col-sm-3">纳税人识别号:</label>
36
- <input class="form-control col-sm-2" :disabled="true"
37
- v-model="row.f_taxpayer_id" placeholder="纳税人识别号(16至18位)">
38
- </div>
39
- <div class="col-sm-12 form-group " :class="[!row.f_address_phone ? 'has-error' : '']">
40
- <label class="control-label col-sm-3">开票地址电话:</label>
41
- <input class="form-control col-sm-2" :disabled="true"
42
- v-model="row.f_address_phone" placeholder="开票地址">
43
- </div>
44
- <div class="col-sm-12 form-group " >
45
- <label class="control-label col-sm-3">发票备注:</label>
46
- <input class="form-control col-sm-2"
47
- v-model="row.f_eticket_reason" placeholder="发票备注">
48
- </div>
49
- <div class="col-sm-12 form-group ">
50
- <label class="control-label col-sm-3">邮箱推送:</label>
51
- <input class="form-control col-sm-2" :disabled="true"
52
- v-model="row.f_email" placeholder="邮箱推送">
53
- </div>
54
- </div>
55
- </div>
56
- </article>
57
- <footer slot="modal-footer" class="modal-footer">
58
- <button type="button" class="btn button_search"
59
- :disabled="!(row.f_paper_name&&row.f_address_phone&&((row.f_taxpayer_id.length>=16 && row.f_taxpayer_id.length<=18) || row.f_paper_type === '数电普票')&&row.invoice_is_pax.length >0)"
60
- @click='confirm'>确认收费
61
- </button>
62
- </footer>
63
- </modal>
64
- </div>
65
- </template>
66
- <script>
67
-
68
- export default {
69
- title: '电子发票',
70
- data () {
71
- return {
72
- is_pax: [{label: '征税', value: '征税'}, {label: '不征税', value: '不征税'}],
73
- }
74
- },
75
- props: ['row','show'],
76
- ready () {
77
- },
78
- methods: {
79
- confirm(){
80
- this.$dispatch('confirm')
81
- },
82
- closeShow(){
83
- this.$dispatch('closemodalshow')
84
- }
85
- },
86
- watch: {
87
- 'row'(){
88
- this.row.invoice_is_pax = '征税'
89
- }
90
- },
91
- events: {}
92
- }
93
- </script>
94
- <style>
95
- </style>