| | |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | height: 520, |
| | | height: "auto", |
| | | calcHeight: '80', |
| | | delBtn: true, |
| | | delBtnText:'删除', |
| | | delBtnIcon:'el-icon-delete', |
| | |
| | | menuAlign: "center", |
| | | align: "center", |
| | | selection: false, |
| | | showSummary: true, |
| | | indexFixed: false, |
| | | selectionFixed: false, |
| | | expandFixed: false, |
| | |
| | | } |
| | | }, |
| | | { |
| | | label:"品种", |
| | | prop:"strainName" |
| | | label:"品种 / 来源", |
| | | prop:"strainName", |
| | | formatter:function(row, column, cellValue, index) { |
| | | return row.strainName?row.strainName:row.parentName |
| | | } |
| | | }, |
| | | { |
| | | label:"加工数量", |
| | |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | return remove(row.id) |
| | | return remove(row.id,this.$farmId) |
| | | }).then((res) => { |
| | | this.onLoad(this.page) |
| | | this.$message({ |