apply-clients 5.0.35-84 → 5.0.35-87

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.
@@ -182,7 +182,7 @@ export default {
182
182
 
183
183
  console.log(`param=>>>${JSON.stringify(param)}`)
184
184
  let http = new HttpResetClass()
185
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, {data: param}).then(res => {
185
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/checkusergongchegn`, {data: param}).then(res => {
186
186
  console.log(`前台本地报建代办工单查询结果data=>>>${JSON.stringify(res.data)}`)
187
187
  if (res.data) {
188
188
  this.rows = res.data
@@ -254,13 +254,13 @@ export default {
254
254
  }, 6000000)// 60000
255
255
  },
256
256
  created() {
257
- /*var result = HostApp.readLocalFile('workflow_apply.json')
257
+ var result = HostApp.readLocalFile('workflow_apply.json')
258
258
  if(result.code == 500){
259
259
  this.$showMessage('获取流程配置文件失败,请联系系统管理员')
260
260
  return
261
261
  }
262
- var data = JSON.parse(result.data)*/
263
- var data={
262
+ var data = JSON.parse(result.data)
263
+ /* var data={
264
264
  "start_activitys": [
265
265
  "集体报装申请",
266
266
  "报装申请",
@@ -3573,7 +3573,7 @@ export default {
3573
3573
  ]
3574
3574
  }
3575
3575
  ]
3576
- }
3576
+ }*/
3577
3577
 
3578
3578
  console.log('前台存入缓存中的data=>' + JSON.stringify(data))
3579
3579
  Vue.workflow_vue = Vue.prototype.$workflow_vue = data
@@ -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>&times;</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>&times;</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>