address-client 3.0.30-aode → 3.0.31-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/package.json +1 -1
- package/src/components/OneCodeList.vue +251 -251
- package/src/components/UserAddress.vue +5 -2
package/package.json
CHANGED
|
@@ -1,251 +1,251 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main" @keyup.enter="search">
|
|
4
|
-
<div class="flex">
|
|
5
|
-
<div style="flex:1;" class="flex" >
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
-
<div class="row">
|
|
10
|
-
<div class="col-sm-2">
|
|
11
|
-
<label class="font_normal_body labelother">合同编号</label>
|
|
12
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.contract_sn"
|
|
13
|
-
condition="contract_sn = '{}' " placeholder="合同编号">
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-2">
|
|
16
|
-
<label class="font_normal_body labelother">合同名称</label>
|
|
17
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.contract_name"
|
|
18
|
-
condition="contract_name like '%{}%'" placeholder="合同名称">
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2">
|
|
21
|
-
<label class="font_normal_body labelother">客户名称</label>
|
|
22
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.customer_name"
|
|
23
|
-
condition="customer_name like '{}%'" placeholder="客户名称">
|
|
24
|
-
</div>
|
|
25
|
-
<!-- <div class="col-sm-4">-->
|
|
26
|
-
<!-- <label class="font_normal_body labelother">客戶地址</label>-->
|
|
27
|
-
<!-- <input type="text" style="width:80%" class="input_search" v-model="model.f_address"-->
|
|
28
|
-
<!-- condition="f_address like '%{}%'" placeholder='客户地址'>-->
|
|
29
|
-
<!-- </div>-->
|
|
30
|
-
<div class="span" style="float:right;">
|
|
31
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
32
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
-
<!-- <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>-->
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
<!-- <div class="row" style="margin-top: 11px;" v-show="$parent.$parent.criteriaShow">-->
|
|
37
|
-
<!-- <div class="col-sm-2">-->
|
|
38
|
-
<!-- <label class="font_normal_body labelother">表 号</label>-->
|
|
39
|
-
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"-->
|
|
40
|
-
<!-- condition="f_meternumber like '%{}%'" placeholder='表号'>-->
|
|
41
|
-
<!-- </div>-->
|
|
42
|
-
<!-- <div class="col-sm-2">-->
|
|
43
|
-
<!-- <label class="font_normal_body labelother">卡 号</label>-->
|
|
44
|
-
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"-->
|
|
45
|
-
<!-- condition="f_card_id like '%{}%'" placeholder='卡号'>-->
|
|
46
|
-
<!-- </div>-->
|
|
47
|
-
<!-- <div class="col-sm-2">-->
|
|
48
|
-
<!-- <label class="font_normal_body labelother">气表 状态</label>-->
|
|
49
|
-
<!-- <v-select :value.sync="model.f_table_state"-->
|
|
50
|
-
<!-- v-model="model.f_table_state"-->
|
|
51
|
-
<!-- :options='$parent.$parent.tablestate' placeholder='请选择'-->
|
|
52
|
-
<!-- condition="f_table_state = '{}'"-->
|
|
53
|
-
<!-- close-on-select></v-select>-->
|
|
54
|
-
<!-- </div>-->
|
|
55
|
-
<!-- </div>-->
|
|
56
|
-
</div>
|
|
57
|
-
</criteria>
|
|
58
|
-
|
|
59
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
|
|
60
|
-
<template partial='head'>
|
|
61
|
-
<tr>
|
|
62
|
-
<th>
|
|
63
|
-
<nobr>选择</nobr>
|
|
64
|
-
</th>
|
|
65
|
-
<th>
|
|
66
|
-
<nobr>序号</nobr>
|
|
67
|
-
</th>
|
|
68
|
-
<th>
|
|
69
|
-
<nobr>开发码ID</nobr>
|
|
70
|
-
</th>
|
|
71
|
-
<th>
|
|
72
|
-
<nobr>合同编号</nobr>
|
|
73
|
-
</th>
|
|
74
|
-
<th>
|
|
75
|
-
<nobr>合同名称</nobr>
|
|
76
|
-
</th>
|
|
77
|
-
<th>
|
|
78
|
-
<nobr>合同金额</nobr>
|
|
79
|
-
</th>
|
|
80
|
-
<th>
|
|
81
|
-
<nobr>客户名称</nobr>
|
|
82
|
-
</th>
|
|
83
|
-
<th>
|
|
84
|
-
<nobr>营业执照号</nobr>
|
|
85
|
-
</th>
|
|
86
|
-
<th>
|
|
87
|
-
<nobr>安装合同签订时间</nobr>
|
|
88
|
-
</th>
|
|
89
|
-
<th>
|
|
90
|
-
<nobr>签订付款约定</nobr>
|
|
91
|
-
</th>
|
|
92
|
-
<th>
|
|
93
|
-
<nobr>类型</nobr>
|
|
94
|
-
</th>
|
|
95
|
-
<th>
|
|
96
|
-
<nobr>用户类型</nobr>
|
|
97
|
-
</th>
|
|
98
|
-
<th>
|
|
99
|
-
<nobr>客户类型</nobr>
|
|
100
|
-
</th>
|
|
101
|
-
<th>
|
|
102
|
-
<nobr>商业类型</nobr>
|
|
103
|
-
</th>
|
|
104
|
-
<th>
|
|
105
|
-
<nobr>签订日用气量</nobr>
|
|
106
|
-
</th>
|
|
107
|
-
<th>
|
|
108
|
-
<nobr>签订签约户数</nobr>
|
|
109
|
-
</th>
|
|
110
|
-
<th>
|
|
111
|
-
<nobr>省名称</nobr>
|
|
112
|
-
</th>
|
|
113
|
-
<th>
|
|
114
|
-
<nobr>市名称</nobr>
|
|
115
|
-
</th>
|
|
116
|
-
<th>
|
|
117
|
-
<nobr>区名称</nobr>
|
|
118
|
-
</th>
|
|
119
|
-
<th>
|
|
120
|
-
<nobr>工程安装施工详细地点</nobr>
|
|
121
|
-
</th>
|
|
122
|
-
<th>
|
|
123
|
-
<nobr>所属公司</nobr>
|
|
124
|
-
</th>
|
|
125
|
-
</tr>
|
|
126
|
-
</template>
|
|
127
|
-
<template partial='body'>
|
|
128
|
-
<td style="text-align:center">
|
|
129
|
-
<button type="button" name="button" class="button_export"
|
|
130
|
-
@click.stop="$parent.$parent.$parent.confirm(row)">确认选择</button>
|
|
131
|
-
</td>
|
|
132
|
-
<td style="text-align: center;"><nobr>
|
|
133
|
-
<span >{{$index+1}}</span>
|
|
134
|
-
</nobr> </td>
|
|
135
|
-
<td style="text-align: center;"><nobr>
|
|
136
|
-
<span >{{row.sid}}</span>
|
|
137
|
-
</nobr> </td>
|
|
138
|
-
<td style="text-align: center;"><nobr>
|
|
139
|
-
<span >{{row.contract_sn}}</span>
|
|
140
|
-
</nobr> </td>
|
|
141
|
-
<td style="text-align: center;">
|
|
142
|
-
<nobr>{{row.contract_name}}</nobr>
|
|
143
|
-
</td>
|
|
144
|
-
<td style="text-align: center;">
|
|
145
|
-
<nobr>{{row.contract_money_signed}}</nobr>
|
|
146
|
-
</td>
|
|
147
|
-
<td style="text-align: center;">
|
|
148
|
-
<nobr>{{row.customer_name}}</nobr>
|
|
149
|
-
</td>
|
|
150
|
-
<td style="text-align: center;">
|
|
151
|
-
<nobr>{{row.business_license}}</nobr>
|
|
152
|
-
</td>
|
|
153
|
-
<td style="text-align: center;">
|
|
154
|
-
<nobr>{{row.sign_time}}</nobr>
|
|
155
|
-
</td>
|
|
156
|
-
<td style="text-align: center;"><nobr>
|
|
157
|
-
<span >{{row.appoint_signed}}</span>
|
|
158
|
-
</nobr> </td>
|
|
159
|
-
<td style="text-align: center;"><nobr>
|
|
160
|
-
<span >{{row.big_type}}</span>
|
|
161
|
-
</nobr> </td>
|
|
162
|
-
<td style="text-align: center;">
|
|
163
|
-
<nobr>{{row.customer_type}}</nobr>
|
|
164
|
-
</td>
|
|
165
|
-
<td style="text-align: center;">
|
|
166
|
-
<nobr>{{row.client_type}}</nobr>
|
|
167
|
-
</td>
|
|
168
|
-
<td style="text-align: center;">
|
|
169
|
-
<nobr>{{row.business_type}}</nobr>
|
|
170
|
-
</td>
|
|
171
|
-
<td style="text-align: center;">
|
|
172
|
-
<nobr>{{row.day_gas_signed}}</nobr>
|
|
173
|
-
</td>
|
|
174
|
-
<td style="text-align: center;">
|
|
175
|
-
<nobr>{{row.sign_num_signed}}</nobr>
|
|
176
|
-
</td>
|
|
177
|
-
<td style="text-align: center;">
|
|
178
|
-
<nobr>{{row.province_name}}</nobr>
|
|
179
|
-
</td>
|
|
180
|
-
<td style="text-align: center;">
|
|
181
|
-
<nobr>{{row.city_name}}</nobr>
|
|
182
|
-
</td>
|
|
183
|
-
<td style="text-align: center;">
|
|
184
|
-
<nobr>{{row.area_name}}</nobr>
|
|
185
|
-
</td>
|
|
186
|
-
<td style="text-align: center;">
|
|
187
|
-
<nobr>{{row.address}}</nobr>
|
|
188
|
-
</td>
|
|
189
|
-
<td style="text-align: center;">
|
|
190
|
-
<nobr>{{row.orgname}}</nobr>
|
|
191
|
-
</td>
|
|
192
|
-
</template>
|
|
193
|
-
<template partial='foot'>
|
|
194
|
-
</template>
|
|
195
|
-
</data-grid>
|
|
196
|
-
</criteria-paged>
|
|
197
|
-
</div>
|
|
198
|
-
</div>
|
|
199
|
-
</div>
|
|
200
|
-
</div>
|
|
201
|
-
</template>
|
|
202
|
-
|
|
203
|
-
<script>
|
|
204
|
-
import {PagedList} from 'vue-client'
|
|
205
|
-
export default {
|
|
206
|
-
data() {
|
|
207
|
-
return {
|
|
208
|
-
model: new PagedList('rs/sql/address_singleTableOrderBy', 20,{
|
|
209
|
-
tablename: `'t_code_contract'`,items: `'*'`,
|
|
210
|
-
orderitem: `'id '`})
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
props:['f_filialeid','row'],
|
|
214
|
-
ready() {
|
|
215
|
-
},
|
|
216
|
-
methods: {
|
|
217
|
-
confirm (row) {
|
|
218
|
-
this.$dispatch('confirmcode',row)
|
|
219
|
-
},
|
|
220
|
-
search(){
|
|
221
|
-
this.$refs.paged.$refs.cri.search()
|
|
222
|
-
},
|
|
223
|
-
selfSearch(args) {
|
|
224
|
-
args.condition = `${args.condition}` + " and f_orgid = " + this.f_filialeid;
|
|
225
|
-
// args.condition = `${args.condition} `;
|
|
226
|
-
this.model.search(args.condition, args.model);
|
|
227
|
-
},
|
|
228
|
-
clear() {
|
|
229
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
230
|
-
this.$refs.paged.$refs.cri.model[key] = ''
|
|
231
|
-
})
|
|
232
|
-
},
|
|
233
|
-
hidden() {
|
|
234
|
-
this.criteriaShow = !this.criteriaShow
|
|
235
|
-
},
|
|
236
|
-
|
|
237
|
-
close() {
|
|
238
|
-
this.printshow = false;
|
|
239
|
-
this.all = false
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
computed: {
|
|
243
|
-
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
</script>
|
|
247
|
-
<style scoped>
|
|
248
|
-
.labelother {
|
|
249
|
-
line-height: 18px;
|
|
250
|
-
}
|
|
251
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex">
|
|
5
|
+
<div style="flex:1;" class="flex" >
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2">
|
|
11
|
+
<label class="font_normal_body labelother">合同编号</label>
|
|
12
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.contract_sn"
|
|
13
|
+
condition="contract_sn = '{}' " placeholder="合同编号">
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2">
|
|
16
|
+
<label class="font_normal_body labelother">合同名称</label>
|
|
17
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.contract_name"
|
|
18
|
+
condition="contract_name like '%{}%'" placeholder="合同名称">
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2">
|
|
21
|
+
<label class="font_normal_body labelother">客户名称</label>
|
|
22
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.customer_name"
|
|
23
|
+
condition="customer_name like '{}%'" placeholder="客户名称">
|
|
24
|
+
</div>
|
|
25
|
+
<!-- <div class="col-sm-4">-->
|
|
26
|
+
<!-- <label class="font_normal_body labelother">客戶地址</label>-->
|
|
27
|
+
<!-- <input type="text" style="width:80%" class="input_search" v-model="model.f_address"-->
|
|
28
|
+
<!-- condition="f_address like '%{}%'" placeholder='客户地址'>-->
|
|
29
|
+
<!-- </div>-->
|
|
30
|
+
<div class="span" style="float:right;">
|
|
31
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
32
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
+
<!-- <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>-->
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
<!-- <div class="row" style="margin-top: 11px;" v-show="$parent.$parent.criteriaShow">-->
|
|
37
|
+
<!-- <div class="col-sm-2">-->
|
|
38
|
+
<!-- <label class="font_normal_body labelother">表 号</label>-->
|
|
39
|
+
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"-->
|
|
40
|
+
<!-- condition="f_meternumber like '%{}%'" placeholder='表号'>-->
|
|
41
|
+
<!-- </div>-->
|
|
42
|
+
<!-- <div class="col-sm-2">-->
|
|
43
|
+
<!-- <label class="font_normal_body labelother">卡 号</label>-->
|
|
44
|
+
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"-->
|
|
45
|
+
<!-- condition="f_card_id like '%{}%'" placeholder='卡号'>-->
|
|
46
|
+
<!-- </div>-->
|
|
47
|
+
<!-- <div class="col-sm-2">-->
|
|
48
|
+
<!-- <label class="font_normal_body labelother">气表 状态</label>-->
|
|
49
|
+
<!-- <v-select :value.sync="model.f_table_state"-->
|
|
50
|
+
<!-- v-model="model.f_table_state"-->
|
|
51
|
+
<!-- :options='$parent.$parent.tablestate' placeholder='请选择'-->
|
|
52
|
+
<!-- condition="f_table_state = '{}'"-->
|
|
53
|
+
<!-- close-on-select></v-select>-->
|
|
54
|
+
<!-- </div>-->
|
|
55
|
+
<!-- </div>-->
|
|
56
|
+
</div>
|
|
57
|
+
</criteria>
|
|
58
|
+
|
|
59
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
|
|
60
|
+
<template partial='head'>
|
|
61
|
+
<tr>
|
|
62
|
+
<th>
|
|
63
|
+
<nobr>选择</nobr>
|
|
64
|
+
</th>
|
|
65
|
+
<th>
|
|
66
|
+
<nobr>序号</nobr>
|
|
67
|
+
</th>
|
|
68
|
+
<th>
|
|
69
|
+
<nobr>开发码ID</nobr>
|
|
70
|
+
</th>
|
|
71
|
+
<th>
|
|
72
|
+
<nobr>合同编号</nobr>
|
|
73
|
+
</th>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>合同名称</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>合同金额</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>客户名称</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>营业执照号</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<th>
|
|
87
|
+
<nobr>安装合同签订时间</nobr>
|
|
88
|
+
</th>
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>签订付款约定</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<th>
|
|
93
|
+
<nobr>类型</nobr>
|
|
94
|
+
</th>
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>用户类型</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
<th>
|
|
99
|
+
<nobr>客户类型</nobr>
|
|
100
|
+
</th>
|
|
101
|
+
<th>
|
|
102
|
+
<nobr>商业类型</nobr>
|
|
103
|
+
</th>
|
|
104
|
+
<th>
|
|
105
|
+
<nobr>签订日用气量</nobr>
|
|
106
|
+
</th>
|
|
107
|
+
<th>
|
|
108
|
+
<nobr>签订签约户数</nobr>
|
|
109
|
+
</th>
|
|
110
|
+
<th>
|
|
111
|
+
<nobr>省名称</nobr>
|
|
112
|
+
</th>
|
|
113
|
+
<th>
|
|
114
|
+
<nobr>市名称</nobr>
|
|
115
|
+
</th>
|
|
116
|
+
<th>
|
|
117
|
+
<nobr>区名称</nobr>
|
|
118
|
+
</th>
|
|
119
|
+
<th>
|
|
120
|
+
<nobr>工程安装施工详细地点</nobr>
|
|
121
|
+
</th>
|
|
122
|
+
<th>
|
|
123
|
+
<nobr>所属公司</nobr>
|
|
124
|
+
</th>
|
|
125
|
+
</tr>
|
|
126
|
+
</template>
|
|
127
|
+
<template partial='body'>
|
|
128
|
+
<td style="text-align:center">
|
|
129
|
+
<button type="button" name="button" class="button_export"
|
|
130
|
+
@click.stop="$parent.$parent.$parent.confirm(row)">确认选择</button>
|
|
131
|
+
</td>
|
|
132
|
+
<td style="text-align: center;"><nobr>
|
|
133
|
+
<span >{{$index+1}}</span>
|
|
134
|
+
</nobr> </td>
|
|
135
|
+
<td style="text-align: center;"><nobr>
|
|
136
|
+
<span >{{row.sid}}</span>
|
|
137
|
+
</nobr> </td>
|
|
138
|
+
<td style="text-align: center;"><nobr>
|
|
139
|
+
<span >{{row.contract_sn}}</span>
|
|
140
|
+
</nobr> </td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<nobr>{{row.contract_name}}</nobr>
|
|
143
|
+
</td>
|
|
144
|
+
<td style="text-align: center;">
|
|
145
|
+
<nobr>{{row.contract_money_signed}}</nobr>
|
|
146
|
+
</td>
|
|
147
|
+
<td style="text-align: center;">
|
|
148
|
+
<nobr>{{row.customer_name}}</nobr>
|
|
149
|
+
</td>
|
|
150
|
+
<td style="text-align: center;">
|
|
151
|
+
<nobr>{{row.business_license}}</nobr>
|
|
152
|
+
</td>
|
|
153
|
+
<td style="text-align: center;">
|
|
154
|
+
<nobr>{{row.sign_time}}</nobr>
|
|
155
|
+
</td>
|
|
156
|
+
<td style="text-align: center;"><nobr>
|
|
157
|
+
<span >{{row.appoint_signed}}</span>
|
|
158
|
+
</nobr> </td>
|
|
159
|
+
<td style="text-align: center;"><nobr>
|
|
160
|
+
<span >{{row.big_type}}</span>
|
|
161
|
+
</nobr> </td>
|
|
162
|
+
<td style="text-align: center;">
|
|
163
|
+
<nobr>{{row.customer_type}}</nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td style="text-align: center;">
|
|
166
|
+
<nobr>{{row.client_type}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td style="text-align: center;">
|
|
169
|
+
<nobr>{{row.business_type}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td style="text-align: center;">
|
|
172
|
+
<nobr>{{row.day_gas_signed}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td style="text-align: center;">
|
|
175
|
+
<nobr>{{row.sign_num_signed}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td style="text-align: center;">
|
|
178
|
+
<nobr>{{row.province_name}}</nobr>
|
|
179
|
+
</td>
|
|
180
|
+
<td style="text-align: center;">
|
|
181
|
+
<nobr>{{row.city_name}}</nobr>
|
|
182
|
+
</td>
|
|
183
|
+
<td style="text-align: center;">
|
|
184
|
+
<nobr>{{row.area_name}}</nobr>
|
|
185
|
+
</td>
|
|
186
|
+
<td style="text-align: center;">
|
|
187
|
+
<nobr>{{row.address}}</nobr>
|
|
188
|
+
</td>
|
|
189
|
+
<td style="text-align: center;">
|
|
190
|
+
<nobr>{{row.orgname}}</nobr>
|
|
191
|
+
</td>
|
|
192
|
+
</template>
|
|
193
|
+
<template partial='foot'>
|
|
194
|
+
</template>
|
|
195
|
+
</data-grid>
|
|
196
|
+
</criteria-paged>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
</template>
|
|
202
|
+
|
|
203
|
+
<script>
|
|
204
|
+
import {PagedList} from 'vue-client'
|
|
205
|
+
export default {
|
|
206
|
+
data() {
|
|
207
|
+
return {
|
|
208
|
+
model: new PagedList('rs/sql/address_singleTableOrderBy', 20,{
|
|
209
|
+
tablename: `'t_code_contract'`,items: `'*'`,
|
|
210
|
+
orderitem: `'id '`})
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
props:['f_filialeid','row'],
|
|
214
|
+
ready() {
|
|
215
|
+
},
|
|
216
|
+
methods: {
|
|
217
|
+
confirm (row) {
|
|
218
|
+
this.$dispatch('confirmcode',row)
|
|
219
|
+
},
|
|
220
|
+
search(){
|
|
221
|
+
this.$refs.paged.$refs.cri.search()
|
|
222
|
+
},
|
|
223
|
+
selfSearch(args) {
|
|
224
|
+
args.condition = `${args.condition}` + " and f_orgid = " + this.f_filialeid;
|
|
225
|
+
// args.condition = `${args.condition} `;
|
|
226
|
+
this.model.search(args.condition, args.model);
|
|
227
|
+
},
|
|
228
|
+
clear() {
|
|
229
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
230
|
+
this.$refs.paged.$refs.cri.model[key] = ''
|
|
231
|
+
})
|
|
232
|
+
},
|
|
233
|
+
hidden() {
|
|
234
|
+
this.criteriaShow = !this.criteriaShow
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
close() {
|
|
238
|
+
this.printshow = false;
|
|
239
|
+
this.all = false
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
computed: {
|
|
243
|
+
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
</script>
|
|
247
|
+
<style scoped>
|
|
248
|
+
.labelother {
|
|
249
|
+
line-height: 18px;
|
|
250
|
+
}
|
|
251
|
+
</style>
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
<div class="row">
|
|
114
114
|
<div class="col-sm-12 form-group" >
|
|
115
115
|
<label for="f_address" class="font_normal_body">一码通ID</label>
|
|
116
|
-
<input type="text" v-model="model.
|
|
116
|
+
<input type="text" v-model="model.codeinfo" :value.sync="model.codeinfo"
|
|
117
117
|
class="input_search" disabled="disabled" style="width:75%;" placeholder="一码通ID" >
|
|
118
118
|
<span>
|
|
119
119
|
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="!isedit" @click="selectonecode()">选择开发码</button>
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
<div class="row">
|
|
255
255
|
<div class="col-sm-12 form-group" >
|
|
256
256
|
<label for="f_address" class="font_normal_body">一码通ID</label>
|
|
257
|
-
<input type="text" v-model="model.
|
|
257
|
+
<input type="text" v-model="model.codeinfo" :value.sync="model.codeinfo"
|
|
258
258
|
class="input_search" disabled="disabled" style="width:75%;" placeholder="一码通ID" >
|
|
259
259
|
<span>
|
|
260
260
|
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="!isedit" @click="selectonecode()">选择开发码</button>
|
|
@@ -318,6 +318,7 @@
|
|
|
318
318
|
},
|
|
319
319
|
model: {
|
|
320
320
|
sid:'',
|
|
321
|
+
codeinfo:'',
|
|
321
322
|
f_pcd_id: '',
|
|
322
323
|
f_street_id: '',
|
|
323
324
|
f_comments:'',
|
|
@@ -371,6 +372,7 @@
|
|
|
371
372
|
methods: {
|
|
372
373
|
confirmcode(row){
|
|
373
374
|
this.model.sid = row.sid
|
|
375
|
+
this.model.codeinfo = row.contract_sn+'('+row.contract_name+')'
|
|
374
376
|
this.showselectonecode = false
|
|
375
377
|
},
|
|
376
378
|
selectonecode(){
|
|
@@ -608,6 +610,7 @@
|
|
|
608
610
|
data.f_operator = this.$login.f.name
|
|
609
611
|
data.f_operatorid = this.$login.f.id
|
|
610
612
|
data.sid = this.model.sid
|
|
613
|
+
data.codeinfo = this.model.codeinfo
|
|
611
614
|
data.f_orgid = this.$login.f.orgid
|
|
612
615
|
data.f_orgname = this.$login.f.orgs
|
|
613
616
|
data.f_depid = this.$login.f.depids
|