@zscreate/zhxy-app-component 1.0.234 → 1.0.236

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.
@@ -1140,11 +1140,13 @@ export default {
1140
1140
  if (findItem) {
1141
1141
  return findItem.text || findItem.label
1142
1142
  }
1143
+ return ""
1143
1144
  }
1144
1145
  if (!Array.isArray(oldValue)) return ""
1145
1146
  return oldValue.reduce((i, j) => {
1146
1147
  const findItem = dictOptions.find( item => item.value === j)
1147
1148
  if (findItem) return (findItem['text'] || findItem['label']) + "," + i
1149
+ return ""
1148
1150
  }, "").slice(0, -1)
1149
1151
  }
1150
1152
  if (oldValue) {
@@ -361,6 +361,9 @@ export default {
361
361
  // this.initPo();
362
362
  },
363
363
  methods: {
364
+ m_isCorrectAudit() {
365
+ return Number(this.isCorrect) === 1 && globalThis._CONFIG.JCTJBT
366
+ },
364
367
  updateFormDataToModels() {
365
368
  // 将formData 中未绑定表单key 的数据也复制到models
366
369
  const modelsKeys = Object.keys(this.models)
@@ -783,7 +786,7 @@ export default {
783
786
  if (this.$refs[i] instanceof Array || this.$refs[i].constructor === Array) {
784
787
  this.$refs[i].forEach(item => {
785
788
  const { canView, disabled } = item._props.widget.options
786
- if (!canView || disabled) return
789
+ if (!canView || (disabled && !this.m_isCorrectAudit())) return
787
790
  if (item.validateInit && typeof item.validateInit === "function") {
788
791
  promiseArr.push(item.validateInit().then(res => {}).catch((error) => {
789
792
  if (this.isScroll && error === false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.234",
3
+ "version": "1.0.236",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",