Browse Source

添加农事 修改接口

master
邓宏 1 year ago
parent
commit
d956aeb1c4
  1. 6
      pages/massif/add_farming.vue

6
pages/massif/add_farming.vue

@ -360,9 +360,9 @@ export default {
}else if(/^施肥$|^用药$/.test(this.formData.farmingType) && this.formData.inputList.length<=0){
uni.showToast({title:"请添加农资!",icon:"none"})
return false
}else if(/^用药$/.test(this.formData.farmingType) && !this.formData.farmPests){
uni.showToast({title:"请添加病虫害记录!",icon:"none"})
return false
// }else if(/^$/.test(this.formData.farmingType) && !this.formData.farmPests){
// uni.showToast({title:"",icon:"none"})
// return false
}
return true
},

Loading…
Cancel
Save