cz 1 年之前
父节点
当前提交
3af0013c4c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/processApproval/components/WdlyPurchase.vue

+ 2 - 1
src/views/processApproval/components/WdlyPurchase.vue

@@ -451,8 +451,9 @@ onMounted(() => {
         (val, x) => (val += Number(x.price)),
         0
       );
+      formData.data.otherAmount += Number(formData.data.preferential);
+      formData.data.otherAmount += Number(formData.data.freight);
       formData.data.otherAmount = formData.data.otherAmount.toFixed(2);
-      console.log(formDom1.value.formDataShowLabelOne, "qwdq");
       formDom1.value.formDataShowLabelOne();
       formDom2.value.formDataListShowLabelOne();
     });