瀏覽代碼

导入两条

qukaidi 4 年之前
父節點
當前提交
fa97e4d4fa
共有 1 個文件被更改,包括 18 次插入18 次删除
  1. 18 18
      src/views/track/cabinet/AddOrUpdate.vue

+ 18 - 18
src/views/track/cabinet/AddOrUpdate.vue

@@ -1693,7 +1693,7 @@ export default {
             this.fFeeid61 = false;
           }
         });
-        if (this.fFeeid61) {
+        if (this.fFeeid61&& this.form.priceDr > 0) {
           this.chiFeesList.push({
             actId: "1080",
             fCorpid: this.form.fCorpId,
@@ -1701,7 +1701,7 @@ export default {
             fDc: "D",
             fFeeunitid: "6",
             fBillingQty: 1,
-            fUnitprice: this.form.priceCr,
+            fUnitprice: this.form.priceDr,
             fCurrency: "RMB",
             fTaxrate: 3,
             fAmount: this.form.priceDr,
@@ -1709,22 +1709,22 @@ export default {
             remarks: null,
           });
         }
-        // if (this.fFeeid61 && this.form.priceCr > 0) {
-        //   this.chiFeesList.push({
-        //     actId: "1080",
-        //     fCorpid: this.form.carcorPid,
-        //     fFeeid: 61,
-        //     fDc: "C",
-        //     fFeeunitid: "6",
-        //     fBillingQty: 1,
-        //     fUnitprice: this.form.priceCr,
-        //     fCurrency: "RMB",
-        //     fTaxrate: 3,
-        //     fAmount: this.form.priceCr,
-        //     fExrate: 1,
-        //     remarks: null,
-        //   });
-        // }
+        if (this.fFeeid61 && this.form.priceCr > 0) {
+          this.chiFeesList.push({
+            actId: "1080",
+            fCorpid: this.form.carcorPid,
+            fFeeid: 61,
+            fDc: "C",
+            fFeeunitid: "6",
+            fBillingQty: 1,
+            fUnitprice: this.form.priceCr,
+            fCurrency: "RMB",
+            fTaxrate: 3,
+            fAmount: this.form.priceCr,
+            fExrate: 1,
+            remarks: null,
+          });
+        }
       } else {
         this.$message.error("未找到运输费用,请确认是否已添加");
       }