소스 검색

修改bug

Qukatie 1 년 전
부모
커밋
d5007c0494
1개의 변경된 파일10개의 추가작업 그리고 10개의 파일을 삭제
  1. 10 10
      src/views/tradeAgency/tradeAgency/detailsPage.vue

+ 10 - 10
src/views/tradeAgency/tradeAgency/detailsPage.vue

@@ -1223,11 +1223,11 @@ export default {
 
                 if (!this.form.domesticConsigneeCname) return this.$message.error("请选择国内收货人");
 
-                for (let index in this.selectionList) {
-                    if (this.selectionList[index].whetherBalancePayment == 1) {
-                        return this.$message.error("第" + Number(this.selectionList[index].$index + 1) + "行已生成尾款");
-                    }
-                }
+                // for (let index in this.selectionList) {
+                //     if (this.selectionList[index].whetherBalancePayment == 1) {
+                //         return this.$message.error("第" + Number(this.selectionList[index].$index + 1) + "行已生成尾款");
+                //     }
+                // }
                 let obj = {}
                 obj = {
                     ...this.form,
@@ -1281,11 +1281,11 @@ export default {
                 //     this.$message.success("生成尾款应付成功");
                 //     this.getDetails(this.form.id)
                 // })
-                for (let index in this.selectionList) {
-                    if (this.selectionList[index].applyForPaymentBalance == 1) {
-                        return this.$message.error("第" + Number(this.selectionList[index].$index + 1) + "行已生成尾款");
-                    }
-                }
+                // for (let index in this.selectionList) {
+                //     if (this.selectionList[index].applyForPaymentBalance == 1) {
+                //         return this.$message.error("第" + Number(this.selectionList[index].$index + 1) + "行已生成尾款");
+                //     }
+                // }
                 let obj = {}
                 obj = {
                     ...this.form,