apply-clients 5.0.35-25 → 5.0.35-28
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/.eslintrc.js +16 -16
- package/package.json +1 -1
- package/src/AndroidApp.vue +28 -28
- package/src/android.js +18 -18
- package/src/components/app_apply/ApplyDownList.vue +168 -168
- package/src/components/app_apply/ApplyInfo.vue +56 -56
- package/src/components/app_apply/ApplyListUpload.vue +268 -268
- package/src/components/app_apply/ApplyToDoList.vue +2822 -2822
- package/src/components/app_apply/PlaceControler.vue +287 -287
- package/src/components/app_apply/ServiceControl.vue +350 -350
- package/src/components/app_apply/ServiceView.vue +383 -383
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -109
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -100
- package/src/components/app_apply/ezhou/MinYong.vue +92 -92
- package/src/components/app_apply/ezhou/ServiceView.vue +765 -765
- package/src/components/product/Function/InstallInfoSelect.vue +1 -1
- package/src/components/product/Function/functions/InstallFee.vue +1 -1
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +95 -9
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +8 -4
- package/src/components/product/ServiceView.vue +7 -4
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +12 -5
- package/src/index.js +8 -8
- package/src/main.js +32 -32
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
<nobr>{{row.f_install_num}}</nobr>
|
|
182
182
|
</td>
|
|
183
183
|
<td style="text-align: center;">
|
|
184
|
-
<dropdown
|
|
184
|
+
<dropdown>
|
|
185
185
|
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
186
186
|
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
187
187
|
</button>
|
|
@@ -978,7 +978,7 @@
|
|
|
978
978
|
this.model.rows = res.data
|
|
979
979
|
this.model.f_cumulative_money = 0;
|
|
980
980
|
for (let i = 0; i < res.data.length; i++) {
|
|
981
|
-
this.model.f_cumulative_money =
|
|
981
|
+
this.model.f_cumulative_money =parseFloat(parseFloat(this.model.f_cumulative_money) + parseFloat(res.data[i].f_charge_money)).toFixed(2) ;
|
|
982
982
|
}
|
|
983
983
|
|
|
984
984
|
|
|
@@ -103,6 +103,25 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
|
|
106
|
+
<div class="form-group col-sm-2">
|
|
107
|
+
<label class="col-sm-4 control-label linehhh">业务类型</label>
|
|
108
|
+
<div class="col-sm-8">
|
|
109
|
+
<v-select :value.sync="model.f_work_type" v-model="model.f_work_type"
|
|
110
|
+
:options='$parent.$parent.worktype' width="100%"
|
|
111
|
+
close-on-select condition="a.f_work_type = '{}'">
|
|
112
|
+
</v-select>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<div class="form-group col-sm-2">
|
|
117
|
+
<label class="col-sm-4 control-label linehhh">用户类型</label>
|
|
118
|
+
<div class="col-sm-8">
|
|
119
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
120
|
+
:options='$parent.$parent.usertype' width="100%"
|
|
121
|
+
close-on-select condition="a.f_user_type = '{}'">
|
|
122
|
+
</v-select>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
106
125
|
|
|
107
126
|
<div class="form-group">
|
|
108
127
|
<button class="btn btn-primary" @click="search(),$parent.$parent.showpager()">
|
|
@@ -130,7 +149,7 @@
|
|
|
130
149
|
<th><nobr>总应缴金额</nobr></th>
|
|
131
150
|
<th><nobr>已交金额</nobr></th>
|
|
132
151
|
<th><nobr>未交金额</nobr></th>
|
|
133
|
-
|
|
152
|
+
<th><nobr>操作</nobr></th>
|
|
134
153
|
</tr>
|
|
135
154
|
</template>
|
|
136
155
|
<template partial='body'>
|
|
@@ -151,7 +170,9 @@
|
|
|
151
170
|
<td style="text-align: center;">{{row.f_total_cost}}</td>
|
|
152
171
|
<td style="text-align: center;">{{row.app_f_cumulative_money}}</td>
|
|
153
172
|
<td style="text-align: center;">{{row.f_unaccounts_money}}</td>
|
|
154
|
-
|
|
173
|
+
<td style="text-align: center;">
|
|
174
|
+
<button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.$parent.update_way(row)">修改</button>
|
|
175
|
+
</td>
|
|
155
176
|
</template>
|
|
156
177
|
</data-grid>
|
|
157
178
|
</criteria-paged>
|
|
@@ -164,14 +185,37 @@
|
|
|
164
185
|
</div>
|
|
165
186
|
</div>
|
|
166
187
|
</div>
|
|
188
|
+
<!--修改弹出框-->
|
|
189
|
+
<modal :show.sync="updateControl" v-ref:modal backdrop="false">
|
|
190
|
+
<header slot="modal-header" class="modal-header">
|
|
191
|
+
<button type="button" class="close" @click="closeUpdate()"><span>×</span></button>
|
|
192
|
+
<h4 class="modal-title">修改</h4>
|
|
193
|
+
</header>
|
|
194
|
+
<article slot="modal-body" class="modal-body" >
|
|
195
|
+
<div class="from-group" style="width: 100%">
|
|
196
|
+
<label style="width: 15%;float: left">票据类型</label>
|
|
197
|
+
<v-select :value.sync="selectItem.f_bill_style" v-model="selectItem.f_bill_style"
|
|
198
|
+
:options='billstyle' placeholder='请选择' style="width: 80%;float: left"
|
|
199
|
+
close-on-select >
|
|
200
|
+
</v-select>
|
|
201
|
+
</div>
|
|
202
|
+
</article>
|
|
167
203
|
|
|
204
|
+
|
|
205
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
206
|
+
<div class="from-group" style="width: 100%;float: left">
|
|
207
|
+
<button v-show="updateControl" type="button" class="btn btn-default" @click='closeUpdate'>取消</button>
|
|
208
|
+
<button v-show="updateControl" type="button" class="btn btn-success" @click='confirm'>确认</button>
|
|
209
|
+
</div>
|
|
210
|
+
</footer>
|
|
211
|
+
</modal>
|
|
168
212
|
</div>
|
|
169
213
|
</template>
|
|
170
214
|
<script>
|
|
171
215
|
import * as Util from '../../../../Util'
|
|
172
216
|
|
|
173
217
|
import { PagedList } from 'vue-client'
|
|
174
|
-
|
|
218
|
+
import {HttpResetClass} from 'vue-client'
|
|
175
219
|
Date.prototype.Format = function (fmt) {
|
|
176
220
|
var o = {
|
|
177
221
|
"M+": this.getMonth() + 1, //月份
|
|
@@ -205,6 +249,14 @@
|
|
|
205
249
|
human: [],
|
|
206
250
|
filiale: [],
|
|
207
251
|
method: [],
|
|
252
|
+
usertype:[
|
|
253
|
+
{label: '民用', value: '民用'},
|
|
254
|
+
{label: '非民用', value: '非民用'}
|
|
255
|
+
],
|
|
256
|
+
worktype:[
|
|
257
|
+
{label: '新报装', value: '新报装'},
|
|
258
|
+
{label: '改管', value: '改管'}
|
|
259
|
+
],
|
|
208
260
|
correct: [
|
|
209
261
|
{label: '是', value: '是'},
|
|
210
262
|
{label: '否', value: '否'}
|
|
@@ -212,7 +264,11 @@
|
|
|
212
264
|
state: [
|
|
213
265
|
{label: '有效', value: '有效'},
|
|
214
266
|
{label: '无效', value: '无效'}
|
|
215
|
-
]
|
|
267
|
+
],
|
|
268
|
+
selectItem: {},
|
|
269
|
+
billstyle: this.$appdata.getParam('发票类型'),
|
|
270
|
+
updateControl: false,
|
|
271
|
+
billID: 0
|
|
216
272
|
}
|
|
217
273
|
},
|
|
218
274
|
ready () {
|
|
@@ -235,16 +291,46 @@
|
|
|
235
291
|
// this.$refs.cp.pager = true
|
|
236
292
|
this.$dispatch('hiddenbtn')
|
|
237
293
|
},
|
|
238
|
-
|
|
239
|
-
|
|
294
|
+
search () {
|
|
295
|
+
let condition = "1=1 and r.f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
|
|
296
|
+
// debugger
|
|
297
|
+
// let condition = args.condition
|
|
298
|
+
debugger
|
|
240
299
|
this.model.search(condition)
|
|
241
300
|
this.modeluse.search(condition)
|
|
242
|
-
this.
|
|
301
|
+
let condition1 = "1=1 and f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
|
|
302
|
+
this.price.search(condition1)
|
|
303
|
+
},
|
|
304
|
+
update_way (row) {
|
|
305
|
+
console.log('进入修改方法')
|
|
306
|
+
this.selectItem = {}
|
|
307
|
+
this.billID = row.id
|
|
308
|
+
this.updateControl = true
|
|
309
|
+
},
|
|
310
|
+
closeUpdate () {
|
|
311
|
+
this.updateControl = false
|
|
312
|
+
},
|
|
313
|
+
confirm () {
|
|
314
|
+
let data = {
|
|
315
|
+
f_bill_style: this.selectItem.f_bill_style[0],
|
|
316
|
+
id: this.billID
|
|
317
|
+
}
|
|
318
|
+
console.log('数据:' + JSON.stringify(this.selectItem))
|
|
319
|
+
this.$resetpost('rs/entity/t_charge_record', data).then((res) => {
|
|
320
|
+
console.log('返回值:' + JSON.stringify(res.data))
|
|
321
|
+
if (res.data.id > 0) {
|
|
322
|
+
// this.$showMessage('修改成功!')
|
|
323
|
+
this.closeUpdate()
|
|
324
|
+
this.search()
|
|
325
|
+
}
|
|
326
|
+
})
|
|
243
327
|
},
|
|
244
|
-
|
|
245
328
|
selfSearch (args) {
|
|
246
|
-
args.condition = args.condition + ` and
|
|
329
|
+
args.condition = args.condition + ` and a.f_filialeids like '%${this.filialeCodeStr}%'`
|
|
330
|
+
console.log('condition:', args.condition)
|
|
247
331
|
this.model.search(args.condition, args.model)
|
|
332
|
+
this.modeluse.search(args.condition, args.model)
|
|
333
|
+
this.price.search(args.condition, args.model)
|
|
248
334
|
},
|
|
249
335
|
cleaner () {
|
|
250
336
|
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
@@ -1439,24 +1439,28 @@
|
|
|
1439
1439
|
this.$refs.service_show.data.fields[index].label === '人工费'
|
|
1440
1440
|
) {
|
|
1441
1441
|
console.log('即将合成价格')
|
|
1442
|
+
let a1 = 0
|
|
1443
|
+
let b1 = 0
|
|
1444
|
+
let c1 = 0
|
|
1442
1445
|
let fee = 0
|
|
1443
1446
|
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1444
1447
|
// 控制设置级联
|
|
1445
1448
|
// 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
|
|
1446
1449
|
// xxx xx xxx
|
|
1447
1450
|
if (this.$refs.service_show.data.fields[i].label === '工程安装费' && this.$refs.service_show.data.fields[i].value) {
|
|
1448
|
-
|
|
1451
|
+
a1 = this.$refs.service_show.data.fields[i].value
|
|
1449
1452
|
}
|
|
1450
1453
|
if (this.$refs.service_show.data.fields[i].label === '材料费' && this.$refs.service_show.data.fields[i].value) {
|
|
1451
|
-
|
|
1454
|
+
b1= this.$refs.service_show.data.fields[i].value
|
|
1452
1455
|
}
|
|
1453
1456
|
if (this.$refs.service_show.data.fields[i].label === '人工费' && this.$refs.service_show.data.fields[i].value) {
|
|
1454
|
-
|
|
1457
|
+
c1 = this.$refs.service_show.data.fields[i].value
|
|
1455
1458
|
}
|
|
1459
|
+
fee=parseFloat(parseFloat(a1) + parseFloat(b1)+parseFloat(c1)).toFixed(2)
|
|
1456
1460
|
// 数据获取完毕时放入地址text
|
|
1457
1461
|
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1458
1462
|
if (this.$refs.service_show.data.fields[i].label === '费用合计'||this.$refs.service_show.data.fields[i].label === '未结总金额') {
|
|
1459
|
-
this.$refs.service_show.data.fields[i].value =
|
|
1463
|
+
this.$refs.service_show.data.fields[i].value =fee
|
|
1460
1464
|
console.log('修改fields[i].value后的值=>' + this.$refs.service_show.data.fields[i].value)
|
|
1461
1465
|
}
|
|
1462
1466
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
<!--</div>-->
|
|
11
11
|
<validator name="v">
|
|
12
12
|
<form class="form-horizontal">
|
|
13
|
-
<div class="col-sm-12 form-group">
|
|
13
|
+
<div class="col-sm-12 form-group form-group1">
|
|
14
14
|
<div v-for="(index,item) in data.fields">
|
|
15
15
|
<!--input-->
|
|
16
16
|
<div :style="item.style+';height: 34px;'"
|
|
17
17
|
v-if="item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email'"
|
|
18
18
|
v-show="!item.hidden"
|
|
19
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
19
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group form-group1']">
|
|
20
20
|
<label :style="item.label_style? item.label_style:''+';width:85px;'"
|
|
21
21
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label-justify control-label':item.label_style?'':'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
22
22
|
<div :style="item.value_style? item.value_style:''"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<!--时间datepicker-->
|
|
37
37
|
<div :style="item.style? item.style+';height: 34px;':'height: 34px;'" v-if="item.type==='datepicker'"
|
|
38
38
|
v-show="!item.hidden"
|
|
39
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
39
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group form-group1']">
|
|
40
40
|
<label style="width:85px"
|
|
41
41
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label-justify control-label':'control-label control-label-justify col-sm-6'">{{item.label}}</label>
|
|
42
42
|
<div :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'">
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
<!--select-->
|
|
96
96
|
<div style="height: 34px" v-if="item.type==='select'" v-show="!item.hidden"
|
|
97
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
97
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group ':'col-sm-4 form-group']">
|
|
98
98
|
<label style="width:85px;"
|
|
99
99
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label control-label-justify':'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
100
100
|
<input-select :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'" @blur="check_disable"
|
|
@@ -797,4 +797,7 @@
|
|
|
797
797
|
tr {
|
|
798
798
|
height: 34px;
|
|
799
799
|
}
|
|
800
|
+
.form-group{
|
|
801
|
+
margin-top:20px;
|
|
802
|
+
}
|
|
800
803
|
</style>
|
|
@@ -390,11 +390,18 @@
|
|
|
390
390
|
this.data = jsonData
|
|
391
391
|
this.initializtion()
|
|
392
392
|
// 完成时间和完成人,部门,分公司
|
|
393
|
-
this.data.filiale = this.selectdata.f_filiale
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
393
|
+
if(this.selectdata.defname =='完工'){ this.data.filiale = this.selectdata.f_filiale
|
|
394
|
+
this.data.f_parentname = this.selectdata.f_parentname
|
|
395
|
+
this.data.operate_date = this.selectdata.sendtime
|
|
396
|
+
this.data.operator = this.selectdata.sender
|
|
397
|
+
this.showview = true
|
|
398
|
+
}else{
|
|
399
|
+
this.data.f_parentname = this.selectdata.f_parentname
|
|
400
|
+
this.data.operate_date = this.selectdata.finishtime
|
|
401
|
+
this.data.operator = this.selectdata.person
|
|
402
|
+
this.showview = true
|
|
403
|
+
}
|
|
404
|
+
|
|
398
405
|
} else if (sum == 0) {
|
|
399
406
|
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
400
407
|
} else {
|
package/src/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import apply from './apply'
|
|
2
|
-
import applyAndroid from './applyAndroid'
|
|
3
|
-
import ezhouAndroid from './ezhouAndroid'
|
|
4
|
-
export {
|
|
5
|
-
apply,
|
|
6
|
-
applyAndroid,
|
|
7
|
-
ezhouAndroid
|
|
8
|
-
}
|
|
1
|
+
import apply from './apply'
|
|
2
|
+
import applyAndroid from './applyAndroid'
|
|
3
|
+
import ezhouAndroid from './ezhouAndroid'
|
|
4
|
+
export {
|
|
5
|
+
apply,
|
|
6
|
+
applyAndroid,
|
|
7
|
+
ezhouAndroid
|
|
8
|
+
}
|
package/src/main.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
import {ldap} from 'ldap-clients'
|
|
5
|
-
import {system} from 'system-clients'
|
|
6
|
-
import {sale} from 'sale-client'
|
|
7
|
-
import {material} from 'material-client'
|
|
8
|
-
|
|
9
|
-
import apply from './apply'
|
|
10
|
-
import applyAndroid from './ezhouAndroid'
|
|
11
|
-
import 'lib-flexible/flexible.js'
|
|
12
|
-
/*import vueBubble from 'vue-bubble'
|
|
13
|
-
Vue.use(vueBubble)*/
|
|
14
|
-
// import AndroidPlugin from './AndroidPlugin.js'
|
|
15
|
-
import {systemphonegrid} from 'system-phone'
|
|
16
|
-
// var Verificationfalg = false
|
|
17
|
-
// system(Verificationfalg)
|
|
18
|
-
all()
|
|
19
|
-
system(false)
|
|
20
|
-
apply()
|
|
21
|
-
ldap()
|
|
22
|
-
sale()
|
|
23
|
-
material()
|
|
24
|
-
|
|
25
|
-
applyAndroid()
|
|
26
|
-
// Vue.use(AndroidPlugin)
|
|
27
|
-
require('./bootstrap/less/bootstrap.less')
|
|
28
|
-
|
|
29
|
-
new Vue({
|
|
30
|
-
el: 'body',
|
|
31
|
-
components: { App }
|
|
32
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
import {ldap} from 'ldap-clients'
|
|
5
|
+
import {system} from 'system-clients'
|
|
6
|
+
import {sale} from 'sale-client'
|
|
7
|
+
import {material} from 'material-client'
|
|
8
|
+
|
|
9
|
+
import apply from './apply'
|
|
10
|
+
import applyAndroid from './ezhouAndroid'
|
|
11
|
+
import 'lib-flexible/flexible.js'
|
|
12
|
+
/*import vueBubble from 'vue-bubble'
|
|
13
|
+
Vue.use(vueBubble)*/
|
|
14
|
+
// import AndroidPlugin from './AndroidPlugin.js'
|
|
15
|
+
import {systemphonegrid} from 'system-phone'
|
|
16
|
+
// var Verificationfalg = false
|
|
17
|
+
// system(Verificationfalg)
|
|
18
|
+
all()
|
|
19
|
+
system(false)
|
|
20
|
+
apply()
|
|
21
|
+
ldap()
|
|
22
|
+
sale()
|
|
23
|
+
material()
|
|
24
|
+
|
|
25
|
+
applyAndroid()
|
|
26
|
+
// Vue.use(AndroidPlugin)
|
|
27
|
+
require('./bootstrap/less/bootstrap.less')
|
|
28
|
+
|
|
29
|
+
new Vue({
|
|
30
|
+
el: 'body',
|
|
31
|
+
components: { App }
|
|
32
|
+
})
|