浏览代码

栏舍配方-重量修改number类型

Shan9312 1 年之前
父节点
当前提交
63c9ee8bdc
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 二进制
      dist-tmr-测试-20241030.zip
  2. 2 2
      src/views/formulationPlan/dhedFormula/index.vue

二进制
dist-tmr-测试-20241030.zip


+ 2 - 2
src/views/formulationPlan/dhedFormula/index.vue

@@ -1688,8 +1688,8 @@ export default {
     blurCcount(row) { // 实际牛头数
        console.log(row,'洗漱---')
       if (row.ftid !== '-1' && row.ftid !== '') {
-        row.Sfweight = this.recipeTemplateList.find(obj => obj.id == row.ftid)?.Sfweight || "0.0"
-        row.SfweightLock = this.recipeTemplateList.find(obj => obj.id == row.ftid)?.SfweightLock || "0.0"
+        row.Sfweight = this.recipeTemplateList.find(obj => obj.id == row.ftid)?.Sfweight || 0
+        row.SfweightLock = this.recipeTemplateList.find(obj => obj.id == row.ftid)?.SfweightLock || 0
       }
       if (row.w1 == '' || row.w1 == undefined || isNaN(row.w1)) { row.w1 = 0 }
       if (row.w2 == '' || row.w2 == undefined || isNaN(row.w2)) { row.w2 = 0 }