apply-clients 3.4.98-2 → 3.4.98-21

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 (73) hide show
  1. package/build/dev-server.js +2 -10
  2. package/package.json +3 -2
  3. package/src/App.vue +6 -11
  4. package/src/applyAndroid.js +1 -0
  5. package/src/components/android/AppSign.vue +9 -10
  6. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  8. package/src/components/android/Process/AppServiceControl.vue +1738 -1734
  9. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  10. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  11. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  12. package/src/components/product/Install/ContractCharge.vue +210 -210
  13. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  14. package/src/components/product/Material/Materiallist.vue +74 -74
  15. package/src/components/product/Material/Materialmanger.vue +58 -58
  16. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  17. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  18. package/src/components/product/Process/Service/ServiceControl.vue +2 -2
  19. package/src/components/product/Process/ShowBackReason.vue +40 -40
  20. package/src/components/product/Stop/StopApplyList.vue +278 -278
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  22. package/src/components/product/Supervisory/SupervisoryList.vue +27 -0
  23. package/src/filiale/gongyi/pc/ServiceControl.vue +1926 -0
  24. package/src/filiale/gongyi/pc.js +6 -0
  25. package/src/filiale/guzhou/pc/ServiceControl.vue +1926 -0
  26. package/src/filiale/guzhou/pc.js +6 -0
  27. package/src/filiale/hongda/pc/FunctionServiceControl.vue +21 -0
  28. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  29. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  30. package/src/filiale/hongda/pc/printrefit.vue +3 -1
  31. package/src/filiale/huayinyihua/pc/StopApplyList.vue +271 -0
  32. package/src/filiale/huayinyihua/pc/SupervisoryList.vue +363 -0
  33. package/src/filiale/huayinyihua/pc.js +7 -0
  34. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  35. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  36. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  37. package/src/filiale/linzhou/pc.js +10 -10
  38. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  39. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  40. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  41. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  42. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  43. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  44. package/src/filiale/qianneng/android.js +12 -12
  45. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  46. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  47. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  48. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  49. package/src/filiale/qianneng/pc/ServiceView.vue +1118 -1118
  50. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  51. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  52. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  53. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  54. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  55. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  56. package/src/filiale/qianneng/pc.js +26 -26
  57. package/src/filiale/yangchunboneng/android/AppAddMaterialScience.vue +390 -0
  58. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +108 -0
  59. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +552 -0
  60. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +507 -0
  61. package/src/filiale/yangchunboneng/android/chargesList.vue +173 -0
  62. package/src/filiale/yangchunboneng/android.js +6 -0
  63. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +594 -546
  64. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +375 -375
  65. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +469 -469
  66. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +364 -357
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1739 -1734
  68. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1004 -0
  69. package/src/filiale/yangchunboneng/pc/addMaterialScience.vue +374 -0
  70. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +955 -1011
  71. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +511 -0
  72. package/src/filiale/yangchunboneng/pc.js +16 -13
  73. package/src/main.js +1 -1
@@ -1,210 +1,210 @@
1
- <template>
2
- <div class="col-sm-12" style="margin: 20px 0px;">
3
- <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
- <template partial='head'>
5
- <tr>
6
- <th>合同金额</th>
7
- <th>付款节点</th>
8
- <th>付款比例</th>
9
- <th>应收金额</th>
10
- <th>
11
- <button type="button" class="btn btn-primary" @click="$parent.$parent.showAdd()">新增</button>
12
- </th>
13
- </tr>
14
- </template>
15
- <template partial='body'>
16
- <tr>
17
- <td style="text-align: center;">
18
- <nobr><font>{{ row.f_amount }}</font></nobr>
19
- </td>
20
- <td style="text-align: center;">
21
- <nobr><font>{{ row.defname }}</font></nobr>
22
- </td>
23
- <td style="text-align: center;">
24
- <nobr><font>{{ row.f_payment_ratio }}%</font></nobr>
25
- </td>
26
- <td style="text-align: center;">
27
- <nobr><font>{{ $parent.$parent.toFixed(row.f_due_money) }}</font></nobr>
28
- </td>
29
- <td style="text-align: center;">
30
- <nobr><font>
31
- <button type="button" class="btn btn-primary" @click="$parent.$parent.updateData(row)">修改</button>
32
- <button type="button" class="btn btn-primary" @click="$parent.$parent.delData(row)">删除</button>
33
- </font></nobr>
34
- </td>
35
- </tr>
36
- </template>
37
- </data-grid>
38
- <modal
39
- :show.sync="addModal"
40
- backdrop="false"
41
- :title="titleText"
42
- >
43
- <header slot="modal-header" class="modal-header">
44
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
45
- <h4 class="modal-title">{{ titleText }}</h4>
46
- </header>
47
- <article slot="modal-body" class="modal-body clearfix">
48
- <div class="form-group col-sm-12">
49
- <label class="col-sm-3 control-label">合同金额(元)::</label>
50
- <div class="col-sm-9">
51
- <input type="text"
52
- class="form-control input_view"
53
- style="width: 60%"
54
- readonly
55
- v-model="addData.f_amount"/>
56
- </div>
57
- </div>
58
- <div class="form-group col-sm-12">
59
- <label class="col-sm-3 control-label">付款节点:</label>
60
- <div class="col-sm-9">
61
- <v-select
62
- v-model="addData.applyType"
63
- placeholder='请选择需要发起的工程类型'
64
- :value.sync="addData.applyType"
65
- :options='payProjects'
66
- :value-single="true"
67
- class="select select_list"
68
- :search="false"
69
- close-on-select></v-select>
70
- </div>
71
- </div>
72
- <div class="form-group col-sm-12">
73
- <label class="col-sm-3 control-label">付款比例(%):</label>
74
- <div class="col-sm-9">
75
- <input type="text"
76
- class="form-control input_view" style="width: 60%"
77
- v-model="addData.f_payment_ratio" @change="inputChange(1)"/>
78
- </div>
79
- </div>
80
- <div class="form-group col-sm-12">
81
- <label class="col-sm-3 control-label">预付款金额(元):</label>
82
- <div class="col-sm-9">
83
- <input type="text"
84
- style="width: 60%"
85
- class="form-control input_view"
86
- v-model="addData.f_due_money"
87
- @change="inputChange(2)"/>
88
- </div>
89
- </div>
90
- </article>
91
- <footer slot="modal-footer" class="modal-footer">
92
- <button type="button" class="btn btn-primary" @click="saveOrUpdate()">确认</button>
93
- </footer>
94
- </modal>
95
- </div>
96
- </template>
97
- <script>
98
- import {HttpResetClass} from 'vue-client'
99
-
100
- export default {
101
- title: '付款预设',
102
- props: {
103
- selectdata: {
104
- type: Object
105
- },
106
- mark: {
107
- type: Number,
108
- default: 1
109
- }
110
- },
111
- data () {
112
- return {
113
- model: {rows: [{f_process_id: 100, f_payment_ratio: '', defname: '', f_due_money: ''}]},
114
- payProjects: [{label: '合同签订', value: '合同签订'}, {label: '验收通气', value: '验收通气'}, {label: '完工', value: '完工'}],
115
- addModal: false,
116
- addData: {f_amount: 0, f_process_id: '', f_payment_ratio: '', defname: '', f_due_money: ''},
117
- titleText: ''
118
- }
119
- },
120
- methods: {
121
- toFixed (num) {
122
- return parseFloat(num).toFixed(2)
123
- },
124
- showAdd () {
125
- this.addData = {
126
- f_amount: this.selectdata.f_contract_money,
127
- f_process_id: this.selectdata.f_process_id,
128
- f_payment_ratio: '',
129
- defname: '',
130
- f_due_money: ''
131
- }
132
- this.titleText = '新增付款预设'
133
- this.addModal = true
134
- },
135
- inputChange (type) {
136
- if (this.addData.f_amount) {
137
- if (type === 1) {
138
- this.addData.f_due_money = (this.addData.f_amount * (this.addData.f_payment_ratio / 100)).toFixed(2)
139
- // this.addData.f_due_money转为数字类型
140
- this.addData.f_due_money = parseFloat(this.addData.f_due_money)
141
- this.selectdata.f_contract_money = parseFloat(this.selectdata.f_contract_money)
142
- if (this.addData.f_due_money > this.selectdata.f_contract_money) {
143
- this.addData.f_payment_ratio = 0
144
- this.addData.f_due_money = 0
145
- this.$showMessage('预付款金额不能大于合同金额')
146
- }
147
- } else {
148
- this.addData.f_payment_ratio = Math.floor(this.addData.f_due_money / this.addData.f_amount * 100)
149
- this.addData.f_payment_ratio = parseFloat(this.addData.f_payment_ratio)
150
- if (this.addData.f_payment_ratio > 100) {
151
- this.addData.f_payment_ratio = 0
152
- this.addData.f_due_money = 0
153
- this.$showMessage('付款比率不能大于100%')
154
- }
155
- }
156
- }
157
- },
158
- updateData (row) {
159
- this.addData = row
160
- this.addData.f_amount = this.selectdata.f_contract_money
161
- this.titleText = '修改付款预设'
162
- this.addModal = true
163
- },
164
- delData (row) {
165
- console.log('delData=========')
166
- this.$resetdelete('apply/rs/entity/t_contract_charge', {id: row.id}, {
167
- resolveMsg: null,
168
- rejectMsg: null
169
- }).then(() => {
170
- this.search()
171
- })
172
- this.addModal = false
173
- },
174
- saveOrUpdate () {
175
- // this.addData
176
- console.log('saveOrUpdate=========')
177
- this.addData.defname = this.addData.applyType
178
- new HttpResetClass().load('POST', 'apply/rs/entity/t_contract_charge', this.addData, {
179
- resolveMsg: null,
180
- rejectMsg: null
181
- }).then(() => {
182
- this.search()
183
- })
184
- // 关闭弹窗
185
- this.addModal = false
186
- },
187
- closeModal () {
188
- this.addModal = false
189
- },
190
- search () {
191
- let data = {
192
- condition: `f_process_id = '${this.selectdata.f_process_id}'`
193
- }
194
- new HttpResetClass().load('POST', 'rs/sql/getContractCharge', {data: data}
195
- , {resolveMsg: null, rejectMsg: null})
196
- .then((res) => {
197
- this.model.rows = res.data
198
- })
199
- }
200
- },
201
- ready () {
202
- this.payProjects = this.$appdata.getParam(this.selectdata.f_apply_type + '付款预设')
203
- this.search()
204
- }
205
- }
206
- </script>
207
-
208
- <style scoped>
209
-
210
- </style>
1
+ <template>
2
+ <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
+ <template partial='head'>
5
+ <tr>
6
+ <th>合同金额</th>
7
+ <th>付款节点</th>
8
+ <th>付款比例</th>
9
+ <th>应收金额</th>
10
+ <th>
11
+ <button type="button" class="btn btn-primary" @click="$parent.$parent.showAdd()">新增</button>
12
+ </th>
13
+ </tr>
14
+ </template>
15
+ <template partial='body'>
16
+ <tr>
17
+ <td style="text-align: center;">
18
+ <nobr><font>{{ row.f_amount }}</font></nobr>
19
+ </td>
20
+ <td style="text-align: center;">
21
+ <nobr><font>{{ row.defname }}</font></nobr>
22
+ </td>
23
+ <td style="text-align: center;">
24
+ <nobr><font>{{ row.f_payment_ratio }}%</font></nobr>
25
+ </td>
26
+ <td style="text-align: center;">
27
+ <nobr><font>{{ $parent.$parent.toFixed(row.f_due_money) }}</font></nobr>
28
+ </td>
29
+ <td style="text-align: center;">
30
+ <nobr><font>
31
+ <button type="button" class="btn btn-primary" @click="$parent.$parent.updateData(row)">修改</button>
32
+ <button type="button" class="btn btn-primary" @click="$parent.$parent.delData(row)">删除</button>
33
+ </font></nobr>
34
+ </td>
35
+ </tr>
36
+ </template>
37
+ </data-grid>
38
+ <modal
39
+ :show.sync="addModal"
40
+ backdrop="false"
41
+ :title="titleText"
42
+ >
43
+ <header slot="modal-header" class="modal-header">
44
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
45
+ <h4 class="modal-title">{{ titleText }}</h4>
46
+ </header>
47
+ <article slot="modal-body" class="modal-body clearfix">
48
+ <div class="form-group col-sm-12">
49
+ <label class="col-sm-3 control-label">合同金额(元)::</label>
50
+ <div class="col-sm-9">
51
+ <input type="text"
52
+ class="form-control input_view"
53
+ style="width: 60%"
54
+ readonly
55
+ v-model="addData.f_amount"/>
56
+ </div>
57
+ </div>
58
+ <div class="form-group col-sm-12">
59
+ <label class="col-sm-3 control-label">付款节点:</label>
60
+ <div class="col-sm-9">
61
+ <v-select
62
+ v-model="addData.applyType"
63
+ placeholder='请选择需要发起的工程类型'
64
+ :value.sync="addData.applyType"
65
+ :options='payProjects'
66
+ :value-single="true"
67
+ class="select select_list"
68
+ :search="false"
69
+ close-on-select></v-select>
70
+ </div>
71
+ </div>
72
+ <div class="form-group col-sm-12">
73
+ <label class="col-sm-3 control-label">付款比例(%):</label>
74
+ <div class="col-sm-9">
75
+ <input type="text"
76
+ class="form-control input_view" style="width: 60%"
77
+ v-model="addData.f_payment_ratio" @change="inputChange(1)"/>
78
+ </div>
79
+ </div>
80
+ <div class="form-group col-sm-12">
81
+ <label class="col-sm-3 control-label">预付款金额(元):</label>
82
+ <div class="col-sm-9">
83
+ <input type="text"
84
+ style="width: 60%"
85
+ class="form-control input_view"
86
+ v-model="addData.f_due_money"
87
+ @change="inputChange(2)"/>
88
+ </div>
89
+ </div>
90
+ </article>
91
+ <footer slot="modal-footer" class="modal-footer">
92
+ <button type="button" class="btn btn-primary" @click="saveOrUpdate()">确认</button>
93
+ </footer>
94
+ </modal>
95
+ </div>
96
+ </template>
97
+ <script>
98
+ import {HttpResetClass} from 'vue-client'
99
+
100
+ export default {
101
+ title: '付款预设',
102
+ props: {
103
+ selectdata: {
104
+ type: Object
105
+ },
106
+ mark: {
107
+ type: Number,
108
+ default: 1
109
+ }
110
+ },
111
+ data () {
112
+ return {
113
+ model: {rows: [{f_process_id: 100, f_payment_ratio: '', defname: '', f_due_money: ''}]},
114
+ payProjects: [{label: '合同签订', value: '合同签订'}, {label: '验收通气', value: '验收通气'}, {label: '完工', value: '完工'}],
115
+ addModal: false,
116
+ addData: {f_amount: 0, f_process_id: '', f_payment_ratio: '', defname: '', f_due_money: ''},
117
+ titleText: ''
118
+ }
119
+ },
120
+ methods: {
121
+ toFixed (num) {
122
+ return parseFloat(num).toFixed(2)
123
+ },
124
+ showAdd () {
125
+ this.addData = {
126
+ f_amount: this.selectdata.f_contract_money,
127
+ f_process_id: this.selectdata.f_process_id,
128
+ f_payment_ratio: '',
129
+ defname: '',
130
+ f_due_money: ''
131
+ }
132
+ this.titleText = '新增付款预设'
133
+ this.addModal = true
134
+ },
135
+ inputChange (type) {
136
+ if (this.addData.f_amount) {
137
+ if (type === 1) {
138
+ this.addData.f_due_money = (this.addData.f_amount * (this.addData.f_payment_ratio / 100)).toFixed(2)
139
+ // this.addData.f_due_money转为数字类型
140
+ this.addData.f_due_money = parseFloat(this.addData.f_due_money)
141
+ this.selectdata.f_contract_money = parseFloat(this.selectdata.f_contract_money)
142
+ if (this.addData.f_due_money > this.selectdata.f_contract_money) {
143
+ this.addData.f_payment_ratio = 0
144
+ this.addData.f_due_money = 0
145
+ this.$showMessage('预付款金额不能大于合同金额')
146
+ }
147
+ } else {
148
+ this.addData.f_payment_ratio = Math.round(this.addData.f_due_money / this.addData.f_amount * 100)
149
+ this.addData.f_payment_ratio = parseFloat(this.addData.f_payment_ratio)
150
+ if (this.addData.f_payment_ratio > 100) {
151
+ this.addData.f_payment_ratio = 0
152
+ this.addData.f_due_money = 0
153
+ this.$showMessage('付款比率不能大于100%')
154
+ }
155
+ }
156
+ }
157
+ },
158
+ updateData (row) {
159
+ this.addData = row
160
+ this.addData.f_amount = this.selectdata.f_contract_money
161
+ this.titleText = '修改付款预设'
162
+ this.addModal = true
163
+ },
164
+ delData (row) {
165
+ console.log('delData=========')
166
+ this.$resetdelete('apply/rs/entity/t_contract_charge', {id: row.id}, {
167
+ resolveMsg: null,
168
+ rejectMsg: null
169
+ }).then(() => {
170
+ this.search()
171
+ })
172
+ this.addModal = false
173
+ },
174
+ saveOrUpdate () {
175
+ // this.addData
176
+ console.log('saveOrUpdate=========')
177
+ this.addData.defname = this.addData.applyType
178
+ new HttpResetClass().load('POST', 'apply/rs/entity/t_contract_charge', this.addData, {
179
+ resolveMsg: null,
180
+ rejectMsg: null
181
+ }).then(() => {
182
+ this.search()
183
+ })
184
+ // 关闭弹窗
185
+ this.addModal = false
186
+ },
187
+ closeModal () {
188
+ this.addModal = false
189
+ },
190
+ search () {
191
+ let data = {
192
+ condition: `f_process_id = '${this.selectdata.f_process_id}'`
193
+ }
194
+ new HttpResetClass().load('POST', 'rs/sql/getContractCharge', {data: data}
195
+ , {resolveMsg: null, rejectMsg: null})
196
+ .then((res) => {
197
+ this.model.rows = res.data
198
+ })
199
+ }
200
+ },
201
+ ready () {
202
+ this.payProjects = this.$appdata.getParam(this.selectdata.f_apply_type + '付款预设')
203
+ this.search()
204
+ }
205
+ }
206
+ </script>
207
+
208
+ <style scoped>
209
+
210
+ </style>