qukaidi 4 gadi atpakaļ
vecāks
revīzija
707e7d1cff
1 mainītis faili ar 97 papildinājumiem un 1 dzēšanām
  1. 97 1
      src/views/track/singleCost/AddOrUpdate.vue

+ 97 - 1
src/views/track/singleCost/AddOrUpdate.vue

@@ -641,7 +641,7 @@
           <template slot-scope="scope">
             <el-input
               v-model="scope.row.remarks"
-              :disabled="scope.row.actId == 1080 || disabled"
+              :disabled="disabled"
               placeholder="请输入内容"
             ></el-input>
           </template>
@@ -901,6 +901,38 @@ export default {
           remarks: "",
         });
       }
+      if (this.form.driverbonus > 0) {
+        this.feesList.push({
+          actId: "1080",
+          fCorpid: this.form.fCorpId,
+          fFeeid: 53,
+          fDc: "C",
+          fFeeunitid: "6",
+          fBillingQty: 1,
+          fUnitprice: this.form.driverbonus,
+          fCurrency: "RMB",
+          fTaxrate: 3,
+          fAmount: this.form.driverbonus,
+          fExrate: 1,
+          remarks: "",
+        });
+      }
+      if (this.form.costOth > 0) {
+        this.feesList.push({
+          actId: "1080",
+          fCorpid: this.form.fCorpId,
+          fFeeid: 54,
+          fDc: "C",
+          fFeeunitid: "6",
+          fBillingQty: 1,
+          fUnitprice: this.form.costOth,
+          fCurrency: "RMB",
+          fTaxrate: 3,
+          fAmount: this.form.costOth,
+          fExrate: 1,
+          remarks: "",
+        });
+      }
       if (this.form.costomAmt03 > 0) {
         this.feesList.push({
           actId: "1080",
@@ -917,6 +949,38 @@ export default {
           remarks: "",
         });
       }
+      if (this.form.costomAmt04 > 0) {
+        this.feesList.push({
+          actId: "1080",
+          fCorpid: this.form.fCorpId,
+          fFeeid: 56,
+          fDc: "C",
+          fFeeunitid: "6",
+          fBillingQty: 1,
+          fUnitprice: this.form.costomAmt04,
+          fCurrency: "RMB",
+          fTaxrate: 3,
+          fAmount: this.form.costomAmt04,
+          fExrate: 1,
+          remarks: "",
+        });
+      }
+      if (this.form.costomAmt02 > 0) {
+        this.feesList.push({
+          actId: "1080",
+          fCorpid: this.form.fCorpId,
+          fFeeid: 57,
+          fDc: "C",
+          fFeeunitid: "6",
+          fBillingQty: 1,
+          fUnitprice: this.form.costomAmt02,
+          fCurrency: "RMB",
+          fTaxrate: 3,
+          fAmount: this.form.costomAmt02,
+          fExrate: 1,
+          remarks: "",
+        });
+      }
       if (this.form.costomAmt05 > 0) {
         this.feesList.push({
           actId: "1080",
@@ -933,6 +997,38 @@ export default {
           remarks: "",
         });
       }
+      if (this.form.costomAmt06 > 0) {
+        this.feesList.push({
+          actId: "1080",
+          fCorpid: this.form.fCorpId,
+          fFeeid: 59,
+          fDc: "C",
+          fFeeunitid: "6",
+          fBillingQty: 1,
+          fUnitprice: this.form.costomAmt06,
+          fCurrency: "RMB",
+          fTaxrate: 3,
+          fAmount: this.form.costomAmt06,
+          fExrate: 1,
+          remarks: "",
+        });
+      }
+      if (this.form.costomAmt01 > 0) {
+        this.feesList.push({
+          actId: "1080",
+          fCorpid: this.form.fCorpId,
+          fFeeid: 60,
+          fDc: "C",
+          fFeeunitid: "6",
+          fBillingQty: 1,
+          fUnitprice: this.form.costomAmt01,
+          fCurrency: "RMB",
+          fTaxrate: 3,
+          fAmount: this.form.costomAmt01,
+          fExrate: 1,
+          remarks: "",
+        });
+      }
     },
     deleteplansRow(index, rows, row) {
       let arr = this.schedulingList;