diff --git a/js/aq_demand_plan/child/send_out_edit_form.js b/js/aq_demand_plan/child/send_out_edit_form.js index c5a8de7..8c28ccc 100644 --- a/js/aq_demand_plan/child/send_out_edit_form.js +++ b/js/aq_demand_plan/child/send_out_edit_form.js @@ -312,7 +312,7 @@ function beforeSubmitApply() { lkNum += (l.lkNum ? parseInt(l.lkNum) : 0); let thisCgNum= (l.cgNum ? parseInt(l.cgNum) : 0); if (!l.supId && thisCgNum > 0) { - layer.msg('序号为' + (i + 1) + '的数据,未选择供应商', { icon: 7 }); + layer.msg('序号为' + (i + 1) + '的数据,采购量大于0,请选择供应商', { icon: 7 }); hasError = true; break; } diff --git a/js/aq_demand_plan/child/send_out_form.js b/js/aq_demand_plan/child/send_out_form.js index c63e9bc..0cd7a00 100644 --- a/js/aq_demand_plan/child/send_out_form.js +++ b/js/aq_demand_plan/child/send_out_form.js @@ -218,7 +218,7 @@ function beforeSubmitApply() { // 校验供应商是否选择(采购量大于0时必填) if (!l.supId && thisCgNum > 0) { - layer.msg('序号为' + (i + 1) + '的数据,未选择供应商', { icon: 7 }); + layer.msg('序号为' + (i + 1) + '的数据,采购量大于0,请选择供应商', { icon: 7 }); hasError = true; // 标记错误状态 break; // 终止内层循环 } diff --git a/js/aq_demand_plan/child/send_out_form_device.js b/js/aq_demand_plan/child/send_out_form_device.js index 28c1b7c..2ef280f 100644 --- a/js/aq_demand_plan/child/send_out_form_device.js +++ b/js/aq_demand_plan/child/send_out_form_device.js @@ -154,7 +154,7 @@ function beforeSubmitApply() { lkNum += (l.lkNum ? parseInt(l.lkNum) : 0); if (!l.supId && cgNum > 0) { // 采购的才需要选择供应商 - return layer.msg('序号为' + (i + 1) + '的数据,未选择供应商', { icon: 7 }); + return layer.msg('序号为' + (i + 1) + '的数据,采购量大于0,请选择供应商', { icon: 7 }); } if (!l.ccDay) { return layer.msg('序号为' + (i + 1) + '的数据,未选择出厂日期', { icon: 7 }); diff --git a/js/aq_demand_plan/child/send_out_unplanned_form.js b/js/aq_demand_plan/child/send_out_unplanned_form.js index b772a27..dec5bda 100644 --- a/js/aq_demand_plan/child/send_out_unplanned_form.js +++ b/js/aq_demand_plan/child/send_out_unplanned_form.js @@ -244,7 +244,7 @@ function beforeSubmitApply() { if (cgNum > 0 || lkNum > 0) { // 如果没有选择供应商且 cgNum 大于 0,显示警告 if (!l.supId && cgNum > 0) { - return layer.msg('序号为' + (i + 1) + '的数据,未选择供应商', { icon: 7 }); + return layer.msg('序号为' + (i + 1) + '的数据,采购量大于0,请选择供应商', { icon: 7 }); } } else { // 如果 cgNum 和 lkNum 都不大于 0,弹出提示