| | |
| | | @click="addShiftProductOut()" |
| | | >交班产出 |
| | | </el-button> --> |
| | | <el-button class="batch-out-btn" type="primary" |
| | | <!-- <el-button class="batch-out-btn" type="primary" |
| | | :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="!editShow" |
| | | @click="addBatchProductOut()">汇报产出 |
| | | </el-button> |
| | | </el-button> --> |
| | | <!-- <div class="print-button-class"> |
| | | <el-button type="danger" class="print-btn" @click="batchPrint()" |
| | | >大标签打印 |
| | |
| | | @change="labelTabChange4" |
| | | ></el-checkbox> |
| | | </div> --> |
| | | <el-button class="change-shift-out-btn" type="primary" |
| | | <!-- <el-button class="change-shift-out-btn" type="primary" |
| | | :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="!editShow" @click="editList()">编辑 |
| | | </el-button> |
| | | </el-button> --> |
| | | <el-button class="batch-out-del-btn" type="primary" |
| | | :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="editShow" @click="cancelSaveList()">取消 |
| | | </el-button> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="零件名称" prop="partName" align="center" :show-overflow-tooltip="true"> |
| | | </el-table-column> |
| | | <el-table-column label="序列号" prop="outBatchNo" align="center" width="120" :show-overflow-tooltip="true"> |
| | | <el-table-column label="批次号" prop="outBatchNo" align="center" width="120" :show-overflow-tooltip="true"> |
| | | <template slot-scope="scope"> |
| | | <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" v-if="scope.row.isEdit" |
| | | v-model="scope.row.outBatchNo" placeholder="序列号"></el-input> |
| | | v-model="scope.row.outBatchNo" placeholder="批次号"></el-input> |
| | | <template v-if="!scope.row.isEdit">{{ |
| | | scope.row.outBatchNo |
| | | }}</template> |
| | |
| | | }}</template> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="WDR号" prop="wdr" align="center" width="100"> |
| | | <!-- <el-table-column label="WDR号" prop="wdr" align="center" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" v-if="scope.row.isEdit" |
| | | v-model="scope.row.wdr" placeholder="WDR号"></el-input> |
| | |
| | | scope.row.wdr |
| | | }}</template> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <!-- <el-table-column label="分段描述" prop="segmentDesc" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | |
| | | }}</template> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="IFS批次号" prop="ifsBatchNo" align="center" width="120"> |
| | | <!-- <template slot="header" slot-scope="scope"> |
| | | <!-- <el-table-column label="IFS批次号" prop="ifsBatchNo" align="center" width="120"> |
| | | <template slot="header" slot-scope="scope"> |
| | | <div style="line-height: 14px;">IFS批次号</div> |
| | | <div class="th" @click.stop> |
| | | <template> |
| | |
| | | <template v-if="!scope.row.isIfsBatchNoEdit">{{ |
| | | scope.row.ifsBatchNo |
| | | }}</template> |
| | | </template> --> |
| | | </el-table-column> |
| | | </template> |
| | | </el-table-column> --> |
| | | <el-table-column label="备注" prop="remark" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" v-if="scope.row.isEdit" |
| | |
| | | <shiftProductoutFormDialog :currshowlist.sync="showShiftProductForm" :productList="productList" |
| | | :parentInfo="parentInfo" :currentDutyRecord="currentDutyRecord" :personBoardList="personBoardList" |
| | | @refreshProductOutputList="refreshProductOutputList" /> |
| | | <workReportFeed v-if="searchFeed" ref="searchFeed" @refreshFeedsForDel="refreshFeedsForDel"></workReportFeed> |
| | | <workReportFeed v-if="searchFeed" ref="searchFeed" @refreshTable="getBatchReport(5)" @refreshFeedsForDel="refreshFeedsForDel"></workReportFeed> |
| | | |
| | | <productOutFormDialog :currshowlist.sync="showProductForm" :productList="productList" :parentInfo="parentInfo" |
| | | :currentDutyRecord="currentDutyRecord" :personBoardList="personBoardList" |
| | |
| | | <div> |
| | | <iframe id="frame" style="width:2480px;overflow:hidden;margin-top: 200px;" :src="jimusrc"></iframe> |
| | | </div> |
| | | <el-dialog title="产出合格库位" :visible.sync="dialogVisible" width="30%"> |
| | | <span>合格库位:</span> |
| | | <el-dialog title="产出放入线边仓库位" :visible.sync="dialogVisible" width="30%"> |
| | | <span>移入线边仓库位:</span> |
| | | <el-select v-model="locationIdValue" placeholder="请选择"> |
| | | <el-option v-for="item in options" :key="item.index" :label="`${item.locNo}+${item.locName}`" :value="item.id"> |
| | | </el-option> |
| | |
| | | }, |
| | | createLodopPrintIze(data) { |
| | | const currYearAndMonth = getYearAndMonth() |
| | | console.log(data) |
| | | const qr = { |
| | | part_no: data.partNo, |
| | | lot_batch_no: data.ifsBatchNo, |
| | |
| | | this.LODOP.PRINT() |
| | | }, |
| | | createLodopPrint(data) { |
| | | console.log(data) |
| | | const qr = { |
| | | part_no: data.partNo, |
| | | lot_batch_no: data.ifsBatchNo, |
| | |
| | | }, |
| | | saveList() { |
| | | const list = JSON.parse(JSON.stringify(this.productOutputList)) |
| | | console.log(`output->list`, list) |
| | | const data = [] |
| | | list.forEach((el) => { |
| | | if (el.isEdit) { |
| | |
| | | this.$message.error('最多只能选择1条记录进行提交!') |
| | | return false |
| | | } else { |
| | | qualifiedLocation(this.multipleSelection[0].workstationId).then(res => { |
| | | qualifiedLocation({ |
| | | workstationId: this.multipleSelection[0].workstationId, |
| | | operationTaskId: this.currOperateTask.id |
| | | }).then(res => { |
| | | this.options = res.data.data |
| | | if (this.options.length > 1) { |
| | | this.dialogVisible = true |
| | | } else if(this.options.length == 0){ |
| | | this.$message.error('工作站未绑定合格库位') |
| | | // } else if(this.options.length == 0){ |
| | | // this.$message.error('工作站未绑定合格库位') |
| | | } else { |
| | | this.locationIdValue = this.options[0].id |
| | | this.submitListApi() |