lex-xin 4 年 前
コミット
8963a5f14f

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/index.html


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/css/chunk-09e5adf8.55dc624e.css


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/app.1971b245.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/chunk-09e5adf8.f905b7f1.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/chunk-d7532594.64acf8e4.js


+ 12 - 15
src/views/chargeManager/two.vue

@@ -254,19 +254,17 @@ export default {
             if (item.paramName === "amount_channel") {
               paranValue = item.paranValue ? JSON.parse(item.paranValue) : [];
               this.selectId = item.id;
-              this.result.domains = []
-              paranValue.forEach((item, index) => {
-                // let disabled = true
-                // if(paranValue.length - 1 === index) {
-                //   disabled = false
-                // }
-                this.result.domains.push({
-                  organId: item.organId,
-                  routeOrganId: item.routeOrganId,
-                  amount: item.amount,
-                  type: item.type
+              if(paranValue.length > 0) {
+                this.result.domains = []
+                paranValue.forEach((item, index) => {
+                  this.result.domains.push({
+                    organId: item.organId,
+                    routeOrganId: item.routeOrganId,
+                    amount: item.amount,
+                    type: item.type
+                  })
                 })
-              })
+              }
             }
             if (item.paramName === "sporadic_channel") {
               this.formSporadic = item.paranValue
@@ -305,13 +303,12 @@ export default {
       this.$refs["ruleFormValid"].validate(valid => {
         if(valid) {
           if (!checked) {
-            lastDate.disabled = true;
+            // lastDate.disabled = true;
             domains.push({
               organId: null,
               routeOrganId: null,
               amount: null,
-              type: null,
-              disabled: false
+              type: null
             });
           }
         } else {

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません