apply-clients 4.1.81 → 4.1.83

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": "4.1.81",
3
+ "version": "4.1.83",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -87,7 +87,11 @@ export default {
87
87
  }
88
88
  }
89
89
  if (item.default || item.default == 0) {
90
- item.value = item.default
90
+ if(item.type === 'datepicker'){
91
+ item.value = ''
92
+ }else {
93
+ item.value = item.default
94
+ }
91
95
  }
92
96
  if (this.selectdata[item.field]) {
93
97
  // 将json字符串格式化赋值给value
@@ -303,7 +307,7 @@ export default {
303
307
  // }
304
308
  // }
305
309
  for (const item of this.show_data.fields) {
306
- if (item.label === '工程状态') {
310
+ if (item.label === '工程状态' && !item.value) {
307
311
  return item.value = '未开工'
308
312
  }
309
313
  }