Ver Fonte

提交问题修改

wenmenghao há 10 meses atrás
pai
commit
509fc606c5

+ 4 - 0
src/views/order/components/bigOrder.vue

@@ -2295,6 +2295,10 @@ export default {
                 this.$Notice.warning({ title: '请输入回款计划工作日' })
                 return
             }
+            if(this.member.payMoney + '' === ''){
+              this.$Notice.warning({ title: '请输入合同金额' })
+              return
+            }
             if(this.member.payMoney + '' === '0' && !this.member.zeroOrderType){
               this.$Notice.warning({ title: '请选择0元订单类型' })
               return

+ 4 - 0
src/views/order/components/bigOrderEdit.vue

@@ -2536,6 +2536,10 @@ export default {
         this.$Notice.warning({ title: '请输入回款计划工作日' })
         return
       }
+      if(this.member.payMoney + '' === ''){
+        this.$Notice.warning({ title: '请输入合同金额' })
+        return
+      }
       if(this.member.payMoney + '' === '0' && !this.member.zeroOrderType){
         this.$Notice.warning({ title: '请选择0元订单类型' })
         return

+ 10 - 6
src/views/order/components/otherOrder.vue

@@ -794,8 +794,8 @@ export default {
               this.others.vipType = '0'
               this.payDis = false
               this.gouDis = false
-              this.xfDis = true
-              this.sjDis = true
+              this.xfDis = false
+              this.sjDis = false
               this.payChange()
 
             }
@@ -1068,6 +1068,14 @@ export default {
           return
         }
       }
+      if(this.others.contractMoney + '' === ''){
+        this.$Notice.warning({ title: '请输入合同金额' })
+        return
+      }
+      if(this.others.contractMoney + '' === '0' && !this.others.zeroOrderType){
+        this.$Notice.warning({ title: '请选择0元订单类型' })
+        return
+      }
       if (!this.others.contractStatus) {
         this.$Notice.warning({ title: '请选择协议状态' })
         return
@@ -1084,10 +1092,6 @@ export default {
         this.$Notice.warning({ title: '请填写完整回款计划' })
         return
       }
-      if(this.others.contractMoney + '' === '0' && !this.others.zeroOrderType){
-        this.$Notice.warning({ title: '请选择0元订单类型' })
-        return
-      }
 
       // if (this.others.productType == '3') {
       //   if (!this.others.personNum) {

+ 10 - 6
src/views/order/components/otherOrderEdit.vue

@@ -887,8 +887,8 @@ export default {
                 // this.payDis = true
                 this.payDis = false
                 this.gouDis = false
-                this.xfDis = true
-                this.sjDis = true
+                this.xfDis = false
+                this.sjDis = false
                 this.payChange()
 
               }
@@ -1158,6 +1158,14 @@ export default {
           return
         }
       }
+      if(this.others.contractMoney + '' === ''){
+        this.$Notice.warning({ title: '请输入合同金额' })
+        return
+      }
+      if(this.others.contractMoney + '' === '0' && !this.others.zeroOrderType){
+        this.$Notice.warning({ title: '请选择0元订单类型' })
+        return
+      }
       if (!this.others.contractStatus) {
         this.$Notice.warning({title: '请选择协议状态'})
         return
@@ -1170,10 +1178,6 @@ export default {
         this.$Notice.warning({ title: '请填写完整回款计划' })
         return
       }
-      if(this.others.contractMoney + '' === '0' && !this.others.zeroOrderType){
-        this.$Notice.warning({ title: '请选择0元订单类型' })
-        return
-      }
       // if (this.others.productType == '3') {
       //   if (!this.others.personNum) {
       //     this.$Notice.warning({title: '购买人数不能为空'})