|
@@ -509,6 +509,15 @@ const validatePesticideFertilizerQuotes = async () => {
|
|
|
const handleSubmitPlan = async () => {
|
|
const handleSubmitPlan = async () => {
|
|
|
// 调用验证方法,传入所有ids
|
|
// 调用验证方法,传入所有ids
|
|
|
if (farmWorkIds.value.length > 0) {
|
|
if (farmWorkIds.value.length > 0) {
|
|
|
|
|
+ // 自动化完善农事处方中的药肥数据 用于本地测试代码 不要删除
|
|
|
|
|
+ // const res = await VE_API.monitor.completeMedicationData({
|
|
|
|
|
+ // schemeId: active.value,
|
|
|
|
|
+ // containerId: specieValue.value,
|
|
|
|
|
+ // });
|
|
|
|
|
+ // if (res.code === 0) {
|
|
|
|
|
+ // ElMessage.success("自动化完善成功");
|
|
|
|
|
+ // await getFarmWorkPlanForPhenology()
|
|
|
|
|
+ // }
|
|
|
const { allTrue } = await validatePesticideFertilizerQuotes();
|
|
const { allTrue } = await validatePesticideFertilizerQuotes();
|
|
|
if (allTrue) {
|
|
if (allTrue) {
|
|
|
VE_API.monitor
|
|
VE_API.monitor
|