sale-client 4.0.30-preview → 4.0.31-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/.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.5/fileChanges/last-build.bin +0 -0
- package/.gradle/8.5/gc.properties +0 -0
- package/package.json +1 -1
- package/src/filiale/fugou/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +10 -9
- package/src/filiale/fugou/components/revenue/comprehen/ComprehenOperation/GiftFee/iotTable.vue +3 -6
- package/src/filiale/ronghao/DisableManage.vue +120 -0
- package/src/filiale/ronghao/EticketModal.vue +95 -0
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -0
- package/src/filiale/ronghao/ShowCardSellGas.vue +931 -0
- package/src/filiale/ronghao/UserGeneralInfoTest.vue +839 -0
- package/src/filiale/ronghao/UserPaperInfoTest.vue +144 -0
- package/src/filiale/ronghao/sale.js +10 -0
- package/src/main.js +1 -1
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
package/src/filiale/fugou/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue
CHANGED
|
@@ -100,12 +100,6 @@ let otherGasGen = async function (self) {
|
|
|
100
100
|
throw new Error(`卡服务错误:${cardRes.data.Err}${cardRes.data.Exception},请联系开发人员处理!!`)
|
|
101
101
|
} else {
|
|
102
102
|
await self.$CommonService.updatePassword(self.row, cardRes)
|
|
103
|
-
if (self.config.hasPrint) {
|
|
104
|
-
self.row.id = result.data.id
|
|
105
|
-
self.row.f_bill_type = self.isGas ? '卡表赠气' : '卡表赠费'
|
|
106
|
-
self.row.f_bill_style = '普通收据'
|
|
107
|
-
self.print = true
|
|
108
|
-
}
|
|
109
103
|
self.$showAlert('赠气成功', 'success', 2000)
|
|
110
104
|
return result.data.id
|
|
111
105
|
}
|
|
@@ -122,8 +116,8 @@ let otherGasGen = async function (self) {
|
|
|
122
116
|
}
|
|
123
117
|
}
|
|
124
118
|
let asyncIcTable = async function (self) {
|
|
125
|
-
await self.$getConfig(self, '
|
|
126
|
-
console.log('
|
|
119
|
+
await self.$getConfig(self, 'icTable')
|
|
120
|
+
console.log('卡表赠气赠费config', self.config)
|
|
127
121
|
}
|
|
128
122
|
|
|
129
123
|
export default {
|
|
@@ -201,7 +195,14 @@ export default {
|
|
|
201
195
|
}
|
|
202
196
|
this.$resetpost('api/af-revenue/logic/updatefiles', data)
|
|
203
197
|
|
|
204
|
-
this
|
|
198
|
+
if (this.config.hasPrint) {
|
|
199
|
+
this.row.id = res
|
|
200
|
+
this.row.f_bill_type = this.isGas ? '卡表赠气' : '卡表赠费'
|
|
201
|
+
this.row.f_bill_style = '普通收据'
|
|
202
|
+
this.print = true
|
|
203
|
+
} else {
|
|
204
|
+
this.$dispatch('success')
|
|
205
|
+
}
|
|
205
206
|
})
|
|
206
207
|
},
|
|
207
208
|
pregas () {
|
package/src/filiale/fugou/components/revenue/comprehen/ComprehenOperation/GiftFee/iotTable.vue
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
import Vue from 'vue'
|
|
63
63
|
let asyncIotTable = async function (self) {
|
|
64
64
|
await self.$getConfig(self, 'iotTable')
|
|
65
|
-
console.log('
|
|
65
|
+
console.log('赠气赠费config', self.config)
|
|
66
66
|
}
|
|
67
67
|
export default {
|
|
68
68
|
title: '赠气赠费',
|
|
@@ -99,13 +99,10 @@ export default {
|
|
|
99
99
|
asyncIotTable(this)
|
|
100
100
|
if (this.row.f_collection_type === '按气量') {
|
|
101
101
|
this.model.f_operat_type = ['物联网赠气']
|
|
102
|
+
this.billData.url = 'rs/report/iotGiftGas'
|
|
102
103
|
} else {
|
|
103
104
|
this.model.f_operat_type = ['物联网赠费']
|
|
104
|
-
|
|
105
|
-
if (this.row.f_collection_type === '按气量') {
|
|
106
|
-
this.billData.url = 'api/af-revenue/report/iotGiftGas'
|
|
107
|
-
} else {
|
|
108
|
-
this.billData.url = 'api/af-revenue/report/iotGiftFee'
|
|
105
|
+
this.billData.url = 'rs/report/iotGiftFee'
|
|
109
106
|
}
|
|
110
107
|
},
|
|
111
108
|
events: {
|
|
@@ -0,0 +1,120 @@
|
|
|
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">备  注</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('rs/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>
|
|
@@ -0,0 +1,95 @@
|
|
|
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>×</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>
|