gjy пре 2 година
родитељ
комит
9a1a7ee61c
2 измењених фајлова са 14 додато и 0 уклоњено
  1. 7 0
      src/views/profitable/cashout.vue
  2. 7 0
      src/views/profitable/expensemanagentedit.vue

+ 7 - 0
src/views/profitable/cashout.vue

@@ -699,6 +699,13 @@
               })
               return
             }
+            if(!this.feeDetailsDistributions[i].orderId){
+              this.$message({
+                message: '货源不能为空!',
+                type: 'warning',
+              })
+              return
+            }
             if((String(this.feeDetailsDistributions[i].distributionMoney).indexOf('.') != -1 &&
               String(this.feeDetailsDistributions[i].distributionMoney).length -
               (String(this.feeDetailsDistributions[i].distributionMoney).indexOf('.') + 1) >

+ 7 - 0
src/views/profitable/expensemanagentedit.vue

@@ -411,6 +411,13 @@ weight: 4000}]],
               })
               return
             }
+            if(!this.feeDetailsDistributions[i].orderId){
+              this.$message({
+                message: '货源不能为空!',
+                type: 'warning',
+              })
+              return
+            }
             if((String(this.feeDetailsDistributions[i].distributionMoney).indexOf('.') != -1 &&
               String(this.feeDetailsDistributions[i].distributionMoney).length -
               (String(this.feeDetailsDistributions[i].distributionMoney).indexOf('.') + 1) >