apply-clients 6.0.1 → 6.0.4

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.
Files changed (43) hide show
  1. package/build/dev-server.js +72 -72
  2. package/package.json +1 -1
  3. package/src/apply.js +219 -219
  4. package/src/components/apply/base/rightview/InstallCardList2.vue +267 -268
  5. package/src/components/apply/base/rightview/carddetail/BuildFeeDetail2.vue +77 -77
  6. package/src/components/apply/base/rightview/carddetail/ChangeFeeDetail2.vue +116 -116
  7. package/src/components/apply/base/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
  8. package/src/components/build/Install/ExplorationSelect.vue +308 -308
  9. package/src/components/build/Install/ExplorationUser.vue +315 -315
  10. package/src/components/build/Install/InstallFee/AddContract.vue +257 -257
  11. package/src/components/build/Install/InstallFee/InstallFee.vue +929 -929
  12. package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -232
  13. package/src/components/build/Install/InstallFee/PreparationFee.vue +223 -223
  14. package/src/components/build/Install/InstallFee/PrestoreFee.vue +630 -630
  15. package/src/components/build/Install/Process/CustomerBuildingMessage.vue +251 -251
  16. package/src/components/build/Install/Process/CustomerEquipmentMessage.vue +172 -172
  17. package/src/components/build/Install/Process/CustomerEssentialInfo.vue +1 -1
  18. package/src/components/build/Install/Process/CustomerFile.vue +423 -423
  19. package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -414
  20. package/src/components/build/Install/Process/CustomerRecordMessage.vue +10 -10
  21. package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -376
  22. package/src/components/build/Install/Process/MeterType.vue +379 -379
  23. package/src/components/build/Install/Process/PlaceControler.vue +304 -304
  24. package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +1 -1
  25. package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -388
  26. package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +1 -1
  27. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -259
  28. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -243
  29. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -426
  30. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -187
  31. package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -441
  32. package/src/components/build/Install/ProcessInfo/ApplyRecordCancel.vue +135 -135
  33. package/src/components/build/Install/bill/BillGZKMakeInfo.vue +58 -58
  34. package/src/components/build/Install/bill/BillQRKMakeInfo.vue +79 -79
  35. package/src/components/build/Install/bill/BillXSDMakeInfo.vue +206 -206
  36. package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -178
  37. package/src/main.js +25 -25
  38. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  39. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  40. package/.gradle/buildOutputCleanup/built.bin +0 -0
  41. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  42. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  43. package/yarn.lock +0 -8074
@@ -1,223 +1,223 @@
1
- <template>
2
- <div class="col-sm-12" style="height: auto">
3
- <div class="auto select-overspread">
4
- <div class="panel panel-info">
5
- <div class="panel-heading auto">
6
- <h3 class="panel-title">预付款</h3>
7
- </div>
8
- </div>
9
- </div>
10
-
11
- <div class="col-sm-12" style="height: auto">
12
- <span class="col-sm-1"></span>
13
- <span class="col-sm-3">预缴款总金额:{{sum}}元</span>
14
- <button type="button" class="btn btn-warning col-sm-offset-3" @click="add()">添加预缴款</button>
15
- </div>
16
- <div class="col-sm-12" style="height: auto;border:1px solid #000;padding-top: 10px;"
17
- v-for="row in preparationfee_datas">
18
- <div class="col-sm-12">
19
- <div class="form-group col-sm-3 form-input-group">
20
- <label class="control-label">预缴款金额(元):</label>
21
- <div class="col-sm-6">
22
- <input class="form-control" type="text" v-model="row.f_preparation_fee" readonly>
23
- </div>
24
- </div>
25
- <div class="form-group col-sm-3 form-input-group">
26
- <label class="control-label">金额大写:</label>
27
- <div class="col-sm-6">
28
- <input class="form-control" type="text" v-model="row.f_capital" readonly>
29
- </div>
30
- </div>
31
- <div class="form-group col-sm-3 form-input-group">
32
- <label class="control-label">缴费类型:</label>
33
- <div class="col-sm-6">
34
- <input class="form-control" type="text" v-model="row.f_payfee_way" readonly>
35
- </div>
36
- </div>
37
- </div>
38
- <div class="col-sm-12">
39
- <div class="form-group col-sm-3 form-input-group">
40
- <label class="control-label">日期:</label>
41
- <div class="col-sm-6">
42
- <input class="form-control" type="text" v-model="row.f_date" readonly>
43
- </div>
44
- </div>
45
- <div class="form-group col-sm-3 form-input-group">
46
- <label class="control-label">操作人:</label>
47
- <div class="col-sm-6">
48
- <input class="form-control" type="text" v-model="row.f_operator" readonly>
49
- </div>
50
- </div>
51
- </div>
52
- <div class="form-group col-sm-12 form-input-group">
53
- <label class="control-label">备注:</label>
54
- <div class="col-sm-5">
55
- <textarea class="form-control" v-model="row.f_payfee_remarks" rows="2" readonly></textarea>
56
- </div>
57
- </div>
58
- </div>
59
- <modal :show.sync="show" v-ref:modal backdrop="false">
60
- <header slot="modal-header" class="modal-header">
61
- <button type="button" class="close" @click="close"><span>&times;</span></button>
62
- <h4 class="modal-title">新增预交费</h4>
63
- </header>
64
- <article slot="modal-body" class="modal-body">
65
- <div class="from-group">
66
- <label>预缴款金额(元)</label>
67
- <input type="text" class="form-control" v-model="addItem.f_preparation_fee">
68
- </div>
69
- <div class="form-group">
70
- <label class="control-label">金额大写:</label>
71
- <input class="form-control" type="text" v-model="getCapital" readonly>
72
- </div>
73
- <div class="from-group">
74
- <label>缴费类型</label>
75
- <v-select :options="jiaofei"
76
- v-model="addItem.f_payfee_way" :value.sync="addItem.f_payfee_way" close-on-select>
77
- </v-select>
78
- </div>
79
- <div class="from-group">
80
- <label>备注</label>
81
- <textarea class="form-control" v-model="addItem.f_payfee_remarks" rows="3"></textarea>
82
- </div>
83
- </article>
84
- <footer slot="modal-footer" class="modal-footer">
85
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
86
- <button v-show="show" type="button" class="btn btn-success" @click='confirm'>确认</button>
87
- </footer>
88
- </modal>
89
- </div>
90
- </template>
91
-
92
- <script>
93
- import {HttpResetClass} from 'vue-client'
94
- import * as Util from '../../../Util'
95
-
96
- export default {
97
-
98
- title: "预交费",
99
- props: ['selectdata'],
100
- data() {
101
- return {
102
- preparationfee_datas: [], // 合同信息数组
103
- show: false, // 新增合同模态框控制
104
- addItem: {
105
- f_preparation_fee: 0,
106
- f_payfee_way: {},
107
- f_payfee_remarks: ''
108
- }, // 模态框零时对象
109
- }
110
- },
111
- ready() {
112
- this.load();
113
- },
114
- methods: {
115
- // 输入金额校验
116
- check(){
117
- let re = /^[+]?\d+(\.\d+)?$/ //判断字符串是否为数字
118
- if (!re.test(this.addItem.f_preparation_fee)){
119
- this.$showMessage("请输入数字")
120
- this.addItem.f_preparation_fee=''
121
- return false
122
- }
123
- return true
124
- },
125
- // 小写转换大写
126
- smalltoBIG(n) {
127
- let fraction = ['角', '分'];
128
- let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
129
- let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
130
- let head = n < 0 ? '欠' : '';
131
- n = Math.abs(n);
132
-
133
- let s = '';
134
-
135
- for (var i = 0; i < fraction.length; i++) {
136
- s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
137
- }
138
- s = s || '整';
139
- n = Math.floor(n);
140
-
141
- for (var i = 0; i < unit[0].length && n > 0; i++) {
142
- let p = '';
143
- for (var j = 0; j < unit[1].length && n > 0; j++) {
144
- p = digit[n % 10] + unit[1][j] + p;
145
- n = Math.floor(n / 10);
146
- }
147
- s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
148
- }
149
- return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
150
- },
151
- // 获取数据库数据
152
- async load() {
153
- let http = new HttpResetClass();
154
- let data = {
155
- tablename: 't_preparationfee',
156
- condition: `processid = '${this.selectdata.f_process_id}'`
157
- }
158
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取材料信息失败'})
159
- this.preparationfee_datas = []
160
- this.preparationfee_datas = res.data
161
- },
162
- // 新增按钮触发事件
163
- add() {
164
- this.show = true
165
- },
166
- // 模态框确定按钮触发
167
- async confirm() {
168
- if(this.check()===false){
169
- return
170
- }
171
- this.addItem.f_date = Util.toStandardTimeString()
172
- this.addItem.f_payfee_way = typeof this.addItem.f_payfee_way === 'object' ? this.addItem.f_payfee_way[0] : ''
173
- this.addItem.processid = this.selectdata.f_process_id
174
- this.addItem.applyid = this.selectdata.f_apply_num
175
- this.addItem.f_operator = this.$login.f.name
176
- this.addItem.f_department = this.$login.f.f_parentname
177
- this.addItem.f_filiale = this.$login.f.f_fengongsi
178
- this.preparationfee_datas.push(this.addItem)
179
- let http = new HttpResetClass();
180
-
181
- await http.load('POST', 'rs/logic/saveentity',{data:{tablename:'t_preparationfee',parameters:this.addItem}}, {resolveMsg: null, rejectMsg: "添加失败"})
182
- .then((res) => {
183
- this.close()
184
- })
185
- },
186
- // 模态框关闭按钮触发
187
- close() {
188
- this.show = false
189
- this.addItem = {
190
- f_preparation_fee: 0,
191
- f_payfee_way: {},
192
- f_payfee_remarks: ''
193
- }
194
- }
195
-
196
- },
197
- computed: {
198
- // 计算大写
199
- getCapital() {
200
- if (this.addItem.f_preparation_fee) {
201
- this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_preparation_fee))
202
- }
203
- return this.addItem.f_capital
204
- },
205
- // 总金额计算
206
- sum() {
207
- let num = 0;
208
- for (var i = 0; i < this.preparationfee_datas.length; i++) {
209
- num += Number(this.preparationfee_datas[i].f_preparation_fee)
210
- }
211
- return num
212
- },
213
- jiaofei() {
214
- return this.$appdata.getParam('缴费类型')
215
- }
216
- }
217
- }
218
- </script>
219
- <style scoped>
220
- textarea {
221
- width: 74.5%;
222
- }
223
- </style>
1
+ <template>
2
+ <div class="col-sm-12" style="height: auto">
3
+ <div class="auto select-overspread">
4
+ <div class="panel panel-info">
5
+ <div class="panel-heading auto">
6
+ <h3 class="panel-title">预付款</h3>
7
+ </div>
8
+ </div>
9
+ </div>
10
+
11
+ <div class="col-sm-12" style="height: auto">
12
+ <span class="col-sm-1"></span>
13
+ <span class="col-sm-3">预缴款总金额:{{sum}}元</span>
14
+ <button type="button" class="btn btn-warning col-sm-offset-3" @click="add()">添加预缴款</button>
15
+ </div>
16
+ <div class="col-sm-12" style="height: auto;border:1px solid #000;padding-top: 10px;"
17
+ v-for="row in preparationfee_datas">
18
+ <div class="col-sm-12">
19
+ <div class="form-group col-sm-3 form-input-group">
20
+ <label class="control-label">预缴款金额(元):</label>
21
+ <div class="col-sm-6">
22
+ <input class="form-control" type="text" v-model="row.f_preparation_fee" readonly>
23
+ </div>
24
+ </div>
25
+ <div class="form-group col-sm-3 form-input-group">
26
+ <label class="control-label">金额大写:</label>
27
+ <div class="col-sm-6">
28
+ <input class="form-control" type="text" v-model="row.f_capital" readonly>
29
+ </div>
30
+ </div>
31
+ <div class="form-group col-sm-3 form-input-group">
32
+ <label class="control-label">缴费类型:</label>
33
+ <div class="col-sm-6">
34
+ <input class="form-control" type="text" v-model="row.f_payfee_way" readonly>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div class="col-sm-12">
39
+ <div class="form-group col-sm-3 form-input-group">
40
+ <label class="control-label">日期:</label>
41
+ <div class="col-sm-6">
42
+ <input class="form-control" type="text" v-model="row.f_date" readonly>
43
+ </div>
44
+ </div>
45
+ <div class="form-group col-sm-3 form-input-group">
46
+ <label class="control-label">操作人:</label>
47
+ <div class="col-sm-6">
48
+ <input class="form-control" type="text" v-model="row.f_operator" readonly>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ <div class="form-group col-sm-12 form-input-group">
53
+ <label class="control-label">备注:</label>
54
+ <div class="col-sm-5">
55
+ <textarea class="form-control" v-model="row.f_payfee_remarks" rows="2" readonly></textarea>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <modal :show.sync="show" v-ref:modal backdrop="false">
60
+ <header slot="modal-header" class="modal-header">
61
+ <button type="button" class="close" @click="close"><span>&times;</span></button>
62
+ <h4 class="modal-title">新增预交费</h4>
63
+ </header>
64
+ <article slot="modal-body" class="modal-body">
65
+ <div class="from-group">
66
+ <label>预缴款金额(元)</label>
67
+ <input type="text" class="form-control" v-model="addItem.f_preparation_fee">
68
+ </div>
69
+ <div class="form-group">
70
+ <label class="control-label">金额大写:</label>
71
+ <input class="form-control" type="text" v-model="getCapital" readonly>
72
+ </div>
73
+ <div class="from-group">
74
+ <label>缴费类型</label>
75
+ <v-select :options="jiaofei"
76
+ v-model="addItem.f_payfee_way" :value.sync="addItem.f_payfee_way" close-on-select>
77
+ </v-select>
78
+ </div>
79
+ <div class="from-group">
80
+ <label>备注</label>
81
+ <textarea class="form-control" v-model="addItem.f_payfee_remarks" rows="3"></textarea>
82
+ </div>
83
+ </article>
84
+ <footer slot="modal-footer" class="modal-footer">
85
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
86
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm'>确认</button>
87
+ </footer>
88
+ </modal>
89
+ </div>
90
+ </template>
91
+
92
+ <script>
93
+ import {HttpResetClass} from 'vue-client'
94
+ import * as Util from '../../../Util'
95
+
96
+ export default {
97
+
98
+ title: "预交费",
99
+ props: ['selectdata'],
100
+ data() {
101
+ return {
102
+ preparationfee_datas: [], // 合同信息数组
103
+ show: false, // 新增合同模态框控制
104
+ addItem: {
105
+ f_preparation_fee: 0,
106
+ f_payfee_way: {},
107
+ f_payfee_remarks: ''
108
+ }, // 模态框零时对象
109
+ }
110
+ },
111
+ ready() {
112
+ this.load();
113
+ },
114
+ methods: {
115
+ // 输入金额校验
116
+ check(){
117
+ let re = /^[+]?\d+(\.\d+)?$/ //判断字符串是否为数字
118
+ if (!re.test(this.addItem.f_preparation_fee)){
119
+ this.$showMessage("请输入数字")
120
+ this.addItem.f_preparation_fee=''
121
+ return false
122
+ }
123
+ return true
124
+ },
125
+ // 小写转换大写
126
+ smalltoBIG(n) {
127
+ let fraction = ['角', '分'];
128
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
129
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
130
+ let head = n < 0 ? '欠' : '';
131
+ n = Math.abs(n);
132
+
133
+ let s = '';
134
+
135
+ for (var i = 0; i < fraction.length; i++) {
136
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
137
+ }
138
+ s = s || '整';
139
+ n = Math.floor(n);
140
+
141
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
142
+ let p = '';
143
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
144
+ p = digit[n % 10] + unit[1][j] + p;
145
+ n = Math.floor(n / 10);
146
+ }
147
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
148
+ }
149
+ return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
150
+ },
151
+ // 获取数据库数据
152
+ async load() {
153
+ let http = new HttpResetClass();
154
+ let data = {
155
+ tablename: 't_preparationfee',
156
+ condition: `processid = '${this.selectdata.f_process_id}'`
157
+ }
158
+ let res = await http.load('POST', 'rs/sql/applysingleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取材料信息失败'})
159
+ this.preparationfee_datas = []
160
+ this.preparationfee_datas = res.data
161
+ },
162
+ // 新增按钮触发事件
163
+ add() {
164
+ this.show = true
165
+ },
166
+ // 模态框确定按钮触发
167
+ async confirm() {
168
+ if(this.check()===false){
169
+ return
170
+ }
171
+ this.addItem.f_date = Util.toStandardTimeString()
172
+ this.addItem.f_payfee_way = typeof this.addItem.f_payfee_way === 'object' ? this.addItem.f_payfee_way[0] : ''
173
+ this.addItem.processid = this.selectdata.f_process_id
174
+ this.addItem.applyid = this.selectdata.f_apply_num
175
+ this.addItem.f_operator = this.$login.f.name
176
+ this.addItem.f_department = this.$login.f.f_parentname
177
+ this.addItem.f_filiale = this.$login.f.f_fengongsi
178
+ this.preparationfee_datas.push(this.addItem)
179
+ let http = new HttpResetClass();
180
+
181
+ await http.load('POST', 'rs/logic/saveentity',{data:{tablename:'t_preparationfee',parameters:this.addItem}}, {resolveMsg: null, rejectMsg: "添加失败"})
182
+ .then((res) => {
183
+ this.close()
184
+ })
185
+ },
186
+ // 模态框关闭按钮触发
187
+ close() {
188
+ this.show = false
189
+ this.addItem = {
190
+ f_preparation_fee: 0,
191
+ f_payfee_way: {},
192
+ f_payfee_remarks: ''
193
+ }
194
+ }
195
+
196
+ },
197
+ computed: {
198
+ // 计算大写
199
+ getCapital() {
200
+ if (this.addItem.f_preparation_fee) {
201
+ this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_preparation_fee))
202
+ }
203
+ return this.addItem.f_capital
204
+ },
205
+ // 总金额计算
206
+ sum() {
207
+ let num = 0;
208
+ for (var i = 0; i < this.preparationfee_datas.length; i++) {
209
+ num += Number(this.preparationfee_datas[i].f_preparation_fee)
210
+ }
211
+ return num
212
+ },
213
+ jiaofei() {
214
+ return this.$appdata.getParam('缴费类型')
215
+ }
216
+ }
217
+ }
218
+ </script>
219
+ <style scoped>
220
+ textarea {
221
+ width: 74.5%;
222
+ }
223
+ </style>