| | |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <el-button |
| | | v-if="!isCheck" |
| | | style="float: right; padding: 3px 0" |
| | | type="text" |
| | | @click="relateOperationParam()" |
| | |
| | | <!-- 新增 --> |
| | | <packfrom |
| | | :currshowlist.sync="addOrUpdateVisible" |
| | | @way = "wayRenovate" |
| | | > |
| | | @refreshDataList="getData"> |
| | | </packfrom> |
| | | <packfromadd |
| | | :currshowlist.sync="increase" |
| | |
| | | export default { |
| | | data(){ |
| | | return { |
| | | isCheck: false, |
| | | dataway:{}, |
| | | goid:'', |
| | | testStandardParams: [], |
| | |
| | | operator: [ |
| | | { |
| | | text: '检验', |
| | | icon: 'el-icon-delete', |
| | | icon: 'el-icon-position', |
| | | type: 'text', |
| | | size: 'small', |
| | | fun: this.check |
| | |
| | | }) |
| | | }, |
| | | handleCurrentChange(row){ |
| | | if(row.state=='已报检'){ |
| | | this.isCheck = true |
| | | } |
| | | this.dataway = row |
| | | this.packageBoxId = { |
| | | packageBoxId:row.id |
| | |
| | | if (this.dataway.state == "未报检") { |
| | | this.increase = true |
| | | }else{ |
| | | this.$message.error('改项目已完成检验') |
| | | this.$message.error('请先选择包装项目') |
| | | } |
| | | }, |
| | | preserve(datalist){ |