apply-clients 3.3.10 → 3.3.14
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 +1 -1
- package/src/AndroidApp.vue +2 -2
- package/src/components/android/Function/AppFunctionServiceControl.vue +3 -1
- package/src/components/android/Function/AppInstallFunction.vue +4 -15
- package/src/components/android/Process/AppExplorationUser.vue +0 -10
- package/src/components/android/Process/AppServiceControl.vue +686 -639
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +106 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +61 -20
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +2 -2
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +0 -10
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +0 -9
- package/src/components/product/Function/InstallInfoSelect.vue +4 -13
- package/src/components/product/Order/OrderMessage.vue +0 -4
- package/src/components/product/Process/ExplorationSelect.vue +7 -14
- package/src/components/product/Process/ExplorationUser.vue +3 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +67 -20
- package/src/components/product/Process/Processes/devicesManagement.vue +97 -44
- package/src/components/product/Process/Processes/printCharge.vue +16 -25
- package/src/components/product/Process/Service/ServiceControl.vue +187 -96
- package/src/components/product/Process/ShowBackReason.vue +33 -29
- package/src/components/product/Stop/StopApplyList.vue +3 -13
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +120 -19
- package/src/components/product/Supervisory/SupervisoryList.vue +3 -13
- package/src/components/product/Supervisory/SupervisoryhCart.vue +14 -11
|
@@ -200,26 +200,36 @@
|
|
|
200
200
|
<div class="form-group col-sm-6">
|
|
201
201
|
<label class="col-sm-4 control-label">安 装 人:</label>
|
|
202
202
|
<div class="col-sm-8">
|
|
203
|
-
<input-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
203
|
+
<input class="form-control input_view" style=""
|
|
204
|
+
v-model="item.f_install_person"
|
|
205
|
+
:value.sync="installperson"
|
|
206
|
+
placeholder="安装人"
|
|
207
|
+
readonly/>
|
|
208
|
+
<!-- <input-select-->
|
|
209
|
+
<!-- class="select select_list"-->
|
|
210
|
+
<!-- :value.sync="item.f_install_person"-->
|
|
211
|
+
<!-- v-model="item.f_install_person"-->
|
|
212
|
+
<!-- :options="installperson"-->
|
|
213
|
+
<!-- :disable="mark === 1"-->
|
|
214
|
+
<!-- :valueSingle="true"></input-select>-->
|
|
210
215
|
</div>
|
|
211
216
|
</div>
|
|
212
217
|
<div class="form-group col-sm-6">
|
|
213
218
|
<label class="col-sm-4 control-label">安装日期:</label>
|
|
214
219
|
<div class="col-sm-8">
|
|
215
|
-
<
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
220
|
+
<input class="form-control input_view" style=""
|
|
221
|
+
v-model="item.f_install_date"
|
|
222
|
+
:value.sync="installdate(item.f_install_date)"
|
|
223
|
+
placeholder="安装日期"
|
|
224
|
+
readonly/>
|
|
225
|
+
<!-- <datepicker-->
|
|
226
|
+
<!-- placeholder="安装日期"-->
|
|
227
|
+
<!-- :value.sync="item.f_install_date"-->
|
|
228
|
+
<!-- v-model="item.f_install_date"-->
|
|
229
|
+
<!-- format="yyyy-MM-dd HH:mm:ss"-->
|
|
230
|
+
<!-- :disabled="mark === 1"-->
|
|
231
|
+
<!-- :show-reset-button="reset">-->
|
|
232
|
+
<!-- </datepicker>-->
|
|
223
233
|
</div>
|
|
224
234
|
</div>
|
|
225
235
|
</div>
|
|
@@ -239,6 +249,23 @@ import Vue from 'vue'
|
|
|
239
249
|
import {PagedList} from 'vue-client'
|
|
240
250
|
import {HttpResetClass} from 'vue-client'
|
|
241
251
|
import {isEmpty} from '../../../Util'
|
|
252
|
+
// Date格式化
|
|
253
|
+
Date.prototype.Format = function (fmt) {
|
|
254
|
+
var o = {
|
|
255
|
+
'M+': this.getMonth() + 1, // 月份
|
|
256
|
+
'd+': this.getDate(), // 日
|
|
257
|
+
'H+': this.getHours(), // 小时
|
|
258
|
+
'm+': this.getMinutes(), // 分
|
|
259
|
+
's+': this.getSeconds(), // 秒
|
|
260
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
261
|
+
'S': this.getMilliseconds() // 毫秒
|
|
262
|
+
}
|
|
263
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
264
|
+
for (var k in o) {
|
|
265
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
266
|
+
}
|
|
267
|
+
return fmt
|
|
268
|
+
}
|
|
242
269
|
|
|
243
270
|
export default {
|
|
244
271
|
title: '安装明细',
|
|
@@ -489,12 +516,15 @@ export default {
|
|
|
489
516
|
},
|
|
490
517
|
// 安装人
|
|
491
518
|
installperson() {
|
|
492
|
-
return this.$login.f.
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
519
|
+
return this.$login.f.name
|
|
520
|
+
},
|
|
521
|
+
installdate() {
|
|
522
|
+
return function (f_install_date) {
|
|
523
|
+
if (isEmpty(f_install_date)) {
|
|
524
|
+
return new Date().Format('yyyy-MM-dd HH:mm:ss')
|
|
496
525
|
}
|
|
497
|
-
|
|
526
|
+
return f_install_date
|
|
527
|
+
}
|
|
498
528
|
},
|
|
499
529
|
// 表向
|
|
500
530
|
aroundmeters() {
|
|
@@ -525,4 +555,21 @@ export default {
|
|
|
525
555
|
.clearfix:after{
|
|
526
556
|
clear: both;
|
|
527
557
|
}
|
|
558
|
+
.input_view{
|
|
559
|
+
padding: 8px;
|
|
560
|
+
background-color: #ffffff;
|
|
561
|
+
border-radius: 2px;
|
|
562
|
+
border: solid 1px #c7c7c7!important;
|
|
563
|
+
color: #333333!important;
|
|
564
|
+
font-size: 15px!important;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.input_view[readonly]{
|
|
568
|
+
border: 1px solid #DDD!important;
|
|
569
|
+
color:#ACA899!important;
|
|
570
|
+
}
|
|
571
|
+
.input_view:disabled{
|
|
572
|
+
border: 1px solid #DDD!important;
|
|
573
|
+
color:#ACA899!important;
|
|
574
|
+
}
|
|
528
575
|
</style>
|
|
@@ -85,22 +85,25 @@
|
|
|
85
85
|
</div>
|
|
86
86
|
</div>
|
|
87
87
|
<div class="form-group col-sm-6">
|
|
88
|
-
<label class="col-sm-4 control-label"
|
|
88
|
+
<label class="col-sm-4 control-label">生产日期:</label>
|
|
89
89
|
<div class="col-sm-8">
|
|
90
|
-
<
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
<datepicker
|
|
91
|
+
placeholder="生产日期"
|
|
92
|
+
:value.sync="item.f_make_date"
|
|
93
|
+
v-model="item.f_make_date"
|
|
94
|
+
format="yyyy-MM-dd HH:mm:ss"
|
|
95
|
+
@change="expireDate($index)"
|
|
96
|
+
:disabled="mark === 1">
|
|
97
|
+
</datepicker>
|
|
95
98
|
</div>
|
|
96
99
|
</div>
|
|
97
100
|
<div class="form-group col-sm-6">
|
|
98
|
-
<label class="col-sm-4 control-label"
|
|
101
|
+
<label class="col-sm-4 control-label">设备数量:</label>
|
|
99
102
|
<div class="col-sm-8">
|
|
100
|
-
<input class="form-control input_view" style=""
|
|
101
|
-
placeholder="
|
|
102
|
-
v-model="item.
|
|
103
|
-
:value="item.
|
|
103
|
+
<input class="form-control input_view" style="" type="number"
|
|
104
|
+
placeholder="设备数量"
|
|
105
|
+
v-model="item.f_devices_num"
|
|
106
|
+
:value="item.f_devices_num"
|
|
104
107
|
:readonly="mark === 1"/>
|
|
105
108
|
</div>
|
|
106
109
|
</div>
|
|
@@ -110,43 +113,56 @@
|
|
|
110
113
|
<input class="form-control input_view" style=""
|
|
111
114
|
placeholder="安装人"
|
|
112
115
|
v-model="item.f_input_person"
|
|
113
|
-
:value="
|
|
114
|
-
|
|
116
|
+
:value="installperson"
|
|
117
|
+
readonly/>
|
|
115
118
|
</div>
|
|
116
119
|
</div>
|
|
117
120
|
<div class="form-group col-sm-6">
|
|
118
|
-
<label class="col-sm-4 control-label"
|
|
121
|
+
<label class="col-sm-4 control-label">安装日期:</label>
|
|
119
122
|
<div class="col-sm-8">
|
|
120
123
|
<input class="form-control input_view" style=""
|
|
121
|
-
placeholder="
|
|
122
|
-
v-model="item.
|
|
123
|
-
:value="item.
|
|
124
|
+
placeholder="安装日期"
|
|
125
|
+
v-model="item.f_input_date"
|
|
126
|
+
:value="installdate(item.f_input_date)"
|
|
127
|
+
readonly/>
|
|
128
|
+
<!-- <datepicker-->
|
|
129
|
+
<!-- placeholder="安装日期"-->
|
|
130
|
+
<!-- :value.sync="item.f_input_date"-->
|
|
131
|
+
<!-- v-model="item.f_input_date"-->
|
|
132
|
+
<!-- format="yyyy-MM-dd HH:mm:ss"-->
|
|
133
|
+
<!-- :disabled="mark === 1">-->
|
|
134
|
+
<!-- </datepicker>-->
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
<!--
|
|
138
|
+
<div class="form-group col-sm-6">
|
|
139
|
+
<label class="col-sm-4 control-label">设备编号:</label>
|
|
140
|
+
<div class="col-sm-8">
|
|
141
|
+
<input class="form-control input_view" style=""
|
|
142
|
+
placeholder="设备编号"
|
|
143
|
+
v-model="item.f_devices_no"
|
|
144
|
+
:value="item.f_devices_no"
|
|
124
145
|
:readonly="mark === 1"/>
|
|
125
146
|
</div>
|
|
126
147
|
</div>
|
|
127
148
|
<div class="form-group col-sm-6">
|
|
128
|
-
<label class="col-sm-4 control-label"
|
|
149
|
+
<label class="col-sm-4 control-label">设备品牌:</label>
|
|
129
150
|
<div class="col-sm-8">
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
:disabled="mark === 1">
|
|
136
|
-
</datepicker>
|
|
151
|
+
<input class="form-control input_view" style=""
|
|
152
|
+
placeholder="设备品牌"
|
|
153
|
+
v-model="item.f_brand"
|
|
154
|
+
:value="item.f_brand"
|
|
155
|
+
:readonly="mark === 1"/>
|
|
137
156
|
</div>
|
|
138
157
|
</div>
|
|
139
158
|
<div class="form-group col-sm-6">
|
|
140
|
-
<label class="col-sm-4 control-label"
|
|
159
|
+
<label class="col-sm-4 control-label">设备型号:</label>
|
|
141
160
|
<div class="col-sm-8">
|
|
142
|
-
<
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
@change="expireDate($index)"
|
|
148
|
-
:disabled="mark === 1">
|
|
149
|
-
</datepicker>
|
|
161
|
+
<input class="form-control input_view" style=""
|
|
162
|
+
placeholder="设备型号"
|
|
163
|
+
v-model="item.f_devices_model"
|
|
164
|
+
:value="item.f_devices_model"
|
|
165
|
+
:readonly="mark === 1"/>
|
|
150
166
|
</div>
|
|
151
167
|
</div>
|
|
152
168
|
<div class="form-group col-sm-6">
|
|
@@ -172,16 +188,6 @@
|
|
|
172
188
|
</datepicker>
|
|
173
189
|
</div>
|
|
174
190
|
</div>
|
|
175
|
-
<div class="form-group col-sm-6">
|
|
176
|
-
<label class="col-sm-4 control-label">设备数量:</label>
|
|
177
|
-
<div class="col-sm-8">
|
|
178
|
-
<input class="form-control input_view" style="" type="number"
|
|
179
|
-
placeholder="设备数量"
|
|
180
|
-
v-model="item.f_devices_num"
|
|
181
|
-
:value="item.f_devices_num"
|
|
182
|
-
:readonly="mark === 1"/>
|
|
183
|
-
</div>
|
|
184
|
-
</div>
|
|
185
191
|
<div class="form-group col-sm-6">
|
|
186
192
|
<label class="col-sm-4 control-label">安装日期:</label>
|
|
187
193
|
<div class="col-sm-8">
|
|
@@ -265,6 +271,7 @@
|
|
|
265
271
|
></textarea>
|
|
266
272
|
</div>
|
|
267
273
|
</div>
|
|
274
|
+
-->
|
|
268
275
|
</div>
|
|
269
276
|
|
|
270
277
|
</article>
|
|
@@ -282,6 +289,23 @@ import {getNowDate,isEmpty} from '../../../Util'
|
|
|
282
289
|
import {PagedList} from 'vue-client'
|
|
283
290
|
import Vue from 'vue'
|
|
284
291
|
import {HttpResetClass} from 'vue-client'
|
|
292
|
+
// Date格式化
|
|
293
|
+
Date.prototype.Format = function (fmt) {
|
|
294
|
+
var o = {
|
|
295
|
+
'M+': this.getMonth() + 1, // 月份
|
|
296
|
+
'd+': this.getDate(), // 日
|
|
297
|
+
'H+': this.getHours(), // 小时
|
|
298
|
+
'm+': this.getMinutes(), // 分
|
|
299
|
+
's+': this.getSeconds(), // 秒
|
|
300
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
301
|
+
'S': this.getMilliseconds() // 毫秒
|
|
302
|
+
}
|
|
303
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
304
|
+
for (var k in o) {
|
|
305
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
306
|
+
}
|
|
307
|
+
return fmt
|
|
308
|
+
}
|
|
285
309
|
|
|
286
310
|
export default {
|
|
287
311
|
title: '设备管理',
|
|
@@ -378,6 +402,18 @@ export default {
|
|
|
378
402
|
events: {
|
|
379
403
|
},
|
|
380
404
|
computed: {
|
|
405
|
+
// 安装人
|
|
406
|
+
installperson() {
|
|
407
|
+
return this.$login.f.name
|
|
408
|
+
},
|
|
409
|
+
installdate() {
|
|
410
|
+
return function (f_install_date) {
|
|
411
|
+
if (isEmpty(f_install_date)) {
|
|
412
|
+
return new Date().Format('yyyy-MM-dd HH:mm:ss')
|
|
413
|
+
}
|
|
414
|
+
return f_install_date
|
|
415
|
+
}
|
|
416
|
+
},
|
|
381
417
|
installType() {
|
|
382
418
|
return this.$appdata.getParam("安装方式")
|
|
383
419
|
},
|
|
@@ -402,4 +438,21 @@ export default {
|
|
|
402
438
|
.textNoLineBreak {
|
|
403
439
|
white-space: nowrap;
|
|
404
440
|
}
|
|
441
|
+
.input_view{
|
|
442
|
+
padding: 8px;
|
|
443
|
+
background-color: #ffffff;
|
|
444
|
+
border-radius: 2px;
|
|
445
|
+
border: solid 1px #c7c7c7!important;
|
|
446
|
+
color: #333333!important;
|
|
447
|
+
font-size: 15px!important;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.input_view[readonly]{
|
|
451
|
+
border: 1px solid #DDD!important;
|
|
452
|
+
color:#ACA899!important;
|
|
453
|
+
}
|
|
454
|
+
.input_view:disabled{
|
|
455
|
+
border: 1px solid #DDD!important;
|
|
456
|
+
color:#ACA899!important;
|
|
457
|
+
}
|
|
405
458
|
</style>
|
|
@@ -39,34 +39,36 @@
|
|
|
39
39
|
<table border="1">
|
|
40
40
|
<tr>
|
|
41
41
|
<td colspan="6">
|
|
42
|
-
|
|
42
|
+
<span>开票日期:{{ new Date().Format('yyyy年MM月dd日') }}</span>
|
|
43
|
+
<span>收据编码:{{ charge.f_charge_number }}</span>
|
|
44
|
+
<span>状态:{{ charge.f_charge_status }}</span>
|
|
43
45
|
</td>
|
|
44
46
|
</tr>
|
|
45
47
|
<tr>
|
|
46
48
|
<td>用户姓名</td>
|
|
47
|
-
<td colspan="2">{{ f_user_name }}</td>
|
|
48
|
-
<td
|
|
49
|
-
<td>{{
|
|
49
|
+
<td colspan="2">{{ charge.f_user_name }}</td>
|
|
50
|
+
<td>用户编号</td>
|
|
51
|
+
<td colspan="2">{{ selectdata.f_userinfo_code }}</td>
|
|
50
52
|
</tr>
|
|
51
53
|
<tr>
|
|
52
|
-
<td
|
|
53
|
-
<td colspan="
|
|
54
|
+
<td>用户地址</td>
|
|
55
|
+
<td colspan="5">{{ selectdata.f_address }}</td>
|
|
54
56
|
</tr>
|
|
55
57
|
<tr>
|
|
56
|
-
<td
|
|
57
|
-
<td colspan="2"
|
|
58
|
-
<td
|
|
59
|
-
<td>{{ charge.f_payment_method }}</td>
|
|
58
|
+
<td>收款项目</td>
|
|
59
|
+
<td colspan="2">{{ charge.f_payment_term }}</td>
|
|
60
|
+
<td>收款方式</td>
|
|
61
|
+
<td colspan="2">{{ charge.f_payment_method }}</td>
|
|
60
62
|
</tr>
|
|
61
63
|
<tr>
|
|
62
|
-
<td
|
|
64
|
+
<td>金额</td>
|
|
63
65
|
<td>{{ charge.f_charge_money }}</td>
|
|
64
|
-
<td
|
|
65
|
-
<td colspan="
|
|
66
|
+
<td>金额大写</td>
|
|
67
|
+
<td colspan="3">{{ charge.f_amount_words }}</td>
|
|
66
68
|
</tr>
|
|
67
69
|
<tr>
|
|
68
70
|
<td>备  注</td>
|
|
69
|
-
<td colspan="
|
|
71
|
+
<td colspan="5">{{ selectdata.f_entry_name }}</td>
|
|
70
72
|
</tr>
|
|
71
73
|
</table>
|
|
72
74
|
<span>
|
|
@@ -105,19 +107,8 @@ export default {
|
|
|
105
107
|
return {}
|
|
106
108
|
},
|
|
107
109
|
ready () {
|
|
108
|
-
console.log('------------------打印-------------------')
|
|
109
|
-
console.log()
|
|
110
110
|
},
|
|
111
111
|
computed: {
|
|
112
|
-
f_user_name () {
|
|
113
|
-
return isEmpty(this.charge.f_user_name) ? this.selectdata.f_contact : this.charge.f_user_name
|
|
114
|
-
},
|
|
115
|
-
f_user_phone () {
|
|
116
|
-
return isEmpty(this.charge.f_user_phone) ? this.selectdata.f_phone : this.charge.f_user_phone
|
|
117
|
-
},
|
|
118
|
-
f_useraddress () {
|
|
119
|
-
return isEmpty(this.charge.f_useraddress) ? `武安市${this.selectdata.f_street}${this.selectdata.f_residential_area}` : `武安市${this.charge.f_useraddress}`
|
|
120
|
-
},
|
|
121
112
|
orgs () {
|
|
122
113
|
return this.$login.f.orgs
|
|
123
114
|
}
|