| | |
| | | <div class="add-quotation"> |
| | | <el-dialog :visible.sync="editConfig.visible" width="70%" append-to-body custom-class="iframe-dialog"> |
| | | <el-header> |
| | | <el-button type="primary" :disabled="isDisabled" size="small" |
| | | @click="saveClick()">批量合格入库</el-button> |
| | | <el-button type="primary" :disabled="isDisabled" size="small" |
| | | @click="saveNoClick()">批量不合格</el-button> |
| | | <el-button type="primary" :disabled="isDisabled" size="small" @click="saveClick()">批量合格入库</el-button> |
| | | <el-button type="primary" :disabled="isDisabled" size="small" @click="saveNoClick()">批量不合格</el-button> |
| | | </el-header> |
| | | <el-form ref="form" :model="editConfig.infomation" label-position="right" label-width="130px" size="mini" |
| | | style="height: 60vh; overflow-x: hidden"> |
| | | <div class="basic-info"> |
| | | <div class="product-view"> |
| | | <CommonFormTableView :isBoder="true" |
| | | name="rework" :selectBox="true" :detailEnter="true" :recalculateShow="false" |
| | | :addTypeIdMultiple="true" :product-table-list="productTableList" sign="purchase" @rowClick="rowClick" |
| | | @getSelectArray="getSelectArray" @toFiltering="toFiltering"> |
| | | <CommonFormTableView :isBoder="true" name="rework" :selectBox="true" :detailEnter="true" |
| | | :recalculateShow="false" :addTypeIdMultiple="true" :product-table-list="productTableList" sign="purchase" |
| | | @rowClick="rowClick" @getSelectArray="getSelectArray" @toFiltering="toFiltering"> |
| | | |
| | | <template slot="tableButton"> |
| | | <el-table-column label="操作" width="120" align="center"> |
| | |
| | | } |
| | | }, |
| | | async savePurchaseQualityInspectionInfo(params) { |
| | | if (params.ids.length > 0) { |
| | | await savePurchaseQualityInspectionInfo(params).then((res) => { |
| | | if (res) { |
| | | if (res.code === 200) { |
| | | this.editConfig.visible = false |
| | | if(params.status===2){ |
| | |
| | | } |
| | | this.$parent.getData() |
| | | } |
| | | } |
| | | }) |
| | | }else{ |
| | | this.$message({ |
| | | message: "至少选择一条!", |
| | | type: "warning", |
| | | }); |
| | | } |
| | | }, |
| | | handleClose() { |
| | | this.editConfig.visible = false |
| | |
| | | tableProductList: [], |
| | | tableData: this.tableData, |
| | | disabled: this.editConfig.isDisabled, |
| | | key: 'id', |
| | | isReturn: true, |
| | | tableColumn: [ |
| | | { |