| | |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key:'rowIndex', |
| | | dataIndex:'sort', |
| | | width:100, |
| | | align:"center", |
| | | customRender:function (t,r,index) { |
| | | return parseInt(index)+1; |
| | | } |
| | | }, |
| | | { |
| | | title:'检验项目名称', |
| | |
| | | ></process-parameters-template-list> |
| | | <precision-parameters-template-list |
| | | ref="PrecisionParametersTemplateList" |
| | | :num="model.num" |
| | | @sendPrecisionParametersTemplateRecord='sendPrecisionParametersTemplateRecord' |
| | | ></precision-parameters-template-list> |
| | | </a-spin> |
| | |
| | | }, |
| | | |
| | | onSearchPrecisionParametersTemplate() { |
| | | if(this.model.num ==''||this.model.num==undefined||this.model.num==null){ |
| | | this.$message.warn("请先填写统一编码") |
| | | return false; |
| | | } |
| | | this.$refs.PrecisionParametersTemplateList.list(); |
| | | this.$refs.PrecisionParametersTemplateList.title = "选择设备精度模板"; |
| | | }, |
| | |
| | | JEllipsis, |
| | | PrecisionParametersDetailList, |
| | | }, |
| | | props:{ |
| | | num:{ |
| | | type:String, |
| | | default:'', |
| | | required:false |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | title: "精度参数模板", |
| | |
| | | this.selectedRowRecord = []; |
| | | this.visible = true; |
| | | this.$bus.$emit('refreshChildPage', { precisionParametersTemplateId: "-1" }); |
| | | this.queryParam.num = this.num; |
| | | this.loadData(1); |
| | | }, |
| | | clickThenCheck(record) { |