src/views/plan/productionschedul/index.vue
@@ -165,6 +165,10 @@ pagerCount: 5 }, option: { defaultSort:{ prop:'id', order:'descending' }, height: 400, selection: true, columnBtn: false, @@ -305,11 +309,11 @@ this.loading = true this.getData() this.getParamType() this.rowSort() // this.rowSort() this.rowCalc() }, beforeUpdate() { this.rowSort() // this.rowSort() this.rowCalc() }, watch:{ @@ -513,7 +517,7 @@ ele.span = this.rowSpan(ele.prop, parent) }) }, rowSort(list) { rowSort() { let propList = this.spanArr.map(ele => ele.prop) this.spanArr.forEach((ele, index) => { let key = ele.prop