Browse Source

费用修改查询功能修改

bug 4 năm trước cách đây
mục cha
commit
0f449e5e68
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 2 2
      src/main.js
  2. 2 2
      src/views/track/costModification/index.vue

+ 2 - 2
src/main.js

@@ -194,7 +194,7 @@ Vue.directive("input-limit", {
               e.target.dispatchEvent(new Event("input"))
             }
           }
-          if (binding.value == 4) {
+          if (binding.value == 2) {
             if (wins_0.test(e.target.value.toString().replace(/\d+\.(\d*)/, '$1'))) {
               remainder = true
             }
@@ -222,7 +222,7 @@ Vue.directive("input-limit", {
               e.target.dispatchEvent(new Event("input"))
             }
           }
-          if (binding.value == 2) {
+          if (binding.value == 4) {
             if (wins_0.test(e.target.value.toString().replace(/\d+\.(\d*)/, '$1'))) {
               remainder = true
             }

+ 2 - 2
src/views/track/costModification/index.vue

@@ -1197,9 +1197,9 @@ export default {
     /** 修改按钮操作 */
     handleUpdate(row) {
       this.reset();
-      const data = { id: row.id, billStatus: 1060 };
+      const data = { id: row.srcMId, billStatus: 1060 };
       selectDriverFtmsorderbillscars(data).then((response) => {
-        selectCorpList(row.id).then((response) => {
+        selectCorpList(row.srcMId).then((response) => {
           this.allfMblnoOptions = response;
         });
         if (response.data.cars.billType) {