| | |
| | | <el-button v-if="tabIndex === 3 || tabIndex === 4" :icon="!more ? 'el-icon-arrow-down' : 'el-icon-arrow-up'" |
| | | style="color: #3A7BFA;" type="text" @click="more = !more">{{ !more ? '更多' : '收起' }}</el-button> |
| | | <el-button size="mini" type="primary" @click="refreshTable()">查 询</el-button> |
| | | <el-button size="mini" @click="refresh()" >重 置</el-button> |
| | | <el-button size="mini" @click="refresh()">重 置</el-button> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-row> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <!-- 确认报检 --> |
| | | <el-dialog :close-on-click-modal="false" :title="declareType === 'add' ? '新增报检信息' : '原材料报检'" |
| | | <el-dialog :close-on-click-modal="false" :title="declareType === 'add' ? '新增报检信息' : '原辅料报检'" |
| | | :visible.sync="declareDialogVisible" width="800px" @close="resetFormData"> |
| | | <el-form ref="declareObj" :inline="true" :model="declareObj" :rules="declareObjRules" label-width="130px" |
| | | label-position="right"> |
| | |
| | | </el-dialog> |
| | | <!-- 撤销报检 --> |
| | | <el-dialog :visible.sync="declareDialogVisible1" title="报检撤销" width="30%"> |
| | | <p style="font-size:16px;color:#333333">批号<span |
| | | style="color:#34BD66">{{ insOrderRow.updateBatchNo }}</span>的信息是否<span style="color: #FF4902">撤销报检</span></p> |
| | | <p style="font-size:16px;color:#333333">批号<span style="color:#34BD66">{{ insOrderRow.updateBatchNo |
| | | }}</span>的信息是否<span style="color: #FF4902">撤销报检</span></p> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-row> |
| | | <el-button @click="declareDialogVisible1 = false">取 消</el-button> |
| | |
| | | // 已完成部查询 |
| | | getIfsByFinishList() { |
| | | this.tableLoading1 = true |
| | | if(null != this.componentData.date){ |
| | | if (null != this.componentData.date) { |
| | | this.componentData.beginDeclareDate = this.componentData.date[0] |
| | | this.componentData.endDeclareDate = this.componentData.date[1] |
| | | } else { |
| | |
| | | // 全部查询 |
| | | getIfsByAllList() { |
| | | this.tableLoading1 = true |
| | | if(null != this.componentData.date){ |
| | | if (null != this.componentData.date) { |
| | | this.componentData.beginDeclareDate = this.componentData.date[0] |
| | | this.componentData.endDeclareDate = this.componentData.date[1] |
| | | } else { |
| | |
| | | }, |
| | | // 提前入库 |
| | | advancedGodown(row) { |
| | | this.$confirm('当前原材料是否提前入库?', '提示', { |
| | | this.$confirm('当前原辅料是否提前入库?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | |
| | | }).then(res => { |
| | | this.outLoading = false |
| | | const blob = new Blob([res], { type: 'application/octet-stream' }); |
| | | this.$download.saveAs(blob, "原材料检测信息导出.xlsx"); |
| | | this.$download.saveAs(blob, "原辅料检测信息导出.xlsx"); |
| | | }) |
| | | }, |
| | | clear() { |