apply-clients 5.0.35-32 → 5.0.35-35

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "5.0.35-32",
3
+ "version": "5.0.35-35",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/apply.js CHANGED
@@ -150,5 +150,7 @@ export default function () {
150
150
 
151
151
  Vue.component('apply-stop', (resolve) => { require(['./components/product/stopInfo/ApplyStopInfo'], resolve) })
152
152
 
153
+ Vue.component('apply-report', (resolve) => { require(['./components/product/applyReport/ApplyReport'], resolve) })
153
154
 
155
+ Vue.component('print-report-order', (resolve) => { require(['./components/product/applyReport/PrintApplyReport'], resolve) })
154
156
  }
@@ -1,62 +1,62 @@
1
- <template>
2
- <div class="auto">
3
- <strong :style="{color: model.isOk ? 'blue' : 'red'}">{{model.msg}}</strong>
4
- </div>
5
- </template>
6
-
7
- <script>
8
-
9
- import {HttpResetClass} from 'vue-client'
10
-
11
- let getCurrentBill = async function (self) {
12
- console.log("================================进入getCurrentBill")
13
-
14
- let http = new HttpResetClass()
15
- let param = {
16
- f_process_id:self.data.f_process_id,
17
- f_bill_user: self.$login.f.name, // 票据使用人
18
- f_bill_type: self.data.f_bill_type, // 票据类型
19
- f_filialeids: self.$login.f.f_orgids, //所属分公司
20
- f_use_type: self.data.f_use_type // 票据使用类型(燃气费、其他费用等)可不传
21
- }
22
- console.log(param)
23
- let res = await http.load('POST', 'rs/logic/apply_sale_validateBill', param, {resolveMsg: null, rejectMsg: '获取发票号出错!!'})
24
- console.log('验证发票。。', res)
25
- self.model.msg = res.data.msg
26
- self.model.isOk = res.data.isOk
27
- self.$dispatch('validate-bill', res.data)
28
- }
29
-
30
- export default {
31
- title: '验证票号',
32
- data () {
33
- return {
34
- model: {
35
- msg: '',
36
- isOk: false
37
- }
38
- }
39
- },
40
- props: ['data','show'],
41
- async ready () {
42
- /*debugger
43
- console.log(this.data.f_bill_type)
44
- if (this.data.f_bill_type) {
45
- await getCurrentBill(this)
46
- console.log('打印参数',this.data.f_process_id)
47
-
48
- }*/
49
- },
50
- watch : {
51
- data:{
52
- deep:true,
53
- immediate:true,
54
- async handler(){
55
- console.log('1111155555')
56
- await getCurrentBill(this)
57
- }
58
- }
59
- }
60
- }
61
-
62
- </script>
1
+ <template>
2
+ <div class="auto">
3
+ <strong :style="{color: model.isOk ? 'blue' : 'red'}">{{model.msg}}</strong>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+
9
+ import {HttpResetClass} from 'vue-client'
10
+
11
+ let getCurrentBill = async function (self) {
12
+ console.log("================================进入getCurrentBill")
13
+
14
+ let http = new HttpResetClass()
15
+ let param = {
16
+ f_process_id:self.data.f_process_id,
17
+ f_bill_user: self.$login.f.name, // 票据使用人
18
+ f_bill_type: self.data.f_bill_type, // 票据类型
19
+ f_filialeids: self.$login.f.f_orgids, //所属分公司
20
+ f_use_type: self.data.f_use_type // 票据使用类型(燃气费、其他费用等)可不传
21
+ }
22
+ console.log(param)
23
+ let res = await http.load('POST', 'rs/logic/apply_sale_validateBill', param, {resolveMsg: null, rejectMsg: '获取发票号出错!!'})
24
+ console.log('验证发票。。', res)
25
+ self.model.msg = res.data.msg
26
+ self.model.isOk = res.data.isOk
27
+ self.$dispatch('validate-bill', res.data)
28
+ }
29
+
30
+ export default {
31
+ title: '验证票号',
32
+ data () {
33
+ return {
34
+ model: {
35
+ msg: '',
36
+ isOk: false
37
+ }
38
+ }
39
+ },
40
+ props: ['data','show'],
41
+ async ready () {
42
+ /*debugger
43
+ console.log(this.data.f_bill_type)
44
+ if (this.data.f_bill_type) {
45
+ await getCurrentBill(this)
46
+ console.log('打印参数',this.data.f_process_id)
47
+
48
+ }*/
49
+ },
50
+ watch : {
51
+ data:{
52
+ deep:true,
53
+ immediate:true,
54
+ async handler(){
55
+ console.log('1111155555')
56
+ await getCurrentBill(this)
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+ </script>