|  |  | 
 |  |  |           <span>{{ parseTime(scope.row.arrivalDate, '{y}-{m}-{d}') }}</span> | 
 |  |  |         </template> | 
 |  |  |       </el-table-column> | 
 |  |  |       <el-table-column label="批次说明" align="center" prop="illustrate" /> | 
 |  |  |       <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 
 |  |  |       <el-table-column label="批次说明" align="center" prop="illustrate" show-overflow-tooltip /> | 
 |  |  |       <el-table-column label="操作" fixed="right" width="120" align="center" class-name="small-padding fixed-width"> | 
 |  |  |         <template slot-scope="scope"> | 
 |  |  |           <el-button | 
 |  |  |             size="mini" | 
 |  |  | 
 |  |  |             size="mini" | 
 |  |  |             type="text" | 
 |  |  |             icon="el-icon-delete" | 
 |  |  |             class="del-btn" | 
 |  |  |             @click="handleDelete(scope.row)" | 
 |  |  |             v-hasPermi="['oa:batch:remove']" | 
 |  |  |           >删除</el-button> | 
 |  |  | 
 |  |  |     /> | 
 |  |  |  | 
 |  |  |     <!-- 添加或修改生产批次对话框 --> | 
 |  |  |     <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> | 
 |  |  |     <Dialog :title="title" :visible.sync="open" width="500px" append-to-body> | 
 |  |  |       <el-form ref="form" :model="form" :rules="rules" label-width="80px"> | 
 |  |  |         <el-form-item label="生产批次" prop="batch"> | 
 |  |  |           <el-input v-model="form.batch" placeholder="请输入生产批次" /> | 
 |  |  | 
 |  |  |         <el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button> | 
 |  |  |         <el-button @click="cancel">取 消</el-button> | 
 |  |  |       </div> | 
 |  |  |     </el-dialog> | 
 |  |  |     </Dialog> | 
 |  |  |   </div> | 
 |  |  | </template> | 
 |  |  |  | 
 |  |  | 
 |  |  |     /** 删除按钮操作 */ | 
 |  |  |     handleDelete(row) { | 
 |  |  |       const ids = row.id || this.ids; | 
 |  |  |       this.$modal.confirm('是否确认删除生产批次编号为"' + ids + '"的数据项?').then(() => { | 
 |  |  |       this.$modal.confirm(`是否确认删除生产批次为"${row.batch}"的生产批次?`).then(() => { | 
 |  |  |         this.loading = true; | 
 |  |  |         return delBatch(ids); | 
 |  |  |       }).then(() => { |