Browse Source

fix: [SBBJ-1124]设备不存在提示

master
zengqinyuan 2 weeks ago
parent
commit
0e6ddec6fa
  1. 4
      src/pages/spotCheckOrder/addForm.vue

4
src/pages/spotCheckOrder/addForm.vue

@ -222,7 +222,7 @@ function submit() {
return
}
if (!form.value.deviceName) {
proxy.$modal.showToast('设备不存在请重新选择')
proxy.$modal.showToast(`请输入${type.value == 'DEVICE' ? '设备' : '模具'}不存在请重新选择`)
return
}
if (!form.value.deviceNumber) {
@ -234,7 +234,7 @@ function submit() {
return
}
if (subList.value.length == 0) {
proxy.$modal.showToast('该设备无检修项目')
proxy.$modal.showToast(`${type.value == 'DEVICE' ? '设备' : '模具'}无检修项目`)
return
}

Loading…
Cancel
Save