resolver-egretimp-plus 0.1.44 → 0.1.45

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": "resolver-egretimp-plus",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -103,6 +103,7 @@ export const useSelEmployeeJs = () => {
103
103
  urls.push({ type: 'js', url: url1, id: 'xmSelectJs' })
104
104
  }
105
105
  if (!window.init_selUser) {
106
+ // url2 = `/selUserJq.min.js?ver=${getDateTime()}`
106
107
  url2 = `https://ncoa${isLocal ? '-uat' : ''}.cmitry.com/components/lib/selUserJq.min.js?ver=${getDateTime()}`
107
108
  urls.push({ type: 'js', url: url2, id: 'selUserJqJs' })
108
109
  }
@@ -43,6 +43,11 @@ const props = defineProps({
43
43
  type: [Number, String],
44
44
  default: '0'
45
45
  },
46
+ // 金额显示时保留小数点0后缀
47
+ keepLastZero: {
48
+ type: [Number, String],
49
+ default: '0'
50
+ },
46
51
  // 在显示金额的时候,可以显示的符号
47
52
  canShowFlag: {
48
53
  type: Array,
@@ -34,7 +34,11 @@ const props = defineProps({
34
34
  separator: {
35
35
  type: [String],
36
36
  default: ','
37
- }
37
+ },
38
+ positionType: {
39
+ type: String,
40
+ default: 'fixed'
41
+ },
38
42
  })
39
43
  const dataLoad = inject('dataLoad')
40
44
  const separator = computed(() => {
@@ -89,7 +93,10 @@ const initSelEmployee = async () => {
89
93
  onSelectedChange: (data, arr) => {
90
94
  emit('change', data, arr, props)
91
95
  modelValue.value = data?.join(separator.value) || ''
92
- }
96
+ },
97
+ }
98
+ if (props.positionType) {
99
+ initParams.positionType = props.positionType
93
100
  }
94
101
  if (props.disabled) {
95
102
  initParams.userIds = data