cz 1 year ago
parent
commit
3af0013c4c
1 changed files with 2 additions and 1 deletions
  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();
     });