浏览代码

fix:调整添加完后的清空

ly 11 月之前
父节点
当前提交
61373c6232
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/business/production/onWorkDetail/onWorkDetailDialog.vue

+ 2 - 1
src/views/business/production/onWorkDetail/onWorkDetailDialog.vue

@@ -213,7 +213,8 @@ const onSubmit = () =>{
   fullscreenLoading.value = true;
   sumbitForm.workOrderId = workOrderId;
   addDetail(sumbitForm).then((response) => {
-    console.log(response);
+    sumbitForm.recordDetail = null;
+    sumbitForm.recordDate = null;
     restDetail();
     fullscreenLoading.value = false;
     getList.value();