Browse Source

编号修改

duy 1 month ago
parent
commit
4672a04146
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/manager/projectinfo/codeSet.vue

+ 3 - 2
src/views/manager/projectinfo/codeSet.vue

@@ -65,7 +65,7 @@
             <el-input v-model="scope.row.data" placeholder="*自动获取各试验参数掩码" v-if="scope.row.rule===3" disabled></el-input>
             <el-input v-model="scope.row.data" placeholder="*自动获取当前年份" v-if="scope.row.rule===4" disabled></el-input>
              <el-input v-model="scope.row.data" placeholder="*自动获取当前月份" v-if="scope.row.rule===5" disabled></el-input>
-            <el-input v-model="scope.row.data" placeholder="输入子增长的起始值和位数" v-if="scope.row.rule===6"></el-input>
+              <el-input-number v-model="scope.row.data"  label="输入子增长的起始值和位数" :controls="false"></el-input-number>
            </div>
             <span v-else>{{ scope.row.data }}</span>
           </template>
@@ -250,13 +250,14 @@ export default {
           } else {
             this.dataNumber = '';
             this.$message.error(res.data.msg);
-            this.sortDialogVisible = false; // 关闭排序弹窗
+           
             
           }
         }).catch(() => {
           this.$message.error('操作失败');
         }).finally(() => {
           this.sortLoad = false;
+           this.sortDialogVisible = false; // 关闭排序弹窗
         });
 
   },