yuanrf пре 1 недеља
родитељ
комит
83de1f3475
1 измењених фајлова са 7 додато и 5 уклоњено
  1. 7 5
      src/components/OP/CarTouristGuideGrounContent.vue

+ 7 - 5
src/components/OP/CarTouristGuideGrounContent.vue

@@ -272,11 +272,11 @@
                                 <div class="el-input-number-style pice-ys">
                                     <div v-if="showPopoverIds.includes(scope.row.sId)">
                                         <el-popover placement="top-start" title="三公费用" width="300" trigger="hover">
-                                            <span style="color: green;">{{ nationalTravelFee ? `一人一顿费用
+                                            <span style="color: green;">{{nationalTravelFee ? `一人一顿费用
                                                 ${Number(nationalTravelFee.foodCost) / 2}
                                                 ${nationalTravelFee.currencyStr} (${(Number(nationalTravelFee.foodCost)
                                                     / 2 / rate.rate).toFixed(2)} ${currencyList.filter(x => x.currencyId ==
-                                                        currency)[0].currencyCode})` : '暂无' }}</span>
+                                                        currency)[0].currencyCode})` : '暂无'}}</span>
                                             <el-input-number size="small" placeholder="请输入金额" slot="reference"
                                                 v-model="scope.row.price" :controls="false"
                                                 @change="PriceChange"></el-input-number>
@@ -602,7 +602,7 @@ export default {
                     that.payment = res.data.data.payment;
 
                     var CreditCardPayment = res.data.data.creditCardPayment;
-                    if (CreditCardPayment != null) {
+                    if (CreditCardPayment) {
                         that.OPContenData.payDId = CreditCardPayment.payDId
                         that.OPContenData.payee = CreditCardPayment.payee
                         that.currency = CreditCardPayment.paymentCurrency
@@ -741,7 +741,8 @@ export default {
         //     })
         // },
         addBtn() {
-            if (this.IsAuditGM == 1) {
+
+            if (this.IsAuditGM == 1 || this.IsAuditGM == 3) {
                 this.$message.error('已通过审核,不可修改!');
             } else {
                 if (!this.diId) {
@@ -819,8 +820,9 @@ export default {
         },
         PriceChange() {
             var countCost = 0;
+            var excludeList = [1452];
             this.ContentList.forEach(function (item) {
-                if (item.price) {
+                if (item.price && excludeList.indexOf(item.sId) == -1) {
                     countCost += Number(item.price) * Number(item.count)
                 }
             })