소스 검색

添加质检模板验证接口及优化质检模式禁用逻辑

yusheng 6 달 전
부모
커밋
d43e95618b
3개의 변경된 파일924개의 추가작업 그리고 805개의 파일을 삭제
  1. 10 1
      src/api/inspectionPlan/index.js
  2. 1 1
      src/views/inspectionPlan/components/new-baseInfo.vue
  3. 913 803
      src/views/inspectionPlan/components/new-edit.vue

+ 10 - 1
src/api/inspectionPlan/index.js

@@ -211,4 +211,13 @@ export async function planDetails(id) {
     return res.data;
   }
   return Promise.reject(new Error(res.data.message));
-}
+}
+
+// 验证
+export async function checkTemplateById(id) {
+  const res = await request.get(`/qms/quality_plan/checkTemplateById/${id}`);
+  if (res.data.code == 0) {
+    return res.data;
+  }
+
+}

+ 1 - 1
src/views/inspectionPlan/components/new-baseInfo.vue

@@ -44,7 +44,7 @@
             v-model="form.qualityMode"
             clearable
             @change="changeQualityMode"
-            :disabled="btnType == 'detail' || btnType == 'issued'"
+            :disabled="btnType == 'detail'"
           ></DictSelection>
         </el-form-item>
       </el-col>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 913 - 803
src/views/inspectionPlan/components/new-edit.vue


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.