@@ -212,6 +212,15 @@ export default {
});
return
}
+
+ if(this.formData.isStay && !this.formData.weight){
+ this.$message({
+ message: '留养牛只需要录入重量',
+ type: 'warning'
+ });
+ return
+ }
if (this.formData.isStay && !this.formData.cowID) {
this.$message({
message: '请输入牛号',