Browse Source

2024-05-14 修复重复提示bug

master_hella_20240701
zhousq 6 months ago
parent
commit
d17a74ae52
  1. 7
      src/views/mes/workScheduling/components/report.vue

7
src/views/mes/workScheduling/components/report.vue

@ -115,14 +115,11 @@ const handleCount = (val) => {
} }
// //
const saveReport = async() => { const saveReport = async() => {
if (count.value > 0) {
message.alert('报工数量不能超出计划数量!')
return
}
let listSub=[{}] let listSub=[{}]
personSelected.value.forEach((item) => { personSelected.value.forEach((item) => {
let data={ let data={
reportCount: formRef.value.reportCounte, reportCount: formRef.value.reportCount,
workTerm: formRef.value.workTerm, workTerm: formRef.value.workTerm,
reportPerson: formRef.value.item, reportPerson: formRef.value.item,
qualified: formRef.value.qualified, qualified: formRef.value.qualified,

Loading…
Cancel
Save