wangting
2023-09-21 afbaeaaba4f2e503d4c05d7c9259d43b29362bcc
Source/UBCS-WEB/src/components/code-dialog-page/maxSerialnumDialog.vue
@@ -193,15 +193,17 @@
        },
        // 参照组件数据变更
        referConfigDataUpdate(data) {
            const { field } = data;
            this.secVOList = this.secVOList.map((item) => {
                if (item.parentClassifySecOid === field) {
                    this.$refs.CodeApply.form[item.oid] = undefined;
                    this.$refs.CodeApply.form[item.name] = undefined;
                }
                return item;
            });
            this.$refs.CodeApply.templateRender(this.secVOList);
          const {field} = data;
          this.secVOList = this.secVOList.map((item) => {
            if (item.parentClassifySecOid === field) {
              this.$refs.CodeApply.form[item.oid] = undefined;
              this.$refs.CodeApply.form[item.name] = undefined;
              item.readOnly = false;
              item.referConfig.extraParams.parentClassifyValueOid = data.value;
            }
            return item;
          });
          this.$refs.CodeApply.templateRender(this.secVOList);
        },
        isRequired(item) {
            return item.nullableFlag != "true";