manage-client 4.1.67 → 4.1.68

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.
@@ -21,7 +21,7 @@ var qtx = 'http://123.57.3.66:31467/'
21
21
  // var fuwu = 'http://203.57.101.233:9001'
22
22
  var bendi = 'http://123.57.3.66:31467/'
23
23
  // var bendi = 'http://119.187.112.234:8400/'
24
- var wode = 'http://123.57.3.66:31467/'
24
+ var wode = 'http://192.168.50.67:31567/'
25
25
  // 192.168.
26
26
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
27
27
  // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "4.1.67",
3
+ "version": "4.1.68",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -0,0 +1,186 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2 form-group" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div>
27
+ <!-- <div class="col-sm-2 form-group">-->
28
+ <!-- <label class="font_normal_body" title="参数:票据类型">票据类型</label>-->
29
+ <!-- <v-select :value.sync="model.f_bill_type" multiple-->
30
+ <!-- v-model="model.f_bill_type"-->
31
+ <!-- :options='$parent.$parent.billType' placeholder='请选择'-->
32
+ <!-- condition="f_bill_type in {}"-->
33
+ <!-- close-on-select></v-select>-->
34
+ <!-- </div>-->
35
+ <res-select-group :show-component="$parent.$parent.resshow"
36
+ :selectin="true" :initres="$parent.$parent.initres"
37
+ :cascade =true @re-res="$parent.$parent.getRes"
38
+ v-ref:sel>
39
+ </res-select-group>
40
+ </div>
41
+ <div class="span" style = "float:right;">
42
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
43
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
44
+ <report-excel id='gasprice'></report-excel>
45
+ </div>
46
+ </div>
47
+ </criteria>
48
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
49
+ <table class='tableprint' style="margin: 0px auto">
50
+ <thead>
51
+ <tr>
52
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
53
+ <h3 style="text-align: center">日结账表(财务)</h3>
54
+ </th>
55
+ </tr>
56
+ <tr>
57
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
58
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
59
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
60
+ <!--收费员:{{// $parent.operatorname}}-->
61
+ </th>
62
+ </tr>
63
+ <tr >
64
+ <th v-if="false" :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
65
+ <div>
66
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
67
+ <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
68
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
69
+ </div>
70
+ </th>
71
+ </tr>
72
+ </thead>
73
+ <tr>
74
+ <td :colspan='$parent.spans' class="noborder">
75
+ {{{ model.data.substring(26,model.data.length-8) }}}
76
+ </td>
77
+ </tr>
78
+ <tfoot>
79
+ <!-- <tr style="text-align: left">-->
80
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>-->
81
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>-->
82
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>-->
83
+ <!-- </tr>-->
84
+ </tfoot>
85
+ </table>
86
+ {{{ $parent.reportStr}}}
87
+ </div>
88
+ </criteria-paged>
89
+ </div>
90
+ </template>
91
+
92
+ <script>
93
+ import { DataModel } from 'vue-client'
94
+ import co from 'co'
95
+ export default {
96
+ title: '日结账表(财务)',
97
+ props: ['data'],
98
+ data () {
99
+ return {
100
+ printTime: this.$login.toStandardTimeString(),
101
+ depresid: [],
102
+ userresid: [],
103
+ f_orgid: this.$login.f.orgid,
104
+ f_depid: this.$login.f.depids,
105
+ // f_operatorid: this.$login.f.id,
106
+ operatorid: [],
107
+ depid: [],
108
+ orgname: '',
109
+ depname: '',
110
+ criteriaShow: false,
111
+ operatorname: '',
112
+ orgCondtionStr: '1=1',
113
+ f_user_type: '',
114
+ f_state: ['有效'],
115
+ model: new DataModel('api/af-revenue/report/hy_checkoutday', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
116
+ f_orgid: 'this.model.f_orgid'}),
117
+ reportStr: null,
118
+ resshow: ['company', 'department', 'operator'],
119
+ spans: 0,
120
+ initres: {
121
+ org: [this.$login.f.orgid],
122
+ dep: [],
123
+ user: []
124
+ }
125
+ }
126
+ },
127
+ ready () {
128
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString()
129
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString()
130
+ },
131
+ methods: {
132
+ searchData () {
133
+ this.$refs.paged.$refs.criteria.search()
134
+ },
135
+ selfSearch (args) {
136
+ this.printTime = this.$login.toStandardTimeString()
137
+ let orgcondition = '1=1'
138
+ let orgstr = this.orgCondtionStr
139
+ orgcondition = orgcondition + orgstr
140
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
141
+ this.$refs.paged.search(args)
142
+ },
143
+
144
+ hidden () {
145
+ this.criteriaShow = !this.criteriaShow
146
+ },
147
+ getRes (condition, obj) {
148
+ this.orgCondtionStr = condition
149
+ this.orgname = obj.orgnames[0]
150
+ this.depname = obj.depnames[0]
151
+ this.operatorname = obj.operatornames[0]
152
+ },
153
+ getdep (obj, val) {
154
+ this.depname = val[0]
155
+ this.userresid = obj
156
+ this.f_depid = obj
157
+ },
158
+ getuser ( obj, val) {
159
+ this.operatorname = val[0]
160
+ this.f_operatorid = obj
161
+ }
162
+ },
163
+ watch: {
164
+ 'model.data' (val) {
165
+ let len=0
166
+ let a=val.split('</tr>')
167
+ for(let i=0;i<a.length;i++){
168
+ if(a[i].split('</td>').length-1>len){
169
+ len=a[i].split('</td>').length-1
170
+ }
171
+ }
172
+ this.spans = len
173
+ }
174
+ },
175
+ computed: {
176
+ billType () {
177
+ return [...this.$appdata.getParam('票据类型')]
178
+ }
179
+ }
180
+ }
181
+ </script>
182
+ <style scoped>
183
+ .noborder{
184
+ border: none;
185
+ }
186
+ </style>
@@ -0,0 +1,171 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2 form-group" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div>
27
+ <!-- <div class="col-sm-2 form-group">-->
28
+ <!-- <label class="font_normal_body" title="参数:票据类型">票据类型</label>-->
29
+ <!-- <v-select :value.sync="model.f_bill_type" multiple-->
30
+ <!-- v-model="model.f_bill_type"-->
31
+ <!-- :options='$parent.$parent.billType' placeholder='请选择'-->
32
+ <!-- condition="f_bill_type in {}"-->
33
+ <!-- close-on-select></v-select>-->
34
+ <!-- </div>-->
35
+ <!-- <res-select-group :show-component="$parent.$parent.resshow"-->
36
+ <!-- :selectin="true" :initres="$parent.$parent.initres"-->
37
+ <!-- :cascade =true @re-res="$parent.$parent.getRes"-->
38
+ <!-- v-ref:sel>-->
39
+ <!-- </res-select-group>-->
40
+ </div>
41
+ <div class="span" style = "float:right;">
42
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
43
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
44
+ <report-excel id='gasprice'></report-excel>
45
+ </div>
46
+ </div>
47
+ </criteria>
48
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
49
+ <table class='tableprint' style="margin: 0px auto">
50
+ <thead>
51
+ <tr>
52
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
53
+ <h3 style="text-align: center">收费统计表</h3>
54
+ </th>
55
+ </tr>
56
+ <tr>
57
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
58
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
59
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
60
+ <!--收费员:{{// $parent.operatorname}}-->
61
+ </th>
62
+ </tr>
63
+ <!-- <tr >-->
64
+ <!-- <th v-if="false" :colspan='$parent.spans' style="font-weight: normal; text-align: center;">-->
65
+ <!-- <div>-->
66
+ <!-- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>-->
67
+ <!-- <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>-->
68
+ <!-- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>-->
69
+ <!-- </div>-->
70
+ <!-- </th>-->
71
+ <!-- </tr>-->
72
+ </thead>
73
+ <tr>
74
+ <td :colspan='$parent.spans' class="noborder">
75
+ {{{ model.data.substring(26,model.data.length-8) }}}
76
+ </td>
77
+ </tr>
78
+ <tfoot>
79
+ <!-- <tr style="text-align: left">-->
80
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>-->
81
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>-->
82
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>-->
83
+ <!-- </tr>-->
84
+ </tfoot>
85
+ </table>
86
+ {{{ $parent.reportStr}}}
87
+ </div>
88
+ </criteria-paged>
89
+ </div>
90
+ </template>
91
+
92
+ <script>
93
+ import { DataModel } from 'vue-client'
94
+ import co from 'co'
95
+ export default {
96
+ title: '收费统计表',
97
+ props: ['data'],
98
+ data () {
99
+ return {
100
+ printTime: this.$login.toStandardTimeString(),
101
+ depresid: [],
102
+ userresid: [],
103
+ f_orgid: this.$login.f.orgid,
104
+ f_depid: this.$login.f.depids,
105
+ // f_operatorid: this.$login.f.id,
106
+ operatorid: [],
107
+ depid: [],
108
+ orgname: '',
109
+ depname: '',
110
+ criteriaShow: false,
111
+ operatorname: '',
112
+ orgCondtionStr: '1=1',
113
+ f_user_type: '',
114
+ f_state: ['有效'],
115
+ model: new DataModel('api/af-revenue/report/hy_collect_bill', {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
116
+ reportStr: null,
117
+ resshow: ['company', 'department', 'operator'],
118
+ spans: 0,
119
+ initres: {
120
+ org: [this.$login.f.orgid],
121
+ dep: [],
122
+ user: []
123
+ }
124
+ }
125
+ },
126
+ ready () {
127
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString()
128
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString()
129
+ },
130
+ methods: {
131
+ searchData () {
132
+ this.$refs.paged.$refs.criteria.search()
133
+ },
134
+ selfSearch (args) {
135
+ this.printTime = this.$login.toStandardTimeString()
136
+ let orgcondition = '1=1'
137
+ let orgstr = this.orgCondtionStr
138
+ orgcondition = orgcondition + orgstr
139
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
140
+ this.$refs.paged.search(args)
141
+ },
142
+
143
+ hidden () {
144
+ this.criteriaShow = !this.criteriaShow
145
+ }
146
+
147
+ },
148
+ watch: {
149
+ 'model.data' (val) {
150
+ let len=0
151
+ let a=val.split('</tr>')
152
+ for(let i=0;i<a.length;i++){
153
+ if(a[i].split('</td>').length-1>len){
154
+ len=a[i].split('</td>').length-1
155
+ }
156
+ }
157
+ this.spans = len
158
+ }
159
+ },
160
+ computed: {
161
+ // billType () {
162
+ // return [...this.$appdata.getParam('票据类型')]
163
+ // }
164
+ }
165
+ }
166
+ </script>
167
+ <style scoped>
168
+ .noborder{
169
+ border: none;
170
+ }
171
+ </style>
@@ -0,0 +1,212 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2 form-group" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-2 form-group" >
28
+ <label class="font_normal_body" for="startDate1">同期开始日期:</label>
29
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
30
+ v-model="model.startDate1"
31
+ :value.sync="model.startDate1"
32
+ :disabled-days-of-Week="[]"
33
+ :format="'yyyy-MM-dd'"
34
+ :show-reset-button="reset">
35
+ </datepicker>
36
+ </div>
37
+ <div class="col-sm-2 form-group" >
38
+ <label class="font_normal_body" for="endDate1">同期结束日期:</label>
39
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
40
+ v-model="model.endDate1"
41
+ :value.sync="model.endDate1"
42
+ :disabled-days-of-Week="[]"
43
+ :format="'yyyy-MM-dd'"
44
+ :show-reset-button="reset">
45
+ </datepicker>
46
+ </div>
47
+ <!-- <div class="col-sm-2 form-group">-->
48
+ <!-- <label class="font_normal_body" title="参数:票据类型">票据类型</label>-->
49
+ <!-- <v-select :value.sync="model.f_bill_type" multiple-->
50
+ <!-- v-model="model.f_bill_type"-->
51
+ <!-- :options='$parent.$parent.billType' placeholder='请选择'-->
52
+ <!-- condition="f_bill_type in {}"-->
53
+ <!-- close-on-select></v-select>-->
54
+ <!-- </div>-->
55
+ <!-- <res-select-group :show-component="$parent.$parent.resshow"-->
56
+ <!-- :selectin="true" :initres="$parent.$parent.initres"-->
57
+ <!-- :cascade =true @re-res="$parent.$parent.getRes"-->
58
+ <!-- v-ref:sel>-->
59
+ <!-- </res-select-group>-->
60
+ </div>
61
+ <div class="span" style = "float:right;">
62
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
63
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
64
+ <report-excel id='gasprice'></report-excel>
65
+ </div>
66
+ </div>
67
+ </criteria>
68
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
69
+ <table class='tableprint' style="margin: 0px auto">
70
+ <thead>
71
+ <tr>
72
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
73
+ <h3 style="text-align: center">对比分析(月报)</h3>
74
+ </th>
75
+ </tr>
76
+ <tr>
77
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
78
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
79
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
80
+ <!--收费员:{{// $parent.operatorname}}-->
81
+ </th>
82
+ </tr>
83
+ <tr>
84
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
85
+ 同期开始时间:{{model.model.startDate1}}&nbsp;&nbsp;&nbsp;
86
+ 同期结束时间:{{ model.model.endDate1 }}&nbsp;&nbsp;<br/>
87
+ <!--收费员:{{// $parent.operatorname}}-->
88
+ </th>
89
+ </tr>
90
+ <tr >
91
+ <th v-if="false" :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
92
+ <div>
93
+ <!-- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>-->
94
+ <!-- <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>-->
95
+ <!-- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>-->
96
+ </div>
97
+ </th>
98
+ </tr>
99
+ </thead>
100
+ <tr>
101
+ <td :colspan='$parent.spans' class="noborder">
102
+ {{{ model.data.substring(26,model.data.length-8) }}}
103
+ </td>
104
+ </tr>
105
+ <tfoot>
106
+ <!-- <tr style="text-align: left">-->
107
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>-->
108
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>-->
109
+ <!-- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>-->
110
+ <!-- </tr>-->
111
+ </tfoot>
112
+ </table>
113
+ {{{ $parent.reportStr}}}
114
+ </div>
115
+ </criteria-paged>
116
+ </div>
117
+ </template>
118
+
119
+ <script>
120
+ import { DataModel } from 'vue-client'
121
+ import co from 'co'
122
+ export default {
123
+ title: '对比分析(月报)',
124
+ props: ['data'],
125
+ data () {
126
+ return {
127
+ printTime: this.$login.toStandardTimeString(),
128
+ depresid: [],
129
+ userresid: [],
130
+ f_orgid: this.$login.f.orgid,
131
+ f_depid: this.$login.f.depids,
132
+ // f_operatorid: this.$login.f.id,
133
+ operatorid: [],
134
+ depid: [],
135
+ orgname: '',
136
+ depname: '',
137
+ criteriaShow: false,
138
+ operatorname: '',
139
+ orgCondtionStr: '1=1',
140
+ f_user_type: '',
141
+ f_state: ['有效'],
142
+ model: new DataModel('api/af-revenue/report/hy_contrast_bill', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', startDate1: 'this.model.startDate1', endDate1: 'this.model.endDate1'}),
143
+ reportStr: null,
144
+ resshow: ['company', 'department', 'operator'],
145
+ spans: 0,
146
+ initres: {
147
+ org: [this.$login.f.orgid],
148
+ dep: [],
149
+ user: []
150
+ }
151
+ }
152
+ },
153
+ ready () {
154
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString()
155
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString()
156
+ },
157
+ methods: {
158
+ searchData () {
159
+ this.$refs.paged.$refs.criteria.search()
160
+ },
161
+ selfSearch (args) {
162
+ this.printTime = this.$login.toStandardTimeString()
163
+ let orgcondition = '1=1'
164
+ let orgstr = this.orgCondtionStr
165
+ orgcondition = orgcondition + orgstr
166
+ // this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
167
+ this.$refs.paged.search(args)
168
+ },
169
+
170
+ hidden () {
171
+ this.criteriaShow = !this.criteriaShow
172
+ }
173
+ // getRes (condition, obj) {
174
+ // this.orgCondtionStr = condition
175
+ // this.orgname = obj.orgnames[0]
176
+ // this.depname = obj.depnames[0]
177
+ // this.operatorname = obj.operatornames[0]
178
+ // },
179
+ // getdep (obj, val) {
180
+ // this.depname = val[0]
181
+ // this.userresid = obj
182
+ // this.f_depid = obj
183
+ // },
184
+ // getuser ( obj, val) {
185
+ // this.operatorname = val[0]
186
+ // this.f_operatorid = obj
187
+ // }
188
+ },
189
+ watch: {
190
+ 'model.data' (val) {
191
+ let len=0
192
+ let a=val.split('</tr>')
193
+ for(let i=0;i<a.length;i++){
194
+ if(a[i].split('</td>').length-1>len){
195
+ len=a[i].split('</td>').length-1
196
+ }
197
+ }
198
+ this.spans = len
199
+ }
200
+ },
201
+ computed: {
202
+ // billType () {
203
+ // return [...this.$appdata.getParam('票据类型')]
204
+ // }
205
+ }
206
+ }
207
+ </script>
208
+ <style scoped>
209
+ .noborder{
210
+ border: none;
211
+ }
212
+ </style>