LAPTOP-16IUEB3P\Lenovo před 2 roky
rodič
revize
2142fc4bd2
1 změnil soubory, kde provedl 11 přidání a 5 odebrání
  1. 11 5
      src/views/produceOrder/components/report/Drying.vue

+ 11 - 5
src/views/produceOrder/components/report/Drying.vue

@@ -86,13 +86,19 @@
             prop="categoryMsg.totalWeight"
             prop="categoryMsg.totalWeight"
             ><el-input
             ><el-input
               readonly
               readonly
-              class="w100"
-              :value="
-                (categoryMsg.totalWeight =
-                  categoryMsg.number * (infoData.productUnitWeight || 1))
-              "
+              class="w100"             
+			:value="
+			  (categoryMsg.totalWeight =
+				categoryMsg.number === ''
+				  ? ''
+				  : categoryMsg.number * (infoData.productUnitWeight || 1))
+			"
               clearable
               clearable
             ></el-input>
             ></el-input>
+			<!-- 	:value="
+				  (categoryMsg.totalWeight =
+					categoryMsg.number * (infoData.productUnitWeight || 1))
+				" -->
           </el-form-item>
           </el-form-item>
         </el-descriptions-item>
         </el-descriptions-item>
         <el-descriptions-item label="舟皿编号/名称" :span="2"
         <el-descriptions-item label="舟皿编号/名称" :span="2"