apply-clients 3.0.10-174 → 3.0.10-178

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.0.10-174",
3
+ "version": "3.0.10-178",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -65,6 +65,14 @@
65
65
  </v-select>
66
66
  </div>
67
67
  </div>
68
+ <div class="form-group col-sm-2">
69
+ <label class="col-sm-6">营业所:</label>
70
+ <div class="col-sm-6">
71
+ <v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.business_office" placeholder='营业所' condition="f_business_office like '%{}%'"
72
+ v-model="model.f_business_office" :value.sync="model.f_business_office" close-on-select>
73
+ </v-select>
74
+ </div>
75
+ </div>
68
76
  <div class="col-sm-offset-8">
69
77
  <button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.searchNow(),$parent.$parent.close()">
70
78
  <span class="glyphicon glyphicon-search"></span>查询
@@ -241,6 +249,7 @@
241
249
  // applytype: [{label:"全部",value:''},...this.$appdata.getParam('报建类型')],
242
250
  applytype: [{label:"全部",value:''},{label:"新用户",value:'新用户'},{label:"零星散户",value:'零星散户'},{label:"工商业",value:'工商业'}],
243
251
  projecttype: this.$appdata.getParam('项目类型'),
252
+ business_office: this.$appdata.getParam('营业所'),
244
253
  // applytype: [{label:"全部",value:''},{label:"零星散户",value:'零星散户'},{label:"工商业",value:'工商业'}],
245
254
  timer: null,
246
255
  timer1:null,
@@ -1130,6 +1130,18 @@
1130
1130
  if (this.show_data.fields[i].label === '所属公司') {
1131
1131
  this.show_data.fields[i].value = this.$login.f.orgs
1132
1132
  }
1133
+ //placeholder required
1134
+ if (this.selectdata.f_apply_type == '新用户') {
1135
+ if (this.show_data.fields[i].label === '项目名称' ||
1136
+ this.show_data.fields[i].label === '营业所' ||
1137
+ this.show_data.fields[i].label === '项目编号' ||
1138
+ this.show_data.fields[i].label === '用气性质' ||
1139
+ this.show_data.fields[i].label === '项目类型' ||
1140
+ this.show_data.fields[i].label === '花名册') {
1141
+ this.show_data.fields[i].required = true
1142
+ }
1143
+ }
1144
+
1133
1145
  }
1134
1146
 
1135
1147
  //如果报建类型是新用户到了核对时的逻辑