فهرست منبع

修改不合格品不能处置

695593266@qq.com 9 ماه پیش
والد
کامیت
1466e3b94f
1فایلهای تغییر یافته به همراه63 افزوده شده و 3 حذف شده
  1. 63 3
      src/views/produce/components/jobBooking/components/oneJobQualityBomPL.vue

+ 63 - 3
src/views/produce/components/jobBooking/components/oneJobQualityBomPL.vue

@@ -269,7 +269,7 @@
                 filterable
                 filterable
                 v-model="row.extInfo.appearance"
                 v-model="row.extInfo.appearance"
                 placeholder="请选择"
                 placeholder="请选择"
-                style="width: 240px"
+                style="width: 160px"
                 :disabled="isDetails"
                 :disabled="isDetails"
                 @change="qualityChange"
                 @change="qualityChange"
               >
               >
@@ -287,10 +287,32 @@
               </span>
               </span>
               <el-input
               <el-input
                 v-model="row.extInfo.reportWeight"
                 v-model="row.extInfo.reportWeight"
-                style="width: 240px"
+                style="width: 160px"
                 @input="qualityChange"
                 @input="qualityChange"
               ></el-input>
               ></el-input>
 
 
+              <span style="display: inline-block; margin-left: 26px">
+                不合格处置:
+              </span>
+              <el-select
+                size="mini"
+                class="content_num"
+                filterable
+                v-model="row.extInfo.notType"
+                placeholder="请选择"
+                style="width: 160px"
+                :disabled="isDetails || row.extInfo.appearance != 2"
+                @change="qualityChange"
+              >
+                <el-option
+                  v-for="item in notTypeList"
+                  :label="item.name"
+                  :value="item.code"
+                  :key="item.code"
+                >
+                </el-option>
+              </el-select>
+
               <span style="display: inline-block; margin-left: 26px">
               <span style="display: inline-block; margin-left: 26px">
                 处置:
                 处置:
               </span>
               </span>
@@ -300,7 +322,7 @@
                 filterable
                 filterable
                 v-model="row.extInfo.taskId"
                 v-model="row.extInfo.taskId"
                 placeholder="请选择"
                 placeholder="请选择"
-                style="width: 240px"
+                style="width: 160px"
                 @change="(e) => selectName2(e, $index)"
                 @change="(e) => selectName2(e, $index)"
                 :disabled="isDetails"
                 :disabled="isDetails"
               >
               >
@@ -492,6 +514,44 @@
             name: '让步接收',
             name: '让步接收',
             value: 3
             value: 3
           }
           }
+        ],
+        notTypeList: [
+          {
+            code: 1,
+            name: '返工'
+          },
+          {
+            code: 2,
+            name: '返修'
+          },
+          {
+            code: 3,
+            name: '报废'
+          },
+          {
+            code: 4,
+            name: '降级使用'
+          },
+          {
+            code: 5,
+            name: '让步接收'
+          },
+          {
+            code: 6,
+            name: '留样'
+          },
+          {
+            code: 7,
+            name: '消耗'
+          },
+          {
+            code: 8,
+            name: '回用'
+          },
+          {
+            code: 9,
+            name: '转试销'
+          }
         ]
         ]
       };
       };
     },
     },