| | |
| | | clearable |
| | | value-format="yyyy-MM-dd" |
| | | ></el-date-picker> |
| | | <span>产品大类:</span> |
| | | <el-select |
| | | v-model="search.productCategories" |
| | | size="small" |
| | | placeholder="请选择" |
| | | style="width: 224px;margin-right: 30px;" |
| | | > |
| | | <el-option label="全部" :value="''"></el-option> |
| | | <el-option label="成品" :value="1"></el-option> |
| | | <el-option label="半成品" :value="2"></el-option> |
| | | </el-select> |
| | | <el-button size="mini" @click="clean()"><span>重 置</span></el-button> |
| | | <el-button |
| | | size="mini" |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="material_code" label="材料编码"> |
| | | </el-table-column> |
| | | <el-table-column prop="id" label="材料名称"> </el-table-column> |
| | | <el-table-column prop="project_name" label="材料名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="specifications_model" |
| | | label="规格型号" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="100"> |
| | | <template> |
| | | <template slot-scope="scope"> |
| | | <div style="display: flex;"> |
| | | <el-button type="text" siae="small" size="mini">评审</el-button> |
| | | <el-popover |
| | | placement="left" |
| | | width="160" |
| | | :ref="`popover-${scope.$index}`" |
| | | > |
| | | <div style="padding: 6px">评审是否通过?</div> |
| | | <div style="text-align: right; margin: 6px;"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | style="color: #E84738;" |
| | | @click=" |
| | | scope._self.$refs[`popover-${scope.$index}`].doClose(); |
| | | rawEvaluate(scope.row, 0); |
| | | " |
| | | >不通过</el-button |
| | | > |
| | | <el-button |
| | | type="text" |
| | | style="color: #34bd66;" |
| | | size="mini" |
| | | @click=" |
| | | scope._self.$refs[`popover-${scope.$index}`].doClose(); |
| | | rawEvaluate(scope.row, 1); |
| | | " |
| | | >通过</el-button |
| | | > |
| | | </div> |
| | | <el-button |
| | | slot="reference" |
| | | type="text" |
| | | siae="small" |
| | | size="mini" |
| | | >评审</el-button |
| | | > |
| | | </el-popover> |
| | | <el-button |
| | | type="text" |
| | | siae="small" |
| | | size="mini" |
| | | style=" color:87, 138, 193 ;" |
| | | style=" color:87, 138, 193 ;margin-left: 10px;" |
| | | >查看</el-button |
| | | > |
| | | </div> |
| | |
| | | countSize: 10, // 条数/页 |
| | | pageSize: 1, // 起始页 |
| | | formTime: "", // 来料日期 |
| | | productCategories: "", // 产品大类 |
| | | dealState: "" // 处理状态 |
| | | }, |
| | | unqualifiedTable: [], // 页面表格数据 |
| | |
| | | dealState: "" // 处理状态 |
| | | }; |
| | | this.getDetailInfo(); |
| | | }, |
| | | rawEvaluate(row, passOrNo) { |
| | | this.$axios |
| | | .post(this.$api.url.evaluatePassOrNo, { |
| | | rawId: row.id, |
| | | passOrNo: passOrNo |
| | | }) |
| | | .then(res => { |
| | | this.unqualifiedTable = []; |
| | | this.getDetailInfo(); |
| | | }); |
| | | } |
| | | } |
| | | }; |