sale-client 4.2.33 → 4.2.35
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.
|
@@ -146,6 +146,17 @@
|
|
|
146
146
|
v-validate:f_zuhu_phone=getConfigValidate("f_zuhu_phone",false)
|
|
147
147
|
:placeholder="getConfigPlaceholder('f_zuhu_phone','租户电话')">
|
|
148
148
|
</div>
|
|
149
|
+
</div>
|
|
150
|
+
<div class="row">
|
|
151
|
+
<div style="" class="col-sm-8 form-group"
|
|
152
|
+
v-show="(formconfig && formconfig.f_zuhu_idnumber && formconfig.f_zuhu_idnumber.required) || !onlyshowmust"
|
|
153
|
+
v-if="getConfigShowItem('f_zuhu_idnumber')"
|
|
154
|
+
:class="[$v.f_zuhu_idnumber.required ? 'has-error' : '']">
|
|
155
|
+
<label for="f_zuhu_idnumber" class="font_normal_body">{{getConfigLabelName('f_zuhu_idnumber','租户身份证')}}</label>
|
|
156
|
+
<input type="text" v-model="baseinfo.base.f_zuhu_idnumber" class="input_search" style="width:80%"
|
|
157
|
+
v-validate:f_zuhu_idnumber=getConfigValidate("f_zuhu_idnumber",false)
|
|
158
|
+
:placeholder="getConfigPlaceholder('f_zuhu_idnumber','租户身份证')">
|
|
159
|
+
</div>
|
|
149
160
|
<div style="" class="col-sm-4 form-group"
|
|
150
161
|
v-show="(formconfig && formconfig.f_cost_type && formconfig.f_cost_type.required) || !onlyshowmust"
|
|
151
162
|
v-if="getConfigShowItem('f_cost_type')">
|
|
@@ -156,7 +167,7 @@
|
|
|
156
167
|
</div>
|
|
157
168
|
</div>
|
|
158
169
|
<div class="row">
|
|
159
|
-
<div class="col-sm-8 form-group" v-if="getConfigShowItem('f_contract_id'
|
|
170
|
+
<div class="col-sm-8 form-group" v-if="getConfigShowItem('f_contract_id')"
|
|
160
171
|
v-show="(formconfig && formconfig.f_contract_id && formconfig.f_contract_id.required) || !onlyshowmust"
|
|
161
172
|
:class="[$v.f_contract_id.required ? 'has-error' : '']">
|
|
162
173
|
<label for="f_contract" class="font_normal_body"> {{getConfigLabelName('f_contract_id','合同编号')}}</label>
|
|
@@ -164,24 +175,61 @@
|
|
|
164
175
|
v-validate:f_contract_id=getConfigValidate("f_contract_id",false)
|
|
165
176
|
:placeholder="getConfigPlaceholder('f_contract_id','合同编号')">
|
|
166
177
|
</div>
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
178
|
+
<div class="col-sm-4 form-group" v-if="getConfigShowItem('f_house_type')"
|
|
179
|
+
v-show="(formconfig && formconfig.f_house_type && formconfig.f_house_type.required) || !onlyshowmust"
|
|
180
|
+
:class="[$v.f_house_type.required ? 'has-error' : '']">
|
|
181
|
+
<label for="f_user_state" class="font_normal_body"> {{getConfigLabelName('f_house_type','房屋类型')}}</label>
|
|
182
|
+
<input type="text" v-show="false" v-model="baseinfo.base.f_house_type"
|
|
183
|
+
v-validate:f_house_type=getConfigValidate("f_house_type",false)>
|
|
184
|
+
<v-select :value.sync="baseinfo.base.f_house_type" :search="false" :value-single="true"
|
|
185
|
+
:options='housetype' close-on-select
|
|
186
|
+
:placeholder="getConfigPlaceholder('f_house_type','房屋类型')">
|
|
187
|
+
</v-select>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="row">
|
|
191
|
+
<div style="" class="col-sm-4 form-group" v-if="getConfigShowItem('f_user_level')"
|
|
192
|
+
v-show="(formconfig && formconfig.f_user_level && formconfig.f_user_level.required) || !onlyshowmust"
|
|
193
|
+
:class="[$v.f_user_level.required ? 'has-error' : '']">
|
|
194
|
+
<label for="f_user_level" class="font_normal_body "> {{getConfigLabelName('f_user_level','用户等级')}}</label>
|
|
195
|
+
<input type="text" v-show="false" v-model="baseinfo.base.f_user_level"
|
|
196
|
+
v-validate:f_user_level=getConfigValidate("f_user_level",false)>
|
|
197
|
+
<v-select :value.sync="baseinfo.base.f_user_level" :search="false" :value-single="true"
|
|
198
|
+
:options='userlevel'
|
|
199
|
+
:placeholder="getConfigPlaceholder('f_user_level','用户等级')" close-on-select>
|
|
200
|
+
</v-select>
|
|
201
|
+
</div>
|
|
202
|
+
<div class="col-sm-4 form-group" v-if="getConfigShowItem('f_user_nature')"
|
|
203
|
+
v-show="(formconfig && formconfig.f_user_nature && formconfig.f_user_nature.required) || !onlyshowmust"
|
|
204
|
+
:class="[$v.f_user_nature.required ? 'has-error' : '']">
|
|
205
|
+
<label for="f_user_nature" class="font_normal_body" title="用户性质"> {{getConfigLabelName('f_user_nature','用气类型')}}</label>
|
|
206
|
+
<input type="text" v-show="false" v-model="baseinfo.base.f_user_nature"
|
|
207
|
+
v-validate:f_user_nature=getConfigValidate("f_user_nature",false)>
|
|
208
|
+
<v-select :value.sync="baseinfo.base.f_user_nature" :search="false" :value-single="true"
|
|
209
|
+
:placeholder="getConfigPlaceholder('f_user_nature','用气类型')"
|
|
210
|
+
:options='usernature' close-on-select>
|
|
211
|
+
</v-select>
|
|
212
|
+
</div>
|
|
213
|
+
<div class="col-sm-4 form-group" v-if="getConfigShowItem('f_olduserinfo_code')"
|
|
214
|
+
v-show="(formconfig && formconfig.f_olduserinfo_code && formconfig.f_olduserinfo_code.required) || !onlyshowmust"
|
|
215
|
+
:class="[$v.f_olduserinfo_code.required ? 'has-error' : '']">
|
|
216
|
+
<label for="f_user_nature" class="font_normal_body"> {{getConfigLabelName('f_olduserinfo_code','档案编号')}}</label>
|
|
217
|
+
<input type="text" v-model="baseinfo.base.f_olduserinfo_code" class="input_search" style="width:60%"
|
|
218
|
+
v-validate:f_olduserinfo_code=getConfigValidate("f_olduserinfo_code",false)
|
|
219
|
+
:placeholder="getConfigPlaceholder('f_olduserinfo_code','档案编号')">
|
|
220
|
+
</div>
|
|
173
221
|
<div class="col-sm-4 form-group"
|
|
174
|
-
v-show="(formconfig && formconfig.
|
|
175
|
-
:class="[$v.
|
|
176
|
-
<label for="
|
|
177
|
-
<
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
:
|
|
181
|
-
:
|
|
222
|
+
v-show="(formconfig && formconfig.f_gas_pointsnumber && formconfig.f_gas_pointsnumber.required) || !onlyshowmust"
|
|
223
|
+
:class="[$v.f_gas_pointsnumber.dctest ? 'has-error' : '']" v-if="getConfigShowItem('f_gas_pointsnumber')">
|
|
224
|
+
<label for="f_gas_pointsnumber" class="font_normal_body">{{getConfigLabelName('f_gas_pointsnumber','用气点数量')}}</label>
|
|
225
|
+
<v-select id="f_gas_pointsnumber" :value.sync="baseinfo.base.f_gas_pointsnumber"
|
|
226
|
+
v-model="baseinfo.base.f_gas_pointsnumber"
|
|
227
|
+
:value-single="true"
|
|
228
|
+
:options='pointsnums'
|
|
229
|
+
:placeholder="getConfigPlaceholder('f_gas_pointsnumber','用气点数量')"
|
|
230
|
+
style="width: 65%"
|
|
231
|
+
close-on-select></v-select>
|
|
182
232
|
</div>
|
|
183
|
-
|
|
184
|
-
|
|
185
233
|
</div>
|
|
186
234
|
<div class="row">
|
|
187
235
|
<div style="" class="col-sm-12 form-group" v-if="getConfigShowItem('f_comments')"
|
|
@@ -192,17 +240,6 @@
|
|
|
192
240
|
:placeholder="getConfigPlaceholder('f_comments','请输入备注信息')"
|
|
193
241
|
v-validate:f_comments=getConfigValidate("f_comments",false)>
|
|
194
242
|
</div>
|
|
195
|
-
<div class="col-sm-4 form-group" v-if="getConfigShowItem('f_house_type',false)"
|
|
196
|
-
v-show="(formconfig && formconfig.f_house_type && formconfig.f_house_type.required) || !onlyshowmust"
|
|
197
|
-
:class="[$v.f_house_type.required ? 'has-error' : '']">
|
|
198
|
-
<label for="f_user_state" class="font_normal_body"> {{getConfigLabelName('f_house_type','房屋类型')}}</label>
|
|
199
|
-
<input type="text" v-show="false" v-model="baseinfo.base.f_house_type"
|
|
200
|
-
v-validate:f_house_type=getConfigValidate("f_house_type",false)>
|
|
201
|
-
<v-select :value.sync="baseinfo.base.f_house_type" :search="false" :value-single="true"
|
|
202
|
-
:options='housetype' close-on-select
|
|
203
|
-
:placeholder="getConfigPlaceholder('f_house_type','房屋类型')">
|
|
204
|
-
</v-select>
|
|
205
|
-
</div>
|
|
206
243
|
</div>
|
|
207
244
|
<div class="row">
|
|
208
245
|
<a style="text-decoration: none;font-weight: 300;float: left;color: #333;margin-top: 15px;font-weight: 500"
|
|
@@ -299,6 +336,7 @@
|
|
|
299
336
|
banknames: this.$appdata.getParam('银行名称'),
|
|
300
337
|
userstates: [{label: '预备', value: '预备'}],
|
|
301
338
|
housetype: this.$appdata.getParam('房屋类型'),
|
|
339
|
+
userlevel: this.$appdata.getParam('用户等级'),
|
|
302
340
|
mgq: this.$appdata.getParam('是否煤改气'),
|
|
303
341
|
costtype: this.$appdata.getParam('付款类型'),
|
|
304
342
|
printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')] : [{label: '暂不选择', value: '暂不选择'}],
|
|
@@ -426,6 +464,17 @@
|
|
|
426
464
|
nums.push(temp)
|
|
427
465
|
}
|
|
428
466
|
return nums
|
|
467
|
+
},
|
|
468
|
+
pointsnums () {
|
|
469
|
+
let pointsMax = this.$appdata.getSingleValue('最大用气点数量') ? this.$appdata.getSingleValue('最大用气点数量') : 10
|
|
470
|
+
let nums = []
|
|
471
|
+
for (let i = 1; i <= pointsMax; i++) {
|
|
472
|
+
let temp = {}
|
|
473
|
+
temp.label = i
|
|
474
|
+
temp.value = i
|
|
475
|
+
nums.push(temp)
|
|
476
|
+
}
|
|
477
|
+
return nums
|
|
429
478
|
}
|
|
430
479
|
},
|
|
431
480
|
events: {
|
package/src/main.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import all from 'vue-client/src/all'
|
|
3
|
-
import App from './App'
|
|
4
|
-
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
6
|
-
import sale from './sale'
|
|
7
|
-
import address from 'address-client/src/address'
|
|
8
|
-
import ldap from 'ldap-clients/src/ldap'
|
|
9
|
-
import VueClipboard from 'vue-clipboard2'
|
|
10
|
-
|
|
11
|
-
// 开启 nginx 加密
|
|
12
|
-
// Vue.mmType = 'nginx'
|
|
13
|
-
// Vue.HWQMM = [51, 150, 231, 300, 565, 708, 721, 952, 738, 560, 935, 912, 1274, 1148, 840, 1440]
|
|
14
|
-
|
|
15
|
-
// 开启 AES 加密
|
|
16
|
-
// Vue.mmType = 'AES'
|
|
17
|
-
// Vue.mm = '3KMKqvgwR8ULbR8Z'
|
|
18
|
-
|
|
19
|
-
Vue.use(VueClipboard)
|
|
20
|
-
Vue.config.silent = true
|
|
21
|
-
|
|
22
|
-
all()
|
|
23
|
-
system(false)
|
|
24
|
-
sale()
|
|
25
|
-
address()
|
|
26
|
-
ldap()
|
|
27
|
-
FilialeSale()
|
|
28
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
29
|
-
|
|
30
|
-
new Vue({
|
|
31
|
-
el: 'body',
|
|
32
|
-
components: { App }
|
|
33
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import all from 'vue-client/src/all'
|
|
3
|
+
import App from './App'
|
|
4
|
+
import system from 'system-clients/src/system'
|
|
5
|
+
import FilialeSale from './filiale/fugou/sale'
|
|
6
|
+
import sale from './sale'
|
|
7
|
+
import address from 'address-client/src/address'
|
|
8
|
+
import ldap from 'ldap-clients/src/ldap'
|
|
9
|
+
import VueClipboard from 'vue-clipboard2'
|
|
10
|
+
|
|
11
|
+
// 开启 nginx 加密
|
|
12
|
+
// Vue.mmType = 'nginx'
|
|
13
|
+
// Vue.HWQMM = [51, 150, 231, 300, 565, 708, 721, 952, 738, 560, 935, 912, 1274, 1148, 840, 1440]
|
|
14
|
+
|
|
15
|
+
// 开启 AES 加密
|
|
16
|
+
// Vue.mmType = 'AES'
|
|
17
|
+
// Vue.mm = '3KMKqvgwR8ULbR8Z'
|
|
18
|
+
|
|
19
|
+
Vue.use(VueClipboard)
|
|
20
|
+
Vue.config.silent = true
|
|
21
|
+
|
|
22
|
+
all()
|
|
23
|
+
system(false)
|
|
24
|
+
sale()
|
|
25
|
+
address()
|
|
26
|
+
ldap()
|
|
27
|
+
FilialeSale()
|
|
28
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
29
|
+
|
|
30
|
+
new Vue({
|
|
31
|
+
el: 'body',
|
|
32
|
+
components: { App }
|
|
33
|
+
})
|