diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java
index 340ddd6..b6e6322 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java
@@ -732,10 +732,10 @@ public class QuotController extends BaseController
@PostMapping("/commitOAQuot")
public AjaxResult commitOAQuot(@RequestBody Quot quot)
{
- //金思维协助中不允许提交OA
+ //金思维协助状态不是已完成不允许提交OA
String quot_jsw_approval_status = quot.getQuotJswApprovalStatus();
- if("1".equals(quot_jsw_approval_status)){
- return error("金思维协助还未完成");
+ if(!"2".equals(quot_jsw_approval_status)){
+ return error("金思维未协助完成,不能提交OA");
}
// 报价单提交OA,插入中间表 sys_oa_quot sys_oa_quot_material
diff --git a/ruoyi-ui/src/views/quot/quot/index.vue b/ruoyi-ui/src/views/quot/quot/index.vue
index b777a89..f8e96b1 100644
--- a/ruoyi-ui/src/views/quot/quot/index.vue
+++ b/ruoyi-ui/src/views/quot/quot/index.vue
@@ -987,7 +987,7 @@
提交金思维
- 提交OA
+ 提交OA
提交反馈