apply-clients 5.0.35-28 → 5.0.35-29

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-28",
3
+ "version": "5.0.35-29",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,55 +1,56 @@
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_bill_user: self.$login.f.name, // 票据使用人
17
- f_bill_type: self.data.f_bill_type, // 票据类型
18
- f_filialeids: self.$login.f.f_orgids, //所属分公司
19
- f_use_type: self.data.f_use_type // 票据使用类型(燃气费、其他费用等)可不传
20
- }
21
- console.log(param)
22
- let res = await http.load('POST', 'rs/logic/apply_sale_validateBill', param, {resolveMsg: null, rejectMsg: '获取发票号出错!!'})
23
- console.log('验证发票。。', res)
24
- self.model.msg = res.data.msg
25
- self.model.isOk = res.data.isOk
26
- self.$dispatch('validate-bill', res.data)
27
- }
28
-
29
- export default {
30
- title: '验证票号',
31
- data () {
32
- return {
33
- model: {
34
- msg: '',
35
- isOk: false
36
- }
37
- }
38
- },
39
- props: ['data','show'],
40
- ready () {
41
-
42
- console.log(this.data.f_bill_type)
43
- if (this.data.f_bill_type) {
44
- getCurrentBill(this)
45
-
46
- }
47
- },
48
- watch : {
49
- 'show' (val) {
50
- getCurrentBill(this)
51
- }
52
- }
53
- }
54
-
55
- </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
+ ready () {
42
+
43
+ console.log(this.data.f_bill_type)
44
+ if (this.data.f_bill_type) {
45
+ getCurrentBill(this)
46
+
47
+ }
48
+ },
49
+ watch : {
50
+ 'show' (val) {
51
+ getCurrentBill(this)
52
+ }
53
+ }
54
+ }
55
+
56
+ </script>