apply-clients 3.5.4-74 → 3.5.4-76
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/build/dev-server.js +10 -7
- package/package.json +1 -1
- package/src/apply.js +137 -137
- package/src/components/android/AppCheckTakePic.vue +168 -168
- package/src/components/android/Process/AppServiceControl.vue +1755 -1755
- package/src/components/product/PcZhihuanManagement.vue +160 -160
- package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
- package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -442
- package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
- package/src/filiale/fugou/android/AppServiceControl.vue +1843 -1827
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -191
- package/src/filiale/fugou/android.js +15 -14
- package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
- package/src/filiale/fugou/pc/InstallationDetails.vue +646 -647
- package/src/filiale/fugou/pc/ServiceControl.vue +1704 -1702
- package/src/filiale/fugou/pc/addMaterialScience.vue +481 -482
- package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
- package/src/filiale/fugou/pc.js +12 -10
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +518 -518
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1087 -1087
- package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
- package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +156 -156
- package/src/filiale/yangchunboneng/android.js +20 -20
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
- package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
- package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
- package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -590
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -628
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -1117
- package/src/filiale/yangchunboneng/pc.js +24 -24
- package/src/main.js +1 -2
|
@@ -1,156 +1,156 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="y-form" style="border-bottom: 1px dashed grey;">
|
|
3
|
-
<div class="y-form-head">
|
|
4
|
-
<span style="text-align: center;font-weight: bolder;">材料{{ index + 1 }}信息</span>
|
|
5
|
-
<button
|
|
6
|
-
style="float: right"
|
|
7
|
-
class="button_delete button_spacing"
|
|
8
|
-
@click.prevent="deleteUserFile(index)"
|
|
9
|
-
>删除
|
|
10
|
-
</button>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="y-form-item">
|
|
13
|
-
<label>材料名称</label>
|
|
14
|
-
<v-select
|
|
15
|
-
:width="'70%'"
|
|
16
|
-
:value.sync="item.f_material_name"
|
|
17
|
-
v-model="item.f_material_name"
|
|
18
|
-
:options='newmaterialnameandcode'
|
|
19
|
-
placeholder='请选择'
|
|
20
|
-
close-on-select
|
|
21
|
-
:value-single="true"
|
|
22
|
-
@change="changeMaterialName"
|
|
23
|
-
></v-select>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="y-form-item">
|
|
26
|
-
<label>型号</label>
|
|
27
|
-
<v-select
|
|
28
|
-
:width="'70%'"
|
|
29
|
-
:value.sync="item.f_typenumber"
|
|
30
|
-
v-model="item.f_typenumber"
|
|
31
|
-
:options='materialnameandtype'
|
|
32
|
-
placeholder='请选择'
|
|
33
|
-
close-on-select
|
|
34
|
-
@change="changeType"
|
|
35
|
-
:value-single="true"
|
|
36
|
-
></v-select>
|
|
37
|
-
</div>
|
|
38
|
-
<div class="y-form-item">
|
|
39
|
-
<label>单价(元/{{ item.unit }})</label>
|
|
40
|
-
<input type="number" class="form-control y-form-item-input"
|
|
41
|
-
v-model="item.f_material_price"
|
|
42
|
-
@change="material_number_chenge"
|
|
43
|
-
>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="y-form-item">
|
|
46
|
-
<label>数量</label>
|
|
47
|
-
<input type="number" class="form-control y-form-item-input" v-model="item.f_material_number" @change="material_number_chenge"
|
|
48
|
-
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
49
|
-
</div>
|
|
50
|
-
<div class="y-form-item">
|
|
51
|
-
<label>超支单价</label>
|
|
52
|
-
<input type="number" class="form-control y-form-item-input" v-model="item.f_overlength_unitprice" @change="material_number_chenge"
|
|
53
|
-
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
54
|
-
</div>
|
|
55
|
-
<div class="y-form-item">
|
|
56
|
-
<label>超支数量</label>
|
|
57
|
-
<input type="number" class="form-control y-form-item-input" v-model="item.f_overlength_number" @change="material_number_chenge"
|
|
58
|
-
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
59
|
-
</div>
|
|
60
|
-
<div class="y-form-item">
|
|
61
|
-
<label>优惠金额</label>
|
|
62
|
-
<input type="number" class="form-control y-form-item-input" v-model="item.f_discounts_money_detail" @change="material_number_chenge"
|
|
63
|
-
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
64
|
-
</div>
|
|
65
|
-
<div class="y-form-item">
|
|
66
|
-
<label>材料实际耗材</label>
|
|
67
|
-
<input type="number" class="form-control y-form-item-input" v-model="item.f_actual_materials_detail"
|
|
68
|
-
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</template>
|
|
72
|
-
<script>
|
|
73
|
-
export default {
|
|
74
|
-
props:["index",'item','materialnameandcode','typenumbers','newmaterialnameandcode','newmaterialnameandtype'],
|
|
75
|
-
data(){
|
|
76
|
-
return {
|
|
77
|
-
materialtypenumber:[],
|
|
78
|
-
materialnameandtype:[],
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
methods:{
|
|
82
|
-
changeMaterialName(val){
|
|
83
|
-
this.materialnameandtype=[]
|
|
84
|
-
console.log(val)
|
|
85
|
-
if(val){
|
|
86
|
-
for (let i = 0; i < this.newmaterialnameandtype.length; i++){
|
|
87
|
-
|
|
88
|
-
if(this.newmaterialnameandtype[i].parent_id == val.id){
|
|
89
|
-
this.materialnameandtype.push(
|
|
90
|
-
{
|
|
91
|
-
label:this.newmaterialnameandtype[i].name,
|
|
92
|
-
value: this.newmaterialnameandtype[i]
|
|
93
|
-
}
|
|
94
|
-
)
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
changeType(val){
|
|
100
|
-
this.item.unit =val.unit
|
|
101
|
-
this.item.f_material_price =val.price
|
|
102
|
-
this.item.f_typename =val.name
|
|
103
|
-
this.item.material_type = this.item.f_material_name.name+val.name
|
|
104
|
-
},
|
|
105
|
-
material_number_chenge(){
|
|
106
|
-
this.$emit('number_chenge')
|
|
107
|
-
},
|
|
108
|
-
deleteUserFile(i){
|
|
109
|
-
this.$emit('delete_material',i)
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
ready(){
|
|
113
|
-
console.log(this.item)
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
</script>
|
|
117
|
-
<style lang="less">
|
|
118
|
-
.y-form {
|
|
119
|
-
display: flex;
|
|
120
|
-
flex-flow: column;
|
|
121
|
-
gap: 10px;
|
|
122
|
-
padding: 10px 5px;
|
|
123
|
-
.y-form-head {
|
|
124
|
-
background-color: #e8f4ff;
|
|
125
|
-
display: flex;
|
|
126
|
-
padding: 10px 20px;
|
|
127
|
-
align-items: center;
|
|
128
|
-
justify-content: space-between;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.y-form-item {
|
|
132
|
-
display: flex;
|
|
133
|
-
gap: 10px;
|
|
134
|
-
margin-top: 3px;
|
|
135
|
-
label {
|
|
136
|
-
width: 30%;
|
|
137
|
-
margin-bottom: 0;
|
|
138
|
-
display: flex;
|
|
139
|
-
flex-direction: row-reverse;
|
|
140
|
-
align-items: center;
|
|
141
|
-
}
|
|
142
|
-
.lab_sty{
|
|
143
|
-
margin-bottom: 0;
|
|
144
|
-
display: flex;
|
|
145
|
-
flex-direction: row-reverse;
|
|
146
|
-
align-items: center;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.y-form-item-input {
|
|
150
|
-
width: 70%;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="y-form" style="border-bottom: 1px dashed grey;">
|
|
3
|
+
<div class="y-form-head">
|
|
4
|
+
<span style="text-align: center;font-weight: bolder;">材料{{ index + 1 }}信息</span>
|
|
5
|
+
<button
|
|
6
|
+
style="float: right"
|
|
7
|
+
class="button_delete button_spacing"
|
|
8
|
+
@click.prevent="deleteUserFile(index)"
|
|
9
|
+
>删除
|
|
10
|
+
</button>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="y-form-item">
|
|
13
|
+
<label>材料名称</label>
|
|
14
|
+
<v-select
|
|
15
|
+
:width="'70%'"
|
|
16
|
+
:value.sync="item.f_material_name"
|
|
17
|
+
v-model="item.f_material_name"
|
|
18
|
+
:options='newmaterialnameandcode'
|
|
19
|
+
placeholder='请选择'
|
|
20
|
+
close-on-select
|
|
21
|
+
:value-single="true"
|
|
22
|
+
@change="changeMaterialName"
|
|
23
|
+
></v-select>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="y-form-item">
|
|
26
|
+
<label>型号</label>
|
|
27
|
+
<v-select
|
|
28
|
+
:width="'70%'"
|
|
29
|
+
:value.sync="item.f_typenumber"
|
|
30
|
+
v-model="item.f_typenumber"
|
|
31
|
+
:options='materialnameandtype'
|
|
32
|
+
placeholder='请选择'
|
|
33
|
+
close-on-select
|
|
34
|
+
@change="changeType"
|
|
35
|
+
:value-single="true"
|
|
36
|
+
></v-select>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="y-form-item">
|
|
39
|
+
<label>单价(元/{{ item.unit }})</label>
|
|
40
|
+
<input type="number" class="form-control y-form-item-input"
|
|
41
|
+
v-model="item.f_material_price"
|
|
42
|
+
@change="material_number_chenge"
|
|
43
|
+
>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="y-form-item">
|
|
46
|
+
<label>数量</label>
|
|
47
|
+
<input type="number" class="form-control y-form-item-input" v-model="item.f_material_number" @change="material_number_chenge"
|
|
48
|
+
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
49
|
+
</div>
|
|
50
|
+
<div class="y-form-item">
|
|
51
|
+
<label>超支单价</label>
|
|
52
|
+
<input type="number" class="form-control y-form-item-input" v-model="item.f_overlength_unitprice" @change="material_number_chenge"
|
|
53
|
+
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
54
|
+
</div>
|
|
55
|
+
<div class="y-form-item">
|
|
56
|
+
<label>超支数量</label>
|
|
57
|
+
<input type="number" class="form-control y-form-item-input" v-model="item.f_overlength_number" @change="material_number_chenge"
|
|
58
|
+
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
59
|
+
</div>
|
|
60
|
+
<div class="y-form-item">
|
|
61
|
+
<label>优惠金额</label>
|
|
62
|
+
<input type="number" class="form-control y-form-item-input" v-model="item.f_discounts_money_detail" @change="material_number_chenge"
|
|
63
|
+
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
64
|
+
</div>
|
|
65
|
+
<div class="y-form-item">
|
|
66
|
+
<label>材料实际耗材</label>
|
|
67
|
+
<input type="number" class="form-control y-form-item-input" v-model="item.f_actual_materials_detail"
|
|
68
|
+
:readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</template>
|
|
72
|
+
<script>
|
|
73
|
+
export default {
|
|
74
|
+
props:["index",'item','materialnameandcode','typenumbers','newmaterialnameandcode','newmaterialnameandtype'],
|
|
75
|
+
data(){
|
|
76
|
+
return {
|
|
77
|
+
materialtypenumber:[],
|
|
78
|
+
materialnameandtype:[],
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
methods:{
|
|
82
|
+
changeMaterialName(val){
|
|
83
|
+
this.materialnameandtype=[]
|
|
84
|
+
console.log(val)
|
|
85
|
+
if(val){
|
|
86
|
+
for (let i = 0; i < this.newmaterialnameandtype.length; i++){
|
|
87
|
+
|
|
88
|
+
if(this.newmaterialnameandtype[i].parent_id == val.id){
|
|
89
|
+
this.materialnameandtype.push(
|
|
90
|
+
{
|
|
91
|
+
label:this.newmaterialnameandtype[i].name,
|
|
92
|
+
value: this.newmaterialnameandtype[i]
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
changeType(val){
|
|
100
|
+
this.item.unit =val.unit
|
|
101
|
+
this.item.f_material_price =val.price
|
|
102
|
+
this.item.f_typename =val.name
|
|
103
|
+
this.item.material_type = this.item.f_material_name.name+val.name
|
|
104
|
+
},
|
|
105
|
+
material_number_chenge(){
|
|
106
|
+
this.$emit('number_chenge')
|
|
107
|
+
},
|
|
108
|
+
deleteUserFile(i){
|
|
109
|
+
this.$emit('delete_material',i)
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
ready(){
|
|
113
|
+
console.log(this.item)
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
</script>
|
|
117
|
+
<style lang="less">
|
|
118
|
+
.y-form {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-flow: column;
|
|
121
|
+
gap: 10px;
|
|
122
|
+
padding: 10px 5px;
|
|
123
|
+
.y-form-head {
|
|
124
|
+
background-color: #e8f4ff;
|
|
125
|
+
display: flex;
|
|
126
|
+
padding: 10px 20px;
|
|
127
|
+
align-items: center;
|
|
128
|
+
justify-content: space-between;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.y-form-item {
|
|
132
|
+
display: flex;
|
|
133
|
+
gap: 10px;
|
|
134
|
+
margin-top: 3px;
|
|
135
|
+
label {
|
|
136
|
+
width: 30%;
|
|
137
|
+
margin-bottom: 0;
|
|
138
|
+
display: flex;
|
|
139
|
+
flex-direction: row-reverse;
|
|
140
|
+
align-items: center;
|
|
141
|
+
}
|
|
142
|
+
.lab_sty{
|
|
143
|
+
margin-bottom: 0;
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-direction: row-reverse;
|
|
146
|
+
align-items: center;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.y-form-item-input {
|
|
150
|
+
width: 70%;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
</style>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
const Vue = require('vue')
|
|
2
|
-
let specialComp = {
|
|
3
|
-
'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
|
|
4
|
-
'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
|
|
5
|
-
'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
|
|
6
|
-
'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) },
|
|
7
|
-
'app-other-charge-management': (resolve) => { require(['./android/AppOtherChargeManagement'], resolve) },
|
|
8
|
-
'app-chargesList': (resolve) => { require(['./android/chargesList'], resolve) },
|
|
9
|
-
'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
|
|
10
|
-
'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
|
|
11
|
-
'app-super-service-control': (resolve) => { require(['./android/AppSuperServiceControl'], resolve) },
|
|
12
|
-
'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
|
|
13
|
-
'appinstallation-material': (resolve) => { require(['./android/AppInstallationMaterial'], resolve) },
|
|
14
|
-
'apply-material-one': (resolve) => { require(['./android/MaterIialOne'], resolve) },
|
|
15
|
-
'app-supervisory-cart': (resolve) => { require(['./android/AppSupervisoryCart'], resolve) },
|
|
16
|
-
'app-contract-charge': (resolve) => { require(['./android/AppContractCharge'], resolve) },
|
|
17
|
-
'app-upload': (resolve) => { require(['./android/AppUpload'], resolve) }
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
exports.specialComp = specialComp
|
|
1
|
+
const Vue = require('vue')
|
|
2
|
+
let specialComp = {
|
|
3
|
+
'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
|
|
4
|
+
'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
|
|
5
|
+
'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
|
|
6
|
+
'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) },
|
|
7
|
+
'app-other-charge-management': (resolve) => { require(['./android/AppOtherChargeManagement'], resolve) },
|
|
8
|
+
'app-chargesList': (resolve) => { require(['./android/chargesList'], resolve) },
|
|
9
|
+
'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
|
|
10
|
+
'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
|
|
11
|
+
'app-super-service-control': (resolve) => { require(['./android/AppSuperServiceControl'], resolve) },
|
|
12
|
+
'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
|
|
13
|
+
'appinstallation-material': (resolve) => { require(['./android/AppInstallationMaterial'], resolve) },
|
|
14
|
+
'apply-material-one': (resolve) => { require(['./android/MaterIialOne'], resolve) },
|
|
15
|
+
'app-supervisory-cart': (resolve) => { require(['./android/AppSupervisoryCart'], resolve) },
|
|
16
|
+
'app-contract-charge': (resolve) => { require(['./android/AppContractCharge'], resolve) },
|
|
17
|
+
'app-upload': (resolve) => { require(['./android/AppUpload'], resolve) }
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
exports.specialComp = specialComp
|