소스 검색

采购单价保留4位小数

cz 1 년 전
부모
커밋
2c4411d3b4
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/components/process/SendPurchase.vue

+ 4 - 4
src/components/process/SendPurchase.vue

@@ -720,10 +720,10 @@ const handleChangeAmount = () => {
 };
 
 const handleChangeMoney = (val, index, key) => {
-  let num = 100;
-  if (key === "count") {
-    num = 10000;
-  }
+  let num = 10000;
+  // if (key === "count") {
+  //   num = 10000;
+  // }
   formData.data.purchaseDetailList[index][key] = formatNumber(val, num);
   handleChangeAmount();
 };