ysy 1 an în urmă
părinte
comite
c4593043e3

+ 11 - 2
src/views/produce/components/jobBooking/components/jobBom.vue

@@ -26,8 +26,9 @@
             <div class="content">{{ item.formingWeight }}{{ item.weightUnit }}</div>
           </div>
         </div>
+       
 
-        <div class="item rx-sc">
+        <div class="item rx-sc" v-if="clientEnvironmentId != 3 && item.singleReport != 0">
           <div class="rx ww40">
             <div class="lable lable100 rx-cc">合格品数量</div>
             <div class="content content_num rx-sc">
@@ -47,7 +48,7 @@
           </div>
         </div>
 
-        <div class="item rx-sc" v-for="(not, notIndex) in notFormedList" :key="notIndex">
+        <div class="item rx-sc" v-for="(not, notIndex) in notFormedList" :key="notIndex" v-if="clientEnvironmentId != 3 && item.singleReport != 0">
           <div class="rx ww40">
             <div class="lable lable100 rx-cc">不合格数量</div>
             <div class="content content_num rx-sc">
@@ -128,6 +129,14 @@ export default {
     }
   },
 
+  computed: {
+
+    clientEnvironmentId() {
+      return this.$store.state.user.info.clientEnvironmentId;
+    }
+  },
+
+
   data() {
     return {
       notFormedList: [],

+ 2 - 1
src/views/produce/components/jobBooking/components/semiProductJobBomPL.vue

@@ -27,8 +27,9 @@
                 size="mini"
                 @click="handAddListPL($index)"
                 style="margin-bottom: 4px"
-                >添加</el-button
+                >分批</el-button
               >
+    
 
               <div class="content_table2">
                 <div class="head row rx-sc">

+ 1 - 0
src/views/produce/components/jobBooking/index.vue

@@ -232,6 +232,7 @@ export default {
  
 
             if (this.clientEnvironmentId == 3 && obj.singleReport == 0) {
+   
         
               obj.semiProductList.map(a => {
                 a.extInfo.batchReportInfo = [{ allFeedQuantity: '', allReportWeight: '', taskId: '', taskName: '' }]