apply-clients 3.5.5-98 → 3.5.6-1
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 +5 -5
- package/package.json +1 -1
- package/src/components/android/Process/AppServiceControl.vue +1760 -1760
- package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
- package/src/components/product/Install/ContractCharge.vue +210 -210
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
- package/src/filiale/fugou/android/AppAddReplacement.vue +512 -512
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +242 -242
- package/src/filiale/fugou/pc/AddReplacement.vue +511 -511
- package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -554
- package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -754
- package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
- package/src/filiale/fugou/pc/ServiceControl.vue +1732 -1732
- package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
- package/src/filiale/fugou/pc.js +19 -19
- package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -187
- package/src/filiale/gongyi/pc.js +25 -25
- package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
- package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -635
- package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -1842
- package/src/filiale/jinhuang/android.js +7 -7
- package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -511
- package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -2016
- package/src/filiale/jinhuang/pc/SupervisoryList.vue +459 -459
- package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -638
- package/src/filiale/jinhuang/pc.js +12 -12
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -786
- package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1387
- package/src/filiale/ruihua/pc/ServiceControl.vue +1973 -1973
- package/src/filiale/shexian/android/AppServiceControl.vue +1 -1
- package/src/filiale/shexian/android/AppSign.vue +9 -9
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
- package/src/filiale/yangchunboneng/android/AppContractCharge.vue +222 -210
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +38 -10
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1879 -1879
- package/src/filiale/yangchunboneng/android.js +21 -21
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -612
- package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -141
- package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -421
- package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
- package/src/filiale/yangchunboneng/pc.js +29 -29
- package/src/main.js +3 -3
|
@@ -1,210 +1,222 @@
|
|
|
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 v-if="
|
|
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 v-if="
|
|
32
|
-
<button v-if="
|
|
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>×</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
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
this.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
this.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
this.addData.
|
|
145
|
-
this
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
this.addData.f_payment_ratio =
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
this.addData.
|
|
153
|
-
this
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
this.addData
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
this.
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
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 v-if="$parent.$parent.showaddc" 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 v-if="$parent.$parent.showedit" type="button" class="btn btn-primary" @click="$parent.$parent.updateData(row)">修改</button>
|
|
32
|
+
<button v-if="$parent.$parent.showdel" 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>×</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
|
+
import Vue from 'vue'
|
|
100
|
+
|
|
101
|
+
export default {
|
|
102
|
+
title: '付款预设',
|
|
103
|
+
props: {
|
|
104
|
+
selectdata: {
|
|
105
|
+
type: Object
|
|
106
|
+
},
|
|
107
|
+
mark: {
|
|
108
|
+
type: Number,
|
|
109
|
+
default: 1
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
data () {
|
|
113
|
+
return {
|
|
114
|
+
model: {rows: [{f_process_id: 100, f_payment_ratio: '', defname: '', f_due_money: ''}]},
|
|
115
|
+
payProjects: [{label: '合同签订', value: '合同签订'}, {label: '验收通气', value: '验收通气'}, {label: '完工', value: '完工'}],
|
|
116
|
+
addModal: false,
|
|
117
|
+
addData: {f_amount: 0, f_process_id: '', f_payment_ratio: '', defname: '', f_due_money: ''},
|
|
118
|
+
titleText: ''
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
methods: {
|
|
122
|
+
toFixed (num) {
|
|
123
|
+
return parseFloat(num).toFixed(2)
|
|
124
|
+
},
|
|
125
|
+
showAdd () {
|
|
126
|
+
this.addData = {
|
|
127
|
+
f_amount: this.selectdata.f_contract_money,
|
|
128
|
+
f_process_id: this.selectdata.f_process_id,
|
|
129
|
+
f_payment_ratio: '',
|
|
130
|
+
defname: '',
|
|
131
|
+
f_due_money: ''
|
|
132
|
+
}
|
|
133
|
+
this.titleText = '新增付款预设'
|
|
134
|
+
this.addModal = true
|
|
135
|
+
},
|
|
136
|
+
inputChange (type) {
|
|
137
|
+
if (this.addData.f_amount) {
|
|
138
|
+
if (type === 1) {
|
|
139
|
+
this.addData.f_due_money = (this.addData.f_amount * (this.addData.f_payment_ratio / 100)).toFixed(2)
|
|
140
|
+
// this.addData.f_due_money转为数字类型
|
|
141
|
+
this.addData.f_due_money = parseFloat(this.addData.f_due_money)
|
|
142
|
+
this.selectdata.f_contract_money = parseFloat(this.selectdata.f_contract_money)
|
|
143
|
+
if (this.addData.f_due_money > this.selectdata.f_contract_money) {
|
|
144
|
+
this.addData.f_payment_ratio = 0
|
|
145
|
+
this.addData.f_due_money = 0
|
|
146
|
+
this.$showMessage('预付款金额不能大于合同金额')
|
|
147
|
+
}
|
|
148
|
+
} else {
|
|
149
|
+
this.addData.f_payment_ratio = Math.round(this.addData.f_due_money / this.addData.f_amount * 100)
|
|
150
|
+
this.addData.f_payment_ratio = parseFloat(this.addData.f_payment_ratio)
|
|
151
|
+
if (this.addData.f_payment_ratio > 100) {
|
|
152
|
+
this.addData.f_payment_ratio = 0
|
|
153
|
+
this.addData.f_due_money = 0
|
|
154
|
+
this.$showMessage('付款比率不能大于100%')
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
updateData (row) {
|
|
160
|
+
this.addData = row
|
|
161
|
+
this.addData.f_amount = this.selectdata.f_contract_money
|
|
162
|
+
this.titleText = '修改付款预设'
|
|
163
|
+
this.addModal = true
|
|
164
|
+
},
|
|
165
|
+
delData (row) {
|
|
166
|
+
console.log('delData=========')
|
|
167
|
+
this.$resetdelete(this.$androidUtil.getProxyUrl() + '/apply/rs/entity/t_contract_charge', {id: row.id}, {
|
|
168
|
+
resolveMsg: null,
|
|
169
|
+
rejectMsg: null
|
|
170
|
+
}).then(() => {
|
|
171
|
+
this.search()
|
|
172
|
+
})
|
|
173
|
+
this.addModal = false
|
|
174
|
+
},
|
|
175
|
+
saveOrUpdate () {
|
|
176
|
+
// this.addData
|
|
177
|
+
console.log('saveOrUpdate=========')
|
|
178
|
+
this.addData.defname = this.addData.applyType
|
|
179
|
+
new HttpResetClass().load('POST', this.$androidUtil.getProxyUrl() + '/apply/rs/entity/t_contract_charge', this.addData, {
|
|
180
|
+
resolveMsg: null,
|
|
181
|
+
rejectMsg: null
|
|
182
|
+
}).then(() => {
|
|
183
|
+
this.search()
|
|
184
|
+
})
|
|
185
|
+
// 关闭弹窗
|
|
186
|
+
this.addModal = false
|
|
187
|
+
},
|
|
188
|
+
closeModal () {
|
|
189
|
+
this.addModal = false
|
|
190
|
+
},
|
|
191
|
+
search () {
|
|
192
|
+
let data = {
|
|
193
|
+
condition: `f_process_id = '${this.selectdata.f_process_id}'`
|
|
194
|
+
}
|
|
195
|
+
new HttpResetClass().load('POST', this.$androidUtil.getProxyUrl() + '/rs/sql/getContractCharge', {data: data}
|
|
196
|
+
, {resolveMsg: null, rejectMsg: null})
|
|
197
|
+
.then((res) => {
|
|
198
|
+
this.model.rows = res.data
|
|
199
|
+
})
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
ready () {
|
|
203
|
+
this.payProjects = this.$appdata.getParam(this.selectdata.f_apply_type + '付款预设')
|
|
204
|
+
this.search()
|
|
205
|
+
},
|
|
206
|
+
computed: {
|
|
207
|
+
showaddc () {
|
|
208
|
+
return Vue.user.f_role_name.includes('付款预设-新增')
|
|
209
|
+
},
|
|
210
|
+
showedit () {
|
|
211
|
+
return Vue.user.f_role_name.includes('付款预设-修改')
|
|
212
|
+
},
|
|
213
|
+
showdel () {
|
|
214
|
+
return Vue.user.f_role_name.includes('付款预设-删除')
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
</script>
|
|
219
|
+
|
|
220
|
+
<style scoped>
|
|
221
|
+
|
|
222
|
+
</style>
|
|
@@ -651,23 +651,53 @@ export default {
|
|
|
651
651
|
console.log('this.material', this.material)
|
|
652
652
|
let otherdetail = []
|
|
653
653
|
if (this.payNumber == 0) {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
654
|
+
if(this.material.length>0){
|
|
655
|
+
var str="报建通气物料"
|
|
656
|
+
this.material.forEach((row) => {
|
|
657
|
+
str="报建通气物料"
|
|
658
|
+
if(row.f_material_name=="自闭阀"){
|
|
659
|
+
str=this.$appdata.getSingleValue(`报建自闭阀收费类型`)
|
|
660
|
+
}
|
|
661
|
+
if(row.f_material_name=="燃具管(连接管)"){
|
|
662
|
+
str=this.$appdata.getSingleValue(`报建燃具管收费类型`)
|
|
663
|
+
}
|
|
664
|
+
if(row.f_material_name=="家用报警器"){
|
|
665
|
+
str=this.$appdata.getSingleValue(`报建家用报警器收费类型`)
|
|
666
|
+
}
|
|
667
|
+
otherdetail.push({
|
|
668
|
+
f_brand_spec: [`${str}`],
|
|
669
|
+
f_typename: [`${row.f_material_name}`],
|
|
670
|
+
f_typenumber: [`${row.f_typenumber}`],
|
|
671
|
+
f_unitprice: row.f_material_price,
|
|
672
|
+
f_number: row.f_material_number,
|
|
673
|
+
f_overlength_unitprice:row.f_overlength_unitprice,
|
|
674
|
+
f_overlength_number:row.f_overlength_number,
|
|
675
|
+
f_discounts_money_detail:row.f_discounts_money_detail,
|
|
676
|
+
f_actual_materials_detail:row.f_actual_materials_detail
|
|
677
|
+
})
|
|
678
|
+
})
|
|
679
|
+
}else {
|
|
680
|
+
otherdetail.push({
|
|
681
|
+
f_brand_spec: ['报建通气物料 '],
|
|
682
|
+
f_typename: ['材料费'],
|
|
683
|
+
f_typenumber: [],
|
|
684
|
+
f_unitprice: 0,
|
|
685
|
+
f_number: this.material.length
|
|
686
|
+
})
|
|
687
|
+
}
|
|
661
688
|
} else {
|
|
662
689
|
var str="报建通气物料"
|
|
663
690
|
this.material.forEach((row) => {
|
|
664
|
-
|
|
691
|
+
str="报建通气物料"
|
|
665
692
|
if(row.f_material_name=="自闭阀"){
|
|
666
693
|
str=this.$appdata.getSingleValue(`报建自闭阀收费类型`)
|
|
667
694
|
}
|
|
668
695
|
if(row.f_material_name=="燃具管(连接管)"){
|
|
669
696
|
str=this.$appdata.getSingleValue(`报建燃具管收费类型`)
|
|
670
697
|
}
|
|
698
|
+
if(row.f_material_name=="家用报警器"){
|
|
699
|
+
str=this.$appdata.getSingleValue(`报建家用报警器收费类型`)
|
|
700
|
+
}
|
|
671
701
|
otherdetail.push({
|
|
672
702
|
f_brand_spec: [`${str}`],
|
|
673
703
|
f_typename: [`${row.f_material_name}`],
|
|
@@ -679,10 +709,8 @@ export default {
|
|
|
679
709
|
f_discounts_money_detail:row.f_discounts_money_detail,
|
|
680
710
|
f_actual_materials_detail:row.f_actual_materials_detail
|
|
681
711
|
})
|
|
682
|
-
}
|
|
683
712
|
})
|
|
684
713
|
}
|
|
685
|
-
|
|
686
714
|
let param = {
|
|
687
715
|
model: this.material,
|
|
688
716
|
operator_type: type,
|