Procházet zdrojové kódy

新增碳谷不良品处置原因

695593266@qq.com před 9 měsíci
rodič
revize
e260a44a27

+ 1 - 1
src/views/produce/components/jobBooking/components/batchSemiProductJobBom.vue

@@ -7,7 +7,7 @@
           class="rx-bc"
           style="margin-left: 20px"
           v-if="
-            item.currentTaskDiagram.type == 4 && this.printStyle == 'juRen1'
+            item.currentTaskDiagram.type == 4 && this.printStyle != 'notExist'
           "
           ><el-button type="text" size="mini" @click="pritJuRen()"
             >打印条码</el-button

+ 21 - 1
src/views/produce/components/jobBooking/components/oneJobQualityBomPL.vue

@@ -314,9 +314,29 @@
               </el-select>
 
               <span style="display: inline-block; margin-left: 26px">
-                处置:
+                处置/原因
               </span>
+              <div
+                v-if="
+                  row.extInfo.appearance != 1 &&
+                  row.extInfo.notType &&
+                  row.extInfo.notType != 5 &&
+                  row.extInfo.notType != 8
+                "
+              >
+                <span v-if="isDetails">{{ row.extInfo.notReason }}</span>
+                <el-input
+                  v-else
+                  size="mini"
+                  class="content_num"
+                  v-model="row.extInfo.notReason"
+                  placeholder="原因"
+                />
+              </div>
               <el-select
+                v-if="
+                  ![1, 2, 3, 4, 6, 9, 7].includes(Number(row.extInfo.notType))
+                "
                 size="mini"
                 class="content_num"
                 filterable