LAPTOP-16IUEB3P\Lenovo пре 2 година
родитељ
комит
2142fc4bd2
1 измењених фајлова са 11 додато и 5 уклоњено
  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"
             ><el-input
               readonly
-              class="w100"
-              :value="
-                (categoryMsg.totalWeight =
-                  categoryMsg.number * (infoData.productUnitWeight || 1))
-              "
+              class="w100"             
+			:value="
+			  (categoryMsg.totalWeight =
+				categoryMsg.number === ''
+				  ? ''
+				  : categoryMsg.number * (infoData.productUnitWeight || 1))
+			"
               clearable
             ></el-input>
+			<!-- 	:value="
+				  (categoryMsg.totalWeight =
+					categoryMsg.number * (infoData.productUnitWeight || 1))
+				" -->
           </el-form-item>
         </el-descriptions-item>
         <el-descriptions-item label="舟皿编号/名称" :span="2"