소스 검색

添加校验

wangchao 3 년 전
부모
커밋
7acc336b72
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      pages/erpbusiness/acquisitionInformation.vue

+ 4 - 0
pages/erpbusiness/acquisitionInformation.vue

@@ -209,6 +209,10 @@
 				} else {
 					_flag = 0
 				}
+				if(!this.textareaValue){
+					this.$api.msg('收购信息不能为空!')
+					return
+				}
 				let _obj = {
 					warehouseName: this.warehouseName,
 					acquisitionInformation: this.textareaValue,