address-client 3.0.34-aodeToV4 → 3.0.35-aode
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/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/AddressClient.iml +12 -12
- package/CHANGELOG.md +12 -12
- package/build/dev-server.js +128 -128
- package/build/webpack.base.conf.js +81 -81
- package/examples/showAdd/App.vue +40 -40
- package/index.html +40 -40
- package/package.json +105 -105
- package/src/address.js +58 -58
- package/src/components/AddAreaMsg.vue +599 -599
- package/src/components/AddStreetOrPcd.vue +231 -231
- package/src/components/AddressAddAddress.vue +479 -479
- package/src/components/AddressFiles.vue +156 -156
- package/src/components/AddressList.vue +323 -323
- package/src/components/AddressManage.vue +117 -117
- package/src/components/AddressTree.vue +501 -501
- package/src/components/AreaFiles.vue +73 -73
- package/src/components/AreaList.vue +357 -357
- package/src/components/AreaManage.vue +101 -101
- package/src/components/AreaTree.vue +508 -508
- package/src/components/Basch.vue +72 -72
- package/src/components/BatchOrders.vue +328 -328
- package/src/components/CityManage.vue +76 -76
- package/src/components/NewAddressInfo.vue +432 -432
- package/src/components/OneCodeList.vue +251 -251
- package/src/components/StreetList.vue +184 -184
- package/src/components/UserAddress.vue +781 -780
- package/src/components/UserAddressChange.vue +58 -58
- package/src/components/addressts/AddressListts.vue +307 -307
- package/src/components/addressts/AddressManagets.vue +117 -117
- package/src/components/addressts/UserAddressChangets.vue +58 -58
- package/src/components/addressts/UserAddressts.vue +740 -739
- package/src/components/areauser/AreaUser.vue +233 -233
- package/src/components/selectAddress/BatchList.vue +326 -326
- package/src/main.js +23 -23
|
@@ -1,184 +1,184 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex" @keyup.enter="search">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="form-group" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
8
|
-
<label class="font_normal_body">组织机构</label>
|
|
9
|
-
<res-select restype='organization'
|
|
10
|
-
@res-select="$parent.$parent.getorg"
|
|
11
|
-
:initresid='$parent.$parent.curorgid'>
|
|
12
|
-
</res-select>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="form-group" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
15
|
-
<label class="font_normal_body">街  道</label>
|
|
16
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_street"
|
|
17
|
-
condition="f_street like '%{}%'" placeholder="街道"/>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="form-group" v-if="!$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
20
|
-
<label class="font_normal_body">省  份</label>
|
|
21
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_province"
|
|
22
|
-
condition="f_province like '%{}%'" placeholder="省份"
|
|
23
|
-
:size="model.f_province ? model.f_province.length*2 : 6"/>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="form-group" v-if="!$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
26
|
-
<label class="font_normal_body">城  市</label>
|
|
27
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_city"
|
|
28
|
-
condition="f_city like '%{}%'" placeholder="城市"
|
|
29
|
-
:size="model.f_city ? model.f_city.length*2 : 6"/>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col-sm-4 form-group button-range">
|
|
32
|
-
<button class="button_search button_spacing" @click="search()" >查询</button>
|
|
33
|
-
<button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('省市区')">添加省市区</button>
|
|
34
|
-
<button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('街道')">添加街道</button>
|
|
35
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
36
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
40
|
-
<div class="form-group" v-if="$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
41
|
-
<label class="font_normal_body">省  份</label>
|
|
42
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_province"
|
|
43
|
-
condition="f_province like '%{}%'" placeholder="省份"
|
|
44
|
-
:size="model.f_province ? model.f_province.length*2 : 6"/>
|
|
45
|
-
</div>
|
|
46
|
-
<div class="form-group" v-if="$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
47
|
-
<label class="font_normal_body">城  市</label>
|
|
48
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_city"
|
|
49
|
-
condition="f_city like '%{}%'" placeholder="城市"
|
|
50
|
-
:size="model.f_city ? model.f_city.length*2 : 6"/>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="form-group" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
53
|
-
<label class="font_normal_body">区  县</label>
|
|
54
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_district"
|
|
55
|
-
condition="f_district like '%{}%'" placeholder="区县"
|
|
56
|
-
:size="model.f_district ? model.f_district.length*2 : 6"/>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</criteria>
|
|
61
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
62
|
-
<template partial='head'>
|
|
63
|
-
<tr>
|
|
64
|
-
<th><nobr>序号</nobr></th>
|
|
65
|
-
<th><nobr>省份</nobr></th>
|
|
66
|
-
<th><nobr>城市</nobr></th>
|
|
67
|
-
<th><nobr>区/县</nobr></th>
|
|
68
|
-
<th><nobr>街道名称</nobr></th>
|
|
69
|
-
<th><nobr>详细地址</nobr></th>
|
|
70
|
-
<th><nobr>分公司</nobr></th>
|
|
71
|
-
<th><nobr>操作</nobr></th>
|
|
72
|
-
</tr>
|
|
73
|
-
</template>
|
|
74
|
-
<template partial='body'>
|
|
75
|
-
<tr @click="$parent.$parent.changestyle()">
|
|
76
|
-
<td style="text-align:center"><nobr>{{$index + 1}}</nobr></td>
|
|
77
|
-
<td style="text-align:center"><nobr>{{row.f_province}}</nobr></td>
|
|
78
|
-
<td style="text-align:center"><nobr>{{row.f_city}}</nobr></td>
|
|
79
|
-
<td style="text-align:center"><nobr>{{row.f_district}}</nobr></td>
|
|
80
|
-
<td style="text-align:center"><nobr>{{row.f_street}}</nobr></td>
|
|
81
|
-
<td style="text-align:center"><nobr>{{row.f_pcd}}-{{row.f_street}}</nobr></td>
|
|
82
|
-
<td style="text-align:center"><nobr>{{row.f_org_name}}</nobr></td>
|
|
83
|
-
<td style="text-align:center"><nobr>
|
|
84
|
-
<!-- <button type="button" name="button" class="btn btn-link"
|
|
85
|
-
@click.stop="$parent.$parent.$parent.modify(row)">修改</button>-->
|
|
86
|
-
<button type="button" name="button" class="btn btn-link"
|
|
87
|
-
@click.stop="$parent.$parent.$parent.delete(row)">删除</button>
|
|
88
|
-
</nobr></td>
|
|
89
|
-
</tr>
|
|
90
|
-
</template>
|
|
91
|
-
<template partial='foot'></template>
|
|
92
|
-
</data-grid>
|
|
93
|
-
</criteria-paged>
|
|
94
|
-
</div>
|
|
95
|
-
</template>
|
|
96
|
-
|
|
97
|
-
<script>
|
|
98
|
-
import { PagedList } from 'vue-client'
|
|
99
|
-
|
|
100
|
-
export default {
|
|
101
|
-
data () {
|
|
102
|
-
return {
|
|
103
|
-
criteriaShow: false,
|
|
104
|
-
model: new PagedList('
|
|
105
|
-
addflag: false,
|
|
106
|
-
addtitle:'',
|
|
107
|
-
|
|
108
|
-
// 公司下拉
|
|
109
|
-
curorgid: [this.$login.f.orgid],
|
|
110
|
-
f_orgid: '',
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
title: '街道管理',
|
|
115
|
-
props:{
|
|
116
|
-
f_filialeids:{
|
|
117
|
-
type: String
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
ready(){
|
|
121
|
-
this.search()
|
|
122
|
-
},
|
|
123
|
-
methods: {
|
|
124
|
-
hidden() {
|
|
125
|
-
this.criteriaShow = !this.criteriaShow
|
|
126
|
-
},
|
|
127
|
-
search () {
|
|
128
|
-
this.$refs.paged.$refs.cri.search()
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
async delete(row){
|
|
132
|
-
if(row.id){
|
|
133
|
-
var id = row.id
|
|
134
|
-
let useraredss = await this.$resetpost('
|
|
135
|
-
{data: {
|
|
136
|
-
items: 'f_street_id',
|
|
137
|
-
tablename: 't_area',
|
|
138
|
-
condition: `f_street_id='${id}'`}
|
|
139
|
-
},
|
|
140
|
-
{resolveMsg: null, rejectMsg: null})
|
|
141
|
-
if(useraredss.data.length>0){
|
|
142
|
-
this.$showAlert('该街道下已有小区信息,无法删除!','warning',1000)
|
|
143
|
-
}else{
|
|
144
|
-
this.$resetdelete('
|
|
145
|
-
this.$dispatch('cancel')
|
|
146
|
-
})
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
add(val){
|
|
151
|
-
if (this.f_filialeids) {
|
|
152
|
-
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
153
|
-
this.$dispatch('add',val)
|
|
154
|
-
} else {
|
|
155
|
-
this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
},
|
|
159
|
-
modify(val){
|
|
160
|
-
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
161
|
-
this.$dispatch('modify',val)
|
|
162
|
-
},
|
|
163
|
-
selfSearch (args) {
|
|
164
|
-
if (!this.f_orgid) {
|
|
165
|
-
this.getorg([this.$login.f.orgid])
|
|
166
|
-
}
|
|
167
|
-
args.condition = `${args.condition} and s.f_filialeid in ${this.f_orgid}`
|
|
168
|
-
this.model.search(args.condition, args.model)
|
|
169
|
-
},
|
|
170
|
-
//清空
|
|
171
|
-
clear(){
|
|
172
|
-
this.$refs.paged.$refs.cri.model = {}
|
|
173
|
-
},
|
|
174
|
-
getorg (val) {
|
|
175
|
-
this.f_orgid = this.$login.convertToIn(val)
|
|
176
|
-
this.f_filialeids = val[0]
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
watch:{
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex" @keyup.enter="search">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
8
|
+
<label class="font_normal_body">组织机构</label>
|
|
9
|
+
<res-select restype='organization'
|
|
10
|
+
@res-select="$parent.$parent.getorg"
|
|
11
|
+
:initresid='$parent.$parent.curorgid'>
|
|
12
|
+
</res-select>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
15
|
+
<label class="font_normal_body">街  道</label>
|
|
16
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_street"
|
|
17
|
+
condition="f_street like '%{}%'" placeholder="街道"/>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group" v-if="!$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
20
|
+
<label class="font_normal_body">省  份</label>
|
|
21
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_province"
|
|
22
|
+
condition="f_province like '%{}%'" placeholder="省份"
|
|
23
|
+
:size="model.f_province ? model.f_province.length*2 : 6"/>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="form-group" v-if="!$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
26
|
+
<label class="font_normal_body">城  市</label>
|
|
27
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_city"
|
|
28
|
+
condition="f_city like '%{}%'" placeholder="城市"
|
|
29
|
+
:size="model.f_city ? model.f_city.length*2 : 6"/>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-4 form-group button-range">
|
|
32
|
+
<button class="button_search button_spacing" @click="search()" >查询</button>
|
|
33
|
+
<button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('省市区')">添加省市区</button>
|
|
34
|
+
<button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('街道')">添加街道</button>
|
|
35
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
36
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
40
|
+
<div class="form-group" v-if="$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
41
|
+
<label class="font_normal_body">省  份</label>
|
|
42
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_province"
|
|
43
|
+
condition="f_province like '%{}%'" placeholder="省份"
|
|
44
|
+
:size="model.f_province ? model.f_province.length*2 : 6"/>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="form-group" v-if="$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
47
|
+
<label class="font_normal_body">城  市</label>
|
|
48
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_city"
|
|
49
|
+
condition="f_city like '%{}%'" placeholder="城市"
|
|
50
|
+
:size="model.f_city ? model.f_city.length*2 : 6"/>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="form-group" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
|
|
53
|
+
<label class="font_normal_body">区  县</label>
|
|
54
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_district"
|
|
55
|
+
condition="f_district like '%{}%'" placeholder="区县"
|
|
56
|
+
:size="model.f_district ? model.f_district.length*2 : 6"/>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</criteria>
|
|
61
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
62
|
+
<template partial='head'>
|
|
63
|
+
<tr>
|
|
64
|
+
<th><nobr>序号</nobr></th>
|
|
65
|
+
<th><nobr>省份</nobr></th>
|
|
66
|
+
<th><nobr>城市</nobr></th>
|
|
67
|
+
<th><nobr>区/县</nobr></th>
|
|
68
|
+
<th><nobr>街道名称</nobr></th>
|
|
69
|
+
<th><nobr>详细地址</nobr></th>
|
|
70
|
+
<th><nobr>分公司</nobr></th>
|
|
71
|
+
<th><nobr>操作</nobr></th>
|
|
72
|
+
</tr>
|
|
73
|
+
</template>
|
|
74
|
+
<template partial='body'>
|
|
75
|
+
<tr @click="$parent.$parent.changestyle()">
|
|
76
|
+
<td style="text-align:center"><nobr>{{$index + 1}}</nobr></td>
|
|
77
|
+
<td style="text-align:center"><nobr>{{row.f_province}}</nobr></td>
|
|
78
|
+
<td style="text-align:center"><nobr>{{row.f_city}}</nobr></td>
|
|
79
|
+
<td style="text-align:center"><nobr>{{row.f_district}}</nobr></td>
|
|
80
|
+
<td style="text-align:center"><nobr>{{row.f_street}}</nobr></td>
|
|
81
|
+
<td style="text-align:center"><nobr>{{row.f_pcd}}-{{row.f_street}}</nobr></td>
|
|
82
|
+
<td style="text-align:center"><nobr>{{row.f_org_name}}</nobr></td>
|
|
83
|
+
<td style="text-align:center"><nobr>
|
|
84
|
+
<!-- <button type="button" name="button" class="btn btn-link"
|
|
85
|
+
@click.stop="$parent.$parent.$parent.modify(row)">修改</button>-->
|
|
86
|
+
<button type="button" name="button" class="btn btn-link"
|
|
87
|
+
@click.stop="$parent.$parent.$parent.delete(row)">删除</button>
|
|
88
|
+
</nobr></td>
|
|
89
|
+
</tr>
|
|
90
|
+
</template>
|
|
91
|
+
<template partial='foot'></template>
|
|
92
|
+
</data-grid>
|
|
93
|
+
</criteria-paged>
|
|
94
|
+
</div>
|
|
95
|
+
</template>
|
|
96
|
+
|
|
97
|
+
<script>
|
|
98
|
+
import { PagedList } from 'vue-client'
|
|
99
|
+
|
|
100
|
+
export default {
|
|
101
|
+
data () {
|
|
102
|
+
return {
|
|
103
|
+
criteriaShow: false,
|
|
104
|
+
model: new PagedList('rs/sql/address_getstreetlist',20),
|
|
105
|
+
addflag: false,
|
|
106
|
+
addtitle:'',
|
|
107
|
+
|
|
108
|
+
// 公司下拉
|
|
109
|
+
curorgid: [this.$login.f.orgid],
|
|
110
|
+
f_orgid: '',
|
|
111
|
+
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
title: '街道管理',
|
|
115
|
+
props:{
|
|
116
|
+
f_filialeids:{
|
|
117
|
+
type: String
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
ready(){
|
|
121
|
+
this.search()
|
|
122
|
+
},
|
|
123
|
+
methods: {
|
|
124
|
+
hidden() {
|
|
125
|
+
this.criteriaShow = !this.criteriaShow
|
|
126
|
+
},
|
|
127
|
+
search () {
|
|
128
|
+
this.$refs.paged.$refs.cri.search()
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
async delete(row){
|
|
132
|
+
if(row.id){
|
|
133
|
+
var id = row.id
|
|
134
|
+
let useraredss = await this.$resetpost('rs/sql/address_singleTable',
|
|
135
|
+
{data: {
|
|
136
|
+
items: 'f_street_id',
|
|
137
|
+
tablename: 't_area',
|
|
138
|
+
condition: `f_street_id='${id}'`}
|
|
139
|
+
},
|
|
140
|
+
{resolveMsg: null, rejectMsg: null})
|
|
141
|
+
if(useraredss.data.length>0){
|
|
142
|
+
this.$showAlert('该街道下已有小区信息,无法删除!','warning',1000)
|
|
143
|
+
}else{
|
|
144
|
+
this.$resetdelete('rs/entity/t_street', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
145
|
+
this.$dispatch('cancel')
|
|
146
|
+
})
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
add(val){
|
|
151
|
+
if (this.f_filialeids) {
|
|
152
|
+
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
153
|
+
this.$dispatch('add',val)
|
|
154
|
+
} else {
|
|
155
|
+
this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
},
|
|
159
|
+
modify(val){
|
|
160
|
+
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
161
|
+
this.$dispatch('modify',val)
|
|
162
|
+
},
|
|
163
|
+
selfSearch (args) {
|
|
164
|
+
if (!this.f_orgid) {
|
|
165
|
+
this.getorg([this.$login.f.orgid])
|
|
166
|
+
}
|
|
167
|
+
args.condition = `${args.condition} and s.f_filialeid in ${this.f_orgid}`
|
|
168
|
+
this.model.search(args.condition, args.model)
|
|
169
|
+
},
|
|
170
|
+
//清空
|
|
171
|
+
clear(){
|
|
172
|
+
this.$refs.paged.$refs.cri.model = {}
|
|
173
|
+
},
|
|
174
|
+
getorg (val) {
|
|
175
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
176
|
+
this.f_filialeids = val[0]
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
watch:{
|
|
180
|
+
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
}
|
|
184
|
+
</script>
|