fix: 修复Bug#429检查方法字段不应自动预填
移除examinationApplication.vue中自动填充inspectionMethod的逻辑 用户应手动选择检查方法,而不是由系统自动赋值
This commit is contained in:
@@ -832,11 +832,6 @@ function handleSave() {
|
||||
const firstCheckType = selectedItems.value[0]?.checkType || 'unknown';
|
||||
form.examTypeCode = firstCheckType;
|
||||
|
||||
// 如果有选中的检查方法,更新表单中的检查方法字段(取第一个选中项目的检查方法)
|
||||
const firstItemWithMethod = selectedItems.value.find(item => item.selectedMethod);
|
||||
if (firstItemWithMethod?.selectedMethod) {
|
||||
form.inspectionMethod = firstItemWithMethod.selectedMethod.name;
|
||||
}
|
||||
|
||||
const payload = {
|
||||
...form,
|
||||
|
||||
Reference in New Issue
Block a user