ci-plus 1.9.2 → 1.9.4

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/README.md CHANGED
@@ -1,8 +1,12 @@
1
1
  ## 历史更新
2
2
 
3
3
  ```js
4
+ 1.9.4
5
+ 1、优化表头筛选组件 headerInput.vue 中筛选条件的重置逻辑bug
6
+ 1.9.3
7
+ 1、优化uploadV5.vue组件添加必填标识
4
8
  1.9.2
5
- 1、优化uploadV5.vue组件
9
+ 1、优化uploadV5.vue组件添加归属公司默认选中的orgname
6
10
  1.9.1
7
11
  1、优化uploadV5.vue组件
8
12
  1.9.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ci-plus",
3
- "version": "1.9.2",
3
+ "version": "1.9.4",
4
4
  "description": "ci组件库",
5
5
  "main": "./index.ts",
6
6
  "scripts": {
@@ -44,7 +44,10 @@
44
44
  </el-upload>
45
45
 
46
46
  <div class="slot" style="display: flex; flex-direction: column; align-items: flex-end">
47
- <div style="width: 100%; margin: 4px 2px" v-if="ifShowAffiliation">
47
+ <div style="width: 100%; margin: 4px 2px; display: flex" v-if="ifShowAffiliation">
48
+ <span style="line-height: 30px; color: red; margin-right: 4px" v-if="requiredAffiliation"
49
+ >*</span
50
+ >
48
51
  <el-select-v2
49
52
  size="small"
50
53
  v-model="affiliationAll"
@@ -56,7 +59,10 @@
56
59
  @change="changeAll"
57
60
  />
58
61
  </div>
59
- <div style="width: 100%; margin: 4px 2px" v-if="ifShowWarehouse">
62
+ <div style="width: 100%; margin: 4px 2px; display: flex" v-if="ifShowWarehouse">
63
+ <span style="line-height: 30px; color: red; margin-right: 4px" v-if="requiredWarehouse"
64
+ >*</span
65
+ >
60
66
  <el-select-v2
61
67
  size="small"
62
68
  v-model="warehouseAll"
@@ -695,6 +695,7 @@ watch(
695
695
  // 判断是否是当前列的筛选条件
696
696
  if (filter.value || filter) {
697
697
  hasValue.value = true
698
+ value.value = filter.value // 上面 if (newVal && typeof newVal == 'string')为else的时候会重置了 value.value的值
698
699
  } else {
699
700
  hasValue.value = false
700
701
  value.value = '' // 重置value的值