apply-clients 5.0.35-59 → 5.0.35-61
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
CHANGED
|
@@ -216,8 +216,8 @@ export default {
|
|
|
216
216
|
}
|
|
217
217
|
setTimeout(() => {
|
|
218
218
|
}, 200)
|
|
219
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
|
|
220
219
|
this.click(data)
|
|
220
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
|
|
221
221
|
})
|
|
222
222
|
}
|
|
223
223
|
})
|
|
@@ -229,7 +229,6 @@ export default {
|
|
|
229
229
|
title: row.defname,
|
|
230
230
|
safe: true
|
|
231
231
|
})
|
|
232
|
-
|
|
233
232
|
this.$goto('service-control-app', {selectdata: row,show_data: {ppp: {}},selectmodel: this.model}, 'self', _this.search)
|
|
234
233
|
}
|
|
235
234
|
},
|
|
@@ -247,7 +246,7 @@ export default {
|
|
|
247
246
|
return
|
|
248
247
|
}
|
|
249
248
|
var data = JSON.parse(result.data)
|
|
250
|
-
/*
|
|
249
|
+
/*var data={
|
|
251
250
|
"start_activitys": [
|
|
252
251
|
"集体报装申请",
|
|
253
252
|
"报装申请",
|
|
@@ -451,7 +450,8 @@ export default {
|
|
|
451
450
|
"required": true,
|
|
452
451
|
"value": null,
|
|
453
452
|
"hidden": true,
|
|
454
|
-
"options": [
|
|
453
|
+
"options": [
|
|
454
|
+
]
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
457
|
"label": "电话号码",
|
|
@@ -474,7 +474,8 @@ export default {
|
|
|
474
474
|
"disabled": false,
|
|
475
475
|
"required": true,
|
|
476
476
|
"value": null,
|
|
477
|
-
"options": [
|
|
477
|
+
"options": [
|
|
478
|
+
]
|
|
478
479
|
},
|
|
479
480
|
{
|
|
480
481
|
"label": "勘察人员",
|
|
@@ -833,7 +834,7 @@ export default {
|
|
|
833
834
|
"type": "input",
|
|
834
835
|
"bootstraped": "col-sm-3",
|
|
835
836
|
"field": "f_total_cost",
|
|
836
|
-
"readonly":
|
|
837
|
+
"readonly": false,
|
|
837
838
|
"required": true,
|
|
838
839
|
"hidden": false
|
|
839
840
|
},
|
|
@@ -1913,7 +1914,8 @@ export default {
|
|
|
1913
1914
|
"tables": [
|
|
1914
1915
|
"t_apply"
|
|
1915
1916
|
],
|
|
1916
|
-
"fields": [
|
|
1917
|
+
"fields": [
|
|
1918
|
+
],
|
|
1917
1919
|
"buttons": [
|
|
1918
1920
|
{
|
|
1919
1921
|
"button_name": "保存"
|
|
@@ -1928,7 +1930,8 @@ export default {
|
|
|
1928
1930
|
"tables": [
|
|
1929
1931
|
"t_apply"
|
|
1930
1932
|
],
|
|
1931
|
-
"fields": [
|
|
1933
|
+
"fields": [
|
|
1934
|
+
]
|
|
1932
1935
|
},
|
|
1933
1936
|
{
|
|
1934
1937
|
"title": "报装申请",
|
|
@@ -2225,7 +2228,8 @@ export default {
|
|
|
2225
2228
|
"disabled": false,
|
|
2226
2229
|
"hidden": true,
|
|
2227
2230
|
"value": null,
|
|
2228
|
-
"options": [
|
|
2231
|
+
"options": [
|
|
2232
|
+
]
|
|
2229
2233
|
},
|
|
2230
2234
|
{
|
|
2231
2235
|
"label": "电话号码",
|
|
@@ -2248,7 +2252,8 @@ export default {
|
|
|
2248
2252
|
"disabled": false,
|
|
2249
2253
|
"required": true,
|
|
2250
2254
|
"value": null,
|
|
2251
|
-
"options": [
|
|
2255
|
+
"options": [
|
|
2256
|
+
]
|
|
2252
2257
|
},
|
|
2253
2258
|
{
|
|
2254
2259
|
"label": "勘察人员",
|
|
@@ -2300,7 +2305,8 @@ export default {
|
|
|
2300
2305
|
"readonly": true,
|
|
2301
2306
|
"required": true,
|
|
2302
2307
|
"value": "1",
|
|
2303
|
-
"options": [
|
|
2308
|
+
"options": [
|
|
2309
|
+
]
|
|
2304
2310
|
},
|
|
2305
2311
|
{
|
|
2306
2312
|
"label": "证件号码",
|
|
@@ -2472,7 +2478,7 @@ export default {
|
|
|
2472
2478
|
"type": "input",
|
|
2473
2479
|
"bootstraped": "col-sm-3",
|
|
2474
2480
|
"field": "f_total_cost",
|
|
2475
|
-
"readonly":
|
|
2481
|
+
"readonly": false,
|
|
2476
2482
|
"required": true,
|
|
2477
2483
|
"hidden": false
|
|
2478
2484
|
},
|
|
@@ -3139,7 +3145,7 @@ export default {
|
|
|
3139
3145
|
"required": false
|
|
3140
3146
|
},
|
|
3141
3147
|
{
|
|
3142
|
-
"label": "
|
|
3148
|
+
"label": "办理施工手续是否完成",
|
|
3143
3149
|
"type": "select",
|
|
3144
3150
|
"bootstraped": "col-sm-3",
|
|
3145
3151
|
"field": "f_shigong_upload_state",
|
|
@@ -3395,7 +3401,8 @@ export default {
|
|
|
3395
3401
|
"required": false
|
|
3396
3402
|
}
|
|
3397
3403
|
],
|
|
3398
|
-
"onetomany": [
|
|
3404
|
+
"onetomany": [
|
|
3405
|
+
],
|
|
3399
3406
|
"buttons": [
|
|
3400
3407
|
{
|
|
3401
3408
|
"button_name": "保存"
|
|
@@ -3537,7 +3544,6 @@ export default {
|
|
|
3537
3544
|
}
|
|
3538
3545
|
]
|
|
3539
3546
|
}*/
|
|
3540
|
-
|
|
3541
3547
|
console.log('前台存入缓存中的data=>' + JSON.stringify(data))
|
|
3542
3548
|
Vue.workflow_vue = Vue.prototype.$workflow_vue = data
|
|
3543
3549
|
}
|
|
@@ -442,6 +442,50 @@ export default {
|
|
|
442
442
|
// }
|
|
443
443
|
let btn = btn_operate(this, url, http, model, delteLocal)
|
|
444
444
|
co(btn)
|
|
445
|
+
},
|
|
446
|
+
'checkboxSelectControl'(index,index2){
|
|
447
|
+
if(this.$refs.service_show.data.fields[index].label=="施工提交资料"){
|
|
448
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
449
|
+
|
|
450
|
+
if(this.$refs.service_show.data.fields[i].label=="施工已上传文件"){
|
|
451
|
+
//增加和删除框中的内容
|
|
452
|
+
if(this.$refs.service_show.data.fields[index].items[index2].value == false){
|
|
453
|
+
this.$refs.service_show.data.fields[i].value+=this.$refs.service_show.data.fields[index].items[index2].label+" ";
|
|
454
|
+
this.$refs.service_show.data.fields[index].items[index2].value=true;
|
|
455
|
+
}else{
|
|
456
|
+
let deleteValue = this.$refs.service_show.data.fields[index].items[index2].label;
|
|
457
|
+
let values =this.$refs.service_show.data.fields[i].value;
|
|
458
|
+
let result = values.split(" ").filter((item)=>{
|
|
459
|
+
return item!=deleteValue;
|
|
460
|
+
}).join(" ")
|
|
461
|
+
this.$refs.service_show.data.fields[i].value =result;
|
|
462
|
+
this.$refs.service_show.data.fields[index].items[index2].value=false;
|
|
463
|
+
}
|
|
464
|
+
//}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
if(this.$refs.service_show.data.fields[index].label=="验收提交资料"){
|
|
469
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
470
|
+
|
|
471
|
+
if(this.$refs.service_show.data.fields[i].label=="验收已上传文件"){
|
|
472
|
+
//增加和删除框中的内容
|
|
473
|
+
if(this.$refs.service_show.data.fields[index].items[index2].value == false){
|
|
474
|
+
this.$refs.service_show.data.fields[i].value+=this.$refs.service_show.data.fields[index].items[index2].label+" ";
|
|
475
|
+
this.$refs.service_show.data.fields[index].items[index2].value=true;
|
|
476
|
+
}else{
|
|
477
|
+
let deleteValue = this.$refs.service_show.data.fields[index].items[index2].label;
|
|
478
|
+
let values =this.$refs.service_show.data.fields[i].value;
|
|
479
|
+
let result = values.split(" ").filter((item)=>{
|
|
480
|
+
return item!=deleteValue;
|
|
481
|
+
}).join(" ")
|
|
482
|
+
this.$refs.service_show.data.fields[i].value =result;
|
|
483
|
+
this.$refs.service_show.data.fields[index].items[index2].value=false;
|
|
484
|
+
}
|
|
485
|
+
//}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
445
489
|
}
|
|
446
490
|
},
|
|
447
491
|
watch:{
|
|
@@ -532,6 +532,7 @@
|
|
|
532
532
|
this.$dispatch('success')
|
|
533
533
|
}
|
|
534
534
|
this.$showMessage('是否冲正此条记录?', ['confirm', 'cancel']).then((res) => {
|
|
535
|
+
debugger
|
|
535
536
|
if (res === 'confirm') {
|
|
536
537
|
let param = {
|
|
537
538
|
row: this.model.rows[index]
|
|
@@ -712,6 +713,7 @@
|
|
|
712
713
|
this.model.f_charge_money = 0
|
|
713
714
|
this.model.f_amount_words = ''
|
|
714
715
|
} else {
|
|
716
|
+
debugger
|
|
715
717
|
//获取购货方信息
|
|
716
718
|
http = new HttpResetClass()
|
|
717
719
|
data = {
|
|
@@ -773,6 +775,7 @@
|
|
|
773
775
|
parameters: this.addItem
|
|
774
776
|
}
|
|
775
777
|
// 生成收费记录的id
|
|
778
|
+
debugger
|
|
776
779
|
let sellid = ''
|
|
777
780
|
let ret = await http.load('POST', 'rs/logic/saveentity', {data: data})
|
|
778
781
|
this.model.chargeid = ret.data.id
|
|
@@ -782,7 +785,8 @@
|
|
|
782
785
|
f_unaccounts_money: flag2,
|
|
783
786
|
f_apply_num: this.infee.f_apply_num
|
|
784
787
|
}
|
|
785
|
-
//开始收费
|
|
788
|
+
//开始收费 正
|
|
789
|
+
debugger
|
|
786
790
|
for (let i = 0; i < this.charges.length; i++) {
|
|
787
791
|
let saveen = this.charges[i]
|
|
788
792
|
saveen.f_project_item = this.charges[i].f_project_item[0]
|
|
@@ -794,6 +798,21 @@
|
|
|
794
798
|
}
|
|
795
799
|
}, {resolveMsg: null, rejectMsg: "失败"})
|
|
796
800
|
}
|
|
801
|
+
debugger
|
|
802
|
+
for (let i = 0; i < this.charges.length; i++) {
|
|
803
|
+
let saveen = this.charges[i]
|
|
804
|
+
debugger
|
|
805
|
+
saveen.f_money= 0 - saveen.f_money
|
|
806
|
+
saveen.f_project_item = this.charges[i].f_project_item[0]
|
|
807
|
+
saveen.f_charge_record_id = parseFloat(ret.data.id);
|
|
808
|
+
await http.load('POST', 'rs/logic/saveentity', {
|
|
809
|
+
data: {
|
|
810
|
+
tablename: 't_charge_record_item',
|
|
811
|
+
parameters: saveen
|
|
812
|
+
}
|
|
813
|
+
}, {resolveMsg: null, rejectMsg: "失败"})
|
|
814
|
+
}
|
|
815
|
+
|
|
797
816
|
|
|
798
817
|
await http.load('POST', 'rs/logic/updatechargemoney', {data: data}, {resolveMsg: null, rejectMsg: "添加累计金额失败"})
|
|
799
818
|
.then((res) => {
|
|
@@ -869,6 +888,7 @@
|
|
|
869
888
|
this.showview = false
|
|
870
889
|
},
|
|
871
890
|
async tovoid(index) {
|
|
891
|
+
debugger
|
|
872
892
|
console.log(index)
|
|
873
893
|
console.log(JSON.stringify(this.model.rows))
|
|
874
894
|
this.model.rows[index].f_amount_words = "负" + this.model.rows[index].f_amount_words;
|
|
@@ -879,6 +899,7 @@
|
|
|
879
899
|
this.charges = [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}],
|
|
880
900
|
console.log(JSON.stringify(val))
|
|
881
901
|
// this.charges =[{f_project_item:'合同总额', f_amount: 0, f_price: 0,f_money:0}],
|
|
902
|
+
debugger
|
|
882
903
|
if (val.f_is_correct === '是' || val.f_charging_status !== '有效' || val.f_is_correct === '冲正中') {
|
|
883
904
|
this.$showMessage('已冲正或正在冲正,不能操作!')
|
|
884
905
|
} else {
|