Bläddra i källkod

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

Shan9312 1 år sedan
förälder
incheckning
63c9ee8bdc
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. BIN
      dist-tmr-测试-20241030.zip
  2. 2 2
      src/views/formulationPlan/dhedFormula/index.vue

BIN
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 }