ysy há 1 ano atrás
pai
commit
78cf0d7dec

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

@@ -101,34 +101,14 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="序号" width="55">
+      <el-table-column label="序号" width="85">
         <template slot-scope="{ row, $index }">
           {{ $index + 1 }}
+          <div class="tag_box" v-if="row.isCache">缓</div>
         </template>
       </el-table-column>
 
-      <el-table-column label="次数" type="index" width="80">
-        <template slot-scope="{ row, $index }">
-          <div
-            class="tag_box"
-            v-if="
-              Object.prototype.hasOwnProperty.call(row, 'extInfo') &&
-              Object.prototype.hasOwnProperty.call(
-                row.extInfo,
-                'productionTimes'
-              ) &&
-              Object.prototype.hasOwnProperty.call(
-                row.extInfo.productionTimes,
-                item.currentTaskDiagram.taskId
-              )
-            "
-          >
-            {{ row.extInfo.productionTimes[item.currentTaskDiagram.taskId] }}
-          </div>
 
-          <div class="tag_box" v-if="row.isCache">缓</div>
-        </template>
-      </el-table-column>
 
       <el-table-column label="编码" prop="code" minWidth="110">
         <template slot-scope="{ row, $index }">