apply-clients 5.0.35-88 → 5.0.35-90
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/components/app_apply/ApplyToDoList.vue +2820 -2820
- package/src/components/app_apply/ServiceControl.vue +4 -57
- package/src/components/product/Common/PrintBill.vue +121 -121
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -304
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +586 -586
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -281
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +132 -132
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +340 -340
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +490 -490
- package/src/components/product/Function/InstallInfoSelect.vue +255 -255
- package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
- package/src/components/product/Function/functions/InstallFee.vue +1 -1
- package/src/components/product/Process/ExplorationSelect.vue +640 -640
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +392 -392
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +453 -453
- package/src/components/product/Supervisory/SupervisoryList.vue +409 -409
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -281
- package/src/ezhouAndroid.js +48 -48
|
@@ -102,63 +102,10 @@ export default {
|
|
|
102
102
|
user:Vue.user
|
|
103
103
|
}
|
|
104
104
|
await http.load('POST',this.$androidUtil.getProxyUrl() +'/rs/logic/newaddApplyproduct',{data:data}, {resolveMsg: null, rejectMsg: '转发失败,请联系开发人员'})
|
|
105
|
-
var
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
let data = {
|
|
110
|
-
tablename: 't_singlevalue',
|
|
111
|
-
condition: `name = '合同编号' and f_filialeids = '${Vue.user.f_orgids}'`
|
|
112
|
-
}
|
|
113
|
-
let res = await http.load('POST', this.$androidUtil.getProxyUrl() +'/rs/sql/applysingleTable', {data: data}, {
|
|
114
|
-
resolveMsg: null,
|
|
115
|
-
rejectMsg: "获取合同编号失败"
|
|
116
|
-
})
|
|
117
|
-
if (this.contract != res.data[0].value && !this.selectdata.f_contract_number) {
|
|
118
|
-
this.$showMessage("合同编号已经被使用,请按F5刷新页面后重新登记")
|
|
119
|
-
return
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
let model = this.models2
|
|
123
|
-
let url = this.$androidUtil.getProxyUrl() +'/rs/logic/ApplyProductService'
|
|
124
|
-
let requestData = {
|
|
125
|
-
tables: this.data.tables, model: model
|
|
126
|
-
}
|
|
127
|
-
requestData.start_activity = '踏勘'
|
|
128
|
-
requestData.loginUser = Vue.user
|
|
129
|
-
requestData.workflow_xmlfilename = this.$workflow_vue.workflow_xmlfilename
|
|
130
|
-
requestData.model.f_sub_state = '未完工'
|
|
131
|
-
console.log('即将发送请求url=>' + url + ',参数=>' + JSON.stringify(requestData))
|
|
132
|
-
res = await http.load('POST', url, {data: requestData}, {resolveMsg: null, rejectMsg: '数据保存失败'})
|
|
133
|
-
console.log("service处理完成返回数据:", JSON.stringify(res.data))
|
|
134
|
-
if(res.data.msg=="地址重复,请修改后重新提交"){
|
|
135
|
-
this.$showMessage(res.data.msg)
|
|
136
|
-
}
|
|
137
|
-
if (res.data.code == 200) {
|
|
138
|
-
// flag 为合同编号更新标志
|
|
139
|
-
if (flag) {
|
|
140
|
-
let http = new HttpResetClass()
|
|
141
|
-
let data = {
|
|
142
|
-
tablename: 't_singlevalue',
|
|
143
|
-
condition: `name = '合同编号' and f_filialeids = '${Vue.user.f_orgids}'`,
|
|
144
|
-
value: (Number(this.contract) + 1) + ''
|
|
145
|
-
}
|
|
146
|
-
await http.load('POST', this.$androidUtil.getProxyUrl() +'/rs/logic/updatesinglevalue', {data: data}, {
|
|
147
|
-
resolveMsg: null,
|
|
148
|
-
rejectMsg: "获取合同编号更新失败"
|
|
149
|
-
})
|
|
150
|
-
}
|
|
151
|
-
this.showview = false
|
|
152
|
-
// 特殊处理
|
|
153
|
-
this.special(model)
|
|
154
|
-
this.$dispatch('close')
|
|
155
|
-
this.initializtion()
|
|
156
|
-
} else {
|
|
157
|
-
if (res.data.msg) {
|
|
158
|
-
this.$showMessage(res.data.msg)
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
105
|
+
var delteLocal = true
|
|
106
|
+
var url = this.$androidUtil.getProxyUrl() + '/rs/logic/ApplyProductService'
|
|
107
|
+
let btn = btn_operate(this, url, http, this.models2, delteLocal)
|
|
108
|
+
co(btn)
|
|
162
109
|
this.apply_show = false
|
|
163
110
|
},
|
|
164
111
|
// 终止报建
|
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto form-horizontal" >
|
|
3
|
-
<modal :show.sync="show" v-if="show" v-ref:modal large backdrop="false">
|
|
4
|
-
<header slot="modal-header" class="modal-header">
|
|
5
|
-
<h3 style="color:black" class="modal-title" >{{billConfig.billtype}}</h3>
|
|
6
|
-
<button type="button" class="close" @click="closebuyerinfo"><span>×</span></button>
|
|
7
|
-
</header>
|
|
8
|
-
<article slot="modal-body" class="modal-body">
|
|
9
|
-
<!-- <div v-if="bill.data">-->
|
|
10
|
-
<!-- {{{bill.data}}}-->
|
|
11
|
-
<!-- </div>-->
|
|
12
|
-
<validator name='v'>
|
|
13
|
-
<form class="form-horizontal select-overspread">
|
|
14
|
-
<div class="row" style="display: flex;justify-content: center;" id='normal-bill_xx' v-if="bill.data" v-html="bill.data">
|
|
15
|
-
|
|
16
|
-
</div>
|
|
17
|
-
</form>
|
|
18
|
-
</validator>
|
|
19
|
-
</article>
|
|
20
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
21
|
-
<div v-if="billConfig.hasBillManage">
|
|
22
|
-
<div class="col-sm-2" >
|
|
23
|
-
<span><strong>发票号:{{model.f_using_number}}</strong></span>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
27
|
-
<report-print :id="'normal-bill_xx'" top='15mm' left='5mm' width='90%' height='70%' :notrepeat="false" :showbtn="false" v-ref:reportprint></report-print>
|
|
28
|
-
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
|
|
29
|
-
</footer>
|
|
30
|
-
</modal>
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
<script>
|
|
34
|
-
import { DataModel } from 'vue-client'
|
|
35
|
-
import Vue from "vue";
|
|
36
|
-
|
|
37
|
-
let getBillData = async function(self, val) {
|
|
38
|
-
debugger
|
|
39
|
-
self.bill = new DataModel(self.billData.url, {reprint: "'正常'"})
|
|
40
|
-
await self.bill.search(self.data.chargeid)
|
|
41
|
-
// self.bill.condition=
|
|
42
|
-
// 获取发票号
|
|
43
|
-
self.model.f_using_number = self.billData.bill.number
|
|
44
|
-
console.log(self.bill)
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export default {
|
|
48
|
-
title: '收费发票',
|
|
49
|
-
data () {
|
|
50
|
-
return {
|
|
51
|
-
model: {
|
|
52
|
-
f_using_number: null
|
|
53
|
-
},
|
|
54
|
-
bill: {data:''},
|
|
55
|
-
messShow: false
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
props: ['show', 'data', 'billData', 'billConfig','titleName','billDataantai'],
|
|
59
|
-
ready () {
|
|
60
|
-
console.log('打票!!!!!!!!!!!!!!!!!')
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
},
|
|
64
|
-
methods: {
|
|
65
|
-
closebuyerinfo(){
|
|
66
|
-
this.show=false;
|
|
67
|
-
},
|
|
68
|
-
cancel () {
|
|
69
|
-
this.$dispatch('toggle')
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
async print () {
|
|
74
|
-
// 更新系统发票
|
|
75
|
-
this.data.f_operator=this.$login.f.name,
|
|
76
|
-
this.data.f_filiale= this.$login.f.f_fengongsi,
|
|
77
|
-
this.data.f_outlets= this.$login.f.f_parentname,
|
|
78
|
-
this.data.f_orgstr=this.$login.f.orgpathstr,
|
|
79
|
-
this.data.f_filialeids=this.$login.f.f_orgids
|
|
80
|
-
|
|
81
|
-
try {
|
|
82
|
-
if (this.billConfig.hasBillManage) {
|
|
83
|
-
console.log("进入hasBillManage====================================")
|
|
84
|
-
await this.$commonService.openPaperBill(this.data.chargeid, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常',this.data.f_operator,this.data.f_filiale,this.data.f_outlets,this.data.f_orgstr,this.data.f_filialeids)
|
|
85
|
-
}
|
|
86
|
-
//票据打印!!!!!!!!!!!!!!!!!!!!
|
|
87
|
-
this.$refs.reportprint.print()
|
|
88
|
-
this.$dispatch('selfsearch')
|
|
89
|
-
this.$parent.model.f_charge_money=0
|
|
90
|
-
this.$parent.model.f_amount_words=0
|
|
91
|
-
this.$parent.model.f_amount_words=0
|
|
92
|
-
this.show=false
|
|
93
|
-
} catch (error) {
|
|
94
|
-
this.$dispatch('refresh')
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
watch: {
|
|
99
|
-
'show' (val) {
|
|
100
|
-
if (val) {
|
|
101
|
-
getBillData(this, val).then(() => {
|
|
102
|
-
}).catch((error) => {
|
|
103
|
-
|
|
104
|
-
this.$emit('error', error)
|
|
105
|
-
})
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
events: {
|
|
110
|
-
'print' () {
|
|
111
|
-
this.$dispatch('printok', '发票打印', this.data)
|
|
112
|
-
},
|
|
113
|
-
'print-error' () {
|
|
114
|
-
this.$dispatch('error', '发票打印', this.data, null)
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
</script>
|
|
120
|
-
<style >
|
|
121
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto form-horizontal" >
|
|
3
|
+
<modal :show.sync="show" v-if="show" v-ref:modal large backdrop="false">
|
|
4
|
+
<header slot="modal-header" class="modal-header">
|
|
5
|
+
<h3 style="color:black" class="modal-title" >{{billConfig.billtype}}</h3>
|
|
6
|
+
<button type="button" class="close" @click="closebuyerinfo"><span>×</span></button>
|
|
7
|
+
</header>
|
|
8
|
+
<article slot="modal-body" class="modal-body">
|
|
9
|
+
<!-- <div v-if="bill.data">-->
|
|
10
|
+
<!-- {{{bill.data}}}-->
|
|
11
|
+
<!-- </div>-->
|
|
12
|
+
<validator name='v'>
|
|
13
|
+
<form class="form-horizontal select-overspread">
|
|
14
|
+
<div class="row" style="display: flex;justify-content: center;" id='normal-bill_xx' v-if="bill.data" v-html="bill.data">
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
</form>
|
|
18
|
+
</validator>
|
|
19
|
+
</article>
|
|
20
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
21
|
+
<div v-if="billConfig.hasBillManage">
|
|
22
|
+
<div class="col-sm-2" >
|
|
23
|
+
<span><strong>发票号:{{model.f_using_number}}</strong></span>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
27
|
+
<report-print :id="'normal-bill_xx'" top='15mm' left='5mm' width='90%' height='70%' :notrepeat="false" :showbtn="false" v-ref:reportprint></report-print>
|
|
28
|
+
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
|
|
29
|
+
</footer>
|
|
30
|
+
</modal>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
<script>
|
|
34
|
+
import { DataModel } from 'vue-client'
|
|
35
|
+
import Vue from "vue";
|
|
36
|
+
|
|
37
|
+
let getBillData = async function(self, val) {
|
|
38
|
+
debugger
|
|
39
|
+
self.bill = new DataModel(self.billData.url, {reprint: "'正常'"})
|
|
40
|
+
await self.bill.search(self.data.chargeid)
|
|
41
|
+
// self.bill.condition=
|
|
42
|
+
// 获取发票号
|
|
43
|
+
self.model.f_using_number = self.billData.bill.number
|
|
44
|
+
console.log(self.bill)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export default {
|
|
48
|
+
title: '收费发票',
|
|
49
|
+
data () {
|
|
50
|
+
return {
|
|
51
|
+
model: {
|
|
52
|
+
f_using_number: null
|
|
53
|
+
},
|
|
54
|
+
bill: {data:''},
|
|
55
|
+
messShow: false
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
props: ['show', 'data', 'billData', 'billConfig','titleName','billDataantai'],
|
|
59
|
+
ready () {
|
|
60
|
+
console.log('打票!!!!!!!!!!!!!!!!!')
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
},
|
|
64
|
+
methods: {
|
|
65
|
+
closebuyerinfo(){
|
|
66
|
+
this.show=false;
|
|
67
|
+
},
|
|
68
|
+
cancel () {
|
|
69
|
+
this.$dispatch('toggle')
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
async print () {
|
|
74
|
+
// 更新系统发票
|
|
75
|
+
this.data.f_operator=this.$login.f.name,
|
|
76
|
+
this.data.f_filiale= this.$login.f.f_fengongsi,
|
|
77
|
+
this.data.f_outlets= this.$login.f.f_parentname,
|
|
78
|
+
this.data.f_orgstr=this.$login.f.orgpathstr,
|
|
79
|
+
this.data.f_filialeids=this.$login.f.f_orgids
|
|
80
|
+
|
|
81
|
+
try {
|
|
82
|
+
if (this.billConfig.hasBillManage) {
|
|
83
|
+
console.log("进入hasBillManage====================================")
|
|
84
|
+
await this.$commonService.openPaperBill(this.data.chargeid, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常',this.data.f_operator,this.data.f_filiale,this.data.f_outlets,this.data.f_orgstr,this.data.f_filialeids)
|
|
85
|
+
}
|
|
86
|
+
//票据打印!!!!!!!!!!!!!!!!!!!!
|
|
87
|
+
this.$refs.reportprint.print()
|
|
88
|
+
this.$dispatch('selfsearch')
|
|
89
|
+
this.$parent.model.f_charge_money=0
|
|
90
|
+
this.$parent.model.f_amount_words=0
|
|
91
|
+
this.$parent.model.f_amount_words=0
|
|
92
|
+
this.show=false
|
|
93
|
+
} catch (error) {
|
|
94
|
+
this.$dispatch('refresh')
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
watch: {
|
|
99
|
+
'show' (val) {
|
|
100
|
+
if (val) {
|
|
101
|
+
getBillData(this, val).then(() => {
|
|
102
|
+
}).catch((error) => {
|
|
103
|
+
|
|
104
|
+
this.$emit('error', error)
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
events: {
|
|
110
|
+
'print' () {
|
|
111
|
+
this.$dispatch('printok', '发票打印', this.data)
|
|
112
|
+
},
|
|
113
|
+
'print-error' () {
|
|
114
|
+
this.$dispatch('error', '发票打印', this.data, null)
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
</script>
|
|
120
|
+
<style >
|
|
121
|
+
</style>
|