ソースを参照

完善客户收款和部分逻辑

yuanrf 1 年間 前
コミット
d836893f20
共有1 個のファイルを変更した16 個の追加4 個の削除を含む
  1. 16 4
      src/components/Finance/Cost.vue

+ 16 - 4
src/components/Finance/Cost.vue

@@ -332,8 +332,11 @@
                                                         <span>{{ AGroupCostParameter[itemsheetone.prop] }}</span>
                                                     </div>
                                                     <div v-else>
-                                                        <el-input v-model="AGroupCostParameter[itemsheetone.prop]"
-                                                            show-word-limit />
+                                                        <!-- <el-input v-model="AGroupCostParameter[itemsheetone.prop]"
+                                                            show-word-limit /> -->
+                                                        <el-input-number v-model="AGroupCostParameter[itemsheetone.prop]"
+                                                            @change="handleChange" :min="0" size="small"
+                                                            :controls="false"></el-input-number>
                                                     </div>
                                                 </div>
                                                 <div v-else-if="itemsheetone.prop === 'ZCB'">
@@ -4061,7 +4064,8 @@ export default {
                 "attractionsTickets": "",
                 "miscellaneousFees": "",
                 "aTip": "",
-                "tzZCost": ""
+                "tzZCost": "",
+                "leftInfo": '',
             };
 
             var vehicleResult = this.GetDJLableBJ(this.vehicleLables);
@@ -4071,7 +4075,7 @@ export default {
             var AttractionsTicketsResult = this.GetDJLableBJ(this.AttractionsTickets);
             var DJMealResult = this.GetDJLableBJ(this.DJMeal);
             var ATipResult = this.GetDJLableBJ(this.ATipResult);
-
+            data.leftInfo = this.GetDomLeftValue();
             // vehicleLables: ['VF', 'T/G OF', 'T/G S', 'T/G TF', 'C/F OF'],
             // DJMeal: ['B', 'L', 'D'],
             // SubsidizedMeals: ['T/G M', 'C/F M'],
@@ -4245,6 +4249,8 @@ export default {
                     }
                 }
             }
+
+
         },
         dateChange(val, index) {
             const regex = /^[1-9]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/
@@ -4293,6 +4299,12 @@ export default {
             result.Bsum = BDjsum.toFixed(2);
 
             return result;
+        },
+        handleChange(currentValue, oldValue) {
+            console.log(currentValue, oldValue);
+            if (currentValue == undefined) {
+
+            }
         }
 
     },