ludc
2024-02-29 eada8c650d43765a6bf0993af5fb771b8c0b363c
Source/UBCS-WEB/src/views/code/code.vue
@@ -2,7 +2,7 @@
  <basic-container class="code-total" style=" height: 100%">
    <!-- 编码规则信息展示区域 -->
    <basic-container class="code-rule-container">
      <div style="height: 40vh;overflow: auto;">
      <div style="height: 50vh;overflow: auto;">
        <p
          style="
          margin-top: -5px;
@@ -142,7 +142,6 @@
          </template>
        </avue-crud>
      </div>
    </basic-container>
    <!-- 高级查询对话框 -->
@@ -220,7 +219,7 @@
    <!-- 基础码段展示区域 -->
    <basic-container class="code-basicsec-container">
      <div style="height: 38.5vh;overflow: auto">
      <div style="height: 35vh;overflow: auto">
        <p
          style="margin-top: -5px;
          margin-bottom: 4px;
@@ -644,7 +643,7 @@
                v-model="form.prefixCode"
                :readonly="basicSecOnlyRead"
              ></el-input> -->
              <el-select v-model="form.prefixCode" :disabled="basicSecOnlyRead">
              <el-select v-model="form.prefixCode" :disabled="basicSecOnlyRead" clearable>
                <el-option
                  v-for="(option, index) in preFixOrSuffixChars"
                  :key="index"
@@ -661,7 +660,7 @@
                v-model="form.suffixCode"
                :readonly="basicSecOnlyRead">
              </el-input> -->
              <el-select v-model="form.suffixCode" :disabled="basicSecOnlyRead">
              <el-select v-model="form.suffixCode" :disabled="basicSecOnlyRead" clearable>
                <el-option
                  v-for="(option, index) in preFixOrSuffixChars"
                  :key="index"
@@ -852,6 +851,7 @@
                  :disabled="basicSecOnlyRead"
                  filterable
                  placeholder="请选择"
                  clearable
                >
                  <el-option
                    v-for="item in enumParam.codeFillSeparator"
@@ -1157,6 +1157,7 @@
                  :disabled="basicSecOnlyRead"
                  filterable
                  placeholder="请选择"
                  clearable
                >
                  <el-option
                    v-for="item in enumParam.codeFillSeparator"
@@ -1304,7 +1305,6 @@
      </refer-config-dialog>
    </el-dialog>
    <!--自定义流水参照组件-->
  </basic-container>
</template>
@@ -1406,7 +1406,7 @@
        showField: 'customCodeSerialClassText',
        field: 'customCodeSerialClass',
        fieldMap: {
          serialType: "serialType"
          serialType: "serialType",
        },
        placeholder: '请选择自定义流水',
        options: {
@@ -1763,7 +1763,7 @@
        this.form[data.field] = data.value || "";
        this.form[data.showField] = data.text || "";
        this.form.serialType = data.rawData[0].serialType || "";
        this.form.customCodeSerialType = data.rawData[0].serialType || "";
      }
    },
    /** 转移规则所有者对话框 */
@@ -2108,7 +2108,7 @@
        if (!this.tipsCodeSecValueMessage(this.codeClassifyForm.id)) {
          return;
        }
        if(!await this.regexCharacter(this.codeFixdForm.id)){
        if(!await this.regexCharacter(this.codeClassifyForm.id)){
          return;
        }
        this.codeClassifyForm.oid =
@@ -2139,7 +2139,7 @@
        );
      }
    },
    /**
    /**
     * 可用字符集码值正则校验
     * @return true:满足限制,false:不满足限制
     */
@@ -2835,7 +2835,6 @@
    },
    /** 打开新增或编辑基础码段对话框*/
    openBasicDialog(condition, row) {
      //console.log(row);
      if (condition == "add") {
        this.basicSecDialogTitle = "添加码段信息";
        this.showbtn = true;