Shan9312 10 месяцев назад
Родитель
Сommit
99a4ece2d1

+ 0 - 10
src/views/formulationPlan/recipeTemplate/index-copy.vue

@@ -4915,10 +4915,8 @@ export default {
       setTimeout(() => {
         this.isokDisable = false;
       }, 1000);
-
       // 统一处理输入为数组
       const rows = Array.isArray(row) ? row : [row];
-
       // 预处理校验数据
       const validationPromises = rows.map(async (currentRow, index) => {
         try {
@@ -4929,7 +4927,6 @@ export default {
           throw error; // 中断后续处理
         }
       });
-
       // 执行批量处理
       Promise.all(validationPromises)
         .then((results) => {
@@ -4940,7 +4937,6 @@ export default {
           this.requestParam.data = []; // 清空无效数据
         });
     },
-
     // 单独校验逻辑
     validateRow(row, index) {
       return new Promise((resolve, reject) => {
@@ -4952,22 +4948,18 @@ export default {
         if (parseFloat(row.deviation) > parseFloat(row.autosecond)) {
           return reject("允许延时偏差不可超出搅拌延时");
         }
-
         // 特殊校验处理
         if (this.table2.getdataListParm.parammaps.fttypeid == 2) {
           if (parseInt(row.preftid) > 0) {
             return reject("饲料名称不能选择预混配方");
           }
         }
-
         // 格式化处理
         row.fweight = formatNum(row.fweight, 4);
         row.sort = row.sort || this.getNextSortValue();
-
         resolve(row);
       });
     },
-
     // 单条数据处理
     processSingleRow(row) {
       const baseParam = {
@@ -4986,7 +4978,6 @@ export default {
         this.buildInsertFTHistory(baseParam),
       ];
     },
-
     // 构建具体请求对象(示例)
     buildFitHistory(row, baseParam) {
       return {
@@ -5062,7 +5053,6 @@ export default {
         },
       };
     },
-    // 其他构建函数类似...
 
     // 发送请求
     sendRequest() {

Разница между файлами не показана из-за своего большого размера
+ 796 - 131
src/views/formulationPlan/recipeTemplate/index.vue


Некоторые файлы не были показаны из-за большого количества измененных файлов