lucw 7 месяцев назад
Родитель
Сommit
8621b41e43

+ 0 - 1
src/api/unacceptedProduct/index.js

@@ -60,7 +60,6 @@ export async function deleteUnacceptedProduct(data) {
   }
   return Promise.reject(new Error(res.data.message));
 }
-
 // 删除详情
 export async function deleteUnacceptedProductDetail(data) {
   const res = await request.delete('/qms/unqualifiedproductsdetail/delete', {

+ 9 - 8
src/views/inspectionWork/index.vue

@@ -413,15 +413,16 @@
           {
             value: 1,
             label: '已报工'
-          },
-          {
-            value: 2,
-            label: '已关闭'
-          },
-          {
-            value: 3,
-            label: '待取样'
           }
+          // ,
+          // {
+          //   value: 2,
+          //   label: '已关闭'
+          // },
+          // {
+          //   value: 3,
+          //   label: '待取样'
+          // }
         ],
         addOpen: false,
         transferVisible: false,

+ 6 - 6
src/views/unqualifiedProduct/unqualifiedList/components/create.vue

@@ -138,7 +138,7 @@
         <el-table-column label="工序" align="center" prop="produceTaskName">
         </el-table-column>
 
-        <el-table-column
+        <!-- <el-table-column
           label="不良类型"
           align="center"
           prop="badTypeId"
@@ -253,7 +253,7 @@
               </el-select>
             </el-form-item>
           </template>
-        </el-table-column>
+        </el-table-column> -->
 
         <el-table-column
           label="原因"
@@ -366,7 +366,7 @@
           measureUnit: '',
           weight: '',
           weightUnit: '',
-          qualityType:""
+          qualityType: ''
         },
         // 表单验证规则
         rules: {
@@ -392,9 +392,9 @@
       }
     },
     created() {
-      this.getBadTypeList();
-      this.getBadNameList();
-      this.getReasonTypeList();
+      // this.getBadTypeList();
+      // this.getBadNameList();
+      // this.getReasonTypeList();
     },
     methods: {
       open(row, type) {

+ 18 - 18
src/views/unqualifiedProduct/unqualifiedList/detailList.vue

@@ -529,24 +529,24 @@ export default {
           label: '工序',
           align: 'center'
         },
-        {
-          prop: 'badTypeName',
-          label: '不良类型',
-          width: '180',
-          align: 'center'
-        },
-        {
-          prop: 'badNameName',
-          label: '不良名称',
-          width: '180',
-          align: 'center'
-        },
-        {
-          prop: 'reasonTypeName',
-          label: '原因类型',
-          width: '180',
-          align: 'center'
-        },
+        // {
+        //   prop: 'badTypeName',
+        //   label: '不良类型',
+        //   width: '180',
+        //   align: 'center'
+        // },
+        // {
+        //   prop: 'badNameName',
+        //   label: '不良名称',
+        //   width: '180',
+        //   align: 'center'
+        // },
+        // {
+        //   prop: 'reasonTypeName',
+        //   label: '原因类型',
+        //   width: '180',
+        //   align: 'center'
+        // },
         {
           prop: 'unqualifiedReason',
           label: '原因',

+ 2 - 2
vue.config.js

@@ -38,8 +38,8 @@ module.exports = {
         // target: 'http://192.168.1.30:18086',
         // target: 'http://192.168.1.251:18186',
         // target: 'http://124.71.68.31:50001',
-        // target: 'http://192.168.1.251:18086',
-        target: 'http://192.168.1.3:18086', // 付丽
+        target: 'http://192.168.1.251:18086',
+        // target: 'http://192.168.1.3:18086', // 付丽
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''