apply-clients 3.2.32 → 3.2.37
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 +26 -26
- package/src/App.vue +20 -20
- package/src/apply.js +67 -67
- package/src/applyAndroid.js +24 -24
- package/src/components/Util.js +359 -359
- package/src/components/app_apply/AppOnetomany.vue +90 -90
- package/src/components/app_apply/AppServiceView.vue +664 -664
- package/src/components/app_apply/AppTakePic.vue +112 -112
- package/src/components/app_apply/Process/AppExplorationUser.vue +310 -310
- package/src/components/app_apply/Process/AppServiceControl.vue +409 -409
- package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +456 -456
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +300 -300
- package/src/components/app_apply/Supervisory/AppSupervisoryCart.vue +121 -121
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -107
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
- package/src/components/product/Function/InstallFunction.vue +147 -147
- package/src/components/product/Function/InstallInfoSelect.vue +281 -281
- package/src/components/product/Function/Service/FunctionServiceControl.vue +245 -245
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
- package/src/components/product/Function/functions/StopInstall.vue +106 -106
- package/src/components/product/Process/ExplorationSelect.vue +346 -346
- package/src/components/product/Process/ExplorationUser.vue +134 -134
- package/src/components/product/Process/Processes/InstallationDetails.vue +243 -233
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +201 -201
- package/src/components/product/Process/Processes/chargeManagement.vue +555 -555
- package/src/components/product/Process/Processes/printCharge.vue +133 -133
- package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -297
- package/src/components/product/Process/ShowBackReason.vue +32 -32
- package/src/components/product/ServiceView.vue +759 -759
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -199
- package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
- package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
- package/src/main.js +23 -23
|
@@ -1,297 +1,297 @@
|
|
|
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 class="textNoLineBreak">序号</th>
|
|
7
|
-
<th class="textNoLineBreak">合同金额</th>
|
|
8
|
-
<th class="textNoLineBreak">合同类型</th>
|
|
9
|
-
<th class="textNoLineBreak">签订日期</th>
|
|
10
|
-
<th class="textNoLineBreak">提交人</th>
|
|
11
|
-
<th class="textNoLineBreak">备注</th>
|
|
12
|
-
<th class="textNoLineBreak">状态</th>
|
|
13
|
-
<th class="textNoLineBreak">作废人员</th>
|
|
14
|
-
<th class="textNoLineBreak">作废时间</th>
|
|
15
|
-
<th class="textNoLineBreak">作废原因</th>
|
|
16
|
-
<th class="textNoLineBreak">
|
|
17
|
-
<button
|
|
18
|
-
type="button"
|
|
19
|
-
class="btn btn-info head-but"
|
|
20
|
-
:disabled="$parent.$parent.mark === 1"
|
|
21
|
-
@click="$parent.$parent.showSupplement = !$parent.$parent.showSupplement"
|
|
22
|
-
>补充协议</button>
|
|
23
|
-
</th>
|
|
24
|
-
</tr>
|
|
25
|
-
</template>
|
|
26
|
-
<template partial='body'>
|
|
27
|
-
<tr>
|
|
28
|
-
<td style="text-align: center;">
|
|
29
|
-
<nobr>{{$index+1}}</nobr>
|
|
30
|
-
</td>
|
|
31
|
-
<td style="text-align: center;">
|
|
32
|
-
<nobr>{{row.f_contract_money}}</nobr>
|
|
33
|
-
</td>
|
|
34
|
-
<td style="text-align: center;">
|
|
35
|
-
<nobr>{{row.f_contract_type}}</nobr>
|
|
36
|
-
</td>
|
|
37
|
-
<td style="text-align: center;">
|
|
38
|
-
<nobr>{{row.f_contract_time}}</nobr>
|
|
39
|
-
</td>
|
|
40
|
-
<td style="text-align: center;">
|
|
41
|
-
<nobr>{{row.f_operator}}</nobr>
|
|
42
|
-
</td>
|
|
43
|
-
<td style="text-align: center;">
|
|
44
|
-
<nobr>{{row.f_remarks}}</nobr>
|
|
45
|
-
</td>
|
|
46
|
-
<td style="text-align: center;">
|
|
47
|
-
<nobr>{{row.f_contract_status}}</nobr>
|
|
48
|
-
</td>
|
|
49
|
-
<td style="text-align: center;">
|
|
50
|
-
<nobr>{{row.f_void_staff}}</nobr>
|
|
51
|
-
</td>
|
|
52
|
-
<td style="text-align: center;">
|
|
53
|
-
<nobr>{{row.f_void_date}}</nobr>
|
|
54
|
-
</td>
|
|
55
|
-
<td style="text-align: center;">
|
|
56
|
-
<nobr>{{row.f_void_remarks}}</nobr>
|
|
57
|
-
</td>
|
|
58
|
-
<td style="text-align: center;">
|
|
59
|
-
<nobr>
|
|
60
|
-
<button
|
|
61
|
-
type="button"
|
|
62
|
-
name="button"
|
|
63
|
-
class="btn btn-link"
|
|
64
|
-
:disabled="$parent.$parent.mark === 1 || row.f_contract_status === '作废'"
|
|
65
|
-
@click="$parent.$parent.showInvalidModal(row)"
|
|
66
|
-
>作废</button>
|
|
67
|
-
</nobr>
|
|
68
|
-
</td>
|
|
69
|
-
</tr>
|
|
70
|
-
</template>
|
|
71
|
-
</data-grid>
|
|
72
|
-
|
|
73
|
-
<modal v-if="showSupplement" :show.sync="showSupplement" v-ref:modal :large="true" :backdrop="false">
|
|
74
|
-
<header slot="modal-header" class="modal-header">
|
|
75
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
76
|
-
<h4 class="modal-title">协议明细</h4>
|
|
77
|
-
</header>
|
|
78
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
79
|
-
<div class="form-group col-sm-12">
|
|
80
|
-
<label class="col-sm-2 control-label">合同编号:</label>
|
|
81
|
-
<div class="col-sm-10">
|
|
82
|
-
<input type="text"
|
|
83
|
-
class="form-control input_view"
|
|
84
|
-
style="width: 100%"
|
|
85
|
-
readonly
|
|
86
|
-
:value="selectdata.f_contract_number"
|
|
87
|
-
v-model="contract.f_contract_number" />
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
<div class="form-group col-sm-12" :class="contract.f_contract_money ? '':'has-error'">
|
|
91
|
-
<label class="col-sm-2 control-label">合同金额:</label>
|
|
92
|
-
<div class="col-sm-10">
|
|
93
|
-
<input type="number"
|
|
94
|
-
class="form-control input_view"
|
|
95
|
-
style="width: 100%"
|
|
96
|
-
:value="contract.f_contract_money"
|
|
97
|
-
v-model="contract.f_contract_money" />
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
<div class="form-group col-sm-12">
|
|
101
|
-
<label class="col-sm-2 control-label">合同类型:</label>
|
|
102
|
-
<div class="col-sm-10">
|
|
103
|
-
<input type="text"
|
|
104
|
-
class="form-control input_view"
|
|
105
|
-
style="width: 100%"
|
|
106
|
-
:value="contract.f_contract_type"
|
|
107
|
-
v-model="contract.f_contract_type" />
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
<div class="form-group col-sm-12">
|
|
111
|
-
<label class="col-sm-2 control-label">备注:</label>
|
|
112
|
-
<div class="col-sm-10">
|
|
113
|
-
<input type="text"
|
|
114
|
-
class="form-control input_view"
|
|
115
|
-
style="width: 100%"
|
|
116
|
-
v-model="contract.f_remarks" />
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</article>
|
|
120
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
121
|
-
<button type="button" class="btn btn-primary" @click="saveContract()">新增协议</button>
|
|
122
|
-
</footer>
|
|
123
|
-
</modal>
|
|
124
|
-
|
|
125
|
-
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :large="true" :backdrop="false" title="作废协议">
|
|
126
|
-
<header slot="modal-header" class="modal-header">
|
|
127
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
128
|
-
<h4 class="modal-title">作废协议</h4>
|
|
129
|
-
</header>
|
|
130
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
131
|
-
<div class="form-group col-sm-12">
|
|
132
|
-
<label class="col-sm-2 control-label">合同编号:</label>
|
|
133
|
-
<div class="col-sm-10">
|
|
134
|
-
<input type="text"
|
|
135
|
-
class="form-control input_view"
|
|
136
|
-
style="width: 100%"
|
|
137
|
-
readonly
|
|
138
|
-
v-model="contract.f_contract_number" />
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
<div class="form-group col-sm-12">
|
|
142
|
-
<label class="col-sm-2 control-label">合同金额:</label>
|
|
143
|
-
<div class="col-sm-10">
|
|
144
|
-
<input type="text"
|
|
145
|
-
class="form-control input_view"
|
|
146
|
-
style="width: 100%"
|
|
147
|
-
readonly
|
|
148
|
-
v-model="contract.f_contract_money" />
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
<div class="form-group col-sm-12">
|
|
152
|
-
<label class="col-sm-2 control-label">合同类型:</label>
|
|
153
|
-
<div class="col-sm-10">
|
|
154
|
-
<input type="text"
|
|
155
|
-
class="form-control input_view"
|
|
156
|
-
style="width: 100%"
|
|
157
|
-
readonly
|
|
158
|
-
v-model="contract.f_contract_type" />
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
<div class="form-group col-sm-12">
|
|
162
|
-
<label class="col-sm-2 control-label">提交人员:</label>
|
|
163
|
-
<div class="col-sm-10">
|
|
164
|
-
<input type="text"
|
|
165
|
-
class="form-control input_view"
|
|
166
|
-
style="width: 100%"
|
|
167
|
-
readonly
|
|
168
|
-
v-model="contract.f_operator" />
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
<div class="form-group col-sm-12" :class="contract.f_void_remarks ? '':'has-error'">
|
|
172
|
-
<label class="col-sm-2 control-label">作废原因:</label>
|
|
173
|
-
<div class="col-sm-10">
|
|
174
|
-
<input type="text"
|
|
175
|
-
class="form-control input_view"
|
|
176
|
-
style="width: 100%"
|
|
177
|
-
v-model="contract.f_void_remarks" />
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
|
-
</article>
|
|
181
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
182
|
-
<button type="button" class="btn btn-primary" @click="invalidContract()">确认作废</button>
|
|
183
|
-
</footer>
|
|
184
|
-
</modal>
|
|
185
|
-
</div>
|
|
186
|
-
</template>
|
|
187
|
-
<script>
|
|
188
|
-
import {getNowDate,isEmpty} from '../../../Util'
|
|
189
|
-
import {PagedList} from 'vue-client'
|
|
190
|
-
import {HttpResetClass} from 'vue-client'
|
|
191
|
-
export default {
|
|
192
|
-
title: '补充协议',
|
|
193
|
-
props: {
|
|
194
|
-
selectdata: {
|
|
195
|
-
type: Object
|
|
196
|
-
},
|
|
197
|
-
mark: {
|
|
198
|
-
type: Number,
|
|
199
|
-
default: 0
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
data () {
|
|
203
|
-
return {
|
|
204
|
-
showSupplement: false,
|
|
205
|
-
showInvalid: false,
|
|
206
|
-
model: {
|
|
207
|
-
data: null
|
|
208
|
-
},
|
|
209
|
-
contract: {}
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
ready () {
|
|
213
|
-
this.search()
|
|
214
|
-
},
|
|
215
|
-
methods: {
|
|
216
|
-
async invalidContract() {
|
|
217
|
-
if (isEmpty(this.contract.f_void_remarks)) {
|
|
218
|
-
this.$showAlert('请输入作废原因!!!', 'warning', 3000)
|
|
219
|
-
return
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
let http = new HttpResetClass()
|
|
223
|
-
let data = {
|
|
224
|
-
selectdata: this.selectdata,
|
|
225
|
-
user: this.$login.f,
|
|
226
|
-
contract: this.contract
|
|
227
|
-
}
|
|
228
|
-
let res = await http.load('POST', 'rs/logic/deleteApplyContract', {data: data}, {
|
|
229
|
-
resolveMsg: null,
|
|
230
|
-
rejectMsg: '作废失败'
|
|
231
|
-
})
|
|
232
|
-
this.$dispatch('breakControl', this.selectdata)
|
|
233
|
-
},
|
|
234
|
-
showInvalidModal(row) {
|
|
235
|
-
this.contract = row
|
|
236
|
-
this.showInvalid = true
|
|
237
|
-
},
|
|
238
|
-
async saveContract() {
|
|
239
|
-
if (isEmpty(this.contract.f_contract_money)) {
|
|
240
|
-
this.$showAlert('合同金额不能为空!!!', 'warning', 3000)
|
|
241
|
-
return
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
let http = new HttpResetClass()
|
|
246
|
-
let data = {
|
|
247
|
-
contract: this.contract,
|
|
248
|
-
user: this.$login.f,
|
|
249
|
-
selectdata: this.selectdata
|
|
250
|
-
}
|
|
251
|
-
let res = await http.load('POST', 'rs/logic/addApplyContract', {data: data}, {
|
|
252
|
-
resolveMsg: null,
|
|
253
|
-
rejectMsg: '添加失败'
|
|
254
|
-
})
|
|
255
|
-
this.$dispatch('breakControl', this.selectdata)
|
|
256
|
-
},
|
|
257
|
-
async search () {
|
|
258
|
-
let http = new HttpResetClass()
|
|
259
|
-
let data = {
|
|
260
|
-
tablename: 't_contract',
|
|
261
|
-
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
262
|
-
}
|
|
263
|
-
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
264
|
-
resolveMsg: null,
|
|
265
|
-
rejectMsg: '补充协议查询失败'
|
|
266
|
-
})
|
|
267
|
-
this.model.data = res.data
|
|
268
|
-
},
|
|
269
|
-
// 关闭对话框
|
|
270
|
-
closeModal() {
|
|
271
|
-
this.showSupplement = false
|
|
272
|
-
this.showInvalid = false
|
|
273
|
-
this.contract = {}
|
|
274
|
-
this.search()
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
events: {
|
|
278
|
-
},
|
|
279
|
-
computed: {
|
|
280
|
-
},
|
|
281
|
-
watch: {
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
</script>
|
|
285
|
-
<style scoped>
|
|
286
|
-
.textNoLineBreak {
|
|
287
|
-
white-space: nowrap;
|
|
288
|
-
}
|
|
289
|
-
.head-but{
|
|
290
|
-
margin-left: 5px;
|
|
291
|
-
height: 34px;
|
|
292
|
-
/*background-color: #6aa6e2;*/
|
|
293
|
-
border-radius: 4px;
|
|
294
|
-
font-family: PingFang;
|
|
295
|
-
color: #ffffff;
|
|
296
|
-
}
|
|
297
|
-
</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 class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak">合同金额</th>
|
|
8
|
+
<th class="textNoLineBreak">合同类型</th>
|
|
9
|
+
<th class="textNoLineBreak">签订日期</th>
|
|
10
|
+
<th class="textNoLineBreak">提交人</th>
|
|
11
|
+
<th class="textNoLineBreak">备注</th>
|
|
12
|
+
<th class="textNoLineBreak">状态</th>
|
|
13
|
+
<th class="textNoLineBreak">作废人员</th>
|
|
14
|
+
<th class="textNoLineBreak">作废时间</th>
|
|
15
|
+
<th class="textNoLineBreak">作废原因</th>
|
|
16
|
+
<th class="textNoLineBreak">
|
|
17
|
+
<button
|
|
18
|
+
type="button"
|
|
19
|
+
class="btn btn-info head-but"
|
|
20
|
+
:disabled="$parent.$parent.mark === 1"
|
|
21
|
+
@click="$parent.$parent.showSupplement = !$parent.$parent.showSupplement"
|
|
22
|
+
>补充协议</button>
|
|
23
|
+
</th>
|
|
24
|
+
</tr>
|
|
25
|
+
</template>
|
|
26
|
+
<template partial='body'>
|
|
27
|
+
<tr>
|
|
28
|
+
<td style="text-align: center;">
|
|
29
|
+
<nobr>{{$index+1}}</nobr>
|
|
30
|
+
</td>
|
|
31
|
+
<td style="text-align: center;">
|
|
32
|
+
<nobr>{{row.f_contract_money}}</nobr>
|
|
33
|
+
</td>
|
|
34
|
+
<td style="text-align: center;">
|
|
35
|
+
<nobr>{{row.f_contract_type}}</nobr>
|
|
36
|
+
</td>
|
|
37
|
+
<td style="text-align: center;">
|
|
38
|
+
<nobr>{{row.f_contract_time}}</nobr>
|
|
39
|
+
</td>
|
|
40
|
+
<td style="text-align: center;">
|
|
41
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
42
|
+
</td>
|
|
43
|
+
<td style="text-align: center;">
|
|
44
|
+
<nobr>{{row.f_remarks}}</nobr>
|
|
45
|
+
</td>
|
|
46
|
+
<td style="text-align: center;">
|
|
47
|
+
<nobr>{{row.f_contract_status}}</nobr>
|
|
48
|
+
</td>
|
|
49
|
+
<td style="text-align: center;">
|
|
50
|
+
<nobr>{{row.f_void_staff}}</nobr>
|
|
51
|
+
</td>
|
|
52
|
+
<td style="text-align: center;">
|
|
53
|
+
<nobr>{{row.f_void_date}}</nobr>
|
|
54
|
+
</td>
|
|
55
|
+
<td style="text-align: center;">
|
|
56
|
+
<nobr>{{row.f_void_remarks}}</nobr>
|
|
57
|
+
</td>
|
|
58
|
+
<td style="text-align: center;">
|
|
59
|
+
<nobr>
|
|
60
|
+
<button
|
|
61
|
+
type="button"
|
|
62
|
+
name="button"
|
|
63
|
+
class="btn btn-link"
|
|
64
|
+
:disabled="$parent.$parent.mark === 1 || row.f_contract_status === '作废'"
|
|
65
|
+
@click="$parent.$parent.showInvalidModal(row)"
|
|
66
|
+
>作废</button>
|
|
67
|
+
</nobr>
|
|
68
|
+
</td>
|
|
69
|
+
</tr>
|
|
70
|
+
</template>
|
|
71
|
+
</data-grid>
|
|
72
|
+
|
|
73
|
+
<modal v-if="showSupplement" :show.sync="showSupplement" v-ref:modal :large="true" :backdrop="false">
|
|
74
|
+
<header slot="modal-header" class="modal-header">
|
|
75
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
76
|
+
<h4 class="modal-title">协议明细</h4>
|
|
77
|
+
</header>
|
|
78
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
79
|
+
<div class="form-group col-sm-12">
|
|
80
|
+
<label class="col-sm-2 control-label">合同编号:</label>
|
|
81
|
+
<div class="col-sm-10">
|
|
82
|
+
<input type="text"
|
|
83
|
+
class="form-control input_view"
|
|
84
|
+
style="width: 100%"
|
|
85
|
+
readonly
|
|
86
|
+
:value="selectdata.f_contract_number"
|
|
87
|
+
v-model="contract.f_contract_number" />
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="form-group col-sm-12" :class="contract.f_contract_money ? '':'has-error'">
|
|
91
|
+
<label class="col-sm-2 control-label">合同金额:</label>
|
|
92
|
+
<div class="col-sm-10">
|
|
93
|
+
<input type="number"
|
|
94
|
+
class="form-control input_view"
|
|
95
|
+
style="width: 100%"
|
|
96
|
+
:value="contract.f_contract_money"
|
|
97
|
+
v-model="contract.f_contract_money" />
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="form-group col-sm-12">
|
|
101
|
+
<label class="col-sm-2 control-label">合同类型:</label>
|
|
102
|
+
<div class="col-sm-10">
|
|
103
|
+
<input type="text"
|
|
104
|
+
class="form-control input_view"
|
|
105
|
+
style="width: 100%"
|
|
106
|
+
:value="contract.f_contract_type"
|
|
107
|
+
v-model="contract.f_contract_type" />
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="form-group col-sm-12">
|
|
111
|
+
<label class="col-sm-2 control-label">备注:</label>
|
|
112
|
+
<div class="col-sm-10">
|
|
113
|
+
<input type="text"
|
|
114
|
+
class="form-control input_view"
|
|
115
|
+
style="width: 100%"
|
|
116
|
+
v-model="contract.f_remarks" />
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</article>
|
|
120
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
121
|
+
<button type="button" class="btn btn-primary" @click="saveContract()">新增协议</button>
|
|
122
|
+
</footer>
|
|
123
|
+
</modal>
|
|
124
|
+
|
|
125
|
+
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :large="true" :backdrop="false" title="作废协议">
|
|
126
|
+
<header slot="modal-header" class="modal-header">
|
|
127
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
128
|
+
<h4 class="modal-title">作废协议</h4>
|
|
129
|
+
</header>
|
|
130
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
131
|
+
<div class="form-group col-sm-12">
|
|
132
|
+
<label class="col-sm-2 control-label">合同编号:</label>
|
|
133
|
+
<div class="col-sm-10">
|
|
134
|
+
<input type="text"
|
|
135
|
+
class="form-control input_view"
|
|
136
|
+
style="width: 100%"
|
|
137
|
+
readonly
|
|
138
|
+
v-model="contract.f_contract_number" />
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="form-group col-sm-12">
|
|
142
|
+
<label class="col-sm-2 control-label">合同金额:</label>
|
|
143
|
+
<div class="col-sm-10">
|
|
144
|
+
<input type="text"
|
|
145
|
+
class="form-control input_view"
|
|
146
|
+
style="width: 100%"
|
|
147
|
+
readonly
|
|
148
|
+
v-model="contract.f_contract_money" />
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="form-group col-sm-12">
|
|
152
|
+
<label class="col-sm-2 control-label">合同类型:</label>
|
|
153
|
+
<div class="col-sm-10">
|
|
154
|
+
<input type="text"
|
|
155
|
+
class="form-control input_view"
|
|
156
|
+
style="width: 100%"
|
|
157
|
+
readonly
|
|
158
|
+
v-model="contract.f_contract_type" />
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="form-group col-sm-12">
|
|
162
|
+
<label class="col-sm-2 control-label">提交人员:</label>
|
|
163
|
+
<div class="col-sm-10">
|
|
164
|
+
<input type="text"
|
|
165
|
+
class="form-control input_view"
|
|
166
|
+
style="width: 100%"
|
|
167
|
+
readonly
|
|
168
|
+
v-model="contract.f_operator" />
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="form-group col-sm-12" :class="contract.f_void_remarks ? '':'has-error'">
|
|
172
|
+
<label class="col-sm-2 control-label">作废原因:</label>
|
|
173
|
+
<div class="col-sm-10">
|
|
174
|
+
<input type="text"
|
|
175
|
+
class="form-control input_view"
|
|
176
|
+
style="width: 100%"
|
|
177
|
+
v-model="contract.f_void_remarks" />
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
180
|
+
</article>
|
|
181
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
182
|
+
<button type="button" class="btn btn-primary" @click="invalidContract()">确认作废</button>
|
|
183
|
+
</footer>
|
|
184
|
+
</modal>
|
|
185
|
+
</div>
|
|
186
|
+
</template>
|
|
187
|
+
<script>
|
|
188
|
+
import {getNowDate,isEmpty} from '../../../Util'
|
|
189
|
+
import {PagedList} from 'vue-client'
|
|
190
|
+
import {HttpResetClass} from 'vue-client'
|
|
191
|
+
export default {
|
|
192
|
+
title: '补充协议',
|
|
193
|
+
props: {
|
|
194
|
+
selectdata: {
|
|
195
|
+
type: Object
|
|
196
|
+
},
|
|
197
|
+
mark: {
|
|
198
|
+
type: Number,
|
|
199
|
+
default: 0
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
data () {
|
|
203
|
+
return {
|
|
204
|
+
showSupplement: false,
|
|
205
|
+
showInvalid: false,
|
|
206
|
+
model: {
|
|
207
|
+
data: null
|
|
208
|
+
},
|
|
209
|
+
contract: {}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
ready () {
|
|
213
|
+
this.search()
|
|
214
|
+
},
|
|
215
|
+
methods: {
|
|
216
|
+
async invalidContract() {
|
|
217
|
+
if (isEmpty(this.contract.f_void_remarks)) {
|
|
218
|
+
this.$showAlert('请输入作废原因!!!', 'warning', 3000)
|
|
219
|
+
return
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
let http = new HttpResetClass()
|
|
223
|
+
let data = {
|
|
224
|
+
selectdata: this.selectdata,
|
|
225
|
+
user: this.$login.f,
|
|
226
|
+
contract: this.contract
|
|
227
|
+
}
|
|
228
|
+
let res = await http.load('POST', 'rs/logic/deleteApplyContract', {data: data}, {
|
|
229
|
+
resolveMsg: null,
|
|
230
|
+
rejectMsg: '作废失败'
|
|
231
|
+
})
|
|
232
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
233
|
+
},
|
|
234
|
+
showInvalidModal(row) {
|
|
235
|
+
this.contract = row
|
|
236
|
+
this.showInvalid = true
|
|
237
|
+
},
|
|
238
|
+
async saveContract() {
|
|
239
|
+
if (isEmpty(this.contract.f_contract_money)) {
|
|
240
|
+
this.$showAlert('合同金额不能为空!!!', 'warning', 3000)
|
|
241
|
+
return
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
let http = new HttpResetClass()
|
|
246
|
+
let data = {
|
|
247
|
+
contract: this.contract,
|
|
248
|
+
user: this.$login.f,
|
|
249
|
+
selectdata: this.selectdata
|
|
250
|
+
}
|
|
251
|
+
let res = await http.load('POST', 'rs/logic/addApplyContract', {data: data}, {
|
|
252
|
+
resolveMsg: null,
|
|
253
|
+
rejectMsg: '添加失败'
|
|
254
|
+
})
|
|
255
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
256
|
+
},
|
|
257
|
+
async search () {
|
|
258
|
+
let http = new HttpResetClass()
|
|
259
|
+
let data = {
|
|
260
|
+
tablename: 't_contract',
|
|
261
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
262
|
+
}
|
|
263
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
264
|
+
resolveMsg: null,
|
|
265
|
+
rejectMsg: '补充协议查询失败'
|
|
266
|
+
})
|
|
267
|
+
this.model.data = res.data
|
|
268
|
+
},
|
|
269
|
+
// 关闭对话框
|
|
270
|
+
closeModal() {
|
|
271
|
+
this.showSupplement = false
|
|
272
|
+
this.showInvalid = false
|
|
273
|
+
this.contract = {}
|
|
274
|
+
this.search()
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
events: {
|
|
278
|
+
},
|
|
279
|
+
computed: {
|
|
280
|
+
},
|
|
281
|
+
watch: {
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
</script>
|
|
285
|
+
<style scoped>
|
|
286
|
+
.textNoLineBreak {
|
|
287
|
+
white-space: nowrap;
|
|
288
|
+
}
|
|
289
|
+
.head-but{
|
|
290
|
+
margin-left: 5px;
|
|
291
|
+
height: 34px;
|
|
292
|
+
/*background-color: #6aa6e2;*/
|
|
293
|
+
border-radius: 4px;
|
|
294
|
+
font-family: PingFang;
|
|
295
|
+
color: #ffffff;
|
|
296
|
+
}
|
|
297
|
+
</style>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
|
|
3
|
-
<span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px"> 请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script>
|
|
7
|
-
import {HttpResetClass} from 'vue-client'
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
title: '退回原因展示',
|
|
11
|
-
props: ['selectdata'],
|
|
12
|
-
data () {
|
|
13
|
-
return {
|
|
14
|
-
data: null
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
async created () {
|
|
18
|
-
if (this.selectdata) {
|
|
19
|
-
let http = new HttpResetClass()
|
|
20
|
-
let data = {
|
|
21
|
-
tablename: 't_backcause',
|
|
22
|
-
condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
|
|
23
|
-
}
|
|
24
|
-
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
25
|
-
resolveMsg: null,
|
|
26
|
-
rejectMsg: null
|
|
27
|
-
})
|
|
28
|
-
this.data = res.data[0]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
|
|
3
|
+
<span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px"> 请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script>
|
|
7
|
+
import {HttpResetClass} from 'vue-client'
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: '退回原因展示',
|
|
11
|
+
props: ['selectdata'],
|
|
12
|
+
data () {
|
|
13
|
+
return {
|
|
14
|
+
data: null
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
async created () {
|
|
18
|
+
if (this.selectdata) {
|
|
19
|
+
let http = new HttpResetClass()
|
|
20
|
+
let data = {
|
|
21
|
+
tablename: 't_backcause',
|
|
22
|
+
condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
|
|
23
|
+
}
|
|
24
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
25
|
+
resolveMsg: null,
|
|
26
|
+
rejectMsg: null
|
|
27
|
+
})
|
|
28
|
+
this.data = res.data[0]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
</script>
|