sale-client 3.5.158 → 3.5.159
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
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
<advance-delivery-detail :data="row" v-if="row.type ==='卡表预交' "></advance-delivery-detail>
|
|
134
134
|
<machinemetercenter-detail :data="row" v-if="row.type === '预存缴费'"></machinemetercenter-detail>
|
|
135
135
|
<gasloss-detail :data="row" v-if="row.type === '气损收费'"></gasloss-detail>
|
|
136
|
-
<batch-charge-detail :data="row" v-if="row.type === '批量收费' || row.type === '团体收费' || row.type === '团体退费'"></batch-charge-detail>
|
|
136
|
+
<batch-charge-detail :data="row" v-if="row.type === '批量收费' || row.type === '团体收费' || row.type === '团体退费' || row.type === '团体补费' || row.type === '团体扣费'"></batch-charge-detail>
|
|
137
137
|
</div>
|
|
138
138
|
<div style="margin-top: 8px;background: #FFF;" v-if="!$parent.$parent.$parent.isSelected(row)">
|
|
139
139
|
<span>{{row.f_describe}}</span>
|
|
@@ -0,0 +1,118 @@
|
|
|
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"> 操作 </label>
|
|
8
|
+
<input v-show="false" v-model="model.f_operat_type" v-validate:f_operat_type='{required: true}'>
|
|
9
|
+
<v-select :value.sync="model.f_operat_type"
|
|
10
|
+
:options='operator_type' placeholder='请选择'
|
|
11
|
+
selected="补费" value-single
|
|
12
|
+
style="width:60%"
|
|
13
|
+
close-on-select></v-select>
|
|
14
|
+
<!--<v-select v-if="this.data.f_collection_type==='按气量'" :value.sync="model.f_operat_type"-->
|
|
15
|
+
<!--:options='operator_type2' placeholder='请选择'-->
|
|
16
|
+
<!--selected="补气"-->
|
|
17
|
+
<!--style="width:60%"-->
|
|
18
|
+
<!--close-on-select></v-select>-->
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-4 form-group"></div>
|
|
21
|
+
|
|
22
|
+
<div class="col-sm-4 form-group"
|
|
23
|
+
:class="[$v.f_preamount.required || $v.f_preamount.dctest ? 'has-error' : 'has-success']">
|
|
24
|
+
<label class="font_normal_body"> 金额 </label>
|
|
25
|
+
<input class="input_search" type="number" v-model="model.f_preamount" style="width:60%"
|
|
26
|
+
v-validate:f_preamount='{required: true, dctest: [0, ">" ]}' placeholder="金额">
|
|
27
|
+
</div>
|
|
28
|
+
<!--<div v-if="this.data.f_collection_type==='按气量'" class="col-sm-4 form-group"-->
|
|
29
|
+
<!--:class="[$v.f_pregas.required || $v.f_pregas.dctest ? 'has-error' : 'has-success']">-->
|
|
30
|
+
<!--<label class="font_normal_body"> 气量 </label>-->
|
|
31
|
+
<!--<input class="input_search" type="number" v-model="model.f_pregas" style="width:60%"-->
|
|
32
|
+
<!--v-validate:f_pregas='{required: true, dctest: [0, ">" ]}' placeholder="气量">-->
|
|
33
|
+
<!--</div>-->
|
|
34
|
+
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div class="row">
|
|
38
|
+
<div class="col-sm-12">
|
|
39
|
+
<label for="f_paper_account" class="font_normal_body "> 备注 </label>
|
|
40
|
+
<input class="input_search" style="width:87%" rows="1" v-model="model.f_comments"></input>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</form>
|
|
44
|
+
<div style="text-align:right;">
|
|
45
|
+
<button class="btn button_search btn-gn" @click="confirm()" :disabled='!$v.valid'>确认</button>
|
|
46
|
+
<button class="btn button_clear btn-gn" @click="clean()">取消</button>
|
|
47
|
+
</div>
|
|
48
|
+
</validator>
|
|
49
|
+
<!--<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>-->
|
|
50
|
+
<!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
|
|
51
|
+
<!--<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="clean" @printok="printok" :data='printModel' v-ref:printbill></print-bill>-->
|
|
52
|
+
</div>
|
|
53
|
+
<upload :blodid="data.f_userinfo_id" v-if="showupload" isremark="true" fusetype="补费扣费"></upload>
|
|
54
|
+
</template>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<script>
|
|
58
|
+
import Vue from 'vue'
|
|
59
|
+
|
|
60
|
+
export default {
|
|
61
|
+
title: '团体补费扣费',
|
|
62
|
+
data () {
|
|
63
|
+
return {
|
|
64
|
+
blodid: '',
|
|
65
|
+
showupload: false,
|
|
66
|
+
operator_type: [{label: '补费', value: '团体补费'}, {label: '扣费', value: '团体扣费'}],
|
|
67
|
+
model: {
|
|
68
|
+
f_operat_type: '',
|
|
69
|
+
f_pregas: 0,
|
|
70
|
+
f_preamount: 0,
|
|
71
|
+
f_comments: ''
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
props: ['row'],
|
|
77
|
+
ready () {
|
|
78
|
+
this.model.f_operat_type = '团体补费'
|
|
79
|
+
},
|
|
80
|
+
methods: {
|
|
81
|
+
async confirm () {
|
|
82
|
+
let param = {
|
|
83
|
+
version: this.row.version,
|
|
84
|
+
id: this.row.id,
|
|
85
|
+
f_customer: this.row.f_customer,
|
|
86
|
+
f_preamount: this.model.f_preamount,
|
|
87
|
+
f_comments: this.model.f_comments,
|
|
88
|
+
f_operat_type: this.model.f_operat_type,
|
|
89
|
+
operInfo: {
|
|
90
|
+
f_operator: this.$login.f.name,
|
|
91
|
+
f_operatorid: this.$login.f.id,
|
|
92
|
+
f_orgid: this.$login.f.orgid,
|
|
93
|
+
f_orgname: this.$login.f.orgs,
|
|
94
|
+
f_depid: this.$login.f.depids,
|
|
95
|
+
f_depname: this.$login.f.deps
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
this.$resetpost('rs/logic/groupFeeDeduction', {data: param}, {
|
|
99
|
+
warnMsg: `确定要对用户${this.row.f_user_name}进行${this.model.f_operat_type}吗?`,
|
|
100
|
+
resolveMsg: `${this.model.f_operat_type}成功!!`,
|
|
101
|
+
rejectMsg: `${this.model.f_operat_type}失败!!请重试!!`
|
|
102
|
+
}).then((res) => {
|
|
103
|
+
this.clean()
|
|
104
|
+
})
|
|
105
|
+
},
|
|
106
|
+
clean () {
|
|
107
|
+
this.$dispatch('refresh')
|
|
108
|
+
}
|
|
109
|
+
// printok () {
|
|
110
|
+
// this.$dispatch('success')
|
|
111
|
+
// },
|
|
112
|
+
// validateBill (val) {
|
|
113
|
+
// this.validateOk = !val.isOk
|
|
114
|
+
// this.billData.bill = val.bill
|
|
115
|
+
// }
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
</script>
|
package/src/sale.js
CHANGED
|
@@ -60,6 +60,8 @@ export default function (filiale) {
|
|
|
60
60
|
Vue.component('reissue-bill-batch', (resolve) => { require(['./components/chargeBatch/ReissueBillBatch'], resolve) })
|
|
61
61
|
// 团体退费
|
|
62
62
|
Vue.component('group-refund', (resolve) => { require(['./components/chargeBatch/groupRefund'], resolve) })
|
|
63
|
+
// 团体补费扣费
|
|
64
|
+
Vue.component('group-fee-deduction', (resolve) => { require(['./components/chargeBatch/groupFeeDeduction'], resolve) })
|
|
63
65
|
// 综合业务 --综合操作
|
|
64
66
|
// Vue.component('comprehen-search', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ComprehenSearch'], resolve) })
|
|
65
67
|
// 综合业务 --银行对账
|