safecheck-client 3.0.30-6 → 3.0.30-8

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.
@@ -1,132 +1,132 @@
1
- <template >
2
- <div class="panel panel-default auto repair-info-content">
3
- <div class="panel-body">
4
- <div class="panel panel-default well" v-for="row in model">
5
- <div class="bg-info">
6
- <div class="row form-group">
7
- <div class="col-xs-12 col-sm-12 col-md-12">
8
- <div class="row">
9
- <div class="col-xs-6 col-sm-6 col-md-6">
10
- 收费类型: {{row.f_brand_spec}}
11
- </div>
12
- <div class="col-xs-6 col-sm-6 col-md-6">
13
- 品名规格: {{row.f_typename}}
14
- </div>
15
- <div class="col-xs-6 col-sm-6 col-md-6">
16
- 单价: {{row.f_collection}}
17
- </div>
18
- <div class="col-xs-6 col-sm-6 col-md-6">
19
- 数量: {{row.f_number}}
20
- </div>
21
- <div class="col-xs-6 col-sm-6 col-md-6">
22
- 收款: {{row.f_money}}
23
- </div>
24
- <div class="col-xs-6 col-sm-6 col-md-6">
25
- 付款方式: {{row.f_payment}}
26
- </div>
27
- <div class="col-xs-6 col-sm-6 col-md-6">
28
- 状态: {{row.f_state}}
29
- </div>
30
- <div class="col-xs-6 col-sm-6 col-md-6">
31
- 收费日期: {{row.f_operate_date}}
32
- </div>
33
- <div class="col-xs-6 col-sm-6 col-md-6">
34
- 服务人员: {{row.f_operator}}
35
- </div>
36
- </div>
37
- </div>
38
- </div>
39
- </div>
40
- </div>
41
- <p v-show="model.length == 0 && noExp ">此用户暂无其他收费记录</p>
42
- <p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
43
- </div>
44
- </div>
45
- </template>
46
-
47
- <script>
48
- import { PagedList } from 'vue-client'
49
- import co from 'co'
50
- import Vue from 'vue'
51
- export default {
52
- title: '查询其他收费记录',
53
- data () {
54
- return {
55
- model: [],
56
- show: false,
57
- row: Object,
58
- noExp: false,
59
- expMsg: '查询中......'
60
- }
61
- },
62
- props: {
63
- user: {
64
- type: Object
65
- },
66
- f_userinfo_id:''
67
- },
68
- methods: {
69
- getmodel () {
70
- let userinfoid
71
- if(this.f_userinfo_id){
72
- userinfoid = this.f_userinfo_id
73
- }else{
74
- userinfoid = this.user.f_userinfoid
75
- console.log(this.user.f_userinfo_id)
76
- }
77
- console.log(userinfoid)
78
- this.noExp = false
79
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-revenue/sql/otherChargeQuery`, {data: {
80
- condition: ` f_orgid in ('${Vue.user.orgid}') and f_userinfo_id = '${userinfoid}' and f_state = '有效'`,
81
- orderitem: "f_operate_date desc"
82
- }
83
- }).then((row) => {
84
- this.model = row.data
85
- this.noExp = true
86
- })
87
- },
88
- back(){
89
-
90
- }
91
- },
92
- watch: {
93
- 'user' (val) {
94
- if(this.user){
95
- if (!(this.user.isNuN)) {
96
- this.model= []
97
- this.getmodel()
98
- }
99
- }
100
- },
101
- 'f_userinfo_id'(){
102
- if(this.f_userinfo_id){
103
- this.model= []
104
- this.getmodel()
105
- }
106
- }
107
- },
108
- ready () {
109
- if (this.user && this.user.f_userinfo_id) {
110
- this.getmodel()
111
- }
112
- if(this.f_userinfo_id){
113
- this.getmodel()
114
- }
115
- }
116
- }
117
- </script>
118
- <style>
119
- .app-botton {
120
- position:fixed;
121
- background: #87b2dd;
122
- color: #FFF;
123
- padding: 8px;
124
- text-align: center;
125
- font-size: 1.2em;
126
- z-index: 10;
127
- opacity:0.5;
128
- bottom: 50px;
129
- margin-top: -10px;
130
- height: 40px;
131
- }
132
- </style>
1
+ <template >
2
+ <div class="panel panel-default auto repair-info-content">
3
+ <div class="panel-body">
4
+ <div class="panel panel-default well" v-for="row in model">
5
+ <div class="bg-info">
6
+ <div class="row form-group">
7
+ <div class="col-xs-12 col-sm-12 col-md-12">
8
+ <div class="row">
9
+ <div class="col-xs-6 col-sm-6 col-md-6">
10
+ 收费类型: {{row.f_brand_spec}}
11
+ </div>
12
+ <div class="col-xs-6 col-sm-6 col-md-6">
13
+ 品名规格: {{row.f_typename}}
14
+ </div>
15
+ <div class="col-xs-6 col-sm-6 col-md-6">
16
+ 单价: {{row.f_collection}}
17
+ </div>
18
+ <div class="col-xs-6 col-sm-6 col-md-6">
19
+ 数量: {{row.f_number}}
20
+ </div>
21
+ <div class="col-xs-6 col-sm-6 col-md-6">
22
+ 收款: {{row.f_money}}
23
+ </div>
24
+ <div class="col-xs-6 col-sm-6 col-md-6">
25
+ 付款方式: {{row.f_payment}}
26
+ </div>
27
+ <div class="col-xs-6 col-sm-6 col-md-6">
28
+ 状态: {{row.f_state}}
29
+ </div>
30
+ <div class="col-xs-6 col-sm-6 col-md-6">
31
+ 收费日期: {{row.f_operate_date}}
32
+ </div>
33
+ <div class="col-xs-6 col-sm-6 col-md-6">
34
+ 服务人员: {{row.f_operator}}
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <p v-show="model.length == 0 && noExp ">此用户暂无其他收费记录</p>
42
+ <p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
43
+ </div>
44
+ </div>
45
+ </template>
46
+
47
+ <script>
48
+ import { PagedList } from 'vue-client'
49
+ import co from 'co'
50
+ import Vue from 'vue'
51
+ export default {
52
+ title: '查询其他收费记录',
53
+ data () {
54
+ return {
55
+ model: [],
56
+ show: false,
57
+ row: Object,
58
+ noExp: false,
59
+ expMsg: '查询中......'
60
+ }
61
+ },
62
+ props: {
63
+ user: {
64
+ type: Object
65
+ },
66
+ f_userinfo_id:''
67
+ },
68
+ methods: {
69
+ getmodel () {
70
+ let userinfoid
71
+ if(this.f_userinfo_id){
72
+ userinfoid = this.f_userinfo_id
73
+ }else{
74
+ userinfoid = this.user.f_userinfoid
75
+ console.log(this.user.f_userinfo_id)
76
+ }
77
+ console.log(userinfoid)
78
+ this.noExp = false
79
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-revenue/sql/otherChargeQuery`, {data: {
80
+ condition: ` f_orgid in ('${Vue.user.orgid}') and f_userinfo_id = '${userinfoid}' and f_state = '有效'`,
81
+ orderitem: "f_operate_date desc"
82
+ }
83
+ }).then((row) => {
84
+ this.model = row.data
85
+ this.noExp = true
86
+ })
87
+ },
88
+ back(){
89
+
90
+ }
91
+ },
92
+ watch: {
93
+ 'user' (val) {
94
+ if(this.user){
95
+ if (!(this.user.isNuN)) {
96
+ this.model= []
97
+ this.getmodel()
98
+ }
99
+ }
100
+ },
101
+ 'f_userinfo_id'(){
102
+ if(this.f_userinfo_id){
103
+ this.model= []
104
+ this.getmodel()
105
+ }
106
+ }
107
+ },
108
+ ready () {
109
+ if (this.user && this.user.f_userinfo_id) {
110
+ this.getmodel()
111
+ }
112
+ if(this.f_userinfo_id){
113
+ this.getmodel()
114
+ }
115
+ }
116
+ }
117
+ </script>
118
+ <style>
119
+ .app-botton {
120
+ position:fixed;
121
+ background: #87b2dd;
122
+ color: #FFF;
123
+ padding: 8px;
124
+ text-align: center;
125
+ font-size: 1.2em;
126
+ z-index: 10;
127
+ opacity:0.5;
128
+ bottom: 50px;
129
+ margin-top: -10px;
130
+ height: 40px;
131
+ }
132
+ </style>