소스 검색

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

Shan9312 1 년 전
부모
커밋
63c9ee8bdc
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 }